51 lines
6.5 KiB
SQL
51 lines
6.5 KiB
SQL
|
||
|
||
INSERT INTO `posp`.`sys_dict`(`id`, `value`, `label`, `type`, `description`, `sort`, `parent_id`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`) VALUES (618, '0', '图片', 'pos_advertising_type', '广告表-类型 0 图片 1视频(此数据为系统自动创建:数据表【pos_advertising】中的字段【type】对应的值)', 0, '0', '2', '2019-10-17 09:41:04', '2', '2019-10-17 09:41:04', NULL, '0');
|
||
INSERT INTO `posp`.`sys_dict`(`id`, `value`, `label`, `type`, `description`, `sort`, `parent_id`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`) VALUES (619, '1', '视频', 'pos_advertising_type', '广告表-类型 0 图片 1视频(此数据为系统自动创建:数据表【pos_advertising】中的字段【type】对应的值)', 1, '0', '2', '2019-10-17 09:41:04', '2', '2019-10-17 09:41:04', NULL, '0');
|
||
|
||
|
||
INSERT INTO `posp`.`sys_menu`(`id`, `name`, `parent_id`, `level`, `parent_ids`, `sort`, `href`, `target`, `icon`, `bg_color`, `is_show`, `permission`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`) VALUES (256, '广告管理', 1, 2, '1,256,', 0, '/posAdvertising/list', NULL, '', NULL, 1, '', 2, '2019-10-17 09:56:46', 2, '2019-10-17 09:56:46', NULL, 0);
|
||
|
||
|
||
|
||
/*1018修改*/
|
||
|
||
drop table `pos_advertising`;
|
||
|
||
CREATE TABLE `pos_advertising` (
|
||
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
|
||
`title` varchar(255) DEFAULT NULL COMMENT '标题,input,YES,false,true,false',
|
||
`type` varchar(255) DEFAULT NULL COMMENT '类型 0 图片 1视频,select,YES,false,true,true',
|
||
`url` varchar(255) DEFAULT NULL COMMENT '路径,input,YES,false,true,false',
|
||
`app_id` bigint(20) DEFAULT NULL COMMENT 'appId,input,YES,false,true,true',
|
||
`weight` int(11) DEFAULT NULL COMMENT '权重,input,YES,false,true,false',
|
||
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
|
||
`create_by` bigint(20) DEFAULT NULL COMMENT '创建人',
|
||
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
|
||
`update_by` bigint(20) DEFAULT NULL COMMENT '修改人',
|
||
`remarks` varchar(255) DEFAULT NULL COMMENT '备注',
|
||
`del_flag` tinyint(4) DEFAULT NULL COMMENT '删除标记',
|
||
`time` int(11) DEFAULT NULL COMMENT '时间,input,YES,false,true,false',
|
||
`open_switch` varchar(255) DEFAULT NULL COMMENT '开关,select,YES,false,true,false',
|
||
`begin_time` datetime DEFAULT NULL COMMENT '开始时间,timer,YES,false,true,false',
|
||
`end_time` datetime DEFAULT NULL COMMENT '结束时间,timer,YES,false,true,false',
|
||
`app_type` varchar(255) DEFAULT NULL COMMENT '设备类型,select,YES,false,true,true',
|
||
PRIMARY KEY (`id`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='广告表,1,timer-beginTime-YES,timer-endTime-YES';
|
||
|
||
INSERT INTO `posp`.`sys_dict`(`id`, `value`, `label`, `type`, `description`, `sort`, `parent_id`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`) VALUES (620, '0', '开', 'pos_advertising_open_switch', '广告表-开关(此数据为系统自动创建:数据表【pos_advertising】中的字段【open_switch】对应的值)', 0, '0', '2', '2019-10-18 14:31:27', '2', '2019-10-18 14:31:27', NULL, '0');
|
||
INSERT INTO `posp`.`sys_dict`(`id`, `value`, `label`, `type`, `description`, `sort`, `parent_id`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`) VALUES (621, '1', '关', 'pos_advertising_open_switch', '广告表-开关(此数据为系统自动创建:数据表【pos_advertising】中的字段【open_switch】对应的值)', 1, '0', '2', '2019-10-18 14:31:27', '2', '2019-10-18 14:31:27', NULL, '0');
|
||
INSERT INTO `posp`.`sys_dict`(`id`, `value`, `label`, `type`, `description`, `sort`, `parent_id`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`) VALUES (622, '0', '微信', 'pos_advertising_app_type', '广告表-设备类型(此数据为系统自动创建:数据表【pos_advertising】中的字段【app_type】对应的值)', 0, '0', '2', '2019-10-18 14:36:03', '2', '2019-10-18 14:36:03', NULL, '0');
|
||
INSERT INTO `posp`.`sys_dict`(`id`, `value`, `label`, `type`, `description`, `sort`, `parent_id`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`) VALUES (623, '1', '支付宝', 'pos_advertising_app_type', '广告表-设备类型(此数据为系统自动创建:数据表【pos_advertising】中的字段【app_type】对应的值)', 1, '0', '2', '2019-10-18 14:36:03', '2', '2019-10-18 14:36:03', NULL, '0');
|
||
INSERT INTO `posp`.`sys_dict`(`id`, `value`, `label`, `type`, `description`, `sort`, `parent_id`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`) VALUES (624, '2', '全部', 'pos_advertising_app_type', '广告表-设备类型(此数据为系统自动创建:数据表【pos_advertising】中的字段【app_type】对应的值)', 2, '0', '2', '2019-10-18 14:36:03', '2', '2019-10-18 14:36:03', NULL, '0');
|
||
INSERT INTO `posp`.`sys_dict` (`id`, `value`, `label`, `type`, `description`, `sort`, `parent_id`, `create_by`, `create_date`, `update_by`, `update_date`, `remarks`, `del_flag`) VALUES (222, 'TRM_NO', '新大陆设备号', 'pos_config_config_key', '配置表-配置key(此数据为系统自动创建:数据表【pos_config】中的字段【config_key】对应的值)', 1, '0', '2', '2019-04-08 22:39:41', '2', '2019-04-08 22:39:41', null, '0')
|
||
|
||
/*2019-11-22 提现表*/
|
||
alter table pos_withdraws modify status varchar(3) null comment '审核状态:10A提现请求 10B提现中(提现同意) 10C提现拒绝 10D提现完成 10E提现失败';
|
||
/*2019-11-27 app ServiceTel*/
|
||
alter table pos_config modify obj_type int(3) null comment '对象类型-1:商户 2:通道商户 0:App,input,YES,false,true,false';
|
||
INSERT INTO `posp`.`pos_config` (`config_key`, `config_value`, `config_desc`, `create_date`, `create_by`, `update_date`, `update_by`, `remarks`, `del_flag`, `obj_id`, `obj_type`) VALUES ('APP_SERVICE_TEL', '1234', '客服电话', '2019-11-21 13:54:35', 2, '2019-11-21 13:54:58', 2, null, 0, 7, 0)
|
||
INSERT INTO `posp`.`pos_config` (`id`, `config_key`, `config_value`, `config_desc`, `create_date`, `create_by`, `update_date`, `update_by`, `remarks`, `del_flag`, `obj_id`, `obj_type`) VALUES (null, 'APP_SERVICE_TEL', '11', '客服电话', '2019-11-21 13:54:35', 2, '2019-11-21 13:54:58', 2, null, 0, 8, 0)
|
||
INSERT INTO `posp`.`pos_config` (`id`, `config_key`, `config_value`, `config_desc`, `create_date`, `create_by`, `update_date`, `update_by`, `remarks`, `del_flag`, `obj_id`, `obj_type`) VALUES (null, 'APP_SERVICE_TEL', '2345', '客服电话', '2019-11-21 13:54:35', 2, '2019-11-21 13:54:58', 2, null, 0, 0, 0)
|
||
|