|  |  |  | 
|---|
|  |  |  | throw  new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"保险方案【"+s.getName()+"】已被禁用,不能进行该操作"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | companySolutionJoinMapper.insertBatchSomeColumn(list); | 
|---|
|  |  |  | companySolutionJoinMapper.insert(list); | 
|---|
|  |  |  | //存储待办信息 | 
|---|
|  |  |  | Constants.NoticeObjectType noticeObjectType = Constants.NoticeObjectType.SOLUTIONS; | 
|---|
|  |  |  | for (CompanySolution s:list) { | 
|---|
|  |  |  | 
|---|
|  |  |  | throw  new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"保险方案【"+s.getName()+"】已被禁用,不能进行该操作"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | companySolutionJoinMapper.insertBatchSomeColumn(list); | 
|---|
|  |  |  | companySolutionJoinMapper.insert(list); | 
|---|
|  |  |  | }*/ | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | throw  new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"保险方案【"+s.getName()+"】已被禁用,不能进行该操作"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | companySolutionJoinMapper.insertBatchSomeColumn(list); | 
|---|
|  |  |  | companySolutionJoinMapper.insert(list); | 
|---|
|  |  |  | }*/ | 
|---|
|  |  |  | private void isValidCreateParam(Company company) { | 
|---|
|  |  |  | if(StringUtils.isBlank(company.getPhone()) | 
|---|
|  |  |  | 
|---|
|  |  |  | }else { | 
|---|
|  |  |  | throw new BusinessException(ResponseStatus.BAD_REQUEST.getCode(),"请上传身份证扫描件!"); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | multifileMapper.insertBatchSomeColumn(multifileList); | 
|---|
|  |  |  | multifileMapper.insert(multifileList); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | private void dealFileDataForUpdate(Company company ) { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | .eq(Multifile::getIsdeleted,Constants.ZERO) | 
|---|
|  |  |  | .in(Multifile::getObjType,objList) | 
|---|
|  |  |  | ); | 
|---|
|  |  |  | multifileMapper.insertBatchSomeColumn(multifileList); | 
|---|
|  |  |  | multifileMapper.insert(multifileList); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|