etrade_shop_data.sql
685 Bytes
USE dili_etrade;
--注意:待shop表数据导入后才能执行(即脚本etrade_shop_data_149.sql执行完成后,再执行此脚本)
INSERT INTO `dili_etrade`.`shop_extra_info` ( `market_id`, `shop_id`, `introduction`, `creater`, `creater_id`, `modifier`, `modifier_id`)
SELECT market_id, id,'竭诚欢迎新老客户垂询,合作共赢。', '系统', 0, '系统', 0 FROM `dili_etrade`.`shop` ;
INSERT INTO `dili_etrade`.`shop_operate` (`market_id`, `shop_id`, `operate_time`, `operator`, `operate_type`, `remark`, `creater`, `creater_id`, `modifier`, `modifier_id`)
SELECT market_id, id, NOW(), '系统', 8,"", '系统', 0, '系统', 0 FROM `dili_etrade`.`shop` ;