USER_TYPE 用户类型0未确认1系统2医生4患者8药师16护士
举例说明:
增加是医生类型
update uc_user set user_type = user_type |2;
去掉医生类型
update uc_user set user_type = user_type^ 2;
查询医生类型
select * from uc_user where user_type& 2;
USER_TYPE 用户类型0未确认1系统2医生4患者8药师16护士
举例说明:
增加是医生类型
update uc_user set user_type = user_type |2;
去掉医生类型
update uc_user set user_type = user_type^ 2;
select * from uc_user where user_type& 2;