变更记录的文案修改

This commit is contained in:
wulin 2020-12-11 15:16:16 +08:00
parent 0759c9bb2a
commit 94feca6f19

View File

@ -1005,9 +1005,9 @@ public class ResultRecordController extends AbstractController {
resultComment.setOptDesc("修改了目标");
resultComment.setComment(commandValue);
}else{
resultComment.setOptDesc(resultComment.getOptDesc() + "-修改了目标");
resultComment.setOptDesc("修改了目标-" + resultComment.getOptDesc());
resultComment.setComment((resultComment.getComment() == null ? "" : resultComment.getComment()) + commandValue);
resultComment.setComment((resultComment.getComment() == null ? "" : (resultComment.getComment() + "\n")) + commandValue);
}
resultCommentService.updateResultCommentById(resultComment);//.updateResultCommentCommentById(dto.getCommentId(), commandValue);
}