提交内容:银企交易明细,电子回单查询推送BIP

备注:银企交易明细,电子回单查询推送BIP
提交人:邹江涛
This commit is contained in:
zoujiangtao 2024-12-20 17:32:46 +08:00
parent 268831e596
commit bdfbc49735
2 changed files with 10 additions and 1 deletions

View File

@ -503,6 +503,14 @@ public class ApiService {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
// 格式化Date对象为字符串 // 格式化Date对象为字符串
value = sdf.format(bizdate); value = sdf.format(bizdate);
} else if ("detaildatetime".equals(parts[0])) {
Date bizdate = billObject.getDate("detaildatetime");
// 创建一个SimpleDateFormat对象指定格式为"yyyy-MM-dd"
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
// 格式化Date对象为字符串
value = sdf.format(bizdate);
} else if ("uploadFileName".equals(parts[0])) {
value = ReceiptPrintHelper.getRealUploadUrl(billObject);
} else if ("bankpaystatus".equals(parts[0])) { } else if ("bankpaystatus".equals(parts[0])) {
String bankpaystatus = billObject.getString(parts[0]); String bankpaystatus = billObject.getString(parts[0]);
switch (bankpaystatus) { switch (bankpaystatus) {

View File

@ -107,7 +107,8 @@ public class ApiMappingBillPlugin extends AbstractFormPlugin implements Plugin {
// 电子回单查询 // 电子回单查询
case "bei_elecreceipt": case "bei_elecreceipt":
DynamicObject[] objects4 = BusinessDataServiceHelper.load("bei_elecreceipt", DynamicObject[] objects4 = BusinessDataServiceHelper.load("bei_elecreceipt",
"id,billno,shkd_pushstatus,fileserverurl" "id,billno,shkd_pushstatus,fileserverurl,bizdate,oppbankname,description,company,oppbanknumber," +
"detaildatetime,accountbank,amount,use,debitamount,creditamount"
, new QFilter("billno", QCP.equals, billNumber).toArray()); , new QFilter("billno", QCP.equals, billNumber).toArray());
billObject = objects4[0]; billObject = objects4[0];
logger.info("获取银企交易明细查询推送对象 → billObject{}", billObject); logger.info("获取银企交易明细查询推送对象 → billObject{}", billObject);