INSERT INTO `sys_entry` (`name`, `abbr`, `code`, `buildin`, `integration`, `open`, `key`, `ip`, `logo`, `login`, `control`, `size`, `position`, `visible`, `order`) VALUES
('福利', '福利', 'welfare', 1, 1, 'iframe', '8db37ab4797198bbea942e761d1093fc', '*', 'theme/default/images/ips/app-welfare.png', '../welfare/', 'simple', 'max', 'default', 1, 70);

INSERT INTO `sys_grouppriv`(`group`, `module`, `method`) SELECT `group`, 'apppriv', 'welfare' FROM `sys_grouppriv` WHERE `module` in ('score', 'gift', 'exchange') GROUP BY `group`;

ALTER TABLE `crm_customer` ADD `stage` varchar(30) NOT NULL AFTER `recommendationRate`;
ALTER TABLE `crm_customer` ADD `paymentIntention` varchar(10) NOT NULL AFTER `stage`;
ALTER TABLE `crm_customer` ADD `health` varchar(10) NOT NULL AFTER `paymentIntention`;
ALTER TABLE `crm_customer` ADD `renewalIntention` varchar(10) NOT NULL AFTER `health`;
