fanli/src/main/java/com/yeshi/fanli/service/impl/goods/GoodsSubClassServiceImpl.java
@@ -204,7 +204,7 @@ } goodsSubClassMapper.insert(record); if (labelId != null) { GoodsSubClassLabelMap map = new GoodsSubClassLabelMap(); map.setGoodsSubClass(record); @@ -250,7 +250,10 @@ GoodsSubClassLabelMap map = new GoodsSubClassLabelMap(); map.setGoodsSubClass(record); map.setLabel(new GoodsSubClassLabel(labelId)); goodsSubClassLabelService.addSubClassLabelMap(map); try { goodsSubClassLabelService.addSubClassLabelMap(map); } catch (Exception e) { } } goodsSubClassMapper.updateByPrimaryKey(record);