| | |
| | | stepQuery.eq("name", stepName); |
| | | WorkflowConfigStep workflowConfigStep = workflowConfigStepMapper.selectOne(stepQuery); |
| | | |
| | | Integer state = 0; |
| | | DisposeRecord disposeRecord = new DisposeRecord(); |
| | | disposeRecord.setWorkflowConfigStepId(workflowConfigStep.getId()); |
| | | disposeRecord.setHandlerRoleId(workflowConfigStep.getRoleId()); |
| | | disposeRecord.setBaseCaseId(id); |
| | | disposeRecord.setState(state); |
| | | disposeRecord.setState(1); |
| | | disposeRecord.setCreateTime(LocalDateTime.now()); |
| | | AdminUserDetails userDetails = (AdminUserDetails) SecurityContextHolder.getContext().getAuthentication().getPrincipal(); |
| | | disposeRecord.setCreateUser(userDetails.getUserId()); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<BaseCase> selectPage(Page<BaseCase> page, String number, Integer communityId, Integer categories, String startTime, String endTime, String site) { |
| | | public Page<BaseCase> selectPage(Page<BaseCase> page, String number, Integer communityId, Integer categories, String startTime, String endTime, String site) { |
| | | return baseCaseMapper.selectBaseCasePage(page, number, communityId, categories, startTime, endTime, site); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<QueryForViolationVO> selectViolationList(QueryForViolationParam queryForViolationParam) { |
| | | return baseCaseMapper.selectViolationPage(queryForViolationParam); |
| | | } |
| | | |
| | | @Override |
| | | public Page<BaseCaseVO> selectVideoInspection(Integer current) { |
| | | return baseCaseMapper.selectVideoInspection(new Page<>(current, 1)); |
| | | } |