提交内容:获取电子回单附件URL

备注:获取电子回单附件URL(研究中)
提交人:邹江涛
This commit is contained in:
zoujiangtao 2024-12-23 17:25:26 +08:00
parent f4dc5695e8
commit d7ea0060bf
1 changed files with 3 additions and 2 deletions

View File

@ -76,9 +76,10 @@ public class PaymentProcessingBillPlugin extends AbstractBillPlugIn implements P
// this.getView().showTipNotification("本单PageId" + this.getView().getPageId()); // this.getView().showTipNotification("本单PageId" + this.getView().getPageId());
List<String> errMsgList = new ArrayList<>(); List<String> errMsgList = new ArrayList<>();
Long pkValue = (Long) this.getView().getModel().getDataEntity().getPkValue(); Long pkValue = (Long) this.getView().getModel().getDataEntity().getPkValue();
DynamicObjectCollection receipts = QueryServiceHelper.query("bei_elecreceipt", "id,bank" + DynamicObjectCollection receipts = QueryServiceHelper.query("bei_elecreceipt", "id,bank," +
"4,fileflag,filepath,biztype,bankcheckflag,fileserverurl,tcpurl,uploadfilename,username,password," + "fileflag,filepath,biztype,bankcheckflag,fileserverurl,tcpurl,uploadfilename,username,password," +
"bank.bank_cate bankcate", new QFilter[]{new QFilter("id", QCP.equals, pkValue)}); "bank.bank_cate bankcate", new QFilter[]{new QFilter("id", QCP.equals, pkValue)});
String pdfUrl = getPdfUrl(this.getView().getPageId(), receipts, errMsgList); String pdfUrl = getPdfUrl(this.getView().getPageId(), receipts, errMsgList);
if (!errMsgList.isEmpty()) { if (!errMsgList.isEmpty()) {
this.getView().showErrorNotification(String.join(",", errMsgList)); this.getView().showErrorNotification(String.join(",", errMsgList));