|
@@ -17,6 +17,7 @@ import java.util.List;
|
|
*/
|
|
*/
|
|
public interface SysUserMapper extends BaseMapper<SysUser> {
|
|
public interface SysUserMapper extends BaseMapper<SysUser> {
|
|
|
|
|
|
- @Select("SELECT d.nem_code FROM system_dept as d,system_users as u where u.dept_id=d.id and u.id=#{userId} ")
|
|
|
|
|
|
+// @Select("SELECT d.nem_code FROM system_dept as d,system_users as u where u.dept_id=d.id and u.id=#{userId} ")
|
|
|
|
+@Select("SELECT d.leader FROM sys_dept as d,sys_user as u where u.dept_id=d.dept_id and u.user_id=#{userId} ")
|
|
public List<String> getUserByuserId(@Param(value = "userId") Long userId);
|
|
public List<String> getUserByuserId(@Param(value = "userId") Long userId);
|
|
}
|
|
}
|