#新店 客户打电话说,我后台开顾客开通了VIP,前台消费时候本来想只是积分,结果价格是VIP价格了
接到任务第一反应是不是会员卡类型弄错了?给用户开的VIP卡?
测试: 远程客户后台 亲自开卡,会同步到总部。卡类型是普通会员
select sale_way , discount , discount , price_type , type_name from t_rm_vip_type where type_id =‘0’
经过数据库对吧发现,客户的数据库 默认值有问题,直接SQL替换 ,当然要先删除之前的数据咯
INSERT INTO [dbo].[t_rm_vip_type] ([type_id], [type_name], [sale_way], [discount], [memo], [oper_id], [oper_date], [acc_flag], [acc_amt], [sale_amt], [other1], [other2], [other3], [saving_flag], [memo1], [memo2], [memo3], [price_type]) VALUES (N'0 ', N'普通会员 ', N'0', N'1.0000', null, N'1001', N'2008-01-25 17:41:32.873', N'0', N'.0000', N'.0000', null, null, null, N'1', null, null, null, N'0')
GO
GO
INSERT INTO [dbo].[t_rm_vip_type] ([type_id], [type_name], [sale_way], [discount], [memo], [oper_id], [oper_date], [acc_flag], [acc_amt], [sale_amt], [other1], [other2], [other3], [saving_flag], [memo1], [memo2], [memo3], [price_type]) VALUES (N'1 ', N'VIP会员 ', N'1', N'1.0000', null, N'1001', N'2018-06-14 15:37:53.727', N'1', N'.0000', N'.0000', N'999999', null, null, N'1', null, null, null, N'0')
GO
GO
INSERT INTO [dbo].[t_rm_vip_type] ([type_id], [type_name], [sale_way], [discount], [memo], [oper_id], [oper_date], [acc_flag], [acc_amt], [sale_amt], [other1], [other2], [other3], [saving_flag], [memo1], [memo2], [memo3], [price_type]) VALUES (N'2 ', N'储值卡 ', N'0', N'1.0000', null, N'1001', N'2018-09-17 12:25:39.597', N'0', N'.0000', N'.0000', N'999999', null, null, N'1', null, null, null, N'0')
GO