Files
crmeb_java/crmeb/sql/crmeb_java_v1.3.1_part.sql
stivepeim be34f57322 ## v1.3.1 更新列表
1. 【修复】申请退款后积分等操作可能出现错误的问题
	2. 【修复】拼团支付可能出现支付错误的问题
	3. 【修复】退款申请后的订单流程优化和积分赠送的问题
	4. 【修复】回收站中的商品无法恢复的问题
	5. 【修复】一号通短信查询记录不完整的问题
	6. 【修复】用户管理批量加分组,标签的问题
	7. 【修复】积分日志搜索显示有误的问题
	8. 【修复】手动发送优惠券可能会出错的问题
	9. 【修复】核销订单创建在某种条件下会出错的问题
	10. 【修复】移动端商品详情,购物车等样式兼容问题
	11. 【修复】业务流程性的优化
2021-01-19 10:16:45 +08:00

23 lines
1.2 KiB
SQL

/**
增量更新sql
适用于1.3版本升级1.3.1
运行此脚本必须保证已经导入了1.3 的sql脚本
*/
-- 修改用户积分字段类型
alter table eb_user modify column integral int(11) NULL DEFAULT 0 COMMENT '用户剩余积分';
-- 修改订单表积分字段类型
alter table eb_store_order modify column gain_integral int(11) NULL DEFAULT 0 COMMENT '消费赚取积分';
alter table eb_store_order modify column use_integral int(11) NULL DEFAULT 0 COMMENT '使用积分';
alter table eb_store_order modify column back_integral int(11) NULL DEFAULT 0 COMMENT '给用户退了多少积分';
-- 修改商品表积分字段类型
alter table eb_store_product modify column give_integral int(11) NULL DEFAULT 0 COMMENT '获得积分';
-- 修改砍价商品积分字段类型
alter table eb_store_bargain modify column give_integral int(11) NULL DEFAULT 0 COMMENT '反多少积分';
-- 修改秒杀商品积分字段类型
alter table eb_store_seckill modify column give_integral int(11) NULL DEFAULT 0 COMMENT '反多少积分';
-- 评价表添加sku字段
alter table eb_store_product_reply add sku varchar(128) NOT NULL DEFAULT '' COMMENT '商品规格属性值,多个,号隔开';