提交测试
This commit is contained in:
parent
73dc741b51
commit
4a1674ec8a
@ -946,8 +946,15 @@ public class ResultRecordController extends AbstractController {
|
||||
}
|
||||
if(commandValue.length() > 0){
|
||||
log.info("需要写入评论,具体呢容为{}", commandValue);
|
||||
|
||||
resultCommentService.updateResultCommentCommentById(dto.getCommentId(), commandValue);
|
||||
ResultComment resultComment = resultCommentService.selectResultCommentById(dto.getCommentId());
|
||||
if(resultComment.getOptDesc().indexOf("制定了目标") >= 0){
|
||||
resultComment.setOptDesc("修改了目标");
|
||||
resultComment.setComment(commandValue);
|
||||
}else{
|
||||
resultComment.setOptDesc(resultComment.getOptDesc() + "修改了目标");
|
||||
resultComment.setComment(resultComment.getComment() + commandValue);
|
||||
}
|
||||
resultCommentService.updateResultCommentById(resultComment);//.updateResultCommentCommentById(dto.getCommentId(), commandValue);
|
||||
}
|
||||
}
|
||||
}else{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user