|
@@ -322,7 +322,11 @@ public class QySecondlineHzdTzServiceImpl extends ServiceImpl<QySecondlineHzdTzM
|
|
|
|
|
|
|
|
|
qyOutWarehouse.setBrandType((CollectionUtil.get(CollectionUtil.toList("华为","苹果","三星"), new Random().nextInt(3))));
|
|
|
- qyOutWarehouse.setYcgdq((CollectionUtil.get(CollectionUtil.toList("英国","美国","澳大利亚"), new Random().nextInt(3))));
|
|
|
+ if(ObjectUtil.isNotEmpty(product.getOriginCountry())){
|
|
|
+ String ycgdq = bizDictService.getNameByType("address", product.getOriginCountry());
|
|
|
+ qyOutWarehouse.setYcgdq(ycgdq);
|
|
|
+ }
|
|
|
+
|
|
|
qyOutWarehouse.setZzmdg((CollectionUtil.get(CollectionUtil.toList("泰国","法国","巴西"), new Random().nextInt(3))));
|
|
|
//出库数量 == 申报数量
|
|
|
qyOutWarehouse.setCkNum(product.getSbNum());
|