Module: Reapal::Api::Tender::TenderApplyModify
- Defined in:
- lib/reapal/api/tender/tender_apply_modify.rb
Instance Method Summary collapse
Instance Method Details
#tender_apply_modify(flow_id, tender_no, tender_name, money, rate, fee_amount, refund_term, debit_term, debit_type, repay_date, expiry_date, tender_type, debit_contracts, guarant_contract = nil, commissioned_contract = nil, tender_status = nil, busway = '01', remark = '') ⇒ Hash
3.3 标的信息修改
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 70 71 72 |
# File 'lib/reapal/api/tender/tender_apply_modify.rb', line 39 def tender_apply_modify(flow_id, tender_no, tender_name, money, rate, fee_amount, refund_term, debit_term, debit_type, repay_date, expiry_date, tender_type, debit_contracts, guarant_contract=nil, commissioned_contract=nil, tender_status=nil, busway='01', remark='') service = 'reapal.trust.tenderApplyModify' post_path = '/tender/rest.htm' params = { orderNo: flow_id, tenderNo: tender_no, tenderName: tender_name, amount: money, rate: rate, feeAmount: fee_amount, refundTerm: refund_term, debitTerm: debit_term, debitType: debit_type, repayDate: repay_date.strftime("%Y%m%d"), expiryDate: expiry_date.strftime("%Y%m%d"), tenderType: tender_type, debitContracts: debit_contracts, guarantContract: guarant_contract, commissionedContract: commissioned_contract, tenderStatus: tender_status, busway: busway, remark: remark, applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'), } res = operate_post(:operate, service, params, post_path, Http::ErrorCode.tender_apply_modify, ['0000']) Reapal.logger.info res res end |