Browse Source

更新

master
牧羊人 4 years ago
parent
commit
c3d3d50726
1 changed files with 7 additions and 1 deletions
  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 View File

private void checkSub(Integer reportId, Integer inspectDriverId, String remark, Integer status) { private void checkSub(Integer reportId, Integer inspectDriverId, String remark, Integer status) {
TauvInspectDriver inspectDriver = new TauvInspectDriver(); TauvInspectDriver inspectDriver = new TauvInspectDriver();
inspectDriver.setId(inspectDriverId); inspectDriver.setId(inspectDriverId);
inspectDriver.setStatus(6);
if (status == 3) {
// 审核通过
inspectDriver.setStatus(4);
} else if (status == 4) {
// 审核驳回
inspectDriver.setStatus(6);
}
inspectDriverMapper.updateById(inspectDriver); inspectDriverMapper.updateById(inspectDriver);
QueryWrapper wrapper = new QueryWrapper(); QueryWrapper wrapper = new QueryWrapper();
wrapper.eq("mark", 1); wrapper.eq("mark", 1);

Loading…
Cancel
Save