Browse Source

fix:修改业务类别

feature/tsjb-1.0
buaixuexideshitongxue 4 weeks ago
parent
commit
803bc4ed07
  1. 4
      src/main/java/com/biutag/supervision/pojo/dto/NegativeDto.java
  2. 1
      src/main/java/com/biutag/supervision/service/NegativeService.java

4
src/main/java/com/biutag/supervision/pojo/dto/NegativeDto.java

@ -45,6 +45,10 @@ public class NegativeDto {
@NotBlank(message = "业务类别不能为空", groups = {AddGroup.class, EditGroup.class})
private String businessTypeCode;
@NotBlank(message = "业务类别不能为空", groups = {AddGroup.class, EditGroup.class})
@Schema(description = "业务类别名称")
private String businessTypeName;
private String policeTypeName;

1
src/main/java/com/biutag/supervision/service/NegativeService.java

@ -503,6 +503,7 @@ public class NegativeService extends ServiceImpl<NegativeMapper, Negative> {
.set(Negative::getProblemSources, negativeDto.getProblemSources())
.set(Negative::getProblemSourcesCode, negativeDto.getProblemSourcesCode())
.set(Negative::getBusinessTypeCode, negativeDto.getBusinessTypeCode())
.set(StrUtil.isNotBlank(negativeDto.getBusinessTypeName()), Negative::getBusinessTypeName, negativeDto.getBusinessTypeName())
.set(Negative::getCaseNumber, negativeDto.getCaseNumber())
.set(Negative::getInvolveProblem, com.biutag.supervision.util.JSON.toJSONString(negativeDto.getInvolveProblem()))
.set(Negative::getPoliceType, negativeDto.getPoliceType())

Loading…
Cancel
Save