def insert_bank_loans_info(loan_apply_id,loan_account, loan_status,loan_total_amount,loan_balance,loan_deliver_date,loan_due_date, loan_closed_date,loan_cleared_pr_n,loan_cleared_in_n,loan_overdue_amount,loan_overdue_date): """ 新增银行贷款信息 @param loan_apply_id: @param loan_account: 贷款账号 @param loan_status: 贷款状态 @param loan_total_amount: 贷款总额 @param loan_balance: 贷款余额 @param loan_deliver_date: 放款日期 @param loan_due_date: 到期日 @param loan_closed_date: 结清日 @param loan_cleared_pr_n: 已还本金期数 @param loan_cleared_in_n: 已还利息期数 @param loan_overdue_amount: 逾期本金 @param loan_overdue_date: 逾期日 @return: None """ return DAO_bank_loans.insert_bank_loans_info(loan_apply_id,loan_account, loan_status,loan_total_amount,loan_balance,loan_deliver_date,loan_due_date, loan_closed_date,loan_cleared_pr_n,loan_cleared_in_n,loan_overdue_amount,loan_overdue_date)
def connector_profit(id,lst_fist,lst_last): """ 获取模拟利润 @return:None """ return DAO_bank_loans.connector_profit(id,lst_fist,lst_last)
def connector_loan(loan_account): """ 获取贷款信息 @return:None """ return DAO_bank_loans.connector_loan(loan_account)
def update_overdue_rate(): """ 更新所有人逾期率 @return:None """ return DAO_bank_loans.update_overdue_info()
def update_valid_num(): """ 更新有效管户 @return:None """ return DAO_bank_loans.update_valid_num()
def get_need_update_bli(): """ 获取需要更新的银行贷款信息id @return:需要更新的银行贷款信息id与loan_apply_id """ return DAO_bank_loans.get_need_update()