Commit 428b2733 authored by hezhuozhi's avatar hezhuozhi

Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register

parents 03a467be 49b2bd99
...@@ -181,6 +181,9 @@ public class JgReformNoticeDto extends BaseDto { ...@@ -181,6 +181,9 @@ public class JgReformNoticeDto extends BaseDto {
@ApiModelProperty (value = "告知设备列表") @ApiModelProperty (value = "告知设备列表")
private List<Map<String, Object>> deviceList; private List<Map<String, Object>> deviceList;
@ApiModelProperty(value = "管道列表")
private List<Map<String, Object>> pipelineList;
@ApiModelProperty (value = "区名字") @ApiModelProperty (value = "区名字")
private String countyName; private String countyName;
......
...@@ -33,7 +33,7 @@ public interface IJgReformNoticeService extends IService<JgReformNotice> { ...@@ -33,7 +33,7 @@ public interface IJgReformNoticeService extends IService<JgReformNotice> {
* @param noticeDto 改造告知 * @param noticeDto 改造告知
* @param op 操作类型 * @param op 操作类型
*/ */
JgReformNoticeDto updateInstallationNotice(String submitType, JgReformNoticeDto noticeDto, String op); JgReformNoticeDto updateNotice(String submitType, Map<String, Object> noticeMap, String op);
/** /**
* 分页查询 * 分页查询
......
...@@ -65,13 +65,9 @@ public class JgReformNoticeController extends BaseController { ...@@ -65,13 +65,9 @@ public class JgReformNoticeController extends BaseController {
@PutMapping(value = "/update") @PutMapping(value = "/update")
@ApiOperation(httpMethod = "PUT", value = "根据sequenceNbr更新改造告知", notes = "根据sequenceNbr更新改造告知") @ApiOperation(httpMethod = "PUT", value = "根据sequenceNbr更新改造告知", notes = "根据sequenceNbr更新改造告知")
public ResponseModel<JgReformNoticeDto> updateBySequenceNbrJgReformNotice(@RequestParam String submitType, public ResponseModel<JgReformNoticeDto> updateBySequenceNbrJgReformNotice(@RequestParam String submitType,
@RequestBody JgReformNoticeDto installationInfo, @RequestBody Map<String, Object> noticeMap,
@RequestParam(value = "op", required = false) String op) { @RequestParam(value = "op", required = false) String op) {
if (Objects.isNull(installationInfo)) { return ResponseHelper.buildResponse(jgReformNoticeService.updateNotice(submitType, noticeMap, op));
throw new IllegalArgumentException("参数installationInfo不能为空");
}
return ResponseHelper.buildResponse(jgReformNoticeService.updateInstallationNotice(submitType, installationInfo, op));
} }
/** /**
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<select id="getDetail" resultType="java.util.Map"> <select id="getDetail" resultType="java.util.Map">
SELECT SELECT
SEQUENCE_NBR, SEQUENCE_NBR,
SEQUENCE_NBR as projectContraptionId,
USE_UNIT_CREDIT_CODE, USE_UNIT_CREDIT_CODE,
EQU_LIST, EQU_LIST,
EQU_CATEGORY, EQU_CATEGORY,
......
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