Commit d4617513 authored by suhuiguang's avatar suhuiguang

Merge branch 'develop_tzs_register' of…

Merge branch 'develop_tzs_register' of http://39.100.92.250:5000/moa/amos-boot-biz into develop_tzs_register
parents a92aecfa 42119652
...@@ -778,7 +778,8 @@ public class CommonServiceImpl implements ICommonService { ...@@ -778,7 +778,8 @@ public class CommonServiceImpl implements ICommonService {
while (it.hasNext()) { while (it.hasNext()) {
LinkedHashMap e = (LinkedHashMap) it.next(); LinkedHashMap e = (LinkedHashMap) it.next();
// 删除非行政审批局 // 删除非行政审批局
if (!e.get("companyType").toString().contains(companyType)) { Object companyTypeObj = e.get("companyType");
if (companyTypeObj == null || !companyTypeObj.toString().contains(companyType)) {
it.remove(); it.remove();
} }
if (!ObjectUtils.isEmpty(e.get("children"))) { if (!ObjectUtils.isEmpty(e.get("children"))) {
......
...@@ -1290,7 +1290,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN ...@@ -1290,7 +1290,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
jgResumeInfoService.saveBatchResume( jgResumeInfoService.saveBatchResume(
Lists.newArrayList(JgResumeInfoDto.builder() Lists.newArrayList(JgResumeInfoDto.builder()
.applyNo(jgInstallationNotice.getApplyNo()) .applyNo(jgInstallationNotice.getApplyNo())
.businessType(BusinessTypeEnum.JG_MAINTENANCE_RECORD.getName()) .businessType(BusinessTypeEnum.JG_INSTALLATION_NOTIFICATION.getName())
.businessId(String.valueOf(jgInstallationNotice.getSequenceNbr())) .businessId(String.valueOf(jgInstallationNotice.getSequenceNbr()))
.equId(String.valueOf(jgInstallationNotice.getProjectContraptionId())) .equId(String.valueOf(jgInstallationNotice.getProjectContraptionId()))
.approvalUnit(jgInstallationNotice.getReceiveOrgName()) .approvalUnit(jgInstallationNotice.getReceiveOrgName())
...@@ -1376,7 +1376,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN ...@@ -1376,7 +1376,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
jgRelationEquips.stream() jgRelationEquips.stream()
.map(v -> JgResumeInfoDto.builder() .map(v -> JgResumeInfoDto.builder()
.applyNo(jgInstallationNotice.getApplyNo()) .applyNo(jgInstallationNotice.getApplyNo())
.businessType(BusinessTypeEnum.JG_MAINTENANCE_RECORD.getName()) .businessType(BusinessTypeEnum.JG_INSTALLATION_NOTIFICATION.getName())
.businessId(String.valueOf(jgInstallationNotice.getSequenceNbr())) .businessId(String.valueOf(jgInstallationNotice.getSequenceNbr()))
.equId(String.valueOf(v.getEquId())) .equId(String.valueOf(v.getEquId()))
.approvalUnit(jgInstallationNotice.getReceiveOrgName()) .approvalUnit(jgInstallationNotice.getReceiveOrgName())
......
...@@ -118,13 +118,13 @@ public class EquipmentStaticsServiceImpl { ...@@ -118,13 +118,13 @@ public class EquipmentStaticsServiceImpl {
private void getNormalChartData(Map<String, Object> itemResult, DPFilterParamForDetailDto dpFilterParamForDetailDto) { private void getNormalChartData(Map<String, Object> itemResult, DPFilterParamForDetailDto dpFilterParamForDetailDto) {
//赋码数量 //赋码数量
Long fmCount = getFMEquipmentCount(dpFilterParamForDetailDto); Long fmCount = null == dpFilterParamForDetailDto.getOrgCode() ? null : getFMEquipmentCount(dpFilterParamForDetailDto);
//临期数量 //临期数量
Long lqCount = getLQEquipmentCount(dpFilterParamForDetailDto); Long lqCount = null == dpFilterParamForDetailDto.getOrgCode() ? null :getLQEquipmentCount(dpFilterParamForDetailDto);
//超期数量 //超期数量
Long cqCount = getCQEquipmentCount(dpFilterParamForDetailDto); Long cqCount = null == dpFilterParamForDetailDto.getOrgCode() ? null :getCQEquipmentCount(dpFilterParamForDetailDto);
//纳管数量 //纳管数量
Long ngCount = getNGEquipmentCount(dpFilterParamForDetailDto); Long ngCount = null == dpFilterParamForDetailDto.getOrgCode() ? null :getNGEquipmentCount(dpFilterParamForDetailDto);
//所有设备数量 //所有设备数量
Long allCount = getAllEquipmentCount(dpFilterParamForDetailDto); Long allCount = getAllEquipmentCount(dpFilterParamForDetailDto);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment