IC卡改成磁卡(V6系列、Z7系列、V9商业、V10系列)
2019-03-04 22:25:08
制卡时经常会把卡类型搞错,例如:明明是磁卡,不小心制成了IC卡,软件里又改不了,又不想删掉这批卡号。只能用语句来操作:
1、把某张IC卡改成 磁卡((不管有没有发行))
update pos_t_vip_info
set vip_save='1'
where vip_saVe='0' and card_id='卡号'
2、把所有IC卡都改成磁卡((不管有没有发行))
update pos_t_vip_info
set vip_save='1'
where vip_saVe='0'
3、把所有未发行的IC卡改为磁卡
update pos_t_vip_info
set vip_save='1'
where vip_saVe='0' and card_status='3'
4、把某一个分类的IC卡改为磁卡(不管有没有发行)
update pos_t_vip_info
set vip_save='1'
where vip_saVe='0' and card_type='两位会员分类编号'
5、把某一个分类未发行的IC卡改为磁卡
update pos_t_vip_info
set vip_save='1'
where vip_saVe='0' and card_status='3' and card_type='两位会员分类编号'