Commit 6bff3b49 authored by zhangbo0329's avatar zhangbo0329

加速包脚本优化

parent 475abc02
......@@ -41,7 +41,7 @@ function xyqb_speed()
echo "channel_id=$channel_id"
# 插入加速包数据
insert_sql0="insert into ${TABLENAME1} ( "loan_id", "channel_id", "user_id", "product_type", "product_desc", "amount", "pay_status", "loan_status", "pay_order_no", "pay_started_at", "pay_finished_at", "is_active") values ('$loan_id', '$channel_id', '$user_id', '1', '加速卡', '$amount', '0', '0', 'ACCELERATE_CARD_$loan_id', 'null', 'null', '1');"
insert_sql0="insert into ${TABLENAME1} ( "loan_id", "channel_id", "user_id", "product_type", "product_desc", "amount", "pay_status", "loan_status", "pay_order_no", "pay_started_at", "pay_finished_at", "is_active") values ('$loan_id', '$channel_id', '$user_id', '1', '加速卡', '$amount', '0', '0', 'ACCELERATE_CARD_$loan_id', null, null, '1');"
#echo "insert=$insert_sql0"
mysql $mysqld ${DBNAME} -e "${insert_sql0}"
......
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