|
|
|
@ -296,6 +296,7 @@ public class SDEnregyServiceImpl extends SDEnregyServiceAbstract { |
|
|
|
|
BeanUtils.copyProperties(codeEntityForMatch, commodityCodeEntity); |
|
|
|
|
if (parentCodeEntity != null) { |
|
|
|
|
commodityCodeEntity.setCommodityId(parentCodeEntity.getCommodityId()); // 要把原commodityId维护回去
|
|
|
|
|
commodityCodeEntity.setId(parentCodeEntity.getId()); |
|
|
|
|
} |
|
|
|
|
commodityCodeEntity.setXhfNsrsbh("-1"); |
|
|
|
|
return; |
|
|
|
|