@@ -32,7 +32,7 @@ public class DeptController { | |||
*/ | |||
@GetMapping("/list/tree") | |||
public JsonResult getListTree() { | |||
log.info("进入获取部门列表接口"); | |||
// log.info("进入获取部门列表接口"); | |||
return deptService.getListTree(); | |||
} | |||
@@ -41,7 +41,7 @@ public class DeptController { | |||
*/ | |||
@GetMapping("/child/list/{id}") | |||
public JsonResult getChildList(@PathVariable("id") String id) { | |||
log.info("进入获取子部门分页列表列表接口, id:{}", id); | |||
// log.info("进入获取子部门分页列表列表接口, id:{}", id); | |||
return deptService.getChildList(id); | |||
} | |||
@@ -50,7 +50,7 @@ public class DeptController { | |||
*/ | |||
@GetMapping(value = "/{id}") | |||
public JsonResult getInfo(@PathVariable("id") String id) { | |||
log.info("进入获取部门信息接口"); | |||
// log.info("进入获取部门信息接口"); | |||
return deptService.getDeptInfo(id); | |||
} | |||
@@ -59,7 +59,7 @@ public class DeptController { | |||
*/ | |||
@PostMapping("/add") | |||
public JsonResult add(@RequestBody AddDeptRequest addDeptRequest) { | |||
log.info("进入新增部门接口"); | |||
// log.info("进入新增部门接口"); | |||
return deptService.insert(addDeptRequest); | |||
} | |||
@@ -68,7 +68,7 @@ public class DeptController { | |||
*/ | |||
@PutMapping("/edit") | |||
public JsonResult update(@RequestBody Map<String, Object> param) { | |||
log.info("进入修改部门接口"); | |||
// log.info("进入修改部门接口"); | |||
EditDeptRequest oldEditDeptRequest = JSON.parseObject(JSON.toJSONString(param.get("oldEditDeptRequest")), EditDeptRequest.class); | |||
EditDeptRequest newEditDeptRequest = JSON.parseObject(JSON.toJSONString(param.get("newEditDeptRequest")), EditDeptRequest.class); | |||
return deptService.update(oldEditDeptRequest, newEditDeptRequest); | |||
@@ -79,7 +79,7 @@ public class DeptController { | |||
*/ | |||
@DeleteMapping("/delete/{id}") | |||
public JsonResult delete(@PathVariable("id") String id) { | |||
log.info("进入删除部门接口"); | |||
// log.info("进入删除部门接口"); | |||
return deptService.deleteById(id); | |||
} | |||
} |
@@ -34,7 +34,7 @@ public class DeleteHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理删除字段"); | |||
// log.info("处理删除字段"); | |||
if (InspectionStatusEnum.IN_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
if (null != handler) { | |||
handler.handler(user, dept, inspectionVo); |
@@ -30,7 +30,7 @@ public class ExecuteHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理立即执行字段"); | |||
// log.info("处理立即执行字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() != inspectionVo.getStatus()) { | |||
if (null != handler) { | |||
handler.handler(user, dept, inspectionVo); |
@@ -29,7 +29,7 @@ public class LiveHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理直播执行字段"); | |||
// log.info("处理直播执行字段"); | |||
if (InspectionStatusEnum.IN_FLIGHT.getCode() != inspectionVo.getStatus()) { | |||
if (null != handler) { | |||
handler.handler(user, dept, inspectionVo); |
@@ -25,7 +25,7 @@ public class PlayBackHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理回放执行字段"); | |||
// log.info("处理回放执行字段"); | |||
if (InspectionStatusEnum.FLIGHT_COMPLETED.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setPlayback(true); | |||
} |
@@ -31,7 +31,7 @@ public class ProblemCountHandle implements GenerateInspectionFieldHander { | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理问题数字段"); | |||
// log.info("处理问题数字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setExecute(true); | |||
} |
@@ -20,7 +20,7 @@ public class ProblemDetailsHandle implements GenerateInspectionFieldHander { | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理问题详情字段"); | |||
// log.info("处理问题详情字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setExecute(true); | |||
} |
@@ -20,7 +20,7 @@ public class ProblemVerifyHandle implements GenerateInspectionFieldHander { | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理问题核实字段"); | |||
// log.info("处理问题核实字段"); | |||
if (InspectionStatusEnum.WAIT_FLIGHT.getCode() == inspectionVo.getStatus()) { | |||
inspectionVo.setExecute(true); | |||
} |
@@ -27,7 +27,7 @@ public class ResubmitHandle implements GenerateInspectionFieldHander { | |||
*/ | |||
@Override | |||
public void handler(User user, Dept dept, InspectionVo inspectionVo) { | |||
log.info("处理重新提交字段"); | |||
// log.info("处理重新提交字段"); | |||
if (InspectionStatusEnum.FLIGHT_FAILED.getCode() != inspectionVo.getStatus()) { | |||
if (null != handler) { | |||
handler.handler(user, dept, inspectionVo); |
@@ -39,7 +39,7 @@ public class QuerySectionListByRoadIdService { | |||
private SectionDeptMapper sectionDeptMapper; | |||
public JsonResult getList(String roadId) { | |||
log.info("根据公路id获取该公路下路段信息列表业务"); | |||
// log.info("根据公路id获取该公路下路段信息列表业务"); | |||
String tenantId = CurrentUserUtil.getTenantId(); | |||
// 校验 |