仓库判空

This commit is contained in:
sez 2025-11-19 17:28:31 +08:00
parent 58c20fdea1
commit 6748118946
1 changed files with 6 additions and 2 deletions

View File

@ -130,7 +130,9 @@ public class PurInConvertPlugin extends AbstractConvertPlugIn implements Plugin
entry.set("producedate", manufactureDate); entry.set("producedate", manufactureDate);
entry.set("expirydate", expirationDate); entry.set("expirydate", expirationDate);
entry.set("lotnumber", batch); entry.set("lotnumber", batch);
if (null != bd_warehouse) {
entry.set("warehouse", bd_warehouse); entry.set("warehouse", bd_warehouse);
}
entry.set("tqq9_wmsdetailid", wmsDetailId); entry.set("tqq9_wmsdetailid", wmsDetailId);
entry.set("tqq9_licenseno", licenceCode); entry.set("tqq9_licenseno", licenceCode);
entry.set("tqq9_registration", tqq9_registration); entry.set("tqq9_registration", tqq9_registration);
@ -150,7 +152,9 @@ public class PurInConvertPlugin extends AbstractConvertPlugIn implements Plugin
newEntry.set("producedate", manufactureDate); newEntry.set("producedate", manufactureDate);
newEntry.set("expirydate", expirationDate); newEntry.set("expirydate", expirationDate);
newEntry.set("lotnumber", batch); newEntry.set("lotnumber", batch);
if (null != bd_warehouse) {
newEntry.set("warehouse", bd_warehouse); newEntry.set("warehouse", bd_warehouse);
}
newEntry.set("tqq9_wmsdetailid", wmsDetailId); newEntry.set("tqq9_wmsdetailid", wmsDetailId);
newEntry.set("tqq9_licenseno", licenceCode); newEntry.set("tqq9_licenseno", licenceCode);
newEntry.set("tqq9_registration", tqq9_registration); newEntry.set("tqq9_registration", tqq9_registration);