仓库判空
This commit is contained in:
parent
58c20fdea1
commit
6748118946
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue