|
@@ -34,6 +34,7 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|
|
|
import java.text.ParseException;
|
|
import java.text.ParseException;
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
+import java.util.Objects;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 产业供地
|
|
* 产业供地
|
|
@@ -303,7 +304,9 @@ public class IndustrialLandSupplyController extends BaseController {
|
|
|
boolean canAsk = industrialLandSupplyDetailService.canAsk();
|
|
boolean canAsk = industrialLandSupplyDetailService.canAsk();
|
|
|
modelMap.addAttribute("canAsk", canAsk);
|
|
modelMap.addAttribute("canAsk", canAsk);
|
|
|
IndustrialLandSupplyDetail entity = industrialLandSupplyDetailService.selectById(id + "");
|
|
IndustrialLandSupplyDetail entity = industrialLandSupplyDetailService.selectById(id + "");
|
|
|
- entity.setApprove_status(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_FEEDBACK);
|
|
|
|
|
|
|
+ if(!Objects.equals(entity.getApprove_status(),Constant.LandSupplyApproveStatus.COMMERCE_PENDING_SUMMARY)){
|
|
|
|
|
+ entity.setApprove_status(Constant.LandSupplyApproveStatus.COMMERCE_PENDING_FEEDBACK);
|
|
|
|
|
+ }
|
|
|
industrialLandSupplyDetailService.updateSelective(entity);
|
|
industrialLandSupplyDetailService.updateSelective(entity);
|
|
|
if (canAsk) {
|
|
if (canAsk) {
|
|
|
// modelMap.addAttribute("consulDepartmentList", industrialLandSupplyDetailService.consulDepartmentList());
|
|
// modelMap.addAttribute("consulDepartmentList", industrialLandSupplyDetailService.consulDepartmentList());
|
|
@@ -326,7 +329,7 @@ public class IndustrialLandSupplyController extends BaseController {
|
|
|
@OperationLog(value = "追加咨询")
|
|
@OperationLog(value = "追加咨询")
|
|
|
@RequestMapping("/feedback_append")
|
|
@RequestMapping("/feedback_append")
|
|
|
@ResponseBody
|
|
@ResponseBody
|
|
|
- public ResponseMessage feedbackAppend(IndustrialLandSupplyDetail industrialLandSupplyDetail) {
|
|
|
|
|
|
|
+ public ResponseMessage feedbackAppend(IndustrialLandSupplyDetail industrialLandSupplyDetail) throws Exception {
|
|
|
|
|
|
|
|
String message = industrialLandSupplyDetailService.saveFeedbackAppend(industrialLandSupplyDetail);
|
|
String message = industrialLandSupplyDetailService.saveFeedbackAppend(industrialLandSupplyDetail);
|
|
|
if (CommonUtils.isNotNull(message)) {
|
|
if (CommonUtils.isNotNull(message)) {
|