| | |
| | | import com.ycl.entity.video.VideoAlarmReport; |
| | | import com.ycl.mapper.caseHandler.*; |
| | | import com.ycl.mapper.dict.DataDictionaryMapper; |
| | | import com.ycl.remote.dto.EventAddParamDto; |
| | | import com.ycl.remote.dto.EventProcessParamDto; |
| | | import com.ycl.remote.dto.*; |
| | | import com.ycl.remote.service.CityPlatformService; |
| | | import com.ycl.service.caseHandler.IBaseCaseService; |
| | | import com.ycl.service.caseHandler.IViolationsService; |
| | | import com.ycl.service.video.IVideoAlarmReportService; |
| | |
| | | |
| | | @Override |
| | | public Boolean saveViolationCase(ViolationParam violationParam, Integer id) { |
| | | BaseCase baseCase = new BaseCase(); |
| | | Violations violations = new Violations(); |
| | | BeanUtils.copyProperties(violationParam, baseCase); |
| | | BeanUtils.copyProperties(violationParam, violations); |
| | | violations.setId(id); |
| | | Integer value = 1; |
| | |
| | | |
| | | @Override |
| | | public Boolean saveIllegalBuildingCase(IllegalBuildingParam illegalBuildingParam, Integer id) { |
| | | BaseCase baseCase = new BaseCase(); |
| | | IllegalBuilding illegalBuilding = new IllegalBuilding(); |
| | | BeanUtils.copyProperties(illegalBuilding, baseCase); |
| | | BeanUtils.copyProperties(illegalBuilding, illegalBuildingParam); |
| | | illegalBuilding.setBaseCaseId(id); |
| | | Integer value = 1; |
| | |
| | | QueryWrapper<WorkflowConfig> wrapperWc = new QueryWrapper<>(); |
| | | wrapperWc.lambda().eq(WorkflowConfig::getCode, "ddlc").or().eq(WorkflowConfig::getCode, "wtcllc"); |
| | | List<WorkflowConfig> wcs = workflowConfigMapper.selectList(wrapperWc); |
| | | Integer ddlcId=0,wtcllcId=0; |
| | | Integer ddlcId = 0, wtcllcId = 0; |
| | | for (WorkflowConfig wc : wcs) { |
| | | if ("ddlc".equals(wc.getCode())) { |
| | | ddlcId = wc.getId(); |