|
|
@@ -1508,6 +1508,9 @@ public class ProductServiceImpl implements ProductService {
|
|
|
g.setBreakUp(Boolean.FALSE);
|
|
|
g.setReserve(product.getErpReserve());
|
|
|
String packaging = (detail == null || detail.getPackaging() == null) ? product.getPackaging(): detail.getPackaging();
|
|
|
+ if (packaging == null) {
|
|
|
+ packaging = StringConstant.DEFAULTPACKAGING;
|
|
|
+ }
|
|
|
g.setPackaging(packaging);
|
|
|
|
|
|
String produceDate = (detail == null || detail.getProduceDate() == null) ? product.getProduceDate() : detail.getProduceDate();
|