Pārlūkot izejas kodu

报告驳回功能调整

master
牧羊人 pirms 4 gadiem
vecāks
revīzija
5bd8ed0cee
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +1
    -1
      src/main/java/com/taauav/admin/service/impl/TauvInspectFileServiceImpl.java
  2. +2
    -2
      src/main/java/com/taauav/admin/service/impl/TauvReportServiceImpl.java

+ 1
- 1
src/main/java/com/taauav/admin/service/impl/TauvInspectFileServiceImpl.java Parādīt failu

@@ -752,7 +752,7 @@ public class TauvInspectFileServiceImpl extends BaseServiceImpl<TauvInspectFileM
if (StringUtils.isEmpty(info)) {
return response.failure("数据不存在");
}
info.setStatus(Integer.valueOf("6"));
info.setStatus(6);
info.setReviewTime(DateUtil.now());
info.setReviewUser(ShiroUtils.getAdminId());
inspectDriverMapper.updateById(info);

+ 2
- 2
src/main/java/com/taauav/admin/service/impl/TauvReportServiceImpl.java Parādīt failu

@@ -564,7 +564,7 @@ public class TauvReportServiceImpl extends BaseServiceImpl<TauvReportMapper, Tau
}
//生成报告-修改状态为“审核中”
if ("generate".equals(act)) {
tauvReport.setStatus(Integer.valueOf("2"));
tauvReport.setStatus(2);
tauvReport.setInputTime(DateUtil.now());
tauvReport.setInputUser(ShiroUtils.getAdminId());
}
@@ -683,7 +683,7 @@ public class TauvReportServiceImpl extends BaseServiceImpl<TauvReportMapper, Tau
private void checkSub(Integer reportId, Integer inspectDriverId, String remark, Integer status) {
TauvInspectDriver inspectDriver = new TauvInspectDriver();
inspectDriver.setId(inspectDriverId);
inspectDriver.setStatus(Integer.valueOf("4"));
inspectDriver.setStatus(6);
inspectDriverMapper.updateById(inspectDriver);
QueryWrapper wrapper = new QueryWrapper();
wrapper.eq("mark", 1);

Notiek ielāde…
Atcelt
Saglabāt