@@ -37,6 +37,8 @@ set user_id=(select id from xyqb_user.user where phone_no =$phone_no),
loan_application_history_id=(select id from xyqb.loan_application_history where business_type=0 and user_id=(select id from xyqb_user.user where phone_no =$phone_no) and is_active=1),
loan_received_at='$date',
product_id=(select distinct(product_id) from risk_control.product_strategy_dispatcher where funding_corp_id=$fund_id),
monthly_interest_rate=(select monthly_interest_rate from xyqb.funding_corp where id=$fund_id),
annual_interest_rate=(select monthly_interest_rate from xyqb.funding_corp where id=$fund_id)*12,
loan_paid_at='$date'
where loan_application_history_id =111112222233333;