...
|
...
|
@@ -20,7 +20,9 @@ PRIMARY KEY(id), |
|
|
KEY `key_biz_id` (biz_id)
|
|
|
);
|
|
|
|
|
|
|
|
|
-- 已有有货币新增审批记录
|
|
|
INSERT INTO erp_product.`yohocoin_audit`(biz_id,coin_number,auditor_id,operator_id,audit_date,STATUS,content)
|
|
|
SELECT product_skn, return_coin,founder,founder,UNIX_TIMESTAMP(),2,'老数据自动通过' FROM erp_product.product_price WHERE return_coin > 0;
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|