瀏覽代碼

'BUG'

master
daixiantong 4 年之前
父節點
當前提交
f4007e1996
共有 2 個檔案被更改,包括 6 行新增1 行删除
  1. +3
    -0
      src/main/java/com/taauav/admin/service/impl/TauvInspectFileServiceImpl.java
  2. +3
    -1
      src/main/java/com/taauav/front/vo/LSInspectFileDataVo.java

+ 3
- 0
src/main/java/com/taauav/admin/service/impl/TauvInspectFileServiceImpl.java 查看文件

@@ -1111,6 +1111,9 @@ public class TauvInspectFileServiceImpl extends BaseServiceImpl<TauvInspectFileM
String path = inspectFile.getThumbImg().replace("_1", "_2");
inspectFileDataVo.setFilePath(uploadUrl + path);
}
if (inspectFile.getOriginalImg() != null && inspectFile.getOriginalImg() != "") {
inspectFileDataVo.setOriginImg(uploadUrl + inspectFile.getOriginalImg());
}

TauvInspectDriver inspectDriver = inspectDriverMapper.selectById(inspectFile.getInspectDriverId());
if (inspectDriver != null) {

+ 3
- 1
src/main/java/com/taauav/front/vo/LSInspectFileDataVo.java 查看文件

@@ -1,5 +1,6 @@
package com.taauav.front.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@@ -22,6 +23,7 @@ public class LSInspectFileDataVo {

private String driverAreaName;

@JsonFormat(pattern = "yyyy-MM-dd")
private Date executionTime;

private String categoryText;
@@ -32,5 +34,5 @@ public class LSInspectFileDataVo {

private String filePath;

private String originImg;
}

Loading…
取消
儲存