|
@@ -151,7 +151,7 @@ public class HandInReceiveTicketPlugin extends AbstractFormPlugin implements Row
|
|
if(BillTypeConstants.ER_CHECKINGPAYBILL.equals(billlType)){
|
|
if(BillTypeConstants.ER_CHECKINGPAYBILL.equals(billlType)){
|
|
companyField = "company";
|
|
companyField = "company";
|
|
}
|
|
}
|
|
- String selector = String.join(",",ErReimBurseBillConstant.ID,ErReimBurseBillConstant.KEY_BILLNO,ErReimBurseBillConstant.KEY_COMPANY,
|
|
|
|
|
|
+ String selector = String.join(",",ErReimBurseBillConstant.ID,ErReimBurseBillConstant.KEY_BILLNO,companyField,
|
|
ErReimBurseBillConstant.KEY_NCKD_HANDIN_PERSON,ErReimBurseBillConstant.KEY_NCKD_RECEIPT_PERSON);
|
|
ErReimBurseBillConstant.KEY_NCKD_HANDIN_PERSON,ErReimBurseBillConstant.KEY_NCKD_RECEIPT_PERSON);
|
|
DataEntityPropertyCollection properties = EntityMetadataCache.getDataEntityType(billlType).getProperties();
|
|
DataEntityPropertyCollection properties = EntityMetadataCache.getDataEntityType(billlType).getProperties();
|
|
if(properties.containsKey(ErReimBurseBillConstant.KEY_NCKD_PAGEID)){
|
|
if(properties.containsKey(ErReimBurseBillConstant.KEY_NCKD_PAGEID)){
|
|
@@ -168,7 +168,7 @@ public class HandInReceiveTicketPlugin extends AbstractFormPlugin implements Row
|
|
|
|
|
|
addScanBillEntry(tripReimBurseBill.getString(ErReimBurseBillConstant.KEY_BILLNO),getReceiptStatus(tripReimBurseBill),
|
|
addScanBillEntry(tripReimBurseBill.getString(ErReimBurseBillConstant.KEY_BILLNO),getReceiptStatus(tripReimBurseBill),
|
|
tripReimBurseBill.get(ErReimBurseBillConstant.ID), billlType,
|
|
tripReimBurseBill.get(ErReimBurseBillConstant.ID), billlType,
|
|
- tripReimBurseBill.getDynamicObject(ErReimBurseBillConstant.KEY_COMPANY).getPkValue(),
|
|
|
|
|
|
+ tripReimBurseBill.getDynamicObject(companyField).getPkValue(),
|
|
pageId);
|
|
pageId);
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|