parent
268831e596
commit
bdfbc49735
|
@ -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) {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue