Module: Reapal::Api::Tender::HistoryTenderInfoModify
- Defined in:
- lib/reapal/api/tender/history_tender_info_modify.rb
Instance Method Summary collapse
Instance Method Details
#history_tender_info_modify(flow_id, tender_no, fee_amount, refund_term, tender_type, debit_contracts, guarant_contract = '', commissioned_contract = '', tender_status = '', returned_principal = 0, returned_interest = 0, returned_fee = 0, returned_def_amount = 0, busway = '01', remark = '') ⇒ Hash
3.19 历史标的信息修改
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
# File 'lib/reapal/api/tender/history_tender_info_modify.rb', line 36 def history_tender_info_modify(flow_id, tender_no, fee_amount, refund_term, tender_type, debit_contracts, guarant_contract='', commissioned_contract='', tender_status='', returned_principal=0, returned_interest=0, returned_fee=0, returned_def_amount=0, busway='01', remark='') service = 'reapal.trust.historyTenderInfoModify' post_path = '/tender/rest.htm' params = { orderNo: flow_id, tenderNo: tender_no, feeAmount: fee_amount, refundTerm: refund_term, tenderType: tender_type, debitContracts: debit_contracts, guarantContract: guarant_contract, commissionedContract: commissioned_contract, tenderStatus: tender_status, hisAmount: returned_principal, hisIntAmount: returned_interest, hisFeeAmount: returned_fee, hisDefAmount: returned_def_amount, busway: busway, remark: remark, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } res = operate_post(:operate, service, params, post_path, Http::ErrorCode.history_tender_info_modify, ['0000']) Reapal.logger.info res res end |