fix:
出口发票保存报错
This commit is contained in:
parent
4c0c04891b
commit
624899c8ca
@ -81,14 +81,14 @@ public class ExportInvoiceSaveOP extends AbstractOperationServicePlugIn {
|
|||||||
String yemLadbillnum = dataEntitie.getString("yem_ladbillnum");//提单号
|
String yemLadbillnum = dataEntitie.getString("yem_ladbillnum");//提单号
|
||||||
// queryString//合同号
|
// queryString//合同号
|
||||||
DynamicObjectCollection yem_shipports = dataEntitie.getDynamicObjectCollection("yem_shipports");//起运港
|
DynamicObjectCollection yem_shipports = dataEntitie.getDynamicObjectCollection("yem_shipports");//起运港
|
||||||
if (!YEM.isEmpty(yem_shipports)) {
|
if (!YEM.isEmpty(yem_shipports)&& !yem_shipports.isEmpty()) {
|
||||||
for (DynamicObject yemShipport : yem_shipports) {
|
for (DynamicObject yemShipport : yem_shipports) {
|
||||||
String ssa = yemShipport.getDynamicObject("fbasedataid").getString("name");//起运港
|
String ssa = yemShipport.getDynamicObject("fbasedataid").getString("name");//起运港
|
||||||
yemShipports.append(ssa);
|
yemShipports.append(ssa);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
DynamicObjectCollection yem_Destports = dataEntitie.getDynamicObjectCollection("yem_destports");//目的港
|
DynamicObjectCollection yem_Destports = dataEntitie.getDynamicObjectCollection("yem_destports");//目的港
|
||||||
if (!YEM.isEmpty(yem_Destports)) {
|
if (!YEM.isEmpty(yem_Destports)&& !yem_Destports.isEmpty()) {
|
||||||
for (DynamicObject yemShipport : yem_Destports) {
|
for (DynamicObject yemShipport : yem_Destports) {
|
||||||
String string = yemShipport.getDynamicObject("fbasedataid").getString("name");
|
String string = yemShipport.getDynamicObject("fbasedataid").getString("name");
|
||||||
yemDestports.append(string);//目的港
|
yemDestports.append(string);//目的港
|
||||||
|
Loading…
Reference in New Issue
Block a user