5.30dao-service-controller层,mybatis自动生成。(获取根据id主键获取指定详细数据)

获取权限详细数据:(参考)
                    1.controller:1.注入Servcie调用方法findConsumerById(参数是id);
                
                    
                    
                    
                    service:1.定义一个接口 Consumer findConsumerById(Long id);
                             2.定义一个实现1中的接口的实现类:
                                2.1 注入(dao:ConsumerExtraMapper),继而调用selectByPrimaryKey(参数是id),返回值是Consumer
                    
                    dao:     1.定义一个接口ConsumerExtraMapper extends IBaseExtraMapper<Consumer> public interface ConsumerExtraMapper extends IBaseExtraMapper<Consumer> {
                             2. 定义ConsumerExtraMapper.xml

  dao:

5.30dao-service-controller层,mybatis自动生成。(获取根据id主键获取指定详细数据)

5.30dao-service-controller层,mybatis自动生成。(获取根据id主键获取指定详细数据)

service:

5.30dao-service-controller层,mybatis自动生成。(获取根据id主键获取指定详细数据)

 5.30dao-service-controller层,mybatis自动生成。(获取根据id主键获取指定详细数据)

 controller:

5.30dao-service-controller层,mybatis自动生成。(获取根据id主键获取指定详细数据)

 5.30dao-service-controller层,mybatis自动生成。(获取根据id主键获取指定详细数据)

5.30dao-service-controller层,mybatis自动生成。(获取根据id主键获取指定详细数据)

 1