Browse Source

'BUG'

master
daixiantong 4 years ago
parent
commit
f4007e1996
2 changed files with 6 additions and 1 deletions
  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 View File

String path = inspectFile.getThumbImg().replace("_1", "_2"); String path = inspectFile.getThumbImg().replace("_1", "_2");
inspectFileDataVo.setFilePath(uploadUrl + path); inspectFileDataVo.setFilePath(uploadUrl + path);
} }
if (inspectFile.getOriginalImg() != null && inspectFile.getOriginalImg() != "") {
inspectFileDataVo.setOriginImg(uploadUrl + inspectFile.getOriginalImg());
}


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

+ 3
- 1
src/main/java/com/taauav/front/vo/LSInspectFileDataVo.java View File

package com.taauav.front.vo; package com.taauav.front.vo;


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


import java.util.Date; import java.util.Date;


private String driverAreaName; private String driverAreaName;


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


private String categoryText; private String categoryText;


private String filePath; private String filePath;


private String originImg;
} }

Loading…
Cancel
Save