Commit d1be52e1 authored by yanghao's avatar yanghao

sql: 更新客户角色sql

parent 7d3eb1f2
......@@ -35,3 +35,8 @@ alter table `ecw_customer`
alter table `ecw_customer`
change column `product_id` `product_ids` varchar(300) DEFAULT NULL COMMENT '主营产品ids';
-- 更新客户角色
update ecw_customer set roles = '2' where FIND_IN_SET(2, type) != 0 or FIND_IN_SET(3, type) != 0;
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