浏览代码

图片标记

master
牧羊人 4 年前
父节点
当前提交
60d5da8996
共有 2 个文件被更改,包括 4 次插入2 次删除
  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 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存