| | |
| | | throw new BusinessException(ResponseStatus.DATA_EMPTY.getCode(),"未同步到任何组织信息!"); |
| | | } |
| | | companyMapper.delete(new UpdateWrapper<>());//清空原有数据 |
| | | companyMapper.insertBatchSomeColumn(allHkList);//插入新数据 |
| | | companyMapper.insert(allHkList);//插入新数据 |
| | | }catch (BusinessException e){ |
| | | throw e; |
| | | }catch (Exception e){ |
| | |
| | | throw new BusinessException(ResponseStatus.DATA_EMPTY.getCode(),"未同步到任何组织信息!"); |
| | | } |
| | | memberMapper.delete(new UpdateWrapper<>());//清空原有数据 |
| | | memberMapper.insertBatchSomeColumn(allHkList);//插入新数据 |
| | | memberMapper.insert(allHkList);//插入新数据 |
| | | }catch (BusinessException e){ |
| | | throw e; |
| | | }catch (Exception e){ |