jx-02
This commit is contained in:
parent
7667a96af9
commit
ca31756912
@ -50,4 +50,7 @@ public interface AdminUserMapper extends BaseMapperX<AdminUserDO> {
|
|||||||
List<AdminUserDO> getUsersByRoleRescue(@Param("roleCode") String roleCode, @Param("searchValue") String searchValue, @Param("deptIds") List<String> deptIds);
|
List<AdminUserDO> getUsersByRoleRescue(@Param("roleCode") String roleCode, @Param("searchValue") String searchValue, @Param("deptIds") List<String> deptIds);
|
||||||
|
|
||||||
|
|
||||||
|
Integer getStudentNumberByUserId(Long jlId);
|
||||||
|
|
||||||
|
List<String> getStudentNumber(Long id);
|
||||||
}
|
}
|
||||||
|
@ -212,4 +212,7 @@ public interface AdminUserService {
|
|||||||
boolean isPasswordMatch(String rawPassword, String encodedPassword);
|
boolean isPasswordMatch(String rawPassword, String encodedPassword);
|
||||||
List<AdminUserDO> getUsersByRoleRescue(String roleCode, String searchValue, List<String> deptIds);
|
List<AdminUserDO> getUsersByRoleRescue(String roleCode, String searchValue, List<String> deptIds);
|
||||||
|
|
||||||
|
Integer getStudentNumberByUserId(Long jlId);
|
||||||
|
|
||||||
|
List<String> getStudentNumber(Long id);
|
||||||
}
|
}
|
||||||
|
@ -510,6 +510,16 @@ public class AdminUserServiceImpl implements AdminUserService {
|
|||||||
return userMapper.getUsersByRoleRescue(roleCode,searchValue,deptIds);
|
return userMapper.getUsersByRoleRescue(roleCode,searchValue,deptIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Integer getStudentNumberByUserId(Long jlId) {
|
||||||
|
return userMapper.getStudentNumberByUserId(jlId);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<String> getStudentNumber(Long id) {
|
||||||
|
return userMapper.getStudentNumber(id);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 对密码进行加密
|
* 对密码进行加密
|
||||||
*
|
*
|
||||||
|
@ -22,4 +22,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="getStudentNumberByUserId" resultType="Integer">
|
||||||
|
select distinct count(1) number from drive_school_reservation_course where coach_id = #{userId}
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="getStudentNumber" resultType="String">
|
||||||
|
select distinct phone from drive_school_pay where jxId = #{deptId} and state = '3'
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
Loading…
Reference in New Issue
Block a user