| | |
| | | package com.ycl.service.caseHandler.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ycl.constant.BaseCaseStatus; |
| | | import com.ycl.common.constant.BaseCaseStatus; |
| | | import com.ycl.dto.caseHandler.DispatchInfoParam; |
| | | import com.ycl.entity.caseHandler.BaseCase; |
| | | import com.ycl.entity.caseHandler.DispatchInfo; |
| | |
| | | baseMapper.insert(dispatchInfo); |
| | | //修改案件状态为调度 |
| | | BaseCase baseCase = new BaseCase(); |
| | | baseCase.setId(dispatchInfoParam.getBaseCaseId()); |
| | | baseCase.setState(BaseCaseStatus.DISPATCH); |
| | | baseCaseMapper.updateById(baseCase); |
| | | return dispatchInfo; |