修改commandId为commentId

This commit is contained in:
wulin 2020-12-07 13:37:53 +08:00
parent aaef062ec8
commit e2616f675d
2 changed files with 4 additions and 4 deletions

View File

@ -812,7 +812,7 @@ public class ResultRecordController extends AbstractController {
}
}
if(dto.getCommandId() != null && dto.getCommandId().intValue() > 0 && resultDetail1 != null){
if(dto.getCommentId() != null && dto.getCommentId().intValue() > 0 && resultDetail1 != null){
//有评论id
if(resultDetail1.getIsDelete().intValue() == 1){
commandValue += (commandIndex + "(删除)" + resultDetail1.getTarget() + "\r\n");
@ -907,9 +907,9 @@ public class ResultRecordController extends AbstractController {
resultRecordService.updateResultRecordById(resultRecord);
if(dto.getCommandId() != null && dto.getCommandId().intValue() > 0 && commandValue.length() > 0){
if(dto.getCommentId() != null && dto.getCommentId().intValue() > 0 && commandValue.length() > 0){
//修改评论信息
resultCommentService.updateResultCommentCommentById(dto.getCommandId(), commandValue);
resultCommentService.updateResultCommentCommentById(dto.getCommentId(), commandValue);
}
return R.ok();

View File

@ -34,7 +34,7 @@ public class ResultRecordDetailDto {
@ApiModelProperty(value = "备注", name = "remark")
private String remark;
@ApiModelProperty(value = "业绩评论id", name = "commandId")
private Long commandId;
private Long commentId;
//员工id
@ApiModelProperty(value = "员工id", name = "staffId")
private Long staffId;