非储值卡改为储值卡(V6系列、Z7系列、V9商业、V10系列)

2019-03-04 22:24:29

A、把某张卡不储值改为储值

update pos_t_vip_info set is_saving='1' where is_saving='0' and card_id='卡号' 


B、把所有非储值卡改为储值

update pos_t_vip_info set is_saving='1' where is_saving='0'   


C、把所有未发行的会员卡不储值改为储值

update pos_t_vip_info set is_saving='1' where is_saving='0' and card_status='3'

D、把某一个会员分类的会员卡不储值改为储值(不管有没有发行)

update pos_t_vip_info set is_saving='1' where is_saving='0' and card_type='两位会员分类编号'

E、把某一个会员分类的且未发行的会员卡不储值改为储值

update pos_t_vip_info set is_saving='1' where is_saving='0' and card_status='3' and card_type='两位会员分类编号'