Browse Source

二线出岛放行业务bug修复

wenjinbiao 2 months ago
parent
commit
e663871474

+ 1 - 1
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qysecondlinehzdtz/service/impl/QySecondlineHzdTzServiceImpl.java

@@ -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);
         }