|  |  | 
 |  |  | import com.dy.pipIrrGlobal.pojoBa.BaRolePermissions; | 
 |  |  | import com.dy.pipIrrGlobal.pojoBa.BaUser; | 
 |  |  | import com.dy.pipIrrGlobal.pojoBa.BaUserRole; | 
 |  |  | import com.dy.pipIrrGlobal.voBa.VoSimpleUser; | 
 |  |  | import com.dy.pipIrrGlobal.voBa.VoUserInfo; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.apache.dubbo.common.utils.PojoUtils; | 
 |  |  | 
 |  |  |      * @return 用户实体 | 
 |  |  |      */ | 
 |  |  |     public BaUser selectById(Long id) { | 
 |  |  |         return this.dao.selectById(id); | 
 |  |  |         return this.dao.selectByPrimaryKey(id); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  | 
 |  |  |         voUserInfo.setRoleIds(list_roleIds); | 
 |  |  |         voUserInfo.setRoleNames(list_roleNames); | 
 |  |  |         voUserInfo.setPermissions(array_permission); | 
 |  |  |  | 
 |  |  |  | 
 |  |  |         return voUserInfo; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取简单用户数据列表,数据列表查询条件中使用 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     public List<VoSimpleUser> getSimpleUsers() { | 
 |  |  |         return dao.getSimpleUsers(); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |