|
|
@@ -2107,7 +2107,7 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
approvalService.insertAndGetId(newApproval);
|
|
|
return true;
|
|
|
} else if (Objects.equals(Constant.LandSupplyApproveStatus.COMMERCE_RETURN, approval.getAfter_approvalstatus())) {
|
|
|
- //商务局受理员退回--》待商务局受理员审核
|
|
|
+ //商务局受理员退回 --》待商务局受理员审核
|
|
|
Group group = null;
|
|
|
newApproval.setOper_type(Constant.OperType.SUBMIT);
|
|
|
newApproval.setBefore_approvalstatus(Constant.LandSupplyApproveStatus.COMMERCE_RETURN);
|
|
|
@@ -2145,6 +2145,10 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
entity.setProcess_stage(Constant.LandSupplyApproveStage.PRE_AUDIT);
|
|
|
industrialLandSupplyDetailDao.updateByPrimaryKeySelective(entity);
|
|
|
approvalService.insertAndGetId(newApproval);
|
|
|
+
|
|
|
+ IndustrialLandSupplyConsultation query = new IndustrialLandSupplyConsultation();
|
|
|
+ query.setIndustrial_land_supply_id(applyId+"");
|
|
|
+ industrialLandSupplyConsultationService.deleteByWhere(query);
|
|
|
return true;
|
|
|
} else if (Objects.equals(Constant.LandSupplyApproveStatus.COMMERCE_LEADER_RETURN, approval.getAfter_approvalstatus())) {
|
|
|
//商务局分管领导退回 --》待商务局商务局分管领导审核
|
|
|
@@ -2680,6 +2684,34 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
// messageService.saveMessageAndPush(messages, streetArrInt, Constant.UserType.COMPANY);
|
|
|
// waitToDoService.completeAllTODO(projectApplication.getId(), Constant.DictionaryType.PROJECT_INTELLIGENT);
|
|
|
// waitToDoService.newTODO("智能制造编辑", "/projectIntelligent/edit/" + projectApplication.getId(), Constant.WaitToDo_OperType.EDIT, projectApplication.getId(),
|
|
|
+// Constant.DictionaryType.PROJECT_INTELLIGENT, projectApplication.getApply_no(), companyAdmin.getId().toString(), Constant.WaitToDo_IsSerial.IS_SERIAL, false);
|
|
|
+
|
|
|
+ //发送短信
|
|
|
+ templateCode = Constant.SMS_TemplateCode.INDUSTRIAL_LAND_SUPPLY_UNTREAD;
|
|
|
+ try {
|
|
|
+ AlibabaSMSUtil.sendSMS(
|
|
|
+ userService.getUser(entity.getCreate_by()).getPhone(), templateCode, Constant.SINGNAMW, JSONObject.toJSONString(params)
|
|
|
+ );
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ if (Objects.equals(Constant.LandSupplyApproveStatus.MANAGEMENT_COMMITTEE_LEADER_RETURN, approval.getAfter_approvalstatus())) {
|
|
|
+ //预审退回 --》 街道板块
|
|
|
+ newApproval.setOper_type(Constant.OperType.REJECT);
|
|
|
+ newApproval.setBefore_approvalstatus(Constant.LandSupplyApproveStatus.MANAGEMENT_COMMITTEE_LEADER_RETURN);
|
|
|
+ newApproval.setAfter_approvalstatus(Constant.LandSupplyApproveStatus.COMMERCE_RETURN);
|
|
|
+ newApproval.setNextchecker(entity.getCreate_by().toString());
|
|
|
+ IndustrialLandSupplyDetail p = new IndustrialLandSupplyDetail();
|
|
|
+ p.setId(applyId);
|
|
|
+ p.setApprove_status(Constant.LandSupplyApproveStatus.COMMERCE_RETURN);
|
|
|
+ p.setProcess_stage(null);
|
|
|
+ industrialLandSupplyDetailDao.updateByPrimaryKeySelective(p);
|
|
|
+ approvalService.insertAndGetId(newApproval);
|
|
|
+// messageService.saveMessageAndPush(messages, streetArrInt, Constant.UserType.COMPANY);
|
|
|
+// waitToDoService.completeAllTODO(projectApplication.getId(), Constant.DictionaryType.PROJECT_INTELLIGENT);
|
|
|
+// waitToDoService.newTODO("智能制造编辑", "/projectIntelligent/edit/" + projectApplication.getId(), Constant.WaitToDo_OperType.EDIT, projectApplication.getId(),
|
|
|
// Constant.DictionaryType.PROJECT_INTELLIGENT, projectApplication.getApply_no(), companyAdmin.getId().toString(), Constant.WaitToDo_IsSerial.IS_SERIAL, false);
|
|
|
|
|
|
//发送短信
|