修改活动模板优惠比率的字段长度

This commit is contained in:
panshuling321 2022-04-24 21:28:19 +08:00
parent e0b6aea53f
commit 68f81708f9

View File

@ -834,7 +834,7 @@ CREATE TABLE `xhpc_activity_template`
`activity_template_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '模板ID', `activity_template_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '模板ID',
`template_name` varchar(100) DEFAULT NULL COMMENT '模板名称', `template_name` varchar(100) DEFAULT NULL COMMENT '模板名称',
`discount_type` smallint(2) DEFAULT NULL COMMENT '优惠类型1-总金额2-服务费3-电量)', `discount_type` smallint(2) DEFAULT NULL COMMENT '优惠类型1-总金额2-服务费3-电量)',
`discount_rate` decimal(4, 2) DEFAULT NULL COMMENT '优惠比率', `discount_rate` decimal(10, 2) DEFAULT NULL COMMENT '优惠比率',
`start_time` datetime DEFAULT NULL COMMENT '开始时间', `start_time` datetime DEFAULT NULL COMMENT '开始时间',
`end_time` datetime DEFAULT NULL COMMENT '结束时间', `end_time` datetime DEFAULT NULL COMMENT '结束时间',
`discount_count` smallint(4) DEFAULT '0' COMMENT '折扣次数', `discount_count` smallint(4) DEFAULT '0' COMMENT '折扣次数',