Commit 777c8eb0 authored by 陆正友's avatar 陆正友

农行获取收款账户更改(和生产保持一致 dev不保持)

parent 1402845c
...@@ -92,7 +92,7 @@ function send_query(batch_id) { ...@@ -92,7 +92,7 @@ function send_query(batch_id) {
var access_token = SystokenQuery.getChildren()[0].access_token; var access_token = SystokenQuery.getChildren()[0].access_token;
var files = '{"startCreatedDate": ' + '"' + startdate + '"' var files = '{"startCreatedDate": ' + '"' + startdate + '"'
+ ',"endCreatedDate":' + '"' + enddate + '"' + ',"endCreatedDate":' + '"' + enddate + '"'
+ ',"documentTypeCodeList": ' + '["receiptD"]}'; + ',"documentTypeCodeList": ' + '["BANK_RECEIPT_OCR"]}';
access_token = access_token; access_token = access_token;
var request_files_n = files + access_token + token_type; var request_files_n = files + access_token + token_type;
var request_files = JSON.stringify(request_files_n); var request_files = JSON.stringify(request_files_n);
...@@ -170,7 +170,7 @@ function send_query(batch_id) { ...@@ -170,7 +170,7 @@ function send_query(batch_id) {
fieldValueMap[fieldCode] = fieldValue; fieldValueMap[fieldCode] = fieldValue;
} }
if (fieldValueMap['BENEFICIARY_ACCOUNT'] == '216084872610001') { if (fieldValueMap['BENEFICIARY_ACCOUNT'] == '03399500040009165') {
att_import_bank_trx_bm.insert({ att_import_bank_trx_bm.insert({
'bank_receipt_date': fieldValueMap['BANK_RECEIPT_DATE'],//回单时间 'bank_receipt_date': fieldValueMap['BANK_RECEIPT_DATE'],//回单时间
'total_amount': fieldValueMap['TOTAL_AMOUNT'],//收入金额 'total_amount': fieldValueMap['TOTAL_AMOUNT'],//收入金额
...@@ -224,7 +224,7 @@ function send_query(batch_id) { ...@@ -224,7 +224,7 @@ function send_query(batch_id) {
var access_token = SystokenQuery.getChildren()[0].access_token; var access_token = SystokenQuery.getChildren()[0].access_token;
var files = '{"startCreatedDate": ' + '"' + startdate + '"' var files = '{"startCreatedDate": ' + '"' + startdate + '"'
+ ',"endCreatedDate":' + '"' + enddate + '"' + ',"endCreatedDate":' + '"' + enddate + '"'
+ ',"documentTypeCodeList": ' + '["receiptD"]}'; + ',"documentTypeCodeList": ' + '["BANK_RECEIPT_OCR"]}';
access_token = access_token; access_token = access_token;
var request_files_n = files + access_token + token_type; var request_files_n = files + access_token + token_type;
var request_files = JSON.stringify(request_files_n); var request_files = JSON.stringify(request_files_n);
...@@ -304,7 +304,7 @@ function send_query(batch_id) { ...@@ -304,7 +304,7 @@ function send_query(batch_id) {
fieldValueMap[fieldCode] = fieldValue; fieldValueMap[fieldCode] = fieldValue;
} }
if (fieldValueMap['BENEFICIARY_ACCOUNT'] == '216084872610001') { if (fieldValueMap['BENEFICIARY_ACCOUNT'] == '03399500040009165') {
att_import_bank_trx_bm.insert({ att_import_bank_trx_bm.insert({
'bank_receipt_date': fieldValueMap['BANK_RECEIPT_DATE'],//回单时间 'bank_receipt_date': fieldValueMap['BANK_RECEIPT_DATE'],//回单时间
'total_amount': fieldValueMap['TOTAL_AMOUNT'],//收入金额 'total_amount': fieldValueMap['TOTAL_AMOUNT'],//收入金额
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment