Commit 7441880a by 汪鑫

pdf转图片

parent 485f02ec
......@@ -131,6 +131,17 @@ public class CommonController extends BaseController {
params.setUpdateTime(DateUtil.date());
requestBodyMapper.updateById(params);
}
if (ObjectUtil.equal(params.getWhetherDraft(),2)){
// 提交记录
List<RequestBodyEntity> requestBodyEntities = requestBodyMapper.selectList(new QueryWrapper<RequestBodyEntity>().eq("row_guid", params.getRowGuid())
.eq("status", 1)
.eq("whether_draft", 1));
for (RequestBodyEntity requestBodyEntity : requestBodyEntities) {
RequestBodyEntityDTO requestBodyEntityDTO = new RequestBodyEntityDTO();
requestBodyEntityDTO.setId(requestBodyEntity.getId());
this.deleteParamsById(requestBodyEntityDTO);
}
}
return RespInfo.mobiSuccess(true);
}
......
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