|
|
@@ -299,13 +299,13 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
|
|
|
User user = userService.getUser(entity.getCreate_by());
|
|
|
if (CommonUtils.isNotNull(user) && Constant.UserType.STREET.equals(user.getUser_type())) {
|
|
|
- if (CommonUtils.isNotNull(user.getDepartment_name())) {
|
|
|
- entity.setRecource(user.getDepartment_name());
|
|
|
+ if (CommonUtils.isNotNull(user.getDepartment_name()) && Objects.equals(user.getDepartment_name(), "招商中心")) {
|
|
|
+ entity.setResource(user.getDepartment_name());
|
|
|
} else {
|
|
|
- entity.setRecource(user.getStreet_name());
|
|
|
+ entity.setResource(user.getStreet_name());
|
|
|
}
|
|
|
} else if (CommonUtils.isNotNull(user) && Constant.UserType.GOVERNMENT.equals(user.getUser_type())) {
|
|
|
- entity.setRecource(user.getDepartment_name());
|
|
|
+ entity.setResource(user.getDepartment_name());
|
|
|
}
|
|
|
//咨询列表
|
|
|
IndustrialLandSupplyConsultation industrialLandSupplyConsultation = new IndustrialLandSupplyConsultation();
|
|
|
@@ -412,9 +412,9 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
|
|
|
User user = userService.getUser(entity.getCreate_by());
|
|
|
if (CommonUtils.isNotNull(user) && Constant.UserType.STREET.equals(user.getUser_type())) {
|
|
|
- entity.setRecource(user.getStreet_name());
|
|
|
+ entity.setResource(user.getStreet_name());
|
|
|
} else if (CommonUtils.isNotNull(user) && Constant.UserType.GOVERNMENT.equals(user.getUser_type())) {
|
|
|
- entity.setRecource(user.getDepartment_name());
|
|
|
+ entity.setResource(user.getDepartment_name());
|
|
|
}
|
|
|
|
|
|
IndustrialLandSupplyConsultation industrialLandSupplyConsultation = new IndustrialLandSupplyConsultation();
|
|
|
@@ -487,7 +487,7 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
if (Constant.UserType.STREET.equals(ShiroUtils.getUserType())) {
|
|
|
|
|
|
apply_status_list.add(Constant.LandSupplyApproveStatus.PLATE_PENDING_SUBMIT);
|
|
|
-// apply_status_list.add(Constant.LandSupplyApproveStatus.PLATE_WITHDRAW);
|
|
|
+ apply_status_list.add(Constant.LandSupplyApproveStatus.PLATE_WITHDRAW);
|
|
|
apply_status_list.add(Constant.LandSupplyApproveStatus.COMMERCE_RETURN);
|
|
|
} else if (Constant.UserType.GOVERNMENT.equals(ShiroUtils.getUserType())) {
|
|
|
|
|
|
@@ -924,7 +924,7 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
// params.put("apply_name", Constant.ProjectType.PROJECT_INTELLIGENT);
|
|
|
// String templateCode = Constant.SMS_TemplateCode.RPOJECT_APPROVAL_REMIND;
|
|
|
|
|
|
- if (CommonUtils.isNull(approval)) {
|
|
|
+ if (CommonUtils.isNull(approval) || Objects.equals(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_SUBMIT, approval.getAfter_approvalstatus())) {
|
|
|
//待属地提交 或 商务局受理员待提交--》待商务局受理员审核 或 待咨询反馈
|
|
|
|
|
|
IndustrialLandSupplyConsultation industrialLandSupplyConsultation = new IndustrialLandSupplyConsultation();
|
|
|
@@ -2133,7 +2133,15 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
newApproval.setOper_type(Constant.OperType.SUBMIT);
|
|
|
newApproval.setBefore_approvalstatus(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_FEEDBACK);
|
|
|
if (backToSubmit) {
|
|
|
- newApproval.setAfter_approvalstatus(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_SUBMIT);
|
|
|
+ IndustrialLandSupplyDetail industrialLandSupplyDetail = this.findById(applyId);
|
|
|
+ if (industrialLandSupplyDetail != null && industrialLandSupplyDetail.getCreate_by() != null) {
|
|
|
+ User user = userService.getUser(industrialLandSupplyDetail.getCreate_by());
|
|
|
+ if (Objects.equals(Constant.UserType.STREET, user.getUser_type())) {
|
|
|
+ newApproval.setAfter_approvalstatus(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_HANDLE);
|
|
|
+ } else {
|
|
|
+ newApproval.setAfter_approvalstatus(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_SUBMIT);
|
|
|
+ }
|
|
|
+ }
|
|
|
} else if (sumbitToSummary) {
|
|
|
newApproval.setAfter_approvalstatus(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_SUMMARY);
|
|
|
}
|
|
|
@@ -2158,7 +2166,7 @@ public class IndustrialLandSupplyDetailService extends BaseService<IndustrialLan
|
|
|
IndustrialLandSupplyDetail entity = new IndustrialLandSupplyDetail();
|
|
|
entity.setId(applyId);
|
|
|
if (backToSubmit) {
|
|
|
- entity.setApprove_status(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_SUBMIT);
|
|
|
+ entity.setApprove_status(newApproval.getAfter_approvalstatus());
|
|
|
} else if (sumbitToSummary) {
|
|
|
entity.setApprove_status(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_SUMMARY);
|
|
|
}
|