|
@@ -93,7 +93,7 @@ public class CompanyServiceImpl implements CompanyService {
|
|
|
curLoginUserSiteID = pcSiteUserMapper.selectByExample(siteUserExp).get(0).getSiteID();
|
|
|
}
|
|
|
PageHelper.startPage(pageIndex, pageSize);
|
|
|
- List<CompanyVo> dataList = companyCQuery.getList(stringUtils.ListToInSql(companyIDList), companyName, companyCode, recordStatus, regionCode, streetCode, createUserId, workTime, curLoginUserSiteID, siteID, startDate, endDate, postCountSorter, companyTypeID, industryID);
|
|
|
+ List<CompanyVo> dataList = companyCQuery.getList(stringUtils.ListToInSql(companyIDList), companyName, companyCode, recordStatus, regionCode, streetCode, createUserId, workTime, curLoginUserSiteID, siteID, startDate, endDate, postCountSorter, companyTypeID, industryID,false);
|
|
|
PageInfo<CompanyVo> result = new PageInfo(dataList);
|
|
|
return result;
|
|
|
}
|
|
@@ -302,12 +302,12 @@ public class CompanyServiceImpl implements CompanyService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public CompanyVo getDataById(String id) {
|
|
|
+ public CompanyVo getDataById(String id,boolean isAllCompany) {
|
|
|
if (stringUtils.IsNullOrEmpty(id)) {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
- CompanyVo data = companyCQuery.getList(stringUtils.ListToInSql(Arrays.asList(id)), null, null, null, null, null, null, null, null, null, null, null, null,null,null).stream().findFirst().orElse(null);
|
|
|
+ CompanyVo data = companyCQuery.getList(stringUtils.ListToInSql(Arrays.asList(id)), null, null, null, null, null, null, null, null, null, null, null, null,null,null, isAllCompany).stream().findFirst().orElse(null);
|
|
|
if(data!=null){
|
|
|
data.listLabel = labelCQuery.getCompanyLabelList(id);
|
|
|
}
|