提交修改

This commit is contained in:
quyixiao 2020-12-18 11:10:00 +08:00
parent 5979e51b26
commit cd2c1d08f2

View File

@ -1074,7 +1074,8 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
}
String comment = StringUtil.isNotBlank(resultComment.getComment()) ? resultComment.getComment() + "_" : "";
String optDesc = StringUtil.isNotBlank(resultComment.getOptDesc()) ? resultComment.getOptDesc() + "_" : "";
resultComment.setComment(comment + approvalDto.getComment());
String newComment = StringUtil.isNotBlank(approvalDto.getComment()) ? approvalDto.getComment() : "";
resultComment.setComment(comment + newComment);
resultComment.setStaffName(staffEntity.getName());
resultComment.setStaffId(staffEntity.getId());
resultComment.setRecordId(approvalDto.getResultRecordId());