Przeglądaj źródła

图片标记

master
牧羊人 4 lat temu
rodzic
commit
60d5da8996
2 zmienionych plików z 4 dodań i 2 usunięć
  1. +1
    -1
      src/main/java/com/taauav/admin/service/impl/TauvInspectDriverServiceImpl.java
  2. +3
    -1
      src/main/java/com/taauav/admin/service/impl/TauvInspectFileServiceImpl.java

+ 1
- 1
src/main/java/com/taauav/admin/service/impl/TauvInspectDriverServiceImpl.java Wyświetl plik

@@ -621,7 +621,7 @@ public class TauvInspectDriverServiceImpl extends BaseServiceImpl<TauvInspectDri
// driver.setFormatExecutionStartTime(FunctionUtils.formatTime(driver.getExecutionStartTime(), "yyyy-MM-dd HH:mm:ss"));
// driver.setFormatExecutionEndTime(FunctionUtils.formatTime(driver.getExecutionEndTime(), "yyyy-MM-dd HH:mm:ss"));
driver.setFormatCreateTime(DateUtil.format(driver.getCreateTime(), "yyyy-MM-dd HH:mm:ss"));
driver.setFormatInspectTime(DateUtil.format(driver.getInspectTime(), "yyyy-MM-dd HH:mm:ss"));
driver.setFormatInspectTime(DateUtil.format(driver.getInspectTime(), "yyyy-MM-dd"));
if (!StringUtils.isEmpty(driver.getExecutionTime())) {
driver.setFormatExecutionTime(DateUtil.format(driver.getExecutionTime(), "yyyy-MM-dd"));
}

+ 3
- 1
src/main/java/com/taauav/admin/service/impl/TauvInspectFileServiceImpl.java Wyświetl plik

@@ -127,7 +127,9 @@ public class TauvInspectFileServiceImpl extends BaseServiceImpl<TauvInspectFileM
Integer status = driverPicDTO.getStatus().intValue();
driverPicDTO.setStatusText(StringUtils.isEmpty(status) ? "" : statusList.get(status));
Date reviewTime = driverPicDTO.getReviewTime();
driverPicDTO.setFormatReviewTime(DateUtil.format(reviewTime, format));
if (reviewTime != null) {
driverPicDTO.setFormatReviewTime(DateUtil.format(reviewTime, format));
}
if (!StringUtils.isEmpty(driverPicDTO.getReviewUser())) {
SysAdmin adminInfo = iSysAdminService.getAdminInfo(driverPicDTO.getReviewUser());
driverPicDTO.setFormatReviewUser(StringUtils.isEmpty(adminInfo) ? "" : adminInfo.getRealname());

Ładowanie…
Anuluj
Zapisz