Commit 41ca98cd authored by 智勇's avatar 智勇

up

parent 7fd67042
......@@ -33,8 +33,8 @@ function xyqb_speed()
echo "user_id=$user_id"
# 查询loan_ID和channel_ID
select_loanID="select id from ${TABLENAME} where user_id=${user_id}"
select_channelID="select created_from from ${TABLENAME} where user_id=${user_id}"
select_loanID="select id from ${TABLENAME} where user_id=${user_id} and business_type=0 order by id desc limit 1"
select_channelID="select created_from from ${TABLENAME} where user_id=${user_id} and business_type=0 order by id desc limit 1"
loan_id=`mysql -N $mysqld ${DBNAME} -e "${select_loanID}"`
channel_id=`mysql -N $mysqld ${DBNAME} -e "${select_channelID}"`
echo "loan_id=$loan_id"
......
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