|
@ -379,7 +379,10 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp |
|
|
result.setAuditSwitch(ifOpen ? ModuleConstants.AUDIT_SWITCH_OPEN : ModuleConstants.AUDIT_SWITCH_CLOSE); |
|
|
result.setAuditSwitch(ifOpen ? ModuleConstants.AUDIT_SWITCH_OPEN : ModuleConstants.AUDIT_SWITCH_CLOSE); |
|
|
|
|
|
|
|
|
//2.居民端组长提交议题审核
|
|
|
//2.居民端组长提交议题审核
|
|
|
|
|
|
GridInfoCache gridInfo = CustomerOrgRedis.getGridInfo(param.getGridId()); |
|
|
|
|
|
if (null == gridInfo){ |
|
|
|
|
|
throw new EpmetException("查询网格信息失败:"+param.getGridId()); |
|
|
|
|
|
} |
|
|
//默认打开
|
|
|
//默认打开
|
|
|
//2.1查询是否存在application记录
|
|
|
//2.1查询是否存在application记录
|
|
|
Map<String, Object> applicationParam = new HashMap<>(); |
|
|
Map<String, Object> applicationParam = new HashMap<>(); |
|
@ -393,6 +396,8 @@ public class IssueServiceImpl extends BaseServiceImpl<IssueDao, IssueEntity> imp |
|
|
if(ifOpen) { |
|
|
if(ifOpen) { |
|
|
//首次提交 新增application
|
|
|
//首次提交 新增application
|
|
|
IssueApplicationDTO newApplication = ConvertUtils.sourceToTarget(param, IssueApplicationDTO.class); |
|
|
IssueApplicationDTO newApplication = ConvertUtils.sourceToTarget(param, IssueApplicationDTO.class); |
|
|
|
|
|
newApplication.setOrgId(gridInfo.getPid()); |
|
|
|
|
|
newApplication.setOrgIdPath(gridInfo.getPids()); |
|
|
newApplication.setApplyStatus(defaultStatusUnderAuditing); |
|
|
newApplication.setApplyStatus(defaultStatusUnderAuditing); |
|
|
newApplication.setId(UUID.randomUUID().toString().replace("-", "")); |
|
|
newApplication.setId(UUID.randomUUID().toString().replace("-", "")); |
|
|
applicationService.save(newApplication); |
|
|
applicationService.save(newApplication); |
|
|