牧羊人 4 anni fa
parent
commit
c3d3d50726
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. +7
    -1
      src/main/java/com/taauav/admin/service/impl/TauvReportServiceImpl.java

+ 7
- 1
src/main/java/com/taauav/admin/service/impl/TauvReportServiceImpl.java Vedi File

@@ -683,7 +683,13 @@ 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(6);
if (status == 3) {
// 审核通过
inspectDriver.setStatus(4);
} else if (status == 4) {
// 审核驳回
inspectDriver.setStatus(6);
}
inspectDriverMapper.updateById(inspectDriver);
QueryWrapper wrapper = new QueryWrapper();
wrapper.eq("mark", 1);

Loading…
Annulla
Salva