Browse Source

公共 字段设值

wangdy 8 years ago
parent
commit
8775de0a1a

+ 5 - 0
src/main/java/com/uas/platform/b2c/prod/commodity/service/impl/ReleaseProductByBatchServiceImpl.java

@@ -1130,6 +1130,11 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
 			product.setCmpUuid(releaseProductByBatch.getComponentUuId());
 			product.setKind(releaseProductByBatch.getKindName());
 			product.setKindId(releaseProductByBatch.getKindUuid());
+			product.setpCmpCode(releaseProductByBatch.getB2cCode());
+			product.setpBrand(releaseProductByBatch.getB2cBrandcn());
+			product.setpBrandEn(releaseProductByBatch.getB2cBranden());
+			product.setpBrandId(releaseProductByBatch.getBrandId());
+			product.setpBrandUuid(releaseProductByBatch.getBranduuid());
 			product.setStandard(releaseProductByBatch.getComponentUuId() == null ? (short)0 : (short)1);
 			product.setCmpUuid(releaseProductByBatch.getComponentUuId());
 			if (isAPerson) {