|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
//生成报告-修改状态为“审核中” |
|
|
//生成报告-修改状态为“审核中” |
|
|
if ("generate".equals(act)) { |
|
|
if ("generate".equals(act)) { |
|
|
tauvReport.setStatus(Integer.valueOf("2")); |
|
|
|
|
|
|
|
|
tauvReport.setStatus(2); |
|
|
tauvReport.setInputTime(DateUtil.now()); |
|
|
tauvReport.setInputTime(DateUtil.now()); |
|
|
tauvReport.setInputUser(ShiroUtils.getAdminId()); |
|
|
tauvReport.setInputUser(ShiroUtils.getAdminId()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
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(Integer.valueOf("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); |