| | |
| | | List<GroupAttrPoolMapping> groupAttrPoolMappings = this.groupAttrPoolMappingMapper.selectList( |
| | | Wrappers.<GroupAttrPoolMapping>query().lambda().in(GroupAttrPoolMapping::getGroupAttrKey, groupKeyList) |
| | | ); |
| | | if(Func.isEmpty(groupAttrPoolMappings) && groupKeyList.size() == groupAttrPoolMappings.size()){ |
| | | if(Func.isEmpty(groupAttrPoolMappings) || groupKeyList.size() != groupAttrPoolMappings.size()){ |
| | | return R.fail("勾选的要同步的集团属性中有在库中不存在的数据,请刷新后重试!"); |
| | | } |
| | | return dockingPreAttrMappingService.syncGroupAttrMapping(groupAttrPoolMappings); |