|
|
|
@ -60,6 +60,13 @@ public class ElectronicCustomerComplaintServiceImpl implements ElectronicCustome
|
|
|
|
|
public void updateElectronicCustomerComplaint(ElectronicCustomerComplaintUpdateReqVO updateReqVO) {
|
|
|
|
|
// 校验存在
|
|
|
|
|
validateElectronicCustomerComplaintExists(updateReqVO.getId());
|
|
|
|
|
//更新业务类型以及部门
|
|
|
|
|
GetPositionUtils getPositionUtils = new GetPositionUtils();
|
|
|
|
|
GetPositionDo positionDo = getPositionUtils.getPosition(
|
|
|
|
|
updateReqVO.getOrganizationId(), updateReqVO.getDepotId(), updateReqVO.getCabinetId(), updateReqVO.getDeptId());
|
|
|
|
|
|
|
|
|
|
updateReqVO.setPosition(positionDo.getPosition())
|
|
|
|
|
.setCreateBy(positionDo.getCreateBy()).setDeptName(positionDo.getDeptName());
|
|
|
|
|
// 更新
|
|
|
|
|
ElectronicCustomerComplaintDO updateObj = ElectronicCustomerComplaintConvert.INSTANCE.convert(updateReqVO);
|
|
|
|
|
electronicCustomerComplaintMapper.updateById(updateObj);
|
|
|
|
|