parent
c9e4a817b4
commit
f02d86e801
|
|
@ -55,7 +55,7 @@ public class ProDeptRoleController extends BaseController {
|
|||
//管理员与人资角色可以看到所有
|
||||
if (roleId != null && !roleId.isEmpty()) {
|
||||
if (Collections.frequency(roleId, "1") == 0 && Collections.frequency(roleId, "16") == 0) {
|
||||
// 根据用户id查询是否是管理员或帮忙负责人
|
||||
// 根据用户id查询是否是管理员或部门负责人
|
||||
Long userId = SecurityUtils.getUserId();
|
||||
List<MapVo> orgList = sysOrgDao.getOrgIdList(userId);
|
||||
if (!orgList.isEmpty()) {
|
||||
|
|
|
|||
|
|
@ -77,6 +77,7 @@
|
|||
|
||||
<select id="getHolidayList" resultType="com.bonus.system.holiday.entity.HolidayBean" parameterType="com.bonus.system.holiday.entity.HolidayBean">
|
||||
SELECT
|
||||
DISTINCT
|
||||
la.id,
|
||||
la.user_id,
|
||||
la.user_name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue