Pārlūkot izejas kodu

图片标记

master
牧羊人 pirms 4 gadiem
vecāks
revīzija
60d5da8996
2 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  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 Parādīt failu

@@ -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 Parādīt failu

@@ -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());

Notiek ielāde…
Atcelt
Saglabāt