Commit 2509cbe7 by 龙于生

审批修改标题

parent 35a7ff23
......@@ -1853,9 +1853,10 @@ public class SpmkController {
@ApiOperation(value = "更新审批文本内容", httpMethod = "POST", notes = "更新审批文本内容")
@Log(title = "更新审批文本内容", businessType = BusinessType.OTHER)
public Result<Object> update_spmk_content(@CurrentUser UserBean userBean, @RequestBody SpmkApproveDetailDto sq) {
SpmkApproveSummary.builder().id(sq.getId()).digest(sq.getDigest()).build().updateById();
SpmkApproveSummary.builder().id(sq.getId()).digest(sq.getDigest()).title(sq.getName()).build().updateById();
SpmkApproveDetailSummary spmks = SpmkApproveDetailSummary.builder().build().selectOne(new LambdaQueryWrapper<SpmkApproveDetailSummary>().eq(SpmkApproveDetailSummary::getApproveSummaryId, sq.getId()));
spmks.setRequestData(sq.getRequestData().toString());
spmks.setName(sq.getName());
spmks.updateById();
return ResultUtil.data("更新成功");
}
......
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