| | |
| | | */ |
| | | public class BaseCaseStatus { |
| | | /** |
| | | * 待处理 |
| | | */ |
| | | public static final Integer PENDING = 0; |
| | | /** |
| | | * 误报 |
| | | */ |
| | | public static final Integer ERROR_REPORT = 1; |
| | | /** |
| | | * 上报 |
| | | */ |
| | | public static final Integer REPORT = 2; |
| | | /** |
| | | * 再学习/再训练 |
| | | */ |
| | | public static final Integer RELEARN = 3; |
| | | /** |
| | | * 暂不处理 |
| | | */ |
| | | public static final Integer NO_PROCESSING = 4; |
| | | /** |
| | | * 立案 |
| | | */ |
| | | public static final Integer REGISTER = 5; |
| | | /** |
| | | * 调度 |
| | | */ |
| | | public static final Integer DISPATCH = 3; |
| | | public static final Integer DISPATCH = 6; |
| | | /** |
| | | * 审核 |
| | | * 处置 |
| | | */ |
| | | public static final Integer CHECK = 5; |
| | | public static final Integer DISPOSE = 7; |
| | | /** |
| | | * 核查 |
| | | */ |
| | | public static final Integer CHECK = 8; |
| | | /** |
| | | * 结案 |
| | | */ |
| | | public static final Integer CLOSING_REGISTER = 9; |
| | | |
| | | } |
| | |
| | | @ApiOperation(value = "查询违规违建") |
| | | @GetMapping("/query") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "state", value = "处理状态(0误报 1上报 2立案 3派遣 4处置 5核查 6结案7处理中)", dataType = "Integer"), |
| | | @ApiImplicitParam(name = "state", value = "处理状态(0-待处理1-误报2-上报3-再学习/再训练4暂不处理5立案6调度7处置8核查9结案)", dataType = "Integer"), |
| | | @ApiImplicitParam(name = "type", value = "1 违规,2 违建", dataType = "Integer"), |
| | | @ApiImplicitParam(name = "resource", value = "1 视频,2 手动", dataType = "Integer") |
| | | }) |
| | |
| | | @RequestMapping(value = "/check", method = RequestMethod.POST) |
| | | @ResponseBody |
| | | public CommonResult check(@Validated @RequestBody ChechParam chechParam) { |
| | | return CommonResult.success(iCheckHandleService.chech(chechParam)); |
| | | return CommonResult.success(iCheckHandleService.check(chechParam)); |
| | | } |
| | | } |
| | |
| | | * @since 2022-10-02 |
| | | */ |
| | | public interface ICheckHandleService { |
| | | Boolean chech(ChechParam chechParam); |
| | | Boolean check(ChechParam chechParam); |
| | | } |
| | |
| | | BaseCaseMapper baseCaseMapper; |
| | | |
| | | @Override |
| | | public Boolean chech(ChechParam chechParam) { |
| | | public Boolean check(ChechParam chechParam) { |
| | | //新增流程记录信息 |
| | | DisposeRecord disposeRecord = new DisposeRecord(); |
| | | disposeRecord.setBaseCaseId(chechParam.getBaseCaseId()); |