Commit 60d608ff authored by qa_quantgroup's avatar qa_quantgroup

修改push订单脚本

parent d1fcdc1c
......@@ -31,9 +31,9 @@ function pushloanprogress(){
#cho "user_id=$user_id"
#查找loanid
loanid="select id from ${TABLENAME} where user_id=${user_id} and is_active = 1"
loanid="select id from ${TABLENAME} where user_id=${user_id} order by id desc limit 1"
loan_id=`mysql -N $mysqld ${DBNAME} -e "${loanid}"`
#cho "loan_id=$loan_id"
echo "loan_id=$loan_id"
#查询订单状态
progressid="select progress from ${TABLENAME} where user_id=${user_id} order by id desc limit 1"
......
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