MySQL:系统页面常量表设计

/*
Navicat MySQL Data Transfer

Source Server         : 192.168.1.201(yyxt)
Source Server Version : 50168
Source Host           : 192.168.1.201:3306
Source Database       : gas_web_bg

Target Server Type    : MYSQL
Target Server Version : 50168
File Encoding         : 65001

Date: 2019-11-07 15:04:45
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for sys_page_constant
-- ----------------------------
DROP TABLE IF EXISTS `sys_page_constant`;
CREATE TABLE `sys_page_constant` (
  `constant_key` varchar(20) NOT NULL DEFAULT '' COMMENT '',
  `constant_name` varchar(100) DEFAULT NULL COMMENT '常量的名称(例,有效,无效)',
  `constant_type` varchar(30) NOT NULL DEFAULT '' COMMENT '常量的类型是什么(例,性别,状态)',
  `status` varchar(1) DEFAULT NULL COMMENT '代表该字段是否有效,默认1有效0无效',
  `orderby` int(11) DEFAULT NULL COMMENT '排序',
  `comment` varchar(300) DEFAULT NULL COMMENT '说明该值是代表什么',
  PRIMARY KEY (`constant_key`,`constant_type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='系统页面常量表';

-- ----------------------------
-- Records of sys_page_constant
-- ----------------------------
INSERT INTO `sys_page_constant` VALUES ('0', '未开票', 'cpxx_kpbz', '1', '2', '开票标志');
INSERT INTO `sys_page_constant` VALUES ('0', '车头', 'cpxx_qhbz', '1', '1', '前后标志');
INSERT INTO `sys_page_constant` VALUES ('0', '入口', 'cpxx_xjbz', '1', '1', '相机位置');
INSERT INTO `sys_page_constant` VALUES ('0', '未出库', 'kczt', '0', '1', '库存状态');
INSERT INTO `sys_page_constant` VALUES ('0', '失败', 'operationStatus', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('0', '不含税', 'pzlx', '1', '1', '票据类型');
INSERT INTO `sys_page_constant` VALUES ('0', '待审核', 'sbzt', '1', '1', '申请设备中的设备状态');
INSERT INTO `sys_page_constant` VALUES ('0', '无效', 'status', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('0', '离线', 'tmsStatus', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('0', '无效用户', 'userStatus', '1', '3', '');
INSERT INTO `sys_page_constant` VALUES ('0', '未下发', 'xfzt', '1', '1', 'xfzt 代表下发状态');
INSERT INTO `sys_page_constant` VALUES ('0', '无限期', 'yxqlx', '1', '1', 'yxqlx代表有效期类型');
INSERT INTO `sys_page_constant` VALUES ('0', '个人', 'yzktsqlx', '1', '1', '验证开通申请类型');
INSERT INTO `sys_page_constant` VALUES ('0', '未注册', 'zcStatus', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('1', '已开票', 'cpxx_kpbz', '1', '1', '开票标志');
INSERT INTO `sys_page_constant` VALUES ('1', '车尾', 'cpxx_qhbz', '1', '2', '前后标志');
INSERT INTO `sys_page_constant` VALUES ('1', '出口', 'cpxx_xjbz', '1', '2', '相机位置');
INSERT INTO `sys_page_constant` VALUES ('1', '已出库,未安装', 'kczt', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('1', '正常', 'kpfs', '1', '1', '开票方式');
INSERT INTO `sys_page_constant` VALUES ('1', '框架中打开', 'openType', '1', '5', null);
INSERT INTO `sys_page_constant` VALUES ('1', '成功', 'operationStatus', '1', '1', null);
INSERT INTO `sys_page_constant` VALUES ('1', '含税', 'pzlx', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('1', '企业', 'qylx', '1', '1', '企业类型');
INSERT INTO `sys_page_constant` VALUES ('1', '待下发', 'sbzt', '1', '2', '');
INSERT INTO `sys_page_constant` VALUES ('1', '支持数据模板', 'sjcj', '1', '1', 'sjcj代表数据采集');
INSERT INTO `sys_page_constant` VALUES ('1', '现金', 'skfs', '1', '1', '收款方式');
INSERT INTO `sys_page_constant` VALUES ('1', '有效', 'status', '1', '1', null);
INSERT INTO `sys_page_constant` VALUES ('1', '在线', 'tmsStatus', '1', '1', null);
INSERT INTO `sys_page_constant` VALUES ('1', '内部', 'urlType', '1', '1', '模块管理,地址为系统地址');
INSERT INTO `sys_page_constant` VALUES ('1', '有效用户', 'userStatus', '1', '1', '');
INSERT INTO `sys_page_constant` VALUES ('1', '普通用户', 'userType', '1', '1', null);
INSERT INTO `sys_page_constant` VALUES ('1', '3G/2.5G/GPRS', 'wxtx', '1', '1', 'wxtx 代表无线通讯');
INSERT INTO `sys_page_constant` VALUES ('1', '已下发', 'xfzt', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('1', '远程复位', 'yckz', '1', '1', 'yckz代表远程控制');
INSERT INTO `sys_page_constant` VALUES ('1', '终端注册', 'yw', '1', '1', 'yw代表业务能力');
INSERT INTO `sys_page_constant` VALUES ('1', '注油', 'ywxx_cjcfbz', '1', '1', '采集触发标志');
INSERT INTO `sys_page_constant` VALUES ('2', '售油', 'ywxx_cjcfbz', '1', '2', '采集触发标志');
INSERT INTO `sys_page_constant` VALUES ('3', '心跳触发采集', 'ywxx_cjcfbz', '1', '3', '采集触发标志');
INSERT INTO `sys_page_constant` VALUES ('4', '修正', 'ywxx_cjcfbz', '1', '4', '采集触发标志');
INSERT INTO `sys_page_constant` VALUES ('1', '有限期', 'yxqlx', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('1', '单位', 'yzktsqlx', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('1', '开通', 'yzktzt', '1', '1', '验证开通状态');
INSERT INTO `sys_page_constant` VALUES ('1', '注册', 'zcStatus', '1', '1', '注册状态');
INSERT INTO `sys_page_constant` VALUES ('1', '身份认证', 'zdaq', '1', '1', 'zdaq代表终端安全');
INSERT INTO `sys_page_constant` VALUES ('1', '普通型数据采集器', 'zdlx', '1', '1', 'zdlx代表终端类型');
INSERT INTO `sys_page_constant` VALUES ('1', '身份证', 'zjmc', '1', '1', '证件名称');
INSERT INTO `sys_page_constant` VALUES ('10', '维护模式', 'yckz', '1', '10', null);
INSERT INTO `sys_page_constant` VALUES ('10', '软件升级', 'yw', '1', '10', null);
INSERT INTO `sys_page_constant` VALUES ('11', '稽查模式', 'yckz', '1', '11', null);
INSERT INTO `sys_page_constant` VALUES ('11', '心跳通信', 'yw', '1', '11', null);
INSERT INTO `sys_page_constant` VALUES ('12', '限制开票模式', 'yckz', '1', '12', null);
INSERT INTO `sys_page_constant` VALUES ('2', '未知', 'cpxx_qhbz', '1', '3', '前后标志');
INSERT INTO `sys_page_constant` VALUES ('2', '未知', 'cpxx_xjbz', '1', '3', '相机位置');
INSERT INTO `sys_page_constant` VALUES ('2', '待出库', 'kczt', '1', '3', '');
INSERT INTO `sys_page_constant` VALUES ('2', '车牌干预', 'kpfs', '1', '2', '');
INSERT INTO `sys_page_constant` VALUES ('2', '新窗口中打开', 'openType', '1', '6', null);
INSERT INTO `sys_page_constant` VALUES ('2', '事业单位', 'qylx', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('2', '已下发', 'sbzt', '1', '3', '');
INSERT INTO `sys_page_constant` VALUES ('2', '支持小票打印', 'sjcj', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('2', '银行转账', 'skfs', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('2', '外部', 'urlType', '1', '2', '模块管理,地址为系统外部地址');
INSERT INTO `sys_page_constant` VALUES ('2', '注册用户', 'userStatus', '1', '2', '');
INSERT INTO `sys_page_constant` VALUES ('2', '超级用户', 'userType', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('2', 'WiFi无线模式', 'wxtx', '1', '2', '');
INSERT INTO `sys_page_constant` VALUES ('2', '待下发', 'xfzt', '1', '3', '序列号下发状态');
INSERT INTO `sys_page_constant` VALUES ('2', '远程关机', 'yckz', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('2', '终端登陆', 'yw', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('2', '暂停', 'yzktzt', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('2', '数字签名', 'zdaq', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('2', '精简型数据采集器', 'zdlx', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('2', '军官证', 'zjmc', '1', '2', null);
INSERT INTO `sys_page_constant` VALUES ('3', '已安装,未确认', 'kczt', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('3', '无关联', 'kpfs', '1', '3', '');
INSERT INTO `sys_page_constant` VALUES ('3', '政府机关', 'qylx', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', '完成', 'sbzt', '1', '4', '');
INSERT INTO `sys_page_constant` VALUES ('3', '支持二维码', 'sjcj', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', '信用卡', 'skfs', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', '商家用户', 'userType', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', 'USB接口模式', 'wxtx', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', '远程重启', 'yckz', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', '终端登出', 'yw', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', '过期', 'yzktzt', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', '数据加密', 'zdaq', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', '集成型设备', 'zdlx', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('3', '护照', 'zjmc', '1', '3', null);
INSERT INTO `sys_page_constant` VALUES ('4', '已安装,已确认', 'kczt', '1', '5', '');
INSERT INTO `sys_page_constant` VALUES ('4', '加油干预', 'kpfs', '1', '4', '');
INSERT INTO `sys_page_constant` VALUES ('4', '社会团体', 'qylx', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('4', '借记卡', 'skfs', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('4', '厂商用户', 'userType', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('4', 'LAN有线模式', 'wxtx', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('4', '远程唤醒', 'yckz', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('4', '上报数据', 'yw', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('4', 'SSL支持', 'zdaq', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('4', '数据转发器', 'zdlx', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('4', '其它证件', 'zjmc', '1', '4', null);
INSERT INTO `sys_page_constant` VALUES ('5', '加油、车牌干预', 'kpfs', '1', '5', '');
INSERT INTO `sys_page_constant` VALUES ('5', '民办非企事业单位', 'qylx', '1', '5', null);
INSERT INTO `sys_page_constant` VALUES ('5', '预付卡', 'skfs', '1', '5', null);
INSERT INTO `sys_page_constant` VALUES ('5', '维修用户', 'userType', '1', '5', null);
INSERT INTO `sys_page_constant` VALUES ('5', '蓝牙通信模式', 'wxtx', '1', '5', null);
INSERT INTO `sys_page_constant` VALUES ('5', '远程停用业务', 'yckz', '1', '5', null);
INSERT INTO `sys_page_constant` VALUES ('5', '终端告警', 'yw', '1', '5', null);
INSERT INTO `sys_page_constant` VALUES ('5', '数字证书支持', 'zdaq', '1', '5', null);
INSERT INTO `sys_page_constant` VALUES ('6', '其它', 'qylx', '1', '6', null);
INSERT INTO `sys_page_constant` VALUES ('6', '支付宝', 'skfs', '1', '6', null);
INSERT INTO `sys_page_constant` VALUES ('6', '远程启用业务', 'yckz', '1', '6', null);
INSERT INTO `sys_page_constant` VALUES ('6', '远程监控', 'yw', '1', '6', null);
INSERT INTO `sys_page_constant` VALUES ('7', '加油卡', 'skfs', '1', '7', null);
INSERT INTO `sys_page_constant` VALUES ('7', '恢复出厂设置', 'yckz', '1', '7', null);
INSERT INTO `sys_page_constant` VALUES ('7', '终端监测', 'yw', '1', '7', null);
INSERT INTO `sys_page_constant` VALUES ('8', '退货', 'skfs', '1', '8', null);
INSERT INTO `sys_page_constant` VALUES ('8', '启动发送心跳', 'yckz', '1', '8', null);
INSERT INTO `sys_page_constant` VALUES ('8', '参数采集', 'yw', '1', '8', null);
INSERT INTO `sys_page_constant` VALUES ('9', '赊账结算', 'skfs', '1', '9', null);
INSERT INTO `sys_page_constant` VALUES ('9', '停止发送心跳', 'yckz', '1', '9', null);
INSERT INTO `sys_page_constant` VALUES ('9', '参数配置', 'yw', '1', '9', null);
INSERT INTO `sys_page_constant` VALUES ('2', '重复抓拍', 'cpxx_kpbz', '1', '3', '开票标志');
INSERT INTO `sys_page_constant` VALUES ('0', '未开单据', 'sfkp', '1', '1', '是否开票');
INSERT INTO `sys_page_constant` VALUES ('1', '已开单据', 'sfkp', '1', '2', '是否开票');
INSERT INTO `sys_page_constant` VALUES ('0', '计量端口', 'sjly', '1', '1', '数据来源');
INSERT INTO `sys_page_constant` VALUES ('1', '报税口', 'sjly', '1', '2', '数据来源');
INSERT INTO `sys_page_constant` VALUES ('2', '手动添加', 'sjly', '1', '3', '数据来源');
INSERT INTO `sys_page_constant` VALUES ('1', '加油站消费单据', 'pjlx', '1', '1', '加油站消费单据');
INSERT INTO `sys_page_constant` VALUES ('2', '加油站充值单据', 'pjlx', '1', '2', '加油站充值单据');
INSERT INTO `sys_page_constant` VALUES ('3', '加油站赊账结算', 'pjlx', '1', '3', '加油站赊账结算');
INSERT INTO `sys_page_constant` VALUES ('4', '加油站赊账支付', 'pjlx', '1', '4', '加油站赊账支付');
INSERT INTO `sys_page_constant` VALUES ('5', '商超消费单据', 'pjlx', '1', '5', '商超消费单据');
INSERT INTO `sys_page_constant` VALUES ('6', '商超退货单据', 'pjlx', '1', '6', '商超退货单据');
INSERT INTO `sys_page_constant` VALUES ('1', '税控序列号', 'fzbbz', '1', '1', '序列号修改标志');
INSERT INTO `sys_page_constant` VALUES ('2', '编码器序列号1', 'fzbbz', '1', '2', '序列号修改标志');
INSERT INTO `sys_page_constant` VALUES ('3', '编码器序列号2', 'fzbbz', '1', '3', '序列号修改标志');
INSERT INTO `sys_page_constant` VALUES ('4', '计量程序序列号', 'fzbbz', '1', '4', '序列号修改标志');
INSERT INTO `sys_page_constant` VALUES ('5', '计量程序版本号', 'fzbbz', '1', '5', '序列号修改标志');
INSERT INTO `sys_page_constant` VALUES ('1', '更换硬件', 'fzbxxjcgjyy', '1', '1', '防作弊解除告警说明');
INSERT INTO `sys_page_constant` VALUES ('2', '其他', 'fzbxxjcgjyy', '1', '2', '防作弊解除告警说明');
INSERT INTO `sys_page_constant` VALUES ('evt_ppcount', '摘挂枪数', 'jslx', '1', '2', '计数类型');
INSERT INTO `sys_page_constant` VALUES ('evt_gotcount', '交易数', 'jslx', '1', '1', '计数类型');
INSERT INTO `sys_page_constant` VALUES ('evt_blkcount', '阻塞数', 'jslx', '1', '3', '计数类型');
INSERT INTO `sys_page_constant` VALUES ('6', '移动用户', 'userType', '1', '6', '');
INSERT INTO `sys_page_constant` VALUES ('1', '等于', 'ljysf', '1', '1', '逻辑运算符');
INSERT INTO `sys_page_constant` VALUES ('2', '大于', 'ljysf', '1', '2', '逻辑运算符');
INSERT INTO `sys_page_constant` VALUES ('3', '大于等于', 'ljysf', '1', '3', '逻辑运算符');
INSERT INTO `sys_page_constant` VALUES ('4', '小于', 'ljysf', '1', '4', '逻辑运算符');
INSERT INTO `sys_page_constant` VALUES ('5', '小于等于', 'ljysf', '1', '5', '逻辑运算符');
posted @ 2019-11-07 15:07  Java-Legend  阅读(1229)  评论(0编辑  收藏  举报