Bläddra i källkod

重构questionName字段

tags/v1.0.0^2
wanjing 1 år sedan
förälder
incheckning
212200c220
3 ändrade filer med 3 tillägg och 3 borttagningar
  1. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFileReportVo.java
  2. +1
    -1
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionFileServiceImpl.java
  3. +1
    -1
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/InspectionFileInfoVo.java

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/vo/inspection/InspectionFileReportVo.java Visa fil

@@ -25,7 +25,7 @@ public class InspectionFileReportVo {
/**
* 问题名称:1坑槽,2积水,3裂缝
*/
private Integer questionName;
private String questionName;

/**
* 缩略图

+ 1
- 1
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionFileServiceImpl.java Visa fil

@@ -497,7 +497,7 @@ public class InspectionFileServiceImpl implements IInspectionFileService {
throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL);
}
if (null != questionType.getName()) {
vo.setQuestionName(questionType.getName());
vo.setQuestionName(questionType.getContent());
}
if (StringUtils.isNotEmpty(questionType.getContent())) {
vo.setContent(questionType.getContent());

+ 1
- 1
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/InspectionFileInfoVo.java Visa fil

@@ -26,7 +26,7 @@ public class InspectionFileInfoVo {
/**
* 问题类型
*/
private Integer questionName;
private String questionName;

/**
* 问题类型名称

Laddar…
Avbryt
Spara