对原有评论null的判断
This commit is contained in:
parent
9bdde9674c
commit
4f3343179f
@ -963,7 +963,8 @@ public class ResultRecordController extends AbstractController {
|
|||||||
resultComment.setComment(commandValue);
|
resultComment.setComment(commandValue);
|
||||||
}else{
|
}else{
|
||||||
resultComment.setOptDesc(resultComment.getOptDesc() + "修改了目标");
|
resultComment.setOptDesc(resultComment.getOptDesc() + "修改了目标");
|
||||||
resultComment.setComment(resultComment.getComment() + commandValue);
|
|
||||||
|
resultComment.setComment((resultComment.getComment() == null ? "" : resultComment.getComment()) + commandValue);
|
||||||
}
|
}
|
||||||
resultCommentService.updateResultCommentById(resultComment);//.updateResultCommentCommentById(dto.getCommentId(), commandValue);
|
resultCommentService.updateResultCommentById(resultComment);//.updateResultCommentCommentById(dto.getCommentId(), commandValue);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user