|
@@ -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, String createUserName) {
|
|
|
+ Date endDate, String createUserName, Integer dataSource) {
|
|
|
List<String> curLoginUserSiteCompanyIDs = new ArrayList<>();
|
|
|
if (!stringUtils.IsNullOrEmpty(loginUserID)) {
|
|
|
PcSiteUserExample siteUserExp = new PcSiteUserExample();
|
|
@@ -88,7 +88,7 @@ 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, createUserName);
|
|
|
+ siteID, startDate, endDate,false, createUserName, dataSource);
|
|
|
if(list != null && list.size()>0){
|
|
|
for(PostVo curPost : list){
|
|
|
curPost.listLabel = labelCQuery.getPostLabelList(curPost.getPostID());
|
|
@@ -345,7 +345,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, null);
|
|
|
+ List<PostVo> postVos = postCQuery.selectPostList(stringUtils.ListToInSql(idList), null, null, null, null, null, null, null, null, null, null, false, null, null);
|
|
|
// 记录删除数据
|
|
|
String delInfo = "删除岗位:";
|
|
|
for (PostVo post : postVos) {
|
|
@@ -383,7 +383,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, null);
|
|
|
+ List<PostVo> postVos = postCQuery.selectPostList(stringUtils.ListToInSql(Arrays.asList(id)), null, null, null, null, null, null, null, null, null, null, false, null, null);
|
|
|
// 记录删除数据
|
|
|
String delInfo = "删除岗位:";
|
|
|
for (PostVo post : postVos) {
|
|
@@ -416,7 +416,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,null).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, null).stream().findFirst().orElse(null);
|
|
|
if (data != null) {
|
|
|
data.listLabel = labelCQuery.getPostLabelList(id);
|
|
|
}
|