Commit d3dfbc17 by zhanghj

V1.5.1--提交sql脚本

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25654 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 650ef390
...@@ -25,5 +25,5 @@ ADD COLUMN `is_album_select` tinyint(1) NOT NULL DEFAULT 0 COMMENT '照片是 ...@@ -25,5 +25,5 @@ ADD COLUMN `is_album_select` tinyint(1) NOT NULL DEFAULT 0 COMMENT '照片是
--清空资源匹配记录 --清空资源匹配记录
TRUNCATE TABLE sys_resource_matching; TRUNCATE TABLE sys_resource_matching;
--清空旧的商户服务类型 --清空旧的商户服务类型
DELETE from sys_user_services WHERE user_id in(select user_id from(SELECT DISTINCT(user_id ) from sys_user_services sus LEFT JOIN sys_user su on sus.user_id =su.id WHERE su.user_type = 2)temp) DELETE from sys_user_services WHERE user_id in(select user_id from(SELECT DISTINCT(user_id ) from sys_user_services sus LEFT JOIN sys_user su on sus.user_id =su.id WHERE su.user_type = 2) temp);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!