Commit dd7cabd2 authored by qa_quantgroup's avatar qa_quantgroup

优化closelan脚本

parent 7f17fcdf
......@@ -24,7 +24,7 @@ function closeloan()
echo "user_id=$user_id"
#更新loan_application_history表中的is_active=0
update_sql="update ${TABLENAME} set is_active=0,set progress=16 where user_id=${user_id} and is_active=1 and business_type=0"
update_sql="update ${TABLENAME} set is_active=0,progress=16 where user_id=${user_id} and is_active=1 and business_type=0"
mysql $mysqld ${DBNAME} -e "${update_sql}"
echo "done!!! $date"
break
......
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