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