Commit d1fcdc1c authored by qa_quantgroup's avatar qa_quantgroup

修改push订单逻辑

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