|
@@ -72,7 +72,7 @@ public class PostServiceImpl implements PostService {
|
|
|
String professionName, Integer minCount, Integer maxCount,
|
|
|
String companyName, String recordStatus, String companyID,
|
|
|
String loginUserID, String siteID, Date startDate,
|
|
|
- Date endDate) {
|
|
|
+ Date endDate, String createUserName) {
|
|
|
List<String> curLoginUserSiteCompanyIDs = new ArrayList<>();
|
|
|
if (!stringUtils.IsNullOrEmpty(loginUserID)) {
|
|
|
PcSiteUserExample siteUserExp = new PcSiteUserExample();
|
|
@@ -86,7 +86,9 @@ public class PostServiceImpl implements PostService {
|
|
|
}
|
|
|
}
|
|
|
PageHelper.startPage(page, rows);
|
|
|
- List<PostVo> list = postCQuery.selectPostList(stringUtils.ListToInSql(postIDList), professionName, minCount, maxCount, companyName, recordStatus, companyID, stringUtils.ListToInSql(curLoginUserSiteCompanyIDs), siteID, startDate, endDate,false);
|
|
|
+ List<PostVo> list = postCQuery.selectPostList(stringUtils.ListToInSql(postIDList), professionName, minCount, maxCount,
|
|
|
+ companyName, recordStatus, companyID, stringUtils.ListToInSql(curLoginUserSiteCompanyIDs),
|
|
|
+ siteID, startDate, endDate,false, createUserName);
|
|
|
if(list != null && list.size()>0){
|
|
|
for(PostVo curPost : list){
|
|
|
curPost.listLabel = labelCQuery.getPostLabelList(curPost.getPostID());
|
|
@@ -322,7 +324,7 @@ public class PostServiceImpl implements PostService {
|
|
|
PcPostExample postExp = new PcPostExample();
|
|
|
postExp.or().andPostIDIn(idList);
|
|
|
// 查询岗位的相关企业
|
|
|
- List<PostVo> postVos = postCQuery.selectPostList(stringUtils.ListToInSql(idList), null, null, null, null, null, null, null, null, null, null, false);
|
|
|
+ List<PostVo> postVos = postCQuery.selectPostList(stringUtils.ListToInSql(idList), null, null, null, null, null, null, null, null, null, null, false, null);
|
|
|
// 记录删除数据
|
|
|
String delInfo = "删除岗位:";
|
|
|
for (PostVo post : postVos) {
|
|
@@ -360,7 +362,7 @@ public class PostServiceImpl implements PostService {
|
|
|
labelEmp.or().andPostIDEqualTo(id);
|
|
|
pcLabelPostMapper.deleteByExample(labelEmp);
|
|
|
// 查询岗位的相关企业
|
|
|
- List<PostVo> postVos = postCQuery.selectPostList(stringUtils.ListToInSql(Arrays.asList(id)), null, null, null, null, null, null, null, null, null, null, false);
|
|
|
+ List<PostVo> postVos = postCQuery.selectPostList(stringUtils.ListToInSql(Arrays.asList(id)), null, null, null, null, null, null, null, null, null, null, false, null);
|
|
|
// 记录删除数据
|
|
|
String delInfo = "删除岗位:";
|
|
|
for (PostVo post : postVos) {
|
|
@@ -393,7 +395,7 @@ public class PostServiceImpl implements PostService {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
- PostVo data = postCQuery.selectPostList(stringUtils.ListToInSql(Arrays.asList(id)), null, null, null, null, null, null, null, null, null, null,isAllPost).stream().findFirst().orElse(null);
|
|
|
+ PostVo data = postCQuery.selectPostList(stringUtils.ListToInSql(Arrays.asList(id)), null, null, null, null, null, null, null, null, null, null,isAllPost,null).stream().findFirst().orElse(null);
|
|
|
if (data != null) {
|
|
|
data.listLabel = labelCQuery.getPostLabelList(id);
|
|
|
}
|