| | |
| | | import com.ycl.bo.AdminUserDetails; |
| | | import com.ycl.bo.casePool.CasePoolIllegalBuildingDO; |
| | | import com.ycl.bo.casePool.CasePoolViolationDO; |
| | | import com.ycl.common.util.DateUtil; |
| | | import com.ycl.dto.casePool.IllegalBuildingParam; |
| | | import com.ycl.dto.casePool.ViolationParam; |
| | | import com.ycl.entity.caseHandler.*; |
| | |
| | | } |
| | | //2.2查询处置流程环节配置 |
| | | List<WorkflowConfigStep> listWcs = workflowConfigStepMapper.selectRecordByWorkflowConfigStepId(ddlcId); |
| | | //处理用环节时间 |
| | | for (WorkflowConfigStep step : listWcs) { |
| | | DisposeRecord record = step.getDisposeRecord(); |
| | | record.setLinkTime( |
| | | DateUtil.getDistanceDateTime( |
| | | DateUtil.fromLocalDateTime(baseCase.getAlarmTime()), |
| | | DateUtil.fromLocalDateTime(record.getCreateTime()))); |
| | | step.setDisposeRecord(record); |
| | | } |
| | | //2.3设置调度流程 |
| | | handlePassVo.setWorkflowConfigSteps(listWcs); |
| | | bcd.setHandlePassVo(handlePassVo); |
| | |
| | | //5.查询现场情况信息 |
| | | CurrentSitVo currentSitVo = new CurrentSitVo(); |
| | | QueryWrapper<ArrivalSituation> wrapperAs = new QueryWrapper<>(); |
| | | wrapperAs.lambda().eq(ArrivalSituation::getBaseCaseId, baseCase.getId()); |
| | | //设置到达现场情况 |
| | | ArrivalSituation as = arrivalSituationMapper.selectOne(wrapperAs); |
| | | currentSitVo.setArrivalSituation(as); |