Sfoglia il codice sorgente

重构questionName字段

tags/v1.0.0^2
wanjing 1 anno fa
parent
commit
212200c220
3 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  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 Vedi File

@@ -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 Vedi File

@@ -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 Vedi File

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

/**
* 问题类型名称

Loading…
Annulla
Salva