| | |
| | | attributesDTOList.stream().forEachOrdered(s -> { |
| | | attributeService.checkAttribute(s); |
| | | btmTypeAttributeDOList.add(BtmTypeAttributeWrapper.build().copyBtmTypeAttributeDTO2Entity(s,btmTypeOid, creator, now)); |
| | | attributeIdList.add(s.getId().toLowerCase().trim()); |
| | | attributeIdList.add(s.getId().trim()); |
| | | }); |
| | | //检查属性是否都存在 |
| | | boolean exists = attributeService.checkAttributeExists(attributeIdList); |
| | |
| | | attributesDTOList.stream().forEachOrdered(s -> { |
| | | attributeService.checkAttribute(s); |
| | | btmTypeAttributeDOList.add(BtmTypeAttributeWrapper.build().copyBtmTypeAttributeDTO2Entity(s,btmTypeOid, creator, now)); |
| | | attributeIdList.add(s.getId().toLowerCase().trim()); |
| | | attributeIdList.add(s.getId().trim()); |
| | | }); |
| | | //检查属性是否都存在 |
| | | boolean exists = attributeService.checkAttributeExists(attributeIdList); |