Przeglądaj źródła

添加fileImage

tags/v1.1.0^2
chengwang 1 rok temu
rodzic
commit
3d9cae0402
3 zmienionych plików z 12 dodań i 0 usunięć
  1. +4
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionFileServiceImpl.java
  2. +3
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java
  3. +5
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/WorkOrderHandleVo.java

+ 4
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/InspectionFileServiceImpl.java Wyświetl plik

@@ -504,6 +504,10 @@ public class InspectionFileServiceImpl implements IInspectionFileService {
if (StringUtils.isNotEmpty(t.getFileOriginal())) {
vo.setFileOriginal(CommonConfig.imageURL + t.getFileOriginal());
}
//标记图
if(StringUtils.isNotEmpty(t.getFileImage())){
vo.setFileImage(CommonConfig.imageURL + t.getFileImage());
}
// 问题类型
if (StringUtils.isNotEmpty(t.getQuestionId())) {
QuestionType questionType = questionTypeMapper.selectOne(Wrappers.<QuestionType>lambdaQuery()

+ 3
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WorkOrderServiceImpl.java Wyświetl plik

@@ -532,6 +532,9 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO
if (StringUtils.isNotEmpty(s.getFileOriginal())) {
vo.setFileOriginal(CommonConfig.imageURL + s.getFileOriginal());
}
if(StringUtils.isNotEmpty(s.getFileImage())){
vo.setFileImage(CommonConfig.imageURL+s.getFileImage());
}
//任务名称 任务执行时间 道路位置编号
if (StringUtils.isEmpty(s.getInspectionId())) {
throw new ServiceException(ServiceExceptionEnum.PARAMETER_IS_NULL);

+ 5
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/vo/WorkOrderHandleVo.java Wyświetl plik

@@ -53,6 +53,11 @@ public class WorkOrderHandleVo {
*/
private String fileOriginal;

/**
* 标记图
*/
private String fileImage;

/**
* 位置
*/

Ładowanie…
Anuluj
Zapisz