|
@@ -328,7 +328,7 @@ public class QySecondlineHzdTzServiceImpl extends ServiceImpl<QySecondlineHzdTzM
|
|
|
qyOutWarehouse.setCkNum(product.getSbNum());
|
|
|
//TODO 字典 计量单位
|
|
|
if(ObjectUtil.isNotEmpty(product.getDeclareUnit())){
|
|
|
- String jldw = bizDictService.getNameByType("measurement unit", qySecondlineHzdTz.getYsfs());
|
|
|
+ String jldw = bizDictService.getNameByType("measurement unit", product.getLegalUnit());
|
|
|
qyOutWarehouse.setMeasurementUnit(jldw);
|
|
|
}
|
|
|
|