| | |
| | | @Override |
| | | public Integer selectUserList(SysUser sysUser) { |
| | | List<SysUser> sysUserList = hnGatherPatArchiveMapper.selectUserList(sysUser); |
| | | if (CollectionUtils.isEmpty(sysUserList)) return null; |
| | | |
| | | |
| | | log.info("sysUserList的采集到的数量为:{}", sysUserList.size()); |
| | | int i = sysUser2Mapper.batchUser(sysUserList); |
| | | for (SysUser sysUser1 : sysUserList) { |
| | |
| | | public Integer selectDeptList(SysDept dept) { |
| | | List<SysDept> sysDepts = hnGatherPatArchiveMapper.selectDeptList(dept); |
| | | log.info("selectDeptList的采集到的数量为:{}", sysDepts.size()); |
| | | int i = sysDept2Mapper.batchDept(sysDepts); |
| | | int i = 0; |
| | | if (CollectionUtils.isNotEmpty(sysDepts)) i = sysDept2Mapper.batchDept(sysDepts); |
| | | return i; |
| | | } |
| | | |