liao-sea 9 months ago
parent
commit
2e342a02bf

+ 7 - 1
src/main/java/com/hz/employmentsite/services/impl/jobUserManager/JobUserServiceImpl.java

@@ -96,7 +96,13 @@ public class JobUserServiceImpl implements JobUserService {
                                        String workTime, String loginUserID,
                                        String regionCode, Date startDate,
                                        Date endDate, String createUserName) {
-        JobFairsServiceImpl.qw(pageIndex, pageSize, loginUserID, stringUtils, pcSiteUserMapper);
+        String curLoginUserSiteID = "";
+        if (!stringUtils.IsNullOrEmpty(loginUserID)) {
+            PcSiteUserExample siteUserExp = new PcSiteUserExample();
+            siteUserExp.or().andUserIDEqualTo(loginUserID);
+            curLoginUserSiteID = pcSiteUserMapper.selectByExample(siteUserExp).get(0).getSiteID();
+        }
+        PageHelper.startPage(pageIndex, pageSize);
         List<JobUserVo> list = jobUserCQuery.selectJobUserList(stringUtils.ListToInSql(jobUserIDList), name, siteId, jobStatus, sexId,
                 educationTypeId, emphasisTypeId, createUserId, workTime,
                 curLoginUserSiteID, regionCode, startDate, endDate, false,