曹煤炭地图展示重点工程问题

0927cmt
zhaoyu 2024-03-18 16:28:01 +08:00
parent 795a50361c
commit 42f7226356
1 changed files with 2 additions and 11 deletions

View File

@ -57,6 +57,7 @@ public class MapKeyProjectController extends BaseController {
String errInfo = "success";
PageData pd = new PageData();
pd = this.getPageData();
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); // 企业
return mapKetProjectService.findFormCount(pd);
}
@ -73,17 +74,7 @@ public class MapKeyProjectController extends BaseController {
String errInfo = "success";
PageData pd = new PageData();
pd = this.getPageData();
//根据条件增加参数或减少参数 都没有 直接返回空
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
if (StringUtils.isBlank(pd.getString("CORPINFO_ID"))) {
List<String> ArrayDATA_IDS = mapEightService.getCorpinfoIds(pd);
if (ArrayDATA_IDS.size() == 0) {
map.put("result", errInfo);
return map;
}
pd.put("ids", ArrayDATA_IDS);
pd.remove("CORPINFO_ID");
}
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID()); // 企业
page.setPd(pd);
return mapKetProjectService.list(page);
}