Commit f49531f2 authored by zhangsen's avatar zhangsen

告知申请新增编辑API调整

parent 21c341ff
......@@ -172,4 +172,7 @@ public class InstallNoticeDto extends BaseDto {
@ApiModelProperty("流程实例ID")
private String instanceId;
@ApiModelProperty("审核意见")
private String auditOpinion;
}
......@@ -381,7 +381,8 @@ public class InstallNoticeController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@PostMapping(value = "/saveOrUpdate")
@ApiOperation(value = "新增/修改安装告知表信息", notes = "新增/修改安装告知表信息")
public ResponseModel<InstallNoticeDto> saveOrUpdate(@RequestBody InstallNoticeDto model) {
public ResponseModel<InstallNoticeDto> saveOrUpdate(@RequestBody JSONObject jsonObject) {
InstallNoticeDto model = JSON.parseObject(JSON.toJSONString(jsonObject.get("installNoticeInfo")), InstallNoticeDto.class);
Project project = projectServiceImpl.getById(model.getProjectId());
LambdaQueryWrapper<InstallNotice> lambdaQueryWrapper = new LambdaQueryWrapper<>();
lambdaQueryWrapper.eq(InstallNotice::getProjectId, model.getProjectId());
......
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