/*
 Navicat Premium Data Transfer

 Source Server         : localhost_3308
 Source Server Type    : MySQL
 Source Server Version : 100508
 Source Host           : localhost:3308
 Source Schema         : gdoo_demo

 Target Server Type    : MySQL
 Target Server Version : 100508
 File Encoding         : 65001

 Date: 28/07/2021 04:54:05
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for approach
-- ----------------------------
DROP TABLE IF EXISTS `approach`;
CREATE TABLE `approach`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '促销方式',
  `customer_id` int(11) NOT NULL COMMENT '客户编号',
  `sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `start_at` date NULL DEFAULT NULL COMMENT '开始时间',
  `end_at` date NULL DEFAULT NULL COMMENT '结束时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '相关文件',
  `date` date NULL DEFAULT NULL COMMENT '申请日期',
  `customer_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户名称',
  `type` tinyint(4) NULL DEFAULT NULL COMMENT '进店类型',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `market_name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '超市名称',
  `market_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '超市地址/总部地址',
  `market_size` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '营业面积',
  `market_contact` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '超市采购',
  `market_contact_phone` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '联系人电话',
  `market_type_id` tinyint(4) NULL DEFAULT NULL COMMENT '业态',
  `actived_dt` date NULL DEFAULT NULL COMMENT '生效日期',
  `fax` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '回复传真',
  `phone` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '确认电话',
  `market_totol` int(11) NULL DEFAULT NULL COMMENT '连锁(家)',
  `market_cur_count` int(11) NULL DEFAULT NULL COMMENT '本次确定进(家)',
  `single_cast` decimal(10, 2) NULL DEFAULT NULL COMMENT '单品单店条码费(元)',
  `totol_cast` decimal(10, 2) NULL DEFAULT NULL COMMENT '系统进店则(元/SKU/系统)',
  `dispatch_type_id` tinyint(4) NULL DEFAULT NULL COMMENT '配送方式',
  `enter_type_id` tinyint(4) NULL DEFAULT NULL COMMENT '本次进店类别',
  `enter_type2_id` tinyint(4) NULL DEFAULT NULL COMMENT '对应超市类别',
  `barcode_count` int(11) NULL DEFAULT NULL COMMENT '进店条码(只)',
  `barcode_cast` decimal(10, 2) NULL DEFAULT NULL COMMENT '申请条码总费用',
  `market_cast` decimal(10, 2) NULL DEFAULT NULL COMMENT '经销商承担(元)',
  `barcode_cast_ratio` decimal(10, 2) NULL DEFAULT NULL COMMENT '承担比例(%)',
  `apply_bccount` int(11) NULL DEFAULT NULL COMMENT '同意条码(支)',
  `apply_market_count` int(11) NULL DEFAULT NULL COMMENT '进店(家)',
  `apply_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '我司给于条码费用支持(元)',
  `apply_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '核销意见',
  `apply_percentage` decimal(10, 2) NULL DEFAULT NULL COMMENT '贵司出具发票按回款(回款以我司批复之日起算)核销(%)',
  `order_payment_scale` decimal(10, 2) NULL DEFAULT NULL COMMENT '按订单进行兑付(%)',
  `apply2_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担(元)',
  `apply2_ratio` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担比例(%)',
  `apply2_single_cast` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担单店单码单价(元)',
  `is_chairman_audit` tinyint(4) NULL DEFAULT NULL COMMENT '是否董事长审核',
  `audit_text1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场助理意见',
  `audit_sign1` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场助理时间',
  `audit_text2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '营销总监意见',
  `audit_sign2` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '营销总监时间',
  `audit_text3` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '董事办意见',
  `audit_sign3` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '董事办时间',
  `audit_text4` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '董事长意见',
  `audit_sign4` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '董事长时间',
  `audit_text5` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '省区经理意见',
  `audit_sign5` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '省区经理时间',
  `field001` tinyint(4) NULL DEFAULT NULL COMMENT '批复复印件',
  `field002` tinyint(4) NULL DEFAULT NULL COMMENT '购物小票',
  `field003` tinyint(4) NULL DEFAULT NULL COMMENT '超市盖章验收单',
  `field004` tinyint(4) NULL DEFAULT NULL COMMENT '超市出具给贵司的全额票据复印件',
  `field005` tinyint(4) NULL DEFAULT NULL COMMENT '贵司出具给我司承担部分发票原件',
  `is_close` tinyint(4) NULL DEFAULT NULL COMMENT '是否关闭',
  `market_id` int(11) NULL DEFAULT NULL COMMENT '超市ID',
  `market_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '具体进店名称',
  `fee_support_ratio` decimal(10, 2) NULL DEFAULT NULL COMMENT '本次条码费用支持比例',
  `verification_info` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '提供如下资料核销',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_approach_created_by`(`created_by`) USING BTREE,
  INDEX `idx_approach_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_approach_dispatch_type_id`(`dispatch_type_id`) USING BTREE,
  INDEX `idx_approach_enter_type_id`(`enter_type_id`) USING BTREE,
  INDEX `idx_approach_enter_type2_id`(`enter_type2_id`) USING BTREE,
  INDEX `idx_approach_start_at`(`start_at`) USING BTREE,
  INDEX `idx_approach_market_id`(`market_id`) USING BTREE,
  INDEX `idx_approach_market_type_id`(`market_type_id`) USING BTREE,
  INDEX `idx_approach_sn`(`sn`) USING BTREE,
  INDEX `idx_approach_updated_by`(`updated_by`) USING BTREE,
  INDEX `idx_approach_field001`(`field001`) USING BTREE,
  INDEX `idx_approach_field002`(`field002`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of approach
-- ----------------------------
INSERT INTO `approach` VALUES (1, NULL, 1, 'JCSQ20200001', 1, NULL, NULL, 1603460760, '系统管理员', 1619899930, '系统管理员', NULL, NULL, NULL, NULL, 1, 1, '永辉', NULL, '200', NULL, NULL, 2, NULL, NULL, NULL, 30, 2, 20.00, 0.00, 3, 1, 3, 2, 3.00, 5.00, 100.00, 0, 0, 0.00, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 1, NULL, NULL, 1, NULL, 0.00, '0');
INSERT INTO `approach` VALUES (2, NULL, 1, 'JCSQ20210001', 0, NULL, NULL, 1615473900, '系统管理员', 1615492120, '系统管理员', NULL, NULL, NULL, NULL, 1, 1, '永辉', NULL, '200', NULL, NULL, 4, NULL, '11', '11', 30, 11, 20.00, 0.00, 3, 3, 3, 11, 11.00, 11.00, 100.00, NULL, NULL, 0.00, NULL, NULL, NULL, 0.00, 0.00, 0.00, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 0, 1, 0, NULL, NULL, NULL, 0.00, '0');

-- ----------------------------
-- Table structure for approach_data
-- ----------------------------
DROP TABLE IF EXISTS `approach_data`;
CREATE TABLE `approach_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `approach_id` int(11) NOT NULL COMMENT '订单序号',
  `product_id` int(11) NOT NULL,
  `product_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '编辑时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编辑用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `offer` decimal(10, 2) NULL DEFAULT NULL COMMENT '报价',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '售价',
  `spec` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '规格',
  `audit` tinyint(4) NULL DEFAULT NULL COMMENT '审核',
  `barcode` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '条码',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `price1` decimal(10, 2) NULL DEFAULT NULL COMMENT '报价',
  `price2` decimal(10, 2) NULL DEFAULT NULL COMMENT '售价',
  `use_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  PRIMARY KEY (`id`, `approach_id`, `product_id`) USING BTREE,
  INDEX `idx_approach_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_approach_data_approach_id`(`approach_id`) USING BTREE,
  INDEX `idx_approach_data_use_close`(`use_close`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of approach_data
-- ----------------------------
INSERT INTO `approach_data` VALUES (1, 1, 20411, '脆口萝卜', NULL, 1619899930, 1603460908, '系统管理员', '系统管理员', NULL, 92.00, NULL, NULL, NULL, 1, 1, 20.00, 10.00, NULL);
INSERT INTO `approach_data` VALUES (2, 2, 20409, '口口脆榨菜', NULL, 1615492120, 1615474005, '系统管理员', '系统管理员', NULL, NULL, NULL, NULL, NULL, 1, 1, 11.00, 11.00, NULL);

-- ----------------------------
-- Table structure for approach_market
-- ----------------------------
DROP TABLE IF EXISTS `approach_market`;
CREATE TABLE `approach_market`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `customer_id` int(11) NULL DEFAULT NULL,
  `market_count` int(11) NULL DEFAULT NULL,
  `type_id` int(11) NULL DEFAULT NULL,
  `single_cast` decimal(18, 2) NULL DEFAULT NULL,
  `total_cast` decimal(18, 2) NULL DEFAULT NULL,
  `fax` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `market_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `market_area` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `market_person_name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `market_person_phone` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '编辑时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编辑用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of approach_market
-- ----------------------------
INSERT INTO `approach_market` VALUES (1, NULL, '永辉', 1, 30, NULL, 20.00, 0.00, NULL, NULL, '200', NULL, NULL, NULL, 1603460908, 1603460908, '系统管理员', '系统管理员', 1, 1);
INSERT INTO `approach_market` VALUES (2, '123', '广东省管件', 1, NULL, 2, NULL, NULL, NULL, NULL, NULL, '易于', '12345689630', NULL, 1616187217, 1603462642, '系统管理员', '系统管理员', 1, 1);

-- ----------------------------
-- Table structure for approach_review
-- ----------------------------
DROP TABLE IF EXISTS `approach_review`;
CREATE TABLE `approach_review`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type_id` tinyint(4) NULL DEFAULT NULL COMMENT '促销类型',
  `customer_id` int(11) NOT NULL COMMENT '所属客户',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `start_dt` date NULL DEFAULT NULL COMMENT '开始时间',
  `end_dt` date NULL DEFAULT NULL COMMENT '结束时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '制单时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '相关文件',
  `region_id` int(11) NULL DEFAULT NULL COMMENT '销售区域',
  `apply_id` int(11) NULL DEFAULT NULL COMMENT '申请单号',
  `sn` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销编号',
  `remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '备注',
  `promote_scope` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销范围(连锁超市要注明家数)',
  `pro_bg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销背景说明',
  `pro_method_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销方法描述',
  `pro_total_cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '预估总费用',
  `sale_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '预估销量(元)',
  `customer_pro_head` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '经销商执行人员',
  `customer_pro_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户执行人电话',
  `note_review` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '该渠道历史促销回顾',
  `apply_fee` decimal(10, 2) NULL DEFAULT NULL COMMENT '申请费用',
  `use_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '已用兑现金额',
  `actived_dt` date NULL DEFAULT NULL COMMENT '生效日期',
  `fax` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '回复传真',
  `phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '确认电话',
  `link_order_id` int(11) NULL DEFAULT NULL COMMENT '关联订单',
  `area_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '区域经理支持费用(元)',
  `reg_photo` int(11) NULL DEFAULT NULL COMMENT '陈列照片(张)',
  `reg_other_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '其他约定',
  `audit_market_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场助理审核签名',
  `audit_province_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '省区经理意见',
  `audit_province_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '省区经理时间',
  `audit_fee_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场费用专员意见',
  `audit_fee_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场费用专员时间',
  `audit_market2_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场部经理意见',
  `audit_market2_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场部经理时间',
  `audit_cmo_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '营销总监意见',
  `audit_cmo_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '营销总监时间',
  `is_chairman_audit` tinyint(4) NULL DEFAULT NULL COMMENT '是否董事长审核',
  `undertake_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担金额(元)',
  `undertake_ratio` tinyint(4) NULL DEFAULT NULL COMMENT '公司承担比例(%)',
  `need_review` tinyint(4) NULL DEFAULT NULL COMMENT '需要核销',
  `pro_before_date` date NULL DEFAULT NULL COMMENT '促销前跟踪预计日期',
  `promotion_id` int(11) NULL DEFAULT NULL COMMENT '批复编号',
  `over_due_day` tinyint(4) NULL DEFAULT NULL COMMENT '超期天数',
  `fact_exchange_cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '本次核销费用',
  `pay_type` tinyint(4) NULL DEFAULT NULL COMMENT '支付方式',
  `use_order` tinyint(4) NULL DEFAULT NULL COMMENT '是否使用',
  `reply_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '批复内容',
  `execute_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销执行情况',
  `change_apply` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销变更申请',
  `res_analyze` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销结果分析',
  `improvement` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '改进措施',
  `other_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '其他',
  `demand` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '批复要求',
  `attachment_ditail` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '附件明细',
  `apply_dt` date NULL DEFAULT NULL COMMENT '申请时间',
  `market_name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '店名及家数',
  `deduction_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '扣减金额',
  `apply_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司批复支持费用',
  `verification_cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '实际核销支持费用',
  `fact_verification_cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '本次核销费用',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人ID',
  `date` date NULL DEFAULT NULL COMMENT '单据日期',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_approach_review_created_by`(`created_by`) USING BTREE,
  INDEX `idx_approach_review_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_approach_review_apply_id`(`apply_id`) USING BTREE,
  INDEX `idx_approach_review_start_dt`(`start_dt`) USING BTREE,
  INDEX `idx_approach_review_is_chairman_audit`(`is_chairman_audit`) USING BTREE,
  INDEX `idx_approach_review_link_order_id`(`link_order_id`) USING BTREE,
  INDEX `idx_approach_review_pay_type`(`pay_type`) USING BTREE,
  INDEX `idx_approach_review_region_id`(`region_id`) USING BTREE,
  INDEX `idx_approach_review_use_order`(`use_order`) USING BTREE,
  INDEX `idx_approach_review_updated_by`(`updated_by`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of approach_review
-- ----------------------------
INSERT INTO `approach_review` VALUES (1, NULL, 1, 0, NULL, NULL, 1619900192, NULL, NULL, '系统管理员', NULL, NULL, 1, 'KABX20210001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-10-23', '永辉', NULL, NULL, 11.00, 11.00, 1, NULL, '2021-05-02');

-- ----------------------------
-- Table structure for approach_review_data
-- ----------------------------
DROP TABLE IF EXISTS `approach_review_data`;
CREATE TABLE `approach_review_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `review_id` int(11) NOT NULL COMMENT '促销兑现ID',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销兑现备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建人ID',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额(元)',
  `product_spec` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '产品规格',
  `product_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '产品名称',
  `product_id` int(11) NULL DEFAULT NULL COMMENT '产品ID',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '促销数量',
  `use_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '已使用数量',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '默认价格',
  `use_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  `price1` decimal(10, 2) NULL DEFAULT NULL COMMENT '报价',
  `price2` decimal(10, 2) NULL DEFAULT NULL COMMENT '售价',
  `is_store` tinyint(4) NULL DEFAULT NULL COMMENT '实际进店',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_approach_review_data_review_id`(`review_id`) USING BTREE,
  INDEX `idx_approach_review_data_is_store`(`is_store`) USING BTREE,
  INDEX `idx_approach_review_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_approach_review_data_use_close`(`use_close`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of approach_review_data
-- ----------------------------
INSERT INTO `approach_review_data` VALUES (1, 1, NULL, 1603460908, '系统管理员', '系统管理员', 1619899930, NULL, '158g*40袋', '脆口萝卜', 20411, NULL, NULL, 92.00, NULL, 20.00, 10.00, 1);

-- ----------------------------
-- Table structure for article
-- ----------------------------
DROP TABLE IF EXISTS `article`;
CREATE TABLE `article`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '主题',
  `category_id` tinyint(4) NULL DEFAULT NULL COMMENT '公告类别',
  `attachment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '附件集合',
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '正文',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '描述',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `receive_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '发布权限编号',
  `receive_name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '发布权限名称',
  `expired_at` int(11) NULL DEFAULT NULL COMMENT '过期时间',
  `created_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '发布人',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `start_at` int(11) NULL DEFAULT NULL COMMENT '时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编辑人ID',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_article_created_by`(`created_by`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '公告表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of article
-- ----------------------------
INSERT INTO `article` VALUES (23, '测试公告2', NULL, '9', '<p>测试公告</p>', NULL, 0, 'd13,u1', '人事部,系统管理员', 0, '系统管理员', 1602514680, 1602514680, 1, 1, '系统管理员', 1615757694);
INSERT INTO `article` VALUES (24, '测试新闻2', NULL, '18,24', '<p>测试新闻</p>', '测试新闻', NULL, 'u1,u3', '系统管理员,赵云', 0, '系统管理员', 1602514680, 1605481200, 1, 1, '系统管理员', 1616272945);

-- ----------------------------
-- Table structure for article_reader
-- ----------------------------
DROP TABLE IF EXISTS `article_reader`;
CREATE TABLE `article_reader`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `article_id` int(11) NULL DEFAULT NULL COMMENT '项目编号',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户编号',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_article_reader_article_id`(`article_id`) USING BTREE,
  INDEX `idx_article_reader_created_id`(`created_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of article_reader
-- ----------------------------
INSERT INTO `article_reader` VALUES (10, 23, '系统管理员', 1602514708, 1);
INSERT INTO `article_reader` VALUES (11, 24, '系统管理员', 1605481210, 1);
INSERT INTO `article_reader` VALUES (12, 22, '系统管理员', 1614291097, 1);
INSERT INTO `article_reader` VALUES (13, 24, '赵云', 1625349843, 3);

-- ----------------------------
-- Table structure for attachment
-- ----------------------------
DROP TABLE IF EXISTS `attachment`;
CREATE TABLE `attachment`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '路径',
  `table` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关联表名',
  `field` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关联字段',
  `type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '类型',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `size` int(11) NULL DEFAULT NULL COMMENT '字节',
  `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_attachment_status`(`status`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of attachment
-- ----------------------------
INSERT INTO `attachment` VALUES (9, 'article/202103/20091556_xuao.png', 'article', 'attachment', 'png', '爱客办公-favicon2.png', 6990, 1, NULL, '系统管理员', 1616202956, 1);
INSERT INTO `attachment` VALUES (12, 'calendar/202103/20092937_ex8y.png', 'calendar_object', 'attachment', 'png', 'a味聚特标志.png', 145234, 1, NULL, '系统管理员', 1616203777, 1);
INSERT INTO `attachment` VALUES (13, 'calendar/202103/20093055_mdrv.png', 'calendar_object', 'attachment', 'png', 'a味聚特标志.png', 145234, 1, NULL, '系统管理员', 1616203855, 1);
INSERT INTO `attachment` VALUES (14, 'calendar/202103/20093705_2kyq.png', 'calendar_object', 'attachment', 'png', 'a味聚特标志.png', 145234, 1, NULL, '系统管理员', 1616204225, 1);
INSERT INTO `attachment` VALUES (15, 'calendar/202103/20093717_vcns.png', 'calendar_object', 'attachment', 'png', 'a味聚特标志.png', 145234, 1, NULL, '系统管理员', 1616204237, 1);
INSERT INTO `attachment` VALUES (17, 'project/202103/20095439_pjws.png', 'project_task', 'attachment', 'png', 'a味聚特标志.png', 145234, 1, NULL, '系统管理员', 1616205279, 1);
INSERT INTO `attachment` VALUES (18, 'article/202103/21043229_gfgz.png', 'article', 'attachment', 'png', 'a味聚特标志.png', 145234, 1, NULL, '系统管理员', 1616272349, 1);
INSERT INTO `attachment` VALUES (19, 'project/202103/21043314_hqng.png', 'project_task', 'attachment', 'png', 'a味聚特标志.png', 145234, 1, NULL, '系统管理员', 1616272394, 1);
INSERT INTO `attachment` VALUES (23, 'article/202103/21043704_137o.xlsx', 'article', 'attachment', 'xlsx', '软件报价.xlsx', 20999, 1, NULL, '系统管理员', 1616272624, 1);
INSERT INTO `attachment` VALUES (24, 'article/202103/21044122_unfu.xlsx', 'article', 'attachment', 'xlsx', '软件报价.xlsx', 20999, 1, NULL, '系统管理员', 1616272882, 1);
INSERT INTO `attachment` VALUES (25, 'project/202103/21050123_3x4d.xlsx', 'project_task_log', 'attachment', 'xlsx', '软件报价.xlsx', 20999, 0, NULL, '系统管理员', 1616274083, 1);
INSERT INTO `attachment` VALUES (26, 'forum/202105/08072454_xtlq.png', 'forum', 'attachment', 'png', 'a味聚特标志.png', 145234, 1, NULL, '系统管理员', 1620473094, 1);
INSERT INTO `attachment` VALUES (27, 'forum/202105/08073241_g9gf.jpg', 'forum', 'attachment', 'jpg', 'logo2.jpg', 15055, 1, NULL, '系统管理员', 1620473561, 1);
INSERT INTO `attachment` VALUES (28, 'forum/202105/08074712_eyj1.jpg', 'forum', 'attachment', 'jpg', 'logo2.jpg', 15055, 1, NULL, '系统管理员', 1620474432, 1);

-- ----------------------------
-- Table structure for calendar
-- ----------------------------
DROP TABLE IF EXISTS `calendar`;
CREATE TABLE `calendar`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `userid` int(11) NOT NULL COMMENT '用户编号',
  `principaluri` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `displayname` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `uri` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `ctag` int(11) NULL DEFAULT NULL,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `calendarorder` int(11) NULL DEFAULT NULL,
  `calendarcolor` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `timezone` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `active` tinyint(4) NOT NULL DEFAULT 1 COMMENT '活动',
  `components` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `transparent` tinyint(4) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_calendar_principaluri_uri`(`principaluri`, `uri`) USING BTREE,
  INDEX `idx_calendar_userid`(`userid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of calendar
-- ----------------------------
INSERT INTO `calendar` VALUES (1, 1, 'principals/1', '默认日历', '7a16a8e44b', 1, NULL, 0, '#0066FF', NULL, 1, 'VEVENT,VTODO,VJOURNAL', NULL);
INSERT INTO `calendar` VALUES (2, 1, 'principals/1', '代办工作', 'e593aca02d', 1, NULL, 0, '#6633FF', NULL, 1, 'VEVENT,VTODO,VJOURNAL', NULL);
INSERT INTO `calendar` VALUES (3, 6, 'principals/6', '默认日历', '0987c13489', 1, NULL, 0, NULL, NULL, 1, 'VEVENT,VTODO,VJOURNAL', NULL);
INSERT INTO `calendar` VALUES (4, 4, 'principals/4', '默认日历', '5c1ff54ef5', 1, NULL, 0, NULL, NULL, 1, 'VEVENT,VTODO,VJOURNAL', NULL);
INSERT INTO `calendar` VALUES (5, 3, 'principals/3', '默认日历', '66996f3366', 1, NULL, 0, NULL, NULL, 1, 'VEVENT,VTODO,VJOURNAL', NULL);

-- ----------------------------
-- Table structure for calendar_object
-- ----------------------------
DROP TABLE IF EXISTS `calendar_object`;
CREATE TABLE `calendar_object`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `calendarid` int(11) NOT NULL,
  `componenttype` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `calendardata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `summary` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `uri` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `etag` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `size` int(11) NOT NULL,
  `startdate` datetime(0) NULL DEFAULT NULL,
  `enddate` datetime(0) NULL DEFAULT NULL,
  `firstoccurence` int(11) NULL DEFAULT NULL,
  `lastoccurence` int(11) NULL DEFAULT NULL,
  `lastmodified` int(11) NULL DEFAULT NULL,
  `allday` tinyint(4) NOT NULL DEFAULT 0 COMMENT '是否全天',
  `rrule` tinyint(4) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_calendar_object_calendarid_uri`(`calendarid`, `uri`) USING BTREE,
  INDEX `idx_calendar_object_calendarid`(`calendarid`) USING BTREE,
  INDEX `idx_calendar_object_rrule`(`rrule`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of calendar_object
-- ----------------------------
INSERT INTO `calendar_object` VALUES (1, 1, 'VEVENT', 'BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:gdoo.com Calendar\r\nBEGIN:VEVENT\r\nCREATED;VALUE=DATE-TIME:20210224T050811Z\r\nUID:680256e4e9\r\nLAST-MODIFIED;VALUE=DATE-TIME:20210224T050811Z\r\nDTSTAMP;VALUE=DATE-TIME:20210224T050811Z\r\nSUMMARY:测试日程\r\nDTSTART;VALUE=DATE-TIME;TZID=UTC:20210223T073000\r\nDTEND;VALUE=DATE-TIME;TZID=UTC:20210223T120000\r\nCLASS:PUBLIC\r\nBEGIN:VALARM\r\nACTION:DTSTART\r\nSUMMARY:Alarm notification\r\nEND:VALARM\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n', NULL, NULL, 'ab196b8598.ics', 'ec2124c7ae873b1503e5d707edc508f5', 449, NULL, NULL, 1614065400, 1614081600, 1614143291, 0, 0);
INSERT INTO `calendar_object` VALUES (2, 2, 'VEVENT', 'BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:gdoo.com Calendar\r\nBEGIN:VEVENT\r\nCREATED;VALUE=DATE-TIME:20210224T050838Z\r\nUID:244205a8e6\r\nLAST-MODIFIED;VALUE=DATE-TIME:20210224T050842Z\r\nDTSTAMP;VALUE=DATE-TIME:20210224T050842Z\r\nSUMMARY:今天要完成的事情\r\nDTSTART;VALUE=DATE-TIME;TZID=UTC:20210224T090000\r\nDTEND;VALUE=DATE-TIME;TZID=UTC:20210224T140000\r\nCLASS:PUBLIC\r\nBEGIN:VALARM\r\nACTION:DTSTART\r\nSUMMARY:Alarm notification\r\nEND:VALARM\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n', NULL, NULL, '8c79f634eb.ics', '3f5021e846fe652d229ac899c9ef7d75', 461, NULL, NULL, 1614157200, 1614175200, 1614143322, 0, 0);
INSERT INTO `calendar_object` VALUES (3, 1, 'VEVENT', 'BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:gdoo.com Calendar\r\nBEGIN:VEVENT\r\nCREATED;VALUE=DATE-TIME:20210320T013449Z\r\nUID:122567927b\r\nLAST-MODIFIED;VALUE=DATE-TIME:20210320T203648Z\r\nDTSTAMP;VALUE=DATE-TIME:20210320T203648Z\r\nSUMMARY:21221\r\nDTSTART;VALUE=DATE-TIME;TZID=Asia/Shanghai:20210316T120000\r\nDTEND;VALUE=DATE-TIME;TZID=Asia/Shanghai:20210316T183000\r\nCLASS:PUBLIC\r\nLOCATION:21212\r\nBEGIN:VALARM\r\nACTION:DTSTART\r\nSUMMARY:Alarm notification\r\nEND:VALARM\r\nEND:VEVENT\r\nEND:VCALENDAR\r\n', NULL, '14', '83833f87e3.ics', 'f29f3053891466c298f38e974782a978', 478, NULL, NULL, 1615867200, 1615890600, 1616272608, 0, 0);

-- ----------------------------
-- Table structure for chat_group
-- ----------------------------
DROP TABLE IF EXISTS `chat_group`;
CREATE TABLE `chat_group`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `admin_ids` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '管理员列表',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `created_id` int(11) NULL DEFAULT NULL,
  `created_by` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `created_dt` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `system` smallint(6) NULL DEFAULT NULL COMMENT '系统组无法删除',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人id',
  `updated_by` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `updated_dt` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `logo` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '组图标',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '部门id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'IM会话表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of chat_group
-- ----------------------------
INSERT INTO `chat_group` VALUES (1, '全体人员', NULL, 1, NULL, NULL, NULL, 1, NULL, NULL, NULL, '/assets/chat/images/web/logo.png', 1);
INSERT INTO `chat_group` VALUES (2, '销售组', NULL, 2, NULL, NULL, NULL, 0, NULL, NULL, NULL, '/assets/chat/images/web/group.png', 2);
INSERT INTO `chat_group` VALUES (3, '发送了', NULL, 0, 1, '系统管理员', NULL, 0, NULL, NULL, NULL, '/assets/chat/images/web/group.png', 0);
INSERT INTO `chat_group` VALUES (4, '123', NULL, NULL, 1, '系统管理员', '2021-02-10 00:50:27', NULL, NULL, NULL, NULL, '/assets/chat/images/group.png', NULL);

-- ----------------------------
-- Table structure for chat_group_user
-- ----------------------------
DROP TABLE IF EXISTS `chat_group_user`;
CREATE TABLE `chat_group_user`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `group_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_group_user_id`(`group_id`, `user_id`) USING BTREE,
  INDEX `idx_user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'IM会话人员' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of chat_group_user
-- ----------------------------
INSERT INTO `chat_group_user` VALUES (3, 1, 1);
INSERT INTO `chat_group_user` VALUES (8, 1, 3);
INSERT INTO `chat_group_user` VALUES (9, 1, 4);
INSERT INTO `chat_group_user` VALUES (17, 2, 1);
INSERT INTO `chat_group_user` VALUES (12, 2, 3);
INSERT INTO `chat_group_user` VALUES (13, 2, 4);
INSERT INTO `chat_group_user` VALUES (19, 3, 3);

-- ----------------------------
-- Table structure for chat_history
-- ----------------------------
DROP TABLE IF EXISTS `chat_history`;
CREATE TABLE `chat_history`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `receive_id` int(11) NULL DEFAULT NULL COMMENT '接收人id',
  `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '消息类型 user个人,group群,app应用',
  `created_id` int(11) NULL DEFAULT NULL,
  `created_by` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `created_dt` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `last_message_id` int(11) NULL DEFAULT NULL COMMENT '最后的消息ID',
  `updated_id` int(11) NULL DEFAULT NULL,
  `updated_by` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `updated_dt` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
  `send_id` int(11) NULL DEFAULT NULL COMMENT '发送人id',
  `unread_total` int(11) NULL DEFAULT NULL COMMENT '未读数量',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_receive_id`(`receive_id`) USING BTREE,
  INDEX `idx_type`(`type`) USING BTREE,
  INDEX `idx_last_message_id`(`last_message_id`) USING BTREE,
  INDEX `idx_send_id`(`send_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 37 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'IM会话表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of chat_history
-- ----------------------------
INSERT INTO `chat_history` VALUES (2, 1, 'user', 1, '系统管理员', NULL, 3, 4, '关羽', '2020-10-06 09:51:43', 4, 0);
INSERT INTO `chat_history` VALUES (3, 1, 'group', 1, '系统管理员', NULL, 89, 1, '系统管理员', '2021-02-24 18:09:10', 1, 0);
INSERT INTO `chat_history` VALUES (4, 1, 'group', 1, '系统管理员', NULL, 89, 1, '系统管理员', '2021-02-10 00:49:23', 3, 2);
INSERT INTO `chat_history` VALUES (5, 1, 'group', 1, '系统管理员', NULL, 89, 1, '系统管理员', '2021-02-10 00:49:23', 4, 2);
INSERT INTO `chat_history` VALUES (22, 2, 'group', 1, '系统管理员', NULL, 87, 1, '系统管理员', '2021-02-24 18:09:09', 1, 0);
INSERT INTO `chat_history` VALUES (23, 2, 'group', 1, '系统管理员', NULL, 87, 1, '系统管理员', '2020-11-16 07:04:26', 3, 1);
INSERT INTO `chat_history` VALUES (24, 2, 'group', 1, '系统管理员', NULL, 87, 1, '系统管理员', '2020-11-16 07:04:26', 4, 11);
INSERT INTO `chat_history` VALUES (34, 3, 'user', 1, '系统管理员', NULL, 76, 1, '系统管理员', '2021-02-24 18:09:10', 1, 0);
INSERT INTO `chat_history` VALUES (35, 1, 'user', 1, '系统管理员', NULL, 73, 3, '赵云', '2020-10-20 22:53:31', 3, 0);

-- ----------------------------
-- Table structure for chat_message
-- ----------------------------
DROP TABLE IF EXISTS `chat_message`;
CREATE TABLE `chat_message`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '内容',
  `send_id` int(11) NULL DEFAULT NULL COMMENT '发送人id',
  `receive_id` int(11) NULL DEFAULT NULL COMMENT '接收人id',
  `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '消息类型 user个人,group群,app应用',
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '相关地址',
  `file_id` int(11) NULL DEFAULT NULL COMMENT '对应文件Id',
  `created_id` int(11) NULL DEFAULT NULL,
  `created_by` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `created_dt` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_send_id`(`send_id`) USING BTREE,
  INDEX `idx_receive_id`(`receive_id`) USING BTREE,
  INDEX `idx_type`(`type`) USING BTREE,
  INDEX `idx_file_id`(`file_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 93 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'IM聊天记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of chat_message
-- ----------------------------
INSERT INTO `chat_message` VALUES (28, '没有', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-06 11:48:18');
INSERT INTO `chat_message` VALUES (29, '哈哈哈', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-06 12:03:42');
INSERT INTO `chat_message` VALUES (30, '你们好吗', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-06 12:03:46');
INSERT INTO `chat_message` VALUES (31, '没有', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-06 12:03:54');
INSERT INTO `chat_message` VALUES (32, '我也，诶呀', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-06 12:03:58');
INSERT INTO `chat_message` VALUES (33, '哈哈哈', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-06 12:04:15');
INSERT INTO `chat_message` VALUES (34, '[调皮]', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2020-10-07 01:24:03');
INSERT INTO `chat_message` VALUES (35, '通知一下其他的小伙伴明天正式上班了[坏笑]', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-07 01:43:27');
INSERT INTO `chat_message` VALUES (38, '好的，另外我准备让大家分享一下国庆长假的趣事', 3, 1, 'user', NULL, 0, 3, '赵云', '2020-10-07 01:46:19');
INSERT INTO `chat_message` VALUES (40, '大家好，都休息了吗', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2020-10-07 01:47:14');
INSERT INTO `chat_message` VALUES (41, '大家好，都休息了吗', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2020-10-07 01:47:30');
INSERT INTO `chat_message` VALUES (42, '好的同意', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-07 01:47:56');
INSERT INTO `chat_message` VALUES (43, '[假期趣事分享方案.doc 43.00KB]', 3, 1, 'user', NULL, 3426, 3, '赵云', '2020-10-07 01:50:07');
INSERT INTO `chat_message` VALUES (44, '非常好，就按此执行', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-07 01:50:38');
INSERT INTO `chat_message` VALUES (45, '大家好都休息了吗', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2020-10-07 01:51:01');
INSERT INTO `chat_message` VALUES (46, '没有', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-07 02:36:41');
INSERT INTO `chat_message` VALUES (47, '没有', 3, 1, 'user', NULL, 0, 3, '赵云', '2020-10-07 07:19:11');
INSERT INTO `chat_message` VALUES (48, '没有了', 3, 1, 'user', NULL, 0, 3, '赵云', '2020-10-07 07:25:26');
INSERT INTO `chat_message` VALUES (49, 'hah', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2020-10-07 07:48:33');
INSERT INTO `chat_message` VALUES (50, '没有了', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2020-10-07 07:48:36');
INSERT INTO `chat_message` VALUES (51, '没有', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-08 04:32:03');
INSERT INTO `chat_message` VALUES (52, '哈哈', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-08 04:38:28');
INSERT INTO `chat_message` VALUES (53, '没有了', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-08 04:41:32');
INSERT INTO `chat_message` VALUES (54, '你们好呀', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-08 04:41:41');
INSERT INTO `chat_message` VALUES (55, '没有了', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 04:41:45');
INSERT INTO `chat_message` VALUES (56, '嘿嘿', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 04:41:48');
INSERT INTO `chat_message` VALUES (57, 'meiy', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:04:50');
INSERT INTO `chat_message` VALUES (58, '你们好吗', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:04:52');
INSERT INTO `chat_message` VALUES (59, '没有', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-08 06:08:07');
INSERT INTO `chat_message` VALUES (60, '没有', 4, 2, 'group', NULL, 0, 4, '关羽', '2020-10-08 06:09:15');
INSERT INTO `chat_message` VALUES (61, '没有了哦', 4, 2, 'group', NULL, 0, 4, '关羽', '2020-10-08 06:09:21');
INSERT INTO `chat_message` VALUES (62, '你们好', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:09:28');
INSERT INTO `chat_message` VALUES (63, '哈哈', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:14:59');
INSERT INTO `chat_message` VALUES (64, '哈哈哈', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:15:06');
INSERT INTO `chat_message` VALUES (65, '没有了啊', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:15:08');
INSERT INTO `chat_message` VALUES (66, '没有了', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:15:13');
INSERT INTO `chat_message` VALUES (67, '该罚的', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:25:10');
INSERT INTO `chat_message` VALUES (68, '没有了', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:25:50');
INSERT INTO `chat_message` VALUES (69, '呵呵', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-08 06:27:43');
INSERT INTO `chat_message` VALUES (70, '你们没有吗', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-08 06:27:50');
INSERT INTO `chat_message` VALUES (71, '没有了把', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-08 08:58:36');
INSERT INTO `chat_message` VALUES (72, '哈哈', 3, 1, 'user', NULL, 0, 3, '赵云', '2020-10-20 22:38:31');
INSERT INTO `chat_message` VALUES (73, 'hah', 3, 1, 'user', NULL, 0, 3, '赵云', '2020-10-20 22:51:42');
INSERT INTO `chat_message` VALUES (74, '猪猪', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-20 22:51:50');
INSERT INTO `chat_message` VALUES (75, '[尴尬]', 3, 1, 'user', NULL, 0, 3, '赵云', '2020-10-20 22:51:51');
INSERT INTO `chat_message` VALUES (76, '[瓢虫]', 1, 3, 'user', NULL, 0, 1, '系统管理员', '2020-10-20 22:52:11');
INSERT INTO `chat_message` VALUES (77, '[疯了]', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-20 22:52:19');
INSERT INTO `chat_message` VALUES (78, '哈哈', 3, 2, 'group', NULL, 0, 3, '赵云', '2020-10-20 22:52:19');
INSERT INTO `chat_message` VALUES (79, '大妹子', 3, 2, 'group', NULL, 0, 3, '赵云', '2020-10-20 22:52:23');
INSERT INTO `chat_message` VALUES (80, '狗子、', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-20 22:52:25');
INSERT INTO `chat_message` VALUES (81, '你爱我不', 3, 2, 'group', NULL, 0, 3, '赵云', '2020-10-20 22:52:27');
INSERT INTO `chat_message` VALUES (82, '胖子、', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-20 22:52:28');
INSERT INTO `chat_message` VALUES (83, '不爱', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-20 22:52:31');
INSERT INTO `chat_message` VALUES (84, '好玩好玩', 3, 2, 'group', NULL, 0, 3, '赵云', '2020-10-20 22:52:36');
INSERT INTO `chat_message` VALUES (85, '我只爱我自己', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-20 22:52:37');
INSERT INTO `chat_message` VALUES (86, '来来；爱', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-10-20 22:52:40');
INSERT INTO `chat_message` VALUES (87, '广告歌', 1, 2, 'group', NULL, 0, 1, '系统管理员', '2020-11-16 07:04:26');
INSERT INTO `chat_message` VALUES (88, 'hah', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2021-02-10 00:49:19');
INSERT INTO `chat_message` VALUES (89, '还，你们好吗', 1, 1, 'group', NULL, 0, 1, '系统管理员', '2021-02-10 00:49:23');
INSERT INTO `chat_message` VALUES (90, '123', 1, 4, 'group', NULL, 0, 1, '系统管理员', '2021-02-10 00:50:44');
INSERT INTO `chat_message` VALUES (91, '哈哈', 1, 4, 'group', NULL, 0, 1, '系统管理员', '2021-02-10 01:05:25');
INSERT INTO `chat_message` VALUES (92, '[流汗]', 1, 4, 'group', NULL, 0, 1, '系统管理员', '2021-02-10 01:05:29');

-- ----------------------------
-- Table structure for chat_message_status
-- ----------------------------
DROP TABLE IF EXISTS `chat_message_status`;
CREATE TABLE `chat_message_status`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `message_id` int(11) NOT NULL COMMENT '信息id',
  `user_id` int(11) NOT NULL COMMENT '人员id',
  `group_id` int(11) NOT NULL COMMENT '群id',
  `status` int(11) NOT NULL COMMENT '状态',
  `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '消息类型 user个人,group群,app应用',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_group_user_id`(`group_id`, `user_id`) USING BTREE,
  INDEX `idx_message_id`(`message_id`) USING BTREE,
  INDEX `idx_user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 224 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'IM聊天消息状态表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of chat_message_status
-- ----------------------------
INSERT INTO `chat_message_status` VALUES (61, 28, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (62, 28, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (63, 29, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (64, 29, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (65, 29, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (66, 30, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (67, 30, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (69, 31, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (70, 32, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (71, 32, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (72, 32, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (73, 33, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (74, 33, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (75, 33, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (76, 34, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (77, 34, 3, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (78, 34, 4, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (79, 35, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (80, 35, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (85, 38, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (86, 38, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (90, 40, 3, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (91, 40, 4, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (92, 41, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (93, 41, 3, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (94, 41, 4, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (95, 42, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (96, 42, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (97, 43, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (98, 43, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (99, 44, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (100, 44, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (101, 45, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (102, 45, 3, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (103, 45, 4, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (104, 46, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (105, 46, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (106, 47, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (107, 47, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (108, 48, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (109, 48, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (110, 49, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (111, 49, 3, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (112, 49, 4, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (113, 50, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (114, 50, 3, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (115, 50, 4, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (116, 51, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (117, 51, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (118, 52, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (119, 52, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (120, 53, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (121, 53, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (122, 54, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (123, 54, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (124, 55, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (125, 55, 3, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (126, 55, 4, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (127, 56, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (128, 56, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (129, 56, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (130, 57, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (131, 57, 3, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (132, 57, 4, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (133, 58, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (134, 58, 3, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (135, 58, 4, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (136, 59, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (137, 59, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (138, 60, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (139, 60, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (140, 60, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (141, 61, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (142, 61, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (143, 61, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (144, 62, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (145, 62, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (146, 62, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (147, 63, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (148, 63, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (149, 63, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (150, 64, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (151, 64, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (152, 64, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (153, 65, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (154, 65, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (155, 65, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (156, 66, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (157, 66, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (158, 66, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (159, 67, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (160, 67, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (161, 67, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (162, 68, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (163, 68, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (164, 68, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (165, 69, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (166, 69, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (167, 69, 4, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (168, 70, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (169, 70, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (170, 71, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (171, 71, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (172, 72, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (173, 72, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (174, 73, 3, 1, 1, 'user');
INSERT INTO `chat_message_status` VALUES (175, 73, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (176, 74, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (179, 75, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (180, 76, 1, 3, 1, 'user');
INSERT INTO `chat_message_status` VALUES (182, 77, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (183, 77, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (184, 77, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (185, 78, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (186, 78, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (187, 78, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (190, 79, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (191, 80, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (192, 80, 3, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (193, 80, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (196, 81, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (199, 82, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (202, 83, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (203, 84, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (205, 84, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (208, 85, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (211, 86, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (212, 87, 1, 2, 1, 'group');
INSERT INTO `chat_message_status` VALUES (213, 87, 3, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (214, 87, 4, 2, 0, 'group');
INSERT INTO `chat_message_status` VALUES (215, 88, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (216, 88, 3, 1, 0, 'group');
INSERT INTO `chat_message_status` VALUES (217, 88, 4, 1, 0, 'group');
INSERT INTO `chat_message_status` VALUES (218, 89, 1, 1, 1, 'group');
INSERT INTO `chat_message_status` VALUES (219, 89, 3, 1, 0, 'group');
INSERT INTO `chat_message_status` VALUES (220, 89, 4, 1, 0, 'group');

-- ----------------------------
-- Table structure for company
-- ----------------------------
DROP TABLE IF EXISTS `company`;
CREATE TABLE `company`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NULL DEFAULT NULL COMMENT '父级编号',
  `lft` int(11) NULL DEFAULT NULL COMMENT '嵌套组左值',
  `rgt` int(11) NULL DEFAULT NULL COMMENT '嵌套组右值',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `tel` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '部门电话',
  `fax` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '部门传真',
  `manager` int(11) NULL DEFAULT NULL COMMENT '部门主管',
  `leader` int(11) NULL DEFAULT NULL COMMENT '上级主管',
  `superior` int(11) NULL DEFAULT NULL COMMENT '上级分管',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '部门职能',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编号',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_department_code_copy1`(`code`) USING BTREE,
  INDEX `idx_department_lft_rgt_copy1`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_department_parent_id_copy1`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '组织架构表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of company
-- ----------------------------
INSERT INTO `company` VALUES (1, 0, 1, 2, '董事办', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '01', 1);
INSERT INTO `company` VALUES (2, 0, 3, 4, '财务部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '03', 1);
INSERT INTO `company` VALUES (3, 0, 5, 6, '采购部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, '', 1, 1, '', 1);
INSERT INTO `company` VALUES (4, 0, 7, 8, '仓储部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '07', 1);
INSERT INTO `company` VALUES (5, 0, 9, 10, '工程部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '14', 1);
INSERT INTO `company` VALUES (8, 0, 11, 12, '行政部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, '', 1, 1, '', 1);
INSERT INTO `company` VALUES (11, 0, 13, 14, '品管部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '06', 1);
INSERT INTO `company` VALUES (13, 0, 15, 16, '人事部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, NULL, 1);
INSERT INTO `company` VALUES (15, 0, 17, 18, '审计部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '15', 1);
INSERT INTO `company` VALUES (16, NULL, 31, 34, '生产部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1580462951, NULL, 1, 1, '05', 1);
INSERT INTO `company` VALUES (17, 0, 19, 28, '营销中心', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '02', 1);
INSERT INTO `company` VALUES (18, 17, 20, 21, '客服部', NULL, NULL, 2088, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '0202', 1);
INSERT INTO `company` VALUES (19, 17, 22, 23, '网络营销部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '11', 1);
INSERT INTO `company` VALUES (20, 17, 24, 25, '销售部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '0201', 1);
INSERT INTO `company` VALUES (21, 17, 26, 27, '市场部', NULL, NULL, 2160, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1601676551, NULL, 1, 1, '0203', 1);
INSERT INTO `company` VALUES (22, 16, 32, 33, '生产(普通)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580462926, '系统管理员', '系统管理员', 1580463007, NULL, 1, 1, '0501', 0);
INSERT INTO `company` VALUES (23, 16, NULL, NULL, '生产(改箱)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580463024, '系统管理员', NULL, NULL, NULL, 1, NULL, '0502', 0);
INSERT INTO `company` VALUES (24, 16, NULL, NULL, '车间(三)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580463045, '系统管理员', '系统管理员', 1580837826, NULL, 1, 1, '0513', 0);
INSERT INTO `company` VALUES (25, 16, NULL, NULL, '车间(一)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580463075, '系统管理员', NULL, NULL, NULL, 1, NULL, '0511', 0);
INSERT INTO `company` VALUES (26, 16, NULL, NULL, '车间(二)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580463111, '系统管理员', NULL, NULL, NULL, 1, NULL, '0512', 0);

-- ----------------------------
-- Table structure for cron
-- ----------------------------
DROP TABLE IF EXISTS `cron`;
CREATE TABLE `cron`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `status` tinyint(4) NOT NULL,
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `module` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '所属模块',
  `name` char(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `filename` char(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `lastrun` int(11) NOT NULL,
  `nextrun` int(11) NOT NULL,
  `weekday` smallint(6) NOT NULL,
  `day` smallint(6) NOT NULL,
  `hour` smallint(6) NOT NULL,
  `minute` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_cron_status_nextrun`(`status`, `nextrun`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of cron
-- ----------------------------
INSERT INTO `cron` VALUES (2, 0, 'system', 'user', '清理六个月前市场照片资料', 'ClearPhoto.php', 1419586587, 1419589800, -1, -1, -1, '30');
INSERT INTO `cron` VALUES (3, 0, 'system', 'calendar', '日程提醒', 'CronCalendarRemind.php', 1405535030, 1405535400, -1, -1, -1, '0	15	30');

-- ----------------------------
-- Table structure for customer
-- ----------------------------
DROP TABLE IF EXISTS `customer`;
CREATE TABLE `customer`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `warehouse_tel` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库电话',
  `warehouse_contact` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库联系人',
  `warehouse_mobile` char(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库联系人手机',
  `warehouse_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库地址',
  `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户编码',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户名称',
  `type_id` tinyint(4) NULL DEFAULT NULL COMMENT '客户类型',
  `region_id` int(11) NULL DEFAULT NULL COMMENT '销售区域',
  `contact_id` int(11) NULL DEFAULT NULL COMMENT '首要联系人',
  `tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公司电话',
  `fax` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公司传真',
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公司邮箱',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公司地址',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `price_type` tinyint(4) NULL DEFAULT NULL COMMENT '价格类型',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `grade_id` tinyint(4) NULL DEFAULT NULL COMMENT '客户等级',
  `province_id` int(11) NULL DEFAULT NULL COMMENT '省',
  `city_id` int(11) NULL DEFAULT NULL COMMENT '市',
  `county_id` int(11) NULL DEFAULT NULL COMMENT '县',
  `warehouse_size` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库面积(㎡)',
  `warehouse_phone` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库手机号',
  `head_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '法人',
  `head_phone` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '法人手机号',
  `general_taxpayer` tinyint(4) NULL DEFAULT NULL COMMENT '一般纳税人',
  `is_allocate` tinyint(4) NULL DEFAULT NULL COMMENT '是否调拨',
  `manage_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '管理负责手机号',
  `manage_weixin` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '管理负责微信',
  `finance_name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '财务负责人',
  `finance_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '财务负责手机号',
  `cost_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '费用核销人',
  `cost_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '费用核销手机号',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '附件资料',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户ID',
  `password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `department_id` int(11) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL,
  `head_birthday` date NULL DEFAULT NULL COMMENT '法人生日',
  `is_direct` tinyint(4) NULL DEFAULT NULL COMMENT '是否直营',
  `class_id` int(11) NULL DEFAULT NULL COMMENT '客户分类',
  `tax_max_id` tinyint(4) NULL DEFAULT NULL COMMENT '开票单位最大ID',
  `class2_id` tinyint(4) NULL DEFAULT NULL COMMENT '客户种类',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_code`(`code`) USING BTREE,
  INDEX `idx_customer_city_id`(`city_id`) USING BTREE,
  INDEX `idx_customer_contact_id`(`contact_id`) USING BTREE,
  INDEX `idx_customer_county_id`(`county_id`) USING BTREE,
  INDEX `idx_customer_grade_id`(`grade_id`) USING BTREE,
  INDEX `idx_customer_price_type`(`price_type`) USING BTREE,
  INDEX `idx_customer_province_id`(`province_id`) USING BTREE,
  INDEX `idx_customer_region_id`(`region_id`) USING BTREE,
  INDEX `idx_customer_type_id`(`type_id`) USING BTREE,
  INDEX `idx_customer_user_id`(`user_id`) USING BTREE,
  INDEX `idx_customer_status`(`status`) USING BTREE,
  INDEX `idx_customer_class_id`(`class_id`) USING BTREE,
  INDEX `idx_customer_class2_id`(`class2_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer
-- ----------------------------
INSERT INTO `customer` VALUES (1, '11', '111', NULL, '111', '01001', '王二小食品有限公司', 1, 42, NULL, NULL, NULL, NULL, NULL, NULL, 1594147787, '系统管理员', '系统管理员', 1623146856, NULL, 1, 1, 1, 2249, 2271, 2272, '0', '11', '12', '213', 0, 0, '33', NULL, NULL, NULL, NULL, NULL, NULL, 2, NULL, 1, 1, '2020-06-13', 0, 149, 1, 1);
INSERT INTO `customer` VALUES (2, NULL, NULL, NULL, NULL, '100002', '四川幺麻子食品公司', 1, 43, NULL, NULL, NULL, NULL, NULL, '111', 1620468708, '系统管理员', '系统管理员', 1620470171, NULL, 1, 1, 1, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 6, '$2y$10$Gb4n4ea3nlMGxJsPKSWBUug8hZFLj4xI831Gru.s78ZX314UwyEOm', 17, 1, NULL, NULL, 149, NULL, 1);
INSERT INTO `customer` VALUES (3, NULL, NULL, NULL, NULL, '100003', '百家食品有限公司', 2, 44, NULL, NULL, NULL, NULL, NULL, NULL, 1620469893, '系统管理员', '系统管理员', 1620470124, NULL, 1, 1, 2, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 7, NULL, 17, 1, NULL, NULL, 149, NULL, 2);
INSERT INTO `customer` VALUES (4, NULL, NULL, NULL, NULL, '100004', '麻辣江湖食品有限公司', 2, 42, NULL, NULL, NULL, NULL, NULL, NULL, 1620470030, '系统管理员', '系统管理员', 1620470157, NULL, 1, 1, 2, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, 8, 1, NULL, NULL, 147, NULL, 1);
INSERT INTO `customer` VALUES (5, NULL, '无', NULL, '无', '100005', '重庆麻辣烫火锅有限公司', 1, 43, NULL, NULL, NULL, NULL, '无', NULL, 1620470485, '系统管理员', '系统管理员', 1620470533, NULL, 1, 1, NULL, 19, 20, 23, '0', '15182223008', '无', '15182223008', NULL, NULL, '15182223008', NULL, '15182223008', '15182223008', NULL, NULL, NULL, 9, NULL, 25, 1, NULL, NULL, 145, NULL, 5);

-- ----------------------------
-- Table structure for customer_apply
-- ----------------------------
DROP TABLE IF EXISTS `customer_apply`;
CREATE TABLE `customer_apply`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '库存类型',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '入库部门',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `region_id` int(11) NULL DEFAULT NULL COMMENT '销售区域',
  `class_id` int(11) NULL DEFAULT NULL COMMENT '客户分类',
  `province_id` smallint(6) NULL DEFAULT NULL COMMENT '省',
  `city_id` smallint(6) NULL DEFAULT NULL COMMENT '市',
  `county_id` smallint(6) NULL DEFAULT NULL COMMENT '县',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公司地址',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户名称',
  `warehouse_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库地址',
  `warehouse_contact` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库联系人',
  `warehouse_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库手机号',
  `warehouse_tel` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库座机',
  `warehouse_size` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库面积(㎡)',
  `head_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '法人',
  `head_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '法人电话',
  `head_birthday` date NULL DEFAULT NULL COMMENT '法人生日',
  `manage_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '管理负责人',
  `manage_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '管理负责人手机号',
  `manage_weixin` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '管理负责人微信',
  `finance_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '财务负责人',
  `finance_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '财务负责人手机',
  `cost_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '费用核销人',
  `cost_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '费用核销人手机号',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '附件资料',
  `general_taxpayer` tinyint(4) NULL DEFAULT NULL COMMENT '一般纳税人',
  `tax_number` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '纳税识别号',
  `code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户编码',
  `bank_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '开户银行',
  `bank_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '开户银行地址',
  `bank_account` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '银行账户',
  `class2_id` tinyint(4) NULL DEFAULT NULL COMMENT '客户种类',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_apply_department_id`(`department_id`) USING BTREE,
  INDEX `idx_customer_apply_region_id`(`region_id`) USING BTREE,
  INDEX `idx_customer_apply_sn`(`sn`) USING BTREE,
  INDEX `idx_customer_apply_type_id`(`type_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_apply
-- ----------------------------
INSERT INTO `customer_apply` VALUES (1, 1, 'KHSQ202010110001', 0, 0, '212', 1602365121, '系统管理员', 1, 1612920411, '系统管理员', 1, 44, 153, 19, 20, 22, '212', '12', '21', '212', '1212', '212', '21212', '212', '212', NULL, '212', '212', '2212', '212', '21', NULL, '21', NULL, 0, '212', NULL, '12', '212', '212', 2);
INSERT INTO `customer_apply` VALUES (2, 1, 'KHSQ202010120001', 0, 0, NULL, 1602517216, '系统管理员', 1, 1602517216, '系统管理员', 1, 43, 145, 37, 76, 80, '刚发的法等多个飞得更高', '广发', '更多广东省广东省管', '广发发苟富贵', '13547653235', NULL, NULL, '鬼地方个', '13547652328', NULL, '广发', '13547652328', NULL, '广发', '13547656235', NULL, NULL, NULL, 1, '12121231546546484', NULL, '中国银行', '广发梵蒂冈发的广泛地', '11321321321321', 2);
INSERT INTO `customer_apply` VALUES (3, 1, 'KHSQ202010200001', NULL, 0, NULL, 1603205039, '赵云', 3, 1603205039, '赵云', 3, 44, 147, 37, 76, 79, '21', '212', '212', '212', '2121', NULL, '21', '12', '21', NULL, '212', '212', '1212', '212', '1212', NULL, '22', NULL, 1, '212', NULL, '1212', '121', '212', 1);
INSERT INTO `customer_apply` VALUES (4, 1, 'KHSQ202105080001', 1, 25, NULL, 0, '系统管理员', 1, 1620470454, '系统管理员', 1, 43, 145, 19, 20, 23, '无', '重庆麻辣烫火锅有限公司', '无', '无', '15182223008', NULL, NULL, '无', '15182223008', NULL, '无', '15182223008', NULL, '15182223008', '15182223008', NULL, NULL, NULL, 1, '无', '00005', '无', '无', '无', 5);

-- ----------------------------
-- Table structure for customer_apply_brand
-- ----------------------------
DROP TABLE IF EXISTS `customer_apply_brand`;
CREATE TABLE `customer_apply_brand`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `apply_id` int(11) NOT NULL COMMENT '费用ID',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `brand_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '品牌名称',
  `sale_money` decimal(20, 2) NULL DEFAULT NULL COMMENT '年销售额',
  `market_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '超市数量',
  `circulate_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '流通数量',
  `market_high` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场操作亮点',
  `brand_category` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '品牌类别',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_apply_brand
-- ----------------------------
INSERT INTO `customer_apply_brand` VALUES (1, 1, 1, 1602365121, '系统管理员', 1, '系统管理员', 1612920411, 1, '123', '21212', 10.00, '10', '10', '10', '1');
INSERT INTO `customer_apply_brand` VALUES (2, 2, 1, 1602517216, '系统管理员', 1, '系统管理员', 1602517216, 1, NULL, '刚发的发', 121212.00, '12', NULL, NULL, NULL);
INSERT INTO `customer_apply_brand` VALUES (3, 3, NULL, 1603205039, '赵云', 3, '赵云', 1603205039, 3, '212', '212', 212.00, '212', '12', '212', '2');
INSERT INTO `customer_apply_brand` VALUES (4, 4, NULL, 1620470338, '系统管理员', 1, '系统管理员', 1620470454, 1, NULL, '无', 10.00, '10', '10', '10', '1');

-- ----------------------------
-- Table structure for customer_apply_category
-- ----------------------------
DROP TABLE IF EXISTS `customer_apply_category`;
CREATE TABLE `customer_apply_category`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `apply_id` int(11) NOT NULL COMMENT '费用ID',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `market_style` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '超市型态',
  `scope` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '覆盖范围',
  `sale_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '销售人数',
  `guide_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '专职导购数量',
  `tally_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '理货人数',
  `part_guide_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '兼职导购数',
  `channel_plan_reason` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '渠道规划理由',
  `channel_start_dt` date NULL DEFAULT NULL COMMENT '渠道启动日期',
  `category_id` int(11) NULL DEFAULT NULL COMMENT '类别ID',
  `price_type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '价格类型',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_apply_category
-- ----------------------------
INSERT INTO `customer_apply_category` VALUES (1, 1, 1, 1602365121, '系统管理员', 1, '系统管理员', 1612920411, 1, '123', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 230, '厂价');
INSERT INTO `customer_apply_category` VALUES (2, 2, 1, 1602517216, '系统管理员', 1, '系统管理员', 1602517216, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 235, '厂价');
INSERT INTO `customer_apply_category` VALUES (3, 3, NULL, 1603205039, '赵云', 3, '赵云', 1603205039, 3, '212', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 228, '厂价');
INSERT INTO `customer_apply_category` VALUES (4, 4, NULL, 1620470338, '系统管理员', 1, '系统管理员', 1620470454, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 253, '厂价');

-- ----------------------------
-- Table structure for customer_apply_grid
-- ----------------------------
DROP TABLE IF EXISTS `customer_apply_grid`;
CREATE TABLE `customer_apply_grid`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `apply_id` int(11) NOT NULL COMMENT '费用ID',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `market_style` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '超市型态',
  `scope` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '覆盖范围',
  `sale_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '销售人数',
  `guide_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '专职导购数量',
  `tally_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '理货人数',
  `part_guide_quantity` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '兼职导购数',
  `channel_plan_reason` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '渠道规划理由',
  `channel_start_dt` date NULL DEFAULT NULL COMMENT '渠道启动日期',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_apply_grid
-- ----------------------------
INSERT INTO `customer_apply_grid` VALUES (1, 1, 1, 1602365121, '系统管理员', 1, '系统管理员', 1612920411, 1, '212', '农贸', '212', '12', '212', '212', '212', '212', '2020-09-29');
INSERT INTO `customer_apply_grid` VALUES (2, 2, 1, 1602517216, '系统管理员', 1, '系统管理员', 1602517216, 1, NULL, 'KA', '很关键', '2', '2', '2', '2', '24很关键', '2020-10-08');
INSERT INTO `customer_apply_grid` VALUES (3, 3, NULL, 1603205039, '赵云', 3, '赵云', 1603205039, 3, '212', '21', '212', '2', '212', '121', '21', '21212', '2020-10-14');
INSERT INTO `customer_apply_grid` VALUES (4, 4, NULL, 1620470338, '系统管理员', 1, '系统管理员', 1620470454, 1, NULL, '农贸', '无', '10', '1', '10', '1', '无', '2021-05-04');

-- ----------------------------
-- Table structure for customer_business
-- ----------------------------
DROP TABLE IF EXISTS `customer_business`;
CREATE TABLE `customer_business`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `customer_id` int(11) NOT NULL COMMENT '客户编号',
  `user_id` int(11) NOT NULL COMMENT '业务负责人',
  `type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '客户类型',
  `source` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '来源',
  `name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '公司名称',
  `contacts` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `contacts_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '客户地址',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `text_1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '开票账户',
  `text_2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `text_3` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '说明',
  `status` tinyint(4) NOT NULL COMMENT '状态',
  `created_by` int(11) NOT NULL COMMENT '用户编号',
  `created_at` int(11) NOT NULL COMMENT '添加时间',
  `updated_by` int(11) NOT NULL,
  `updated_at` int(11) NOT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_business_customer_id`(`customer_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '公告表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_business
-- ----------------------------

-- ----------------------------
-- Table structure for customer_class
-- ----------------------------
DROP TABLE IF EXISTS `customer_class`;
CREATE TABLE `customer_class`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NOT NULL,
  `code` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `fast_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` tinyint(4) NOT NULL,
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_id` int(11) NULL DEFAULT NULL,
  `grade` tinyint(4) NULL DEFAULT NULL,
  `end` tinyint(4) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20003 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_class
-- ----------------------------
INSERT INTO `customer_class` VALUES (1, 0, '0', '客户分类', 'TLDWFL', 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0);
INSERT INTO `customer_class` VALUES (143, 1, '01', '安徽', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (145, 1, '02', '北京', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (147, 1, '03', '福建', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (149, 1, '04', '甘肃', NULL, 1, NULL, NULL, '系统管理员', 1615838881, NULL, 1, 1, 0);
INSERT INTO `customer_class` VALUES (151, 1, '05', '广东', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (153, 1, '06', '广西', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (155, 1, '07', '贵州', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (157, 1, '08', '海南', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (159, 1, '09', '河北', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (161, 1, '10', '河南', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (163, 1, '11', '黑龙江', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (165, 1, '12', '湖北', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (167, 1, '13', '湖南', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (169, 1, '14', '吉林', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (171, 1, '15', '江苏', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (173, 1, '16', '江西', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (175, 1, '17', '辽宁', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (177, 1, '18', '内蒙古', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (179, 1, '19', '宁夏', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (181, 1, '20', '青海', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (183, 1, '21', '山东', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (185, 1, '22', '山西', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (187, 1, '23', '陕西', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (189, 1, '24', '上海', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (191, 1, '25', '四川', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (193, 1, '26', '天津', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (195, 1, '27', '西藏', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (197, 1, '28', '新疆', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (199, 1, '29', '云南', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (201, 1, '30', '浙江', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (203, 1, '31', '重庆', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 0);
INSERT INTO `customer_class` VALUES (205, 1, '95', '暂未合作客户', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1);
INSERT INTO `customer_class` VALUES (206, 1, '96', '网络营销', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1);
INSERT INTO `customer_class` VALUES (207, 1, '97', '营销部零售', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1);
INSERT INTO `customer_class` VALUES (208, 1, '98', '外销', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1);
INSERT INTO `customer_class` VALUES (209, 1, '99', '其他', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1);
INSERT INTO `customer_class` VALUES (20001, 1, '32', '华东永辉', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1);
INSERT INTO `customer_class` VALUES (20002, 1, '33', '华东欧尚', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1);

-- ----------------------------
-- Table structure for customer_complaint
-- ----------------------------
DROP TABLE IF EXISTS `customer_complaint`;
CREATE TABLE `customer_complaint`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_id` int(11) NULL DEFAULT NULL,
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `created_dt` datetime(0) NULL DEFAULT NULL COMMENT '单据日期',
  `customer_id` int(11) NULL DEFAULT NULL COMMENT '客户名称',
  `region_id` int(11) NULL DEFAULT NULL COMMENT '销售区域',
  `type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '投诉类型',
  `complainant` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '投诉人',
  `complainant_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '投诉人电话',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '投诉内容',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '附件',
  `suggest` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '建议改进措施',
  `status` smallint(6) NULL DEFAULT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_complaint_code`(`code`) USING BTREE,
  INDEX `idx_customer_complaint_status`(`status`) USING BTREE,
  INDEX `idx_customer_complaint_warehouse_id`(`warehouse_id`) USING BTREE,
  INDEX `idx_customer_complaint_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_customer_complaint_region_id`(`region_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_complaint
-- ----------------------------
INSERT INTO `customer_complaint` VALUES (1, NULL, NULL, NULL, NULL, NULL, 1602514770, '系统管理员', '系统管理员', 1602514770, 1, 1, 'KHTS202010120001', '2020-10-12 22:59:00', 0, 45, NULL, '地方', '13547652328', '多福多寿非得的', NULL, NULL, 0);

-- ----------------------------
-- Table structure for customer_contact
-- ----------------------------
DROP TABLE IF EXISTS `customer_contact`;
CREATE TABLE `customer_contact`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `customer_id` int(11) NOT NULL COMMENT '客户ID',
  `type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '联系人类型',
  `weixin` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '微信号',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '联系人地址',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '联系人附件',
  `description` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '说明',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '姓名',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '手机',
  `birthday` date NULL DEFAULT NULL COMMENT '生日',
  `position` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '职位',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '用户ID',
  `code` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '密码',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_contact_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_customer_contact_user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_contact
-- ----------------------------
INSERT INTO `customer_contact` VALUES (1, 1, NULL, NULL, '\n\n\n', NULL, NULL, NULL, '刘洋', 1603204082, '系统管理员', '系统管理员', 1620381252, '15879653821', NULL, NULL, 1, 1, 5, '52347', NULL, NULL);

-- ----------------------------
-- Table structure for customer_cost
-- ----------------------------
DROP TABLE IF EXISTS `customer_cost`;
CREATE TABLE `customer_cost`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单号',
  `status` tinyint(4) NULL DEFAULT 0 COMMENT '状态',
  `date` date NULL DEFAULT NULL COMMENT '单据日期',
  `created_at` int(11) NULL DEFAULT NULL,
  `created_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '制单人',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `updated_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '费用项目',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `category_id` int(11) NULL DEFAULT NULL COMMENT '费用类别',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '单据类型',
  `adjust_type` tinyint(4) NULL DEFAULT NULL COMMENT '调整类型',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_cost_type_id`(`type_id`) USING BTREE,
  INDEX `idx_customer_cost_date`(`date`) USING BTREE,
  INDEX `idx_customer_cost_category_id`(`category_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_cost
-- ----------------------------
INSERT INTO `customer_cost` VALUES (1, 'QTFY202010230001', NULL, '2020-10-23', 1603462524, '系统管理员', 1, 1, '系统管理员', 1603462524, NULL, NULL, 1, 46, NULL);
INSERT INTO `customer_cost` VALUES (2, 'FYTZ202010230001', NULL, '2020-10-23', 1603462555, '系统管理员', 1, 1, '系统管理员', 1615846706, NULL, NULL, 3, 86, 1);
INSERT INTO `customer_cost` VALUES (3, 'HTBS202010230001', NULL, '2020-10-23', 1603462706, '系统管理员', 1, 1, '系统管理员', 1614508254, NULL, NULL, 3, 87, NULL);

-- ----------------------------
-- Table structure for customer_cost_category
-- ----------------------------
DROP TABLE IF EXISTS `customer_cost_category`;
CREATE TABLE `customer_cost_category`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL,
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建人',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `is_cal` tinyint(4) NULL DEFAULT NULL COMMENT '参与对账单计算',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_cost_category_is_cal`(`is_cal`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_cost_category
-- ----------------------------
INSERT INTO `customer_cost_category` VALUES (1, '001', '其他费用', '', 1, '系统管理员', 1612648902, NULL, NULL, NULL, 1, 1, 1);
INSERT INTO `customer_cost_category` VALUES (2, '002', '合同返利', '', 1, '系统管理员', 1612648906, NULL, NULL, NULL, 1, 2, 1);
INSERT INTO `customer_cost_category` VALUES (3, '003', '合同补损', '', 1, NULL, NULL, NULL, NULL, NULL, NULL, 3, 1);
INSERT INTO `customer_cost_category` VALUES (4, '004', '货补', '', 1, NULL, NULL, NULL, NULL, NULL, NULL, 4, 1);
INSERT INTO `customer_cost_category` VALUES (5, '005', '票折', '', 1, NULL, NULL, NULL, NULL, NULL, NULL, 5, 1);
INSERT INTO `customer_cost_category` VALUES (6, '006', '赠品', '', 1, NULL, NULL, NULL, NULL, NULL, NULL, 6, 1);
INSERT INTO `customer_cost_category` VALUES (7, '007', '物资', '', 1, NULL, NULL, NULL, NULL, NULL, NULL, 7, 1);
INSERT INTO `customer_cost_category` VALUES (8, '008', '客情费用', '', 1, '系统管理员', 1603200146, NULL, NULL, NULL, 1, 8, 0);

-- ----------------------------
-- Table structure for customer_cost_data
-- ----------------------------
DROP TABLE IF EXISTS `customer_cost_data`;
CREATE TABLE `customer_cost_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `cost_id` int(11) NOT NULL COMMENT '费用ID',
  `customer_id` int(11) NOT NULL COMMENT '所属客户',
  `date` date NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '兑现金额',
  `use_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '使用金额',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `close_remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关闭原因',
  `close_by` int(11) NULL DEFAULT NULL COMMENT '关闭人',
  `use_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  `remain_money` decimal(20, 2) NULL DEFAULT NULL COMMENT '剩余金额',
  `src_id` int(11) NULL DEFAULT NULL COMMENT '源单据ID',
  `src_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '源编号',
  `src_type_id` int(11) NULL DEFAULT NULL COMMENT '源单据类型',
  `close_dt` date NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_cost_data_close_by`(`close_by`) USING BTREE,
  INDEX `idx_customer_cost_data_use_close`(`use_close`) USING BTREE,
  INDEX `idx_customer_cost_data_src_id`(`src_id`) USING BTREE,
  INDEX `idx_customer_cost_data_src_type_id`(`src_type_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_cost_data
-- ----------------------------
INSERT INTO `customer_cost_data` VALUES (1, 1, 1, NULL, NULL, 1603462524, '系统管理员', 1, '系统管理员', 1603462524, 1, 2.00, NULL, NULL, NULL, NULL, NULL, 2.00, NULL, 'QTFY202010230001', 46, NULL);
INSERT INTO `customer_cost_data` VALUES (2, 2, 1, NULL, NULL, 1603462555, '系统管理员', 1, '系统管理员', 1615846706, 1, 2.00, NULL, NULL, NULL, NULL, NULL, 2.00, 2, 'FYTZ202010230001', 86, NULL);
INSERT INTO `customer_cost_data` VALUES (3, 3, 1, NULL, NULL, 1603462706, '系统管理员', 1, '系统管理员', 1614508254, 1, 2.00, 0.00, NULL, NULL, NULL, NULL, 2.00, 3, 'HTBS202010230001', 87, NULL);

-- ----------------------------
-- Table structure for customer_delivery_address
-- ----------------------------
DROP TABLE IF EXISTS `customer_delivery_address`;
CREATE TABLE `customer_delivery_address`  (
  `customer_id` int(11) NOT NULL,
  `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `zip_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `phone` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `address` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_default` tinyint(4) NULL DEFAULT NULL,
  `tel` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人ID',
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_delivery_address_customer_id`(`customer_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_delivery_address
-- ----------------------------
INSERT INTO `customer_delivery_address` VALUES (1, '111', '111', '11', '111', 1, '11', 1603204945, '赵云', 1615839308, '系统管理员', 3, 1, 1);

-- ----------------------------
-- Table structure for customer_order
-- ----------------------------
DROP TABLE IF EXISTS `customer_order`;
CREATE TABLE `customer_order`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `customer_id` int(11) NOT NULL COMMENT '所属客户',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单号',
  `is_first` tinyint(4) NULL DEFAULT NULL COMMENT '客户首次下单',
  `updated_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `created_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '备注',
  `tax_type` tinyint(4) NULL DEFAULT NULL COMMENT '开票类型',
  `tax_id` int(11) NULL DEFAULT NULL COMMENT '开票名称',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `warehouse_contact` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人',
  `warehouse_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人手机号',
  `warehouse_tel` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人座机',
  `warehouse_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货地址',
  `found_contact` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '下单人',
  `found_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '下单人手机号',
  `customer_stock_dt` date NULL DEFAULT NULL COMMENT '客户库存日期',
  `type_id` tinyint(4) NULL DEFAULT NULL COMMENT '订单类型',
  `plan_delivery_dt` date NULL DEFAULT NULL COMMENT '预计发货日期',
  `pay_dt` date NULL DEFAULT NULL COMMENT '打款日期',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '附件',
  `use_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  `export_country` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '出口国家',
  `is_return` tinyint(4) NULL DEFAULT NULL COMMENT '是否回退',
  `freight_short_car` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '短途车牌号',
  `freight_short_logistics_id` int(11) NULL DEFAULT NULL COMMENT '短途承运人',
  `freight_pay_text` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运费付款方式',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_order_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_customer_order_plan_delivery_dt`(`plan_delivery_dt`) USING BTREE,
  INDEX `idx_customer_order_use_close`(`use_close`) USING BTREE,
  INDEX `idx_customer_order_pay_dt`(`pay_dt`) USING BTREE,
  INDEX `idx_customer_order_status`(`status`) USING BTREE,
  INDEX `idx_customer_order_tax_id`(`tax_id`) USING BTREE,
  INDEX `idx_customer_order_freight_short_logistics_id`(`freight_short_logistics_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1008 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_order
-- ----------------------------
INSERT INTO `customer_order` VALUES (1, 1, 1, 'XSDD202007080001', NULL, '系统管理员', 1611703414, 1594147800, '系统管理员', NULL, 1, 1, 1, 1, '11', '15182223008', '1', '121212', '1', '15182223008', NULL, 1, '2020-09-18', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL);
INSERT INTO `customer_order` VALUES (2, 1, 2, 'XSDD202009170001', NULL, '系统管理员', 1617245005, 1610840160, '系统管理员', NULL, 1, 1, 1, 1, '212', '12345678900', '1', '112', '1', '1', NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL);
INSERT INTO `customer_order` VALUES (1004, 1, 0, 'XSDD202010120003', NULL, '系统管理员', 1617200697, 1613142720, '系统管理员', NULL, 2, 2, 1, 1, '777', '12345678901', '028381564', '眉山', '辉丰股份', '12121515465', NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL);
INSERT INTO `customer_order` VALUES (1005, 1, 2, 'XSDD202103150001', NULL, '系统管理员', 1616013229, 1615757880, '系统管理员', NULL, 1, 1, 1, 1, '66666', '15182223008', '11', '111', '111', '15182223008', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `customer_order` VALUES (1006, 1, 1, 'XSDD202104120001', NULL, '系统管理员', 1618165138, 1618164180, '系统管理员', NULL, 1, 1, 1, 1, '111', '15182223008', '11', '111', '11', '1', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `customer_order` VALUES (1007, 1, 0, 'XSDD202106180001', NULL, '系统管理员', 1623953769, 1623953580, '系统管理员', '212', 1, 1, 1, 1, '111', '15182223008', '11', '111', '11', '15182223008', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for customer_order_data
-- ----------------------------
DROP TABLE IF EXISTS `customer_order_data`;
CREATE TABLE `customer_order_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `order_id` int(11) NOT NULL COMMENT '订单ID',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '价格',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '类型',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '单品状态',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '数量',
  `customer_stock` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户库存',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额(元)',
  `fee_data_id` int(11) NULL DEFAULT NULL COMMENT '单据明细ID',
  `fee_src_id` int(11) NULL DEFAULT NULL COMMENT '单据ID',
  `fee_src_sn` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `fee_category_id` int(11) NULL DEFAULT NULL COMMENT '单据类型',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量',
  `customer_stock_dt` date NULL DEFAULT NULL COMMENT '客户库存日期',
  `other_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '其他金额(元)',
  `use_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  `delivery_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '实发数量',
  `total_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '合计重量(kg)',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批次',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `fee_src_type_id` int(11) NULL DEFAULT NULL COMMENT '单据类型',
  `promotion_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '赠品编号',
  `promotion_data_id` int(11) NULL DEFAULT NULL COMMENT '赠品明细ID',
  `ref_sale_id` int(11) NULL DEFAULT NULL COMMENT '引用ID',
  `ref_sale_data_id` int(11) NULL DEFAULT NULL COMMENT '引用子表ID',
  `delivery_quantity2` decimal(10, 2) NULL DEFAULT NULL COMMENT '实发数量',
  `is_gift` tinyint(4) NULL DEFAULT NULL COMMENT '赠品',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_order_data_fee_data_id`(`fee_data_id`) USING BTREE,
  INDEX `idx_customer_order_data_fee_src_id`(`fee_src_id`) USING BTREE,
  INDEX `idx_customer_order_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_customer_order_data_type_id`(`type_id`) USING BTREE,
  INDEX `idx_customer_order_data_use_close`(`use_close`) USING BTREE,
  INDEX `idx_customer_order_data_order_id`(`order_id`) USING BTREE,
  INDEX `idx_customer_order_data_fee_src_type_id`(`fee_src_type_id`) USING BTREE,
  INDEX `idx_customer_order_data_promotion_data_id`(`promotion_data_id`) USING BTREE,
  INDEX `idx_customer_order_data_ref_sale_id`(`ref_sale_id`) USING BTREE,
  INDEX `idx_customer_order_data_ref_sale_data_id`(`ref_sale_data_id`) USING BTREE,
  INDEX `idx_customer_order_data_fee_category_id`(`fee_category_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1013 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_order_data
-- ----------------------------
INSERT INTO `customer_order_data` VALUES (1, 1, 2159, 1.80, 1, NULL, NULL, '系统管理员', 1611703414, 1594147876, '系统管理员', 2.00, NULL, 3.60, 0, 0, NULL, 0, 1, 1, 0.00, NULL, 0.00, 0, 2.00, 0.00, NULL, NULL, 0, NULL, 0, 0, 0, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (2, 1, 20158, 0.00, 1, NULL, NULL, '系统管理员', 1611703414, 1594147876, '系统管理员', 1.00, NULL, 0.00, 0, 0, NULL, 0, 1, 1, 0.00, NULL, 0.00, 0, 1.00, 0.00, NULL, NULL, 0, NULL, 0, 0, 0, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (3, 1, 2164, 19.00, 1, NULL, NULL, '系统管理员', 1611703414, 1594147876, '系统管理员', 1.00, NULL, 19.00, 0, 0, NULL, 0, 1, 1, 0.00, NULL, 0.00, 0, 1.00, 0.00, NULL, NULL, 0, NULL, 0, 0, 0, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (4, 1, 2166, 0.50, 1, NULL, NULL, '系统管理员', 1611703414, 1594147876, '系统管理员', 1.00, NULL, 0.50, 0, 0, NULL, 0, 1, 1, 0.00, NULL, 0.00, 0, 1.00, 0.00, NULL, NULL, 0, NULL, 0, 0, 0, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (5, 1, 1433, 108.00, 1, NULL, NULL, '系统管理员', 1611703414, 1600286490, '系统管理员', 5.00, NULL, 540.00, NULL, NULL, NULL, NULL, 1, 1, 10.10, NULL, 0.00, 0, 5.00, 50.50, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (6, 1, 1436, 150.00, 1, NULL, NULL, '系统管理员', 1611703414, 1600286490, '系统管理员', 5.00, NULL, 750.00, NULL, NULL, NULL, NULL, 1, 1, 11.70, NULL, 0.00, 0, 5.00, 58.50, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (7, 1, 1437, 150.00, 1, NULL, NULL, '系统管理员', 1611703414, 1600286490, '系统管理员', 5.00, NULL, 750.00, NULL, NULL, NULL, NULL, 1, 1, 11.70, NULL, 0.00, 0, 5.00, 58.50, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (8, 2, 20409, 92.00, 1, NULL, NULL, '系统管理员', 1614280680, 1600299444, '系统管理员', 10.00, NULL, 920.00, 0, 0, NULL, 0, 1, 1, 7.20, NULL, 0.00, 0, 10.00, 72.00, NULL, NULL, 0, NULL, 0, 0, 0, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (9, 2, 20410, 92.00, 1, NULL, NULL, '系统管理员', 1614280680, 1600299444, '系统管理员', 10.00, NULL, 920.00, 0, 0, NULL, 0, 1, 1, 7.20, NULL, 0.00, 0, 10.00, 72.00, NULL, NULL, 0, NULL, 0, 0, 0, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (10, 2, 2164, 19.00, 1, NULL, NULL, '系统管理员', 1614280680, 1600299444, '系统管理员', 10.00, NULL, 190.00, 0, 0, NULL, 0, 1, 1, 0.00, NULL, 0.00, 0, 10.00, 0.00, NULL, NULL, 0, NULL, 0, 0, 0, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (1007, 1004, 2166, 0.50, 1, NULL, NULL, '系统管理员', 1617200697, 1602515605, '系统管理员', 5.00, NULL, 2.50, NULL, NULL, NULL, NULL, 1, 1, 0.00, NULL, 0.00, 0, 5.00, 0.00, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0);
INSERT INTO `customer_order_data` VALUES (1009, 1004, 1600, 130.00, 1, NULL, NULL, '系统管理员', 1617200697, 1611531575, '系统管理员', 10.00, NULL, 1300.00, NULL, NULL, NULL, NULL, 1, 1, 8.75, NULL, 0.00, NULL, 10.00, 87.50, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0);
INSERT INTO `customer_order_data` VALUES (1010, 1005, 1600, 130.00, 1, NULL, NULL, '系统管理员', 1616013229, 1615757949, '系统管理员', 12.00, NULL, 1560.00, NULL, NULL, NULL, NULL, 1, 1, 8.75, NULL, NULL, NULL, 12.00, 105.00, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `customer_order_data` VALUES (1011, 1006, 20410, 92.00, 1, NULL, NULL, '系统管理员', 1618164893, 1618164246, '系统管理员', 1.00, NULL, 92.00, NULL, NULL, NULL, NULL, 1, 1, 7.20, NULL, NULL, NULL, 1.00, 7.20, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for customer_order_type
-- ----------------------------
DROP TABLE IF EXISTS `customer_order_type`;
CREATE TABLE `customer_order_type`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type` tinyint(4) NULL DEFAULT NULL COMMENT '科目计算方式',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '科目名称',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '科目状态',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `link` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关联单据',
  `link_id` int(11) NULL DEFAULT NULL COMMENT '关联编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_order_type_link`(`link`) USING BTREE,
  INDEX `idx_customer_order_type_link_id`(`link_id`) USING BTREE,
  INDEX `idx_customer_order_type_type`(`type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_order_type
-- ----------------------------
INSERT INTO `customer_order_type` VALUES (1, 1, '普通', 1, NULL, 1, 1566974127, '1', 1587541465, '系统管理员', '', 0, 0, 1);
INSERT INTO `customer_order_type` VALUES (2, 0, '赠品', 0, NULL, 5, 0, '0', 1614530961, '系统管理员', 'promotion_product', 21, 0, 1);
INSERT INTO `customer_order_type` VALUES (3, 1, '样品', 1, '', 0, 0, '0', 1578866987, '0', 'market_cost', 22, 0, 1);
INSERT INTO `customer_order_type` VALUES (4, 1, '物料', 0, NULL, 0, 1572071906, '1', 1582841093, '系统管理员', '', 0, 0, 1);
INSERT INTO `customer_order_type` VALUES (5, 0, '费用', 1, NULL, 4, 1573419435, '0', 1614530954, '系统管理员', '', 0, 1, 1);

-- ----------------------------
-- Table structure for customer_price
-- ----------------------------
DROP TABLE IF EXISTS `customer_price`;
CREATE TABLE `customer_price`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `customer_id` int(11) NOT NULL COMMENT '所属客户',
  `product_id` int(11) NOT NULL COMMENT '产品名称',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '销售价格',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `status` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '状态',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_price_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_customer_price_product_id`(`product_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '公告表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_price
-- ----------------------------
INSERT INTO `customer_price` VALUES (1, 1, 1433, 0.00, NULL, '0', 1600286418, '系统管理员', 1, 1603204174, '系统管理员', 1);
INSERT INTO `customer_price` VALUES (2, 1, 1436, 0.00, NULL, '0', 1600286418, '系统管理员', 1, 1603204174, '系统管理员', 1);
INSERT INTO `customer_price` VALUES (3, 1, 1437, 0.00, NULL, '0', 1600286418, '系统管理员', 1, 1603204174, '系统管理员', 1);
INSERT INTO `customer_price` VALUES (4, 1, 20409, NULL, NULL, NULL, 1614191986, '系统管理员', 1, NULL, NULL, NULL);
INSERT INTO `customer_price` VALUES (5, 1, 20410, NULL, NULL, NULL, 1614191986, '系统管理员', 1, NULL, NULL, NULL);
INSERT INTO `customer_price` VALUES (6, 1, 20411, NULL, NULL, NULL, 1614191986, '系统管理员', 1, NULL, NULL, NULL);
INSERT INTO `customer_price` VALUES (7, 1, 1600, NULL, NULL, NULL, 1614191986, '系统管理员', 1, NULL, NULL, NULL);
INSERT INTO `customer_price` VALUES (8, 1, 20425, NULL, NULL, NULL, 1614191986, '系统管理员', 1, NULL, NULL, NULL);
INSERT INTO `customer_price` VALUES (9, 1, 20426, NULL, NULL, NULL, 1614191986, '系统管理员', 1, NULL, NULL, NULL);
INSERT INTO `customer_price` VALUES (10, 1, 2164, NULL, NULL, NULL, 1614191986, '系统管理员', 1, NULL, NULL, NULL);
INSERT INTO `customer_price` VALUES (11, 1, 2166, NULL, NULL, NULL, 1614191986, '系统管理员', 1, NULL, NULL, NULL);
INSERT INTO `customer_price` VALUES (12, 1, 20226, NULL, NULL, NULL, 1614191986, '系统管理员', 1, NULL, NULL, NULL);
INSERT INTO `customer_price` VALUES (13, 1, 1445, 0.00, NULL, NULL, 1615837861, '系统管理员', 1, 1619901266, '系统管理员', 1);

-- ----------------------------
-- Table structure for customer_region
-- ----------------------------
DROP TABLE IF EXISTS `customer_region`;
CREATE TABLE `customer_region`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NOT NULL COMMENT '上级',
  `layer` tinyint(4) NULL DEFAULT NULL COMMENT '层数',
  `lft` int(11) NULL DEFAULT NULL COMMENT '嵌套组左值',
  `rgt` int(11) NULL DEFAULT NULL COMMENT '嵌套组右值',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名字',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '描述',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `owner_user_id` int(11) NULL DEFAULT NULL COMMENT '圈审阅人',
  `owner_assist` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '圈查阅人',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建人',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_region_layer`(`layer`) USING BTREE,
  INDEX `idx_customer_region_lft_rgt`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_customer_region_owner_assist`(`owner_assist`) USING BTREE,
  INDEX `idx_customer_region_owner_user_id`(`owner_user_id`) USING BTREE,
  INDEX `idx_customer_region_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 110 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_region
-- ----------------------------
INSERT INTO `customer_region` VALUES (1, 0, 1, 1, 34, '北部战区', '', 1, 0, 4, NULL, '系统管理员', 1617433181, 0, '0', NULL, 0, 1);
INSERT INTO `customer_region` VALUES (2, 1, 2, 28, 33, '北部一区', '', 255, 0, 2110, '', '系统管理员', 1617433181, 0, '0', '', 0, 1);
INSERT INTO `customer_region` VALUES (3, 2, 3, 29, 30, '黑东战区', '', 1, 0, 0, '', '系统管理员', 1617433181, 0, '0', '', 0, 1);
INSERT INTO `customer_region` VALUES (4, 0, 1, 35, 70, '中部战区', '', 2, 0, 5672, NULL, '系统管理员', 1617433181, 0, '0', NULL, 0, 1);
INSERT INTO `customer_region` VALUES (5, 2, 3, 31, 32, '黑西战区', '', 2, 0, 0, '', '系统管理员', 1617433181, 0, '0', '', 0, 1);
INSERT INTO `customer_region` VALUES (6, 0, 1, 71, 106, '东部战区', '', 3, 0, NULL, '', '系统管理员', 1617433181, 0, '0', NULL, 0, 1);
INSERT INTO `customer_region` VALUES (7, 8, 2, 140, 147, '南部一区', '', 255, 0, 2102, NULL, '系统管理员', 1617433181, 0, '0', NULL, 0, 1);
INSERT INTO `customer_region` VALUES (8, 0, 1, 107, 148, '南部战区', '', 4, 0, NULL, NULL, '系统管理员', 1617433181, 0, '0', NULL, 0, 1);
INSERT INTO `customer_region` VALUES (9, 0, 1, 149, 186, '西部战区', '', 5, 0, 0, '', '系统管理员', 1617433181, 0, '0', '', 0, 1);
INSERT INTO `customer_region` VALUES (10, 34, 3, 109, 110, '南昌战区', '', 0, 0, 2127, '', '系统管理员', 1617433181, 0, '0', NULL, 0, 1);
INSERT INTO `customer_region` VALUES (21, 1, 2, 2, 11, '北部二区', '', 0, 0, 4, NULL, '系统管理员', 1617433181, 1576734996, '0', '测试2', 1, 1);
INSERT INTO `customer_region` VALUES (22, 1, 2, 12, 17, '北部三区', '', 0, 0, 2108, '', '系统管理员', 1617433181, 1576735008, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (23, 1, 2, 18, 27, '北部四区', '', 0, 0, 2111, '', '系统管理员', 1617433181, 1576735023, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (24, 4, 2, 36, 37, '中部一区', '', 0, 0, 2111, '', '系统管理员', 1617433181, 1576735056, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (25, 4, 2, 38, 49, '中部二区', '', 0, 0, 2106, '', '系统管理员', 1617433181, 1576735076, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (26, 4, 2, 50, 57, '中部三区', '', 0, 0, 2120, '', '系统管理员', 1617433181, 1576735090, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (27, 4, 2, 58, 63, '中部四区', '', 0, 0, 2107, '', '系统管理员', 1617433181, 1576735106, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (28, 4, 2, 64, 69, '中部五区', '', 0, 0, 2107, NULL, '系统管理员', 1617433181, 1576735118, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (29, 6, 2, 72, 77, '东部一区', '', 0, 0, 2118, '', '系统管理员', 1617433181, 1576735214, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (30, 6, 2, 78, 83, '东部二区', '', 0, 0, 2100, '', '系统管理员', 1617433181, 1576735244, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (31, 6, 2, 84, 93, '东部三区', '', 0, 0, 2103, '', '系统管理员', 1617433181, 1576735257, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (32, 6, 2, 94, 97, '东部四区', '', 0, 0, 2100, '', '系统管理员', 1617433181, 1576735271, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (33, 6, 2, 98, 105, '东部五区', '', 0, 0, 2114, '', '系统管理员', 1617433181, 1576735282, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (34, 8, 2, 108, 113, '南部二区', '', 0, 0, 2127, NULL, '系统管理员', 1617433181, 1576735367, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (35, 8, 2, 114, 123, '南部三区', '', 0, 0, 2104, NULL, '系统管理员', 1617433181, 1576735387, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (36, 8, 2, 124, 129, '南部四区', '', 0, 0, 2138, NULL, '系统管理员', 1617433181, 1576735401, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (37, 8, 2, 130, 139, '南部五区', '', 0, 0, 2119, '', '系统管理员', 1617433181, 1576735413, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (38, 9, 2, 150, 159, '西部一区', '', 0, 0, 2105, '', '系统管理员', 1617433181, 1576735463, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (39, 9, 2, 160, 167, '西部二区', '', 0, 0, 2117, '', '系统管理员', 1617433181, 1576735476, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (40, 9, 2, 168, 173, '西部三区', '', 0, 0, 2116, '', '系统管理员', 1617433181, 1576735491, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (41, 9, 2, 174, 181, '西部四区', '', 0, 0, 2109, NULL, '系统管理员', 1617433181, 1576735516, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (42, 21, 3, 3, 4, '沈阳战区', '', 0, 0, 3, '', '系统管理员', 1617433181, 1576735604, '0', '测试', 1, 1);
INSERT INTO `customer_region` VALUES (43, 21, 3, 5, 6, '大连战区', '', 0, 0, 2155, '', '系统管理员', 1617433181, 1576735617, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (44, 21, 3, 7, 8, '辽西战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576735643, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (45, 21, 3, 9, 10, '吉林战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576735662, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (46, 22, 3, 13, 14, '北京战区', '', 0, 0, 33739, NULL, '系统管理员', 1617433181, 1576735748, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (47, 22, 3, 15, 16, '天津冀北战区', '', 0, 0, 2151, '', '系统管理员', 1617433181, 1576735788, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (48, 23, 3, 19, 20, '冀中战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576735871, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (49, 23, 3, 21, 22, '冀南战区', '', 0, 0, 33581, NULL, '系统管理员', 1617433181, 1576735893, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (50, 23, 3, 23, 24, '蒙中战区', '', 0, 0, NULL, '', '系统管理员', 1617433181, 1576735995, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (51, 23, 3, 25, 26, '晋南战区', '', 0, 0, 2131, '', '系统管理员', 1617433181, 1576736008, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (52, 25, 3, 39, 40, '胶东战区', '', 0, 0, 2144, '', '系统管理员', 1617433181, 1576736023, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (53, 25, 3, 41, 42, '青岛战区', '', 0, 0, 2149, '', '系统管理员', 1617433181, 1576736109, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (54, 25, 3, 43, 44, '鲁中战区', '', 0, 0, 2164, NULL, '系统管理员', 1617433181, 1576736127, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (55, 25, 3, 45, 46, '鲁南战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576736138, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (56, 25, 3, 47, 48, '济南战区', '', 0, 0, 2139, '', '系统管理员', 1617433181, 1576736151, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (57, 26, 3, 51, 52, '豫北战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576736165, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (58, 26, 3, 53, 54, '豫中战区', '', 0, 0, 2147, '', '系统管理员', 1617433181, 1576736176, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (59, 26, 3, 55, 56, '豫南战区', '', 0, 0, 2153, '', '系统管理员', 1617433181, 1576736186, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (60, 27, 3, 59, 60, '鄂西战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576736247, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (61, 27, 3, 61, 62, '鄂东战区', '', 0, 0, 2134, '', '系统管理员', 1617433181, 1576736259, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (62, 28, 3, 65, 66, '湘北战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576736306, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (63, 28, 3, 67, 68, '湘南战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576736316, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (64, 29, 3, 73, 74, '苏北战区1', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576736397, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (65, 30, 3, 79, 80, '苏州战区', '', 0, 0, 33579, NULL, '系统管理员', 1617433181, 1576736419, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (66, 30, 3, 81, 82, '南通战区', '', 0, 0, 2176, NULL, '系统管理员', 1617433181, 1576736448, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (67, 31, 3, 85, 86, '浙北战区', '', 0, 0, 2132, '', '系统管理员', 1617433181, 1576736473, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (68, 31, 3, 87, 88, '浙东战区', '', 0, 0, 2128, '', '系统管理员', 1617433181, 1576736488, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (69, 31, 3, 89, 90, '浙南战区', '', 0, 0, 2150, '', '系统管理员', 1617433181, 1576736521, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (70, 31, 3, 91, 92, '浙中战区', '', 0, 0, 33775, NULL, '系统管理员', 1617433181, 1576736546, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (71, 32, 3, 95, 96, '上海战区', '', 0, 0, 2145, '', '系统管理员', 1617433181, 1576736570, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (72, 33, 3, 99, 100, '南京战区', '', 0, 0, 2133, '', '系统管理员', 1617433181, 1576736587, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (73, 33, 3, 101, 102, '皖南战区', '', 0, 0, 2152, '', '系统管理员', 1617433181, 1576736606, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (74, 33, 3, 103, 104, '皖北战区', '', 0, 0, 0, NULL, '系统管理员', 1617433181, 1576736624, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (75, 7, 3, 141, 142, '福州战区', '', 0, 0, 2136, '', '系统管理员', 1617433181, 1576736701, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (76, 7, 3, 143, 144, '泉州战区', '', 0, 0, 2137, '', '系统管理员', 1617433181, 1576736717, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (77, 7, 3, 145, 146, '厦门战区', '', 0, 0, 33711, NULL, '系统管理员', 1617433181, 1576736733, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (78, 34, 3, 111, 112, '地州战区', '', 0, 0, 2127, '', '系统管理员', 1617433181, 1576736839, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (79, 35, 3, 115, 116, '深圳战区', '', 0, 0, 33580, NULL, '系统管理员', 1617433181, 1576736866, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (80, 35, 3, 117, 118, '东莞战区', '', 0, 0, 2158, '', '系统管理员', 1617433181, 1576736884, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (81, 35, 3, 119, 120, '粤东战区', '', 0, 0, 2148, '', '系统管理员', 1617433181, 1576736896, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (82, 35, 3, 121, 122, '粤北战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576736923, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (83, 36, 3, 125, 126, '广州战区', '', 0, 0, 2138, '', '系统管理员', 1617433181, 1576736948, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (84, 37, 3, 131, 132, '中山战区', '', 0, 0, 2142, NULL, '系统管理员', 1617433181, 1576736964, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (85, 36, 3, 127, 128, '粤西战区', '', 0, 0, NULL, '', '系统管理员', 1617433181, 1576736988, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (86, 37, 3, 133, 134, '广西战区1', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576737013, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (87, 37, 3, 135, 136, '海南战区', '', 0, 0, 2130, '', '系统管理员', 1617433181, 1576737028, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (88, 38, 3, 151, 152, '成都战区', '', 0, 0, 2146, '', '系统管理员', 1617433181, 1576737075, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (89, 38, 3, 153, 154, '本部战区1', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576737091, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (90, 108, 3, 183, 184, '云贵战区', '', 0, 0, 0, NULL, '系统管理员', 1617433181, 1576737108, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (91, 38, 3, 155, 156, '贵州战区', '', 0, 0, 100122, '', '系统管理员', 1617433181, 1576737122, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (92, 39, 3, 161, 162, '主城战区', '', 0, 0, 2165, NULL, '系统管理员', 1617433181, 1576737143, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (93, 39, 3, 163, 164, '渝东战区', '', 0, 0, 2135, '', '系统管理员', 1617433181, 1576737157, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (94, 39, 3, 165, 166, '渝西战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576737168, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (95, 40, 3, 169, 170, '西安战区', '', 0, 0, 33774, NULL, '系统管理员', 1617433181, 1576737180, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (96, 40, 3, 171, 172, '关中战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576737197, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (97, 41, 3, 175, 176, '甘青战区', '', 0, 0, 2163, NULL, '系统管理员', 1617433181, 1576737210, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (98, 41, 3, 177, 178, '新藏战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576737221, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (99, 41, 3, 179, 180, '宁夏战区', '', 0, 0, 0, '', '系统管理员', 1617433181, 1576737233, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (100, 0, 1, 187, 196, '其他', '', 255, 0, 0, '', '系统管理员', 1617433181, 1577255062, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (101, 100, 2, 188, 195, '其他', '', 0, 0, 0, '', '系统管理员', 1617433181, 1577255108, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (102, 101, 3, 189, 190, '网络营销', '', 0, 0, 2094, '2095,33591', '系统管理员', 1617433181, 1577255187, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (103, 101, 3, 191, 192, '国际贸易', '', 0, 0, 2042, '2043', '系统管理员', 1617433181, 1577255206, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (104, 101, 3, 193, 194, '其他', '', 0, 0, 0, '', '系统管理员', 1617433181, 1577255233, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (105, 38, 3, 157, 158, '本部战区2', '', 0, 0, 0, '', '系统管理员', 1617433181, 1577261319, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (106, 29, 3, 75, 76, '苏北战区2', '', 0, 0, 0, '', '系统管理员', 1617433181, 1577545136, '0', '', 1, 1);
INSERT INTO `customer_region` VALUES (107, 37, 3, 137, 138, '广西战区2', '', 0, 0, 2142, '', '系统管理员', 1617433181, 1577546833, '0', NULL, 1, 1);
INSERT INTO `customer_region` VALUES (108, 9, 2, 182, 185, '西部五区', NULL, 0, 0, 2113, NULL, '系统管理员', 1617433181, 1585900773, '系统管理员', NULL, 1, 1);

-- ----------------------------
-- Table structure for customer_region_task
-- ----------------------------
DROP TABLE IF EXISTS `customer_region_task`;
CREATE TABLE `customer_region_task`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `year` smallint(6) NULL DEFAULT NULL COMMENT '年份',
  `status` smallint(6) NULL DEFAULT NULL COMMENT '状态',
  `date` date NULL DEFAULT NULL COMMENT '单据日期',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_region_task_sn`(`sn`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_region_task
-- ----------------------------

-- ----------------------------
-- Table structure for customer_region_task_data
-- ----------------------------
DROP TABLE IF EXISTS `customer_region_task_data`;
CREATE TABLE `customer_region_task_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `task_id` int(11) NOT NULL COMMENT '任务ID',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `month1` decimal(10, 2) NULL DEFAULT NULL COMMENT '1月',
  `month2` decimal(10, 2) NULL DEFAULT NULL COMMENT '2月',
  `month3` decimal(10, 2) NULL DEFAULT NULL COMMENT '3月',
  `month4` decimal(10, 2) NULL DEFAULT NULL COMMENT '4月',
  `month5` decimal(10, 2) NULL DEFAULT NULL COMMENT '5月',
  `month6` decimal(10, 2) NULL DEFAULT NULL COMMENT '6月',
  `month7` decimal(10, 2) NULL DEFAULT NULL COMMENT '7月',
  `month8` decimal(10, 2) NULL DEFAULT NULL COMMENT '8月',
  `month9` decimal(10, 2) NULL DEFAULT NULL COMMENT '9月',
  `month10` decimal(10, 2) NULL DEFAULT NULL COMMENT '10月',
  `month11` decimal(10, 2) NULL DEFAULT NULL COMMENT '11月',
  `month12` decimal(10, 2) NULL DEFAULT NULL COMMENT '12月',
  `total` decimal(10, 2) NULL DEFAULT NULL COMMENT '合计(万)',
  `code` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编号',
  `region_id` int(11) NULL DEFAULT NULL COMMENT '销售区域',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_region_task_data_region_id`(`region_id`) USING BTREE,
  INDEX `idx_customer_region_task_data_task_id`(`task_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_region_task_data
-- ----------------------------

-- ----------------------------
-- Table structure for customer_task
-- ----------------------------
DROP TABLE IF EXISTS `customer_task`;
CREATE TABLE `customer_task`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `year` smallint(6) NULL DEFAULT NULL COMMENT '年份',
  `status` smallint(6) NULL DEFAULT NULL COMMENT '状态',
  `date` date NULL DEFAULT NULL COMMENT '单据日期',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_task_sn`(`sn`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_task
-- ----------------------------
INSERT INTO `customer_task` VALUES (1, 2020, 0, '2020-10-12', 1602516750, '系统管理员', '系统管理员', 1615845758, 1, 1, '202010120001', NULL);
INSERT INTO `customer_task` VALUES (2, 2022, NULL, '2021-06-28', 1624882518, '系统管理员', NULL, NULL, 1, NULL, '202106280001', '212');

-- ----------------------------
-- Table structure for customer_task_data
-- ----------------------------
DROP TABLE IF EXISTS `customer_task_data`;
CREATE TABLE `customer_task_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `task_id` int(11) NOT NULL COMMENT '任务ID',
  `customer_id` int(11) NOT NULL COMMENT '所属客户',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `month1` decimal(10, 2) NULL DEFAULT NULL COMMENT '1月',
  `month2` decimal(10, 2) NULL DEFAULT NULL COMMENT '2月',
  `month3` decimal(10, 2) NULL DEFAULT NULL COMMENT '3月',
  `month4` decimal(10, 2) NULL DEFAULT NULL COMMENT '4月',
  `month5` decimal(10, 2) NULL DEFAULT NULL COMMENT '5月',
  `month6` decimal(10, 2) NULL DEFAULT NULL COMMENT '6月',
  `month7` decimal(10, 2) NULL DEFAULT NULL COMMENT '7月',
  `month8` decimal(10, 2) NULL DEFAULT NULL COMMENT '8月',
  `month9` decimal(10, 2) NULL DEFAULT NULL COMMENT '9月',
  `month10` decimal(10, 2) NULL DEFAULT NULL COMMENT '10月',
  `month11` decimal(10, 2) NULL DEFAULT NULL COMMENT '11月',
  `month12` decimal(10, 2) NULL DEFAULT NULL COMMENT '12月',
  `total` decimal(10, 2) NULL DEFAULT NULL COMMENT '合计(万)',
  `code` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_customer_task_data_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_code`(`code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_task_data
-- ----------------------------
INSERT INTO `customer_task_data` VALUES (1, 1, 1, 1602516750, '系统管理员', '系统管理员', 1615845758, 1, 1, 1.00, 2.00, 3.00, 2.00, 3.00, 3.00, 32.00, 3.00, 3.00, 3.00, 213.00, 3.00, 271.00, '123');
INSERT INTO `customer_task_data` VALUES (2, 2, 2, 1624882518, '系统管理员', NULL, NULL, 1, NULL, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 10.00, 120.00, '12');

-- ----------------------------
-- Table structure for customer_tax
-- ----------------------------
DROP TABLE IF EXISTS `customer_tax`;
CREATE TABLE `customer_tax`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `customer_id` int(11) NOT NULL COMMENT '客户名称',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `tax_number` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '纳税人识别号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '说明',
  `status` smallint(6) NULL DEFAULT NULL COMMENT '状态',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `type` tinyint(4) NULL DEFAULT NULL COMMENT '类型',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `bank_name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '开户银行',
  `bank_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '开户银行地址',
  `bank_account` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '银行帐号',
  `tel` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '电话号码',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公司地址',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '部门',
  `class_id` int(11) NULL DEFAULT NULL COMMENT '分类',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_customer_tax_code`(`code`) USING BTREE,
  INDEX `idx_customer_tax_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_customer_tax_type`(`type`) USING BTREE,
  INDEX `idx_customer_tax_department_id`(`department_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '公告表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_tax
-- ----------------------------
INSERT INTO `customer_tax` VALUES (1, 1, '王二小食品有限公司', '01001', '识别号', '备注', 1, 0, NULL, 1594147787, '系统管理员', 1, '系统管理员', 1614186353, 1, '开户银行', '开户地址', '银行帐号', '电话号码', '公司地址', 17, 157);
INSERT INTO `customer_tax` VALUES (2, 1, '李苦', '01002', NULL, NULL, 1, NULL, NULL, 1603204159, '系统管理员', 1, '系统管理员', 1614186357, 1, NULL, NULL, NULL, NULL, NULL, 8, 147);
INSERT INTO `customer_tax` VALUES (3, 2, '123', '123456', NULL, NULL, 1, NULL, NULL, 1620468708, '系统管理员', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 17, 149);
INSERT INTO `customer_tax` VALUES (4, 3, '111222', '111222', NULL, NULL, 1, NULL, NULL, 1620469893, '系统管理员', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 17, 149);
INSERT INTO `customer_tax` VALUES (5, 4, '222333', '222333', NULL, NULL, 1, NULL, NULL, 1620470030, '系统管理员', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, 147);
INSERT INTO `customer_tax` VALUES (6, 5, '重庆麻辣烫火锅有限公司', '00005', '无', NULL, 1, NULL, NULL, 1620470485, '系统管理员', 1, NULL, NULL, NULL, '无', '无', '无', NULL, NULL, 25, 145);

-- ----------------------------
-- Table structure for customer_type
-- ----------------------------
DROP TABLE IF EXISTS `customer_type`;
CREATE TABLE `customer_type`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建人',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of customer_type
-- ----------------------------
INSERT INTO `customer_type` VALUES (1, '内销', 1, '', 1, '0', 1573254906, 0, '0', 0, 1);
INSERT INTO `customer_type` VALUES (2, '外贸', 1, '', 2, '0', 1573254917, 0, '0', 0, 1);
INSERT INTO `customer_type` VALUES (3, '直营', 1, '', 4, '0', 1579444471, 0, '0', 0, 1);
INSERT INTO `customer_type` VALUES (5, '网销', 1, NULL, 3, '系统管理员', 1580837328, 1577352295, '0', 1, 1);

-- ----------------------------
-- Table structure for department
-- ----------------------------
DROP TABLE IF EXISTS `department`;
CREATE TABLE `department`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NULL DEFAULT NULL COMMENT '父级编号',
  `lft` int(11) NULL DEFAULT NULL COMMENT '嵌套组左值',
  `rgt` int(11) NULL DEFAULT NULL COMMENT '嵌套组右值',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `tel` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '部门电话',
  `fax` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '部门传真',
  `manager` int(11) NULL DEFAULT NULL COMMENT '部门主管',
  `leader` int(11) NULL DEFAULT NULL COMMENT '上级主管',
  `superior` int(11) NULL DEFAULT NULL COMMENT '上级分管',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '部门职能',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编号',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_department_code`(`code`) USING BTREE,
  INDEX `idx_department_lft_rgt`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_department_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '组织架构表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of department
-- ----------------------------
INSERT INTO `department` VALUES (1, 0, 1, 2, '董事办', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '01', 1);
INSERT INTO `department` VALUES (2, 0, 17, 18, '财务部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '03', 1);
INSERT INTO `department` VALUES (3, 0, 15, 16, '采购部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, '', 1, 1, '', 1);
INSERT INTO `department` VALUES (4, 0, 13, 14, '仓储部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '07', 1);
INSERT INTO `department` VALUES (5, 0, 11, 12, '工程部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '14', 1);
INSERT INTO `department` VALUES (8, 0, 9, 10, '行政部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, '', 1, 1, '', 1);
INSERT INTO `department` VALUES (11, 0, 7, 8, '品管部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '06', 1);
INSERT INTO `department` VALUES (13, 0, 5, 6, '人事部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, NULL, 1);
INSERT INTO `department` VALUES (15, 0, 3, 4, '审计部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '15', 1);
INSERT INTO `department` VALUES (16, NULL, 31, 34, '生产部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1580462951, NULL, 1, 1, '05', 1);
INSERT INTO `department` VALUES (17, 0, 19, 28, '营销中心', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '02', 1);
INSERT INTO `department` VALUES (18, 17, 20, 21, '客服部', NULL, NULL, 2088, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '0202', 1);
INSERT INTO `department` VALUES (19, 17, 22, 23, '网络营销部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '11', 1);
INSERT INTO `department` VALUES (20, 17, 24, 25, '销售部', NULL, NULL, 0, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '0201', 1);
INSERT INTO `department` VALUES (21, 17, 26, 27, '市场部', NULL, NULL, 2160, 0, 0, 255, NULL, 1577110265, '系统管理员', '系统管理员', 1616183473, NULL, 1, 1, '0203', 1);
INSERT INTO `department` VALUES (22, 16, 32, 33, '生产(普通)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580462926, '系统管理员', '系统管理员', 1580463007, NULL, 1, 1, '0501', 0);
INSERT INTO `department` VALUES (23, 16, NULL, NULL, '生产(改箱)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580463024, '系统管理员', NULL, NULL, NULL, 1, NULL, '0502', 0);
INSERT INTO `department` VALUES (24, 16, NULL, NULL, '车间(三)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580463045, '系统管理员', '系统管理员', 1580837826, NULL, 1, 1, '0513', 0);
INSERT INTO `department` VALUES (25, 16, NULL, NULL, '车间(一)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580463075, '系统管理员', NULL, NULL, NULL, 1, NULL, '0511', 0);
INSERT INTO `department` VALUES (26, 16, NULL, NULL, '车间(二)', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1580463111, '系统管理员', NULL, NULL, NULL, 1, NULL, '0512', 0);

-- ----------------------------
-- Table structure for file
-- ----------------------------
DROP TABLE IF EXISTS `file`;
CREATE TABLE `file`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NULL DEFAULT NULL COMMENT '父节编号',
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '附件目录',
  `folder` tinyint(4) NULL DEFAULT NULL COMMENT '是文件夹',
  `public` tinyint(4) NULL DEFAULT NULL COMMENT '公共文档',
  `use_count` tinyint(4) NULL DEFAULT NULL COMMENT '文件使用次数',
  `type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件类型',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '保存文件名',
  `size` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件字节',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '文件状态',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '描述',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_file_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of file
-- ----------------------------

-- ----------------------------
-- Table structure for file_certificate
-- ----------------------------
DROP TABLE IF EXISTS `file_certificate`;
CREATE TABLE `file_certificate`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件类型',
  `size` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件大小',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件路径',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '文件状态',
  `hits` int(11) NULL DEFAULT NULL COMMENT '点击数',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` int(11) NULL DEFAULT NULL COMMENT '添加时间',
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of file_certificate
-- ----------------------------
INSERT INTO `file_certificate` VALUES (1, 'jpg', '182036', '微信图片_20200922001429', 'certificate/2020/10/12110039_r6hm.jpg', 1, NULL, '系统管理员', '系统管理员', 1602514839, 1602514839, 1, 1);

-- ----------------------------
-- Table structure for file_inspect_report
-- ----------------------------
DROP TABLE IF EXISTS `file_inspect_report`;
CREATE TABLE `file_inspect_report`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件类型',
  `size` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件大小',
  `name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '保存文件名',
  `path` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件路径',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '文件状态',
  `hits` int(11) NULL DEFAULT NULL COMMENT '点击数',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` int(11) NULL DEFAULT NULL COMMENT '添加时间',
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of file_inspect_report
-- ----------------------------

-- ----------------------------
-- Table structure for forum
-- ----------------------------
DROP TABLE IF EXISTS `forum`;
CREATE TABLE `forum`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NOT NULL DEFAULT 0 COMMENT '父类编号',
  `lft` int(11) NOT NULL DEFAULT 0 COMMENT '嵌套组左值',
  `rgt` int(11) NOT NULL DEFAULT 0 COMMENT '嵌套组右值',
  `scope_department_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '部门编号',
  `scope_role_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '角色编号',
  `scope_user_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '用户编号',
  `scope_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '访问权限',
  `scope_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '访问权限名称',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '分类名称',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '分类描述',
  `state` tinyint(4) NOT NULL DEFAULT 1 COMMENT '板块状态',
  `sort` tinyint(4) NOT NULL DEFAULT 0 COMMENT '排序',
  `add_user_id` int(11) NOT NULL DEFAULT 0 COMMENT '添加用户编号',
  `edit_user_id` int(11) NOT NULL DEFAULT 0 COMMENT '编辑用户编号',
  `add_time` int(11) NOT NULL DEFAULT 0 COMMENT '添加时间',
  `edit_time` int(11) NOT NULL DEFAULT 0 COMMENT '编辑时间',
  `path` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '路径',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_forum_lft_rgt`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_forum_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of forum
-- ----------------------------
INSERT INTO `forum` VALUES (1, 0, 41, 48, '26,22,23,12', '', '', 'd12,d26,d11', '销售部,总经办,行政办公室', '销售方法专题版块', '这是默认版块，你可以在版块列表里修改它的名字', 1, 0, 0, 278, 1342408006, 1418783791, '');
INSERT INTO `forum` VALUES (12, 0, 0, 0, '', '', '', 'd23,d26', '推广部,总经办', '推广专题板块', '', 1, 0, 0, 0, 0, 0, '');
INSERT INTO `forum` VALUES (13, 0, 0, 0, '', '', '', 'r18,d26,r1', '军区销售,总经办,系统管理员', '销售管理专题板块', '', 1, 0, 0, 0, 0, 0, '');
INSERT INTO `forum` VALUES (14, 0, 0, 0, '', '', '', 'd1,d26,d23,d12,d37,d22,d35,d27,d4,d21,d3,d20,d24,d5,d33,d11,d34,d38,d25', '董事办,总经办,推广部,销售部,网络销售,客户部,采购部,供应商,营运部,致味部,生产部,品管部,营运部,财务部,人事办公室,行政办公室,公共关系办公室,工程部,审计部', '工作效率专题板块', '', 1, 0, 0, 0, 0, 0, '');
INSERT INTO `forum` VALUES (15, 0, 0, 0, '', '', '', 'd12,d26,r1', '销售部,总经办,系统管理员', '销售心态专题板块', '', 1, 0, 0, 0, 0, 0, '');
INSERT INTO `forum` VALUES (16, 0, 0, 0, '', '', '', 'd12,d22,r1', '销售部,客户部,系统管理员', '客户经营管理专题板块', '', 1, 0, 0, 0, 0, 0, '');

-- ----------------------------
-- Table structure for forum_post
-- ----------------------------
DROP TABLE IF EXISTS `forum_post`;
CREATE TABLE `forum_post`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `forum_id` int(11) NOT NULL DEFAULT 0 COMMENT '类别编号',
  `parent_id` int(11) NOT NULL DEFAULT 0 COMMENT '父节点编号',
  `attachment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '附件集合',
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '标题',
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '正文',
  `hit` int(11) NOT NULL DEFAULT 0 COMMENT '点击率',
  `state` tinyint(4) NOT NULL DEFAULT 1 COMMENT '状态',
  `add_user_id` int(11) NOT NULL DEFAULT 0 COMMENT '发布者编号',
  `edit_user_id` int(11) NOT NULL DEFAULT 0 COMMENT '编辑用户',
  `edit_time` int(11) NOT NULL DEFAULT 0 COMMENT '编辑时间',
  `add_time` int(11) NOT NULL DEFAULT 0 COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_forum_post_add_user_id`(`add_user_id`) USING BTREE,
  INDEX `idx_forum_post_forum_id`(`forum_id`) USING BTREE,
  INDEX `idx_forum_post_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '公告表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of forum_post
-- ----------------------------
INSERT INTO `forum_post` VALUES (1, 13, 0, '26,28', '1221', '<p>1212<br/>233</p>', 1, 1, 1, 0, 0, 1620473205);
INSERT INTO `forum_post` VALUES (2, 0, 1, '27', NULL, '<p>21212<br/></p>', 0, 1, 1, 0, 0, 1620473628);

-- ----------------------------
-- Table structure for logistics
-- ----------------------------
DROP TABLE IF EXISTS `logistics`;
CREATE TABLE `logistics`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公司性质',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户编号',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '添加时间',
  `nature` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '企业性质',
  `legal` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '法人代表',
  `route` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运输线路',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `business_liaison` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '业务联络人',
  `business_phone` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '业务电话',
  `query_phone` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货物查询电话',
  `finance_liaison` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '财务联系人',
  `finance_phone` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '财务联系人电话',
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公司地址',
  `contract_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '合同运价',
  `contract_date` date NULL DEFAULT NULL COMMENT '合同日期',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '附件',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `short_car_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '短途车牌号',
  `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20047 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of logistics
-- ----------------------------
INSERT INTO `logistics` VALUES (27, '隆翔', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13568828359', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL);
INSERT INTO `logistics` VALUES (28, '晋川（盟立）', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13808227758', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '2', NULL);
INSERT INTO `logistics` VALUES (29, '阳晨', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02883908215', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3', NULL);
INSERT INTO `logistics` VALUES (30, '鑫忠安', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02883028590', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '4', NULL);
INSERT INTO `logistics` VALUES (31, '兴旺', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02861601139', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5', NULL);
INSERT INTO `logistics` VALUES (32, '晨之光', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02861601099', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '6', NULL);
INSERT INTO `logistics` VALUES (33, '通宝', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '15828371279', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '7', NULL);
INSERT INTO `logistics` VALUES (34, '川浙', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '83995522', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', NULL);
INSERT INTO `logistics` VALUES (35, '杰缘（陕西）', '徐桥', 1590396182, NULL, NULL, NULL, NULL, NULL, 1, NULL, '15802833566', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, NULL, 2035, NULL, '9', NULL);
INSERT INTO `logistics` VALUES (36, '杰缘（合肥）', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '15928903978', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '10', NULL);
INSERT INTO `logistics` VALUES (37, '东方联', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '15102886989', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '11', NULL);
INSERT INTO `logistics` VALUES (38, '库西诚', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13808221303', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '12', NULL);
INSERT INTO `logistics` VALUES (39, '全邦', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02868635185', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '13', NULL);
INSERT INTO `logistics` VALUES (40, '优度', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02861791233', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '14', NULL);
INSERT INTO `logistics` VALUES (41, '蒙通', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02883084678', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '15', NULL);
INSERT INTO `logistics` VALUES (42, '中衡运', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02861791099', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '16', NULL);
INSERT INTO `logistics` VALUES (43, '闽通', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13808027470', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '17', NULL);
INSERT INTO `logistics` VALUES (44, '中旺', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13980806230', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '18', NULL);
INSERT INTO `logistics` VALUES (45, '立全', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13568900858', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '19', NULL);
INSERT INTO `logistics` VALUES (46, '宏英', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18113045286', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '20', NULL);
INSERT INTO `logistics` VALUES (47, '红金荣', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, ' 028-82076066', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '21', NULL);
INSERT INTO `logistics` VALUES (48, '通安达', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13258330636', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '22', NULL);
INSERT INTO `logistics` VALUES (49, '宽道', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18702829708', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '23', NULL);
INSERT INTO `logistics` VALUES (50, '天海成', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13708071402', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '24', NULL);
INSERT INTO `logistics` VALUES (51, '瑞川', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18608111775', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '25', NULL);
INSERT INTO `logistics` VALUES (52, '顺安', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02882076067', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '26', NULL);
INSERT INTO `logistics` VALUES (53, '银溪', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02865596706', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '27', NULL);
INSERT INTO `logistics` VALUES (54, '神鹰', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13096350366', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '28', NULL);
INSERT INTO `logistics` VALUES (55, '上升', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '028-82076061', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '29', NULL);
INSERT INTO `logistics` VALUES (56, '中诺', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13688139799', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '30', NULL);
INSERT INTO `logistics` VALUES (57, '信天游', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13990300481', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '31', NULL);
INSERT INTO `logistics` VALUES (58, '鑫中通', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13086695978', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '32', NULL);
INSERT INTO `logistics` VALUES (59, '张世伟', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '17781164566', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川Z05705', '33', NULL);
INSERT INTO `logistics` VALUES (61, '王平', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13990350358', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川AN5627', '35', NULL);
INSERT INTO `logistics` VALUES (62, '谢小权', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13908085510', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川ZDB875', '36', NULL);
INSERT INTO `logistics` VALUES (63, '郑学明', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13890368336', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川Z53263', '37', NULL);
INSERT INTO `logistics` VALUES (64, '李孟超', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13350522852', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川ZAP032', '38', NULL);
INSERT INTO `logistics` VALUES (65, '隆元波', '系统管理员', 1585958189, NULL, NULL, NULL, NULL, NULL, 1, NULL, '15196840630', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, NULL, 1, '川AP6080', '39', NULL);
INSERT INTO `logistics` VALUES (20001, '罗红德', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13890301172', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川M18907', '40', NULL);
INSERT INTO `logistics` VALUES (20002, '汇峰', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '15203778875', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '41', NULL);
INSERT INTO `logistics` VALUES (20003, '恒之心', '徐桥', 1590397594, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13880154468', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, NULL, 2035, '1', '42', NULL);
INSERT INTO `logistics` VALUES (20004, '导航', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02883960944', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '43', NULL);
INSERT INTO `logistics` VALUES (20005, '刘三姐', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13990308047', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川Z28768', '44', NULL);
INSERT INTO `logistics` VALUES (20006, '金蜀', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18202852488', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '45', NULL);
INSERT INTO `logistics` VALUES (20007, '外调', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '46', NULL);
INSERT INTO `logistics` VALUES (20008, '智圣物流', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18602836950', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '47', NULL);
INSERT INTO `logistics` VALUES (20009, '蜀闽', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13882100313', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '48', NULL);
INSERT INTO `logistics` VALUES (20010, '交通', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18328305358', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '49', NULL);
INSERT INTO `logistics` VALUES (20011, '荣平', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13778885925', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川Z60656', '50', NULL);
INSERT INTO `logistics` VALUES (20012, '都征', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02869291922', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '51', NULL);
INSERT INTO `logistics` VALUES (20013, '川通', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02861658879', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '34', NULL);
INSERT INTO `logistics` VALUES (20014, '蜀襄', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13981844229', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '52', NULL);
INSERT INTO `logistics` VALUES (20015, '许崇伟', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18090096328', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川AP3635', '52', NULL);
INSERT INTO `logistics` VALUES (20016, '杰缘（南京）', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02862369576', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '52', NULL);
INSERT INTO `logistics` VALUES (20017, '盛丰物流', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02888459708', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '52', NULL);
INSERT INTO `logistics` VALUES (20018, '巴运', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02861601180', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '52', NULL);
INSERT INTO `logistics` VALUES (20019, '炬亮', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02865551713', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '53', NULL);
INSERT INTO `logistics` VALUES (20020, '巧灵通', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13568257397', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '52', NULL);
INSERT INTO `logistics` VALUES (20021, '递易物流', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18108260859', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '52', NULL);
INSERT INTO `logistics` VALUES (20023, '侯师', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18628926853', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '渝BL8593', '55', NULL);
INSERT INTO `logistics` VALUES (20024, '雄哥', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13648187836', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川AG1627', '56', NULL);
INSERT INTO `logistics` VALUES (20025, '程翔', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02865551867', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '40', NULL);
INSERT INTO `logistics` VALUES (20026, '维佳', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13739487711', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '57', NULL);
INSERT INTO `logistics` VALUES (20027, '湘辉', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13808002751', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '58', NULL);
INSERT INTO `logistics` VALUES (20028, '纵惯', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '17380945800', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '52', NULL);
INSERT INTO `logistics` VALUES (20029, '效起', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02865550522', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '52', NULL);
INSERT INTO `logistics` VALUES (20030, '三志', '徐桥', 1586596524, NULL, NULL, NULL, NULL, NULL, 1, NULL, '19136089361', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, NULL, 2035, '1', '53', NULL);
INSERT INTO `logistics` VALUES (20031, '万城达', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '4000825656', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '54', NULL);
INSERT INTO `logistics` VALUES (20032, '陈亮', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13778849922', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '川Z25907', '52', NULL);
INSERT INTO `logistics` VALUES (20033, '精越物流', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '18284594032', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '60', NULL);
INSERT INTO `logistics` VALUES (20034, '中道物流', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02865551758', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '61', NULL);
INSERT INTO `logistics` VALUES (20035, '天赋', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '13625592428', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '63', NULL);
INSERT INTO `logistics` VALUES (20036, '鸿人达', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02865596702', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '64', NULL);
INSERT INTO `logistics` VALUES (20037, '垒洋', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '15928525973', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '65', NULL);
INSERT INTO `logistics` VALUES (20038, '盛恒', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '02861791778', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '66', NULL);
INSERT INTO `logistics` VALUES (20039, '宇辉', '系统管理员', 1580837274, NULL, NULL, NULL, 'VB产出VB', NULL, 1, NULL, '02867315979', NULL, '非官方个', NULL, '\n\n\n', 0.00, NULL, NULL, NULL, 1, '1', '67', NULL);
INSERT INTO `logistics` VALUES (20040, '紫金鹏', NULL, NULL, '徐桥', 1586758893, NULL, NULL, NULL, 0, NULL, '02861791626', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, 2035, NULL, NULL, NULL, NULL);
INSERT INTO `logistics` VALUES (20041, '腾辉', NULL, NULL, '徐桥', 1587022902, NULL, NULL, NULL, 0, NULL, '02867327488', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, 2035, NULL, NULL, NULL, NULL);
INSERT INTO `logistics` VALUES (20042, '环粤', NULL, NULL, '徐桥', 1587038265, NULL, NULL, NULL, 0, NULL, '02861601068', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, 2035, NULL, NULL, NULL, NULL);
INSERT INTO `logistics` VALUES (20043, '忠威', NULL, NULL, '徐桥', 1589940793, NULL, NULL, NULL, 1, NULL, '02865551610', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, 2035, NULL, NULL, NULL, NULL);
INSERT INTO `logistics` VALUES (20044, '睿杰', NULL, NULL, '徐桥', 1590397631, NULL, NULL, NULL, 1, NULL, '15884547116', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, 2035, NULL, NULL, NULL, NULL);
INSERT INTO `logistics` VALUES (20045, '森洲', NULL, NULL, '徐桥', 1591574284, NULL, NULL, NULL, 1, NULL, '13881883556', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, 2035, NULL, NULL, NULL, NULL);
INSERT INTO `logistics` VALUES (20046, '景豪', NULL, NULL, '彭科', 1592548994, NULL, NULL, NULL, 1, NULL, '18284594032', NULL, NULL, NULL, '\n\n\n', 0.00, NULL, NULL, 2035, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for mail
-- ----------------------------
DROP TABLE IF EXISTS `mail`;
CREATE TABLE `mail`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '名称',
  `smtp` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'SMTP服务器',
  `port` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'SMTP服务器端口',
  `user` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '邮箱帐号',
  `password` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '密码',
  `secure` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '连接方式',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序号',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of mail
-- ----------------------------
INSERT INTO `mail` VALUES (1, '测试', 'smtp.qq.com', '288', 'fvzone@qq.com', '123456', NULL, 0, 1);

-- ----------------------------
-- Table structure for mail_log
-- ----------------------------
DROP TABLE IF EXISTS `mail_log`;
CREATE TABLE `mail_log`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '提醒内容',
  `data` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '消息记录',
  `account` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `created_dt` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人id',
  `status` smallint(6) NULL DEFAULT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '通知主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of mail_log
-- ----------------------------
INSERT INTO `mail_log` VALUES (2, '您的验证码是0123', '{\"msg\":\"发送成功\",\"code\":0,\"count\":1}', NULL, '系统管理员', '2020-10-09 09:28:51', 1, 1);
INSERT INTO `mail_log` VALUES (3, '您的验证码是0123', '{\"msg\":\"发送成功\",\"code\":0,\"count\":1}', NULL, '系统管理员', '2020-10-09 09:29:38', 1, 1);
INSERT INTO `mail_log` VALUES (4, '您的验证码是0123', '{\"msg\":\"手机号接收超过频率限制\",\"code\":53,\"count\":\"0\"}', NULL, '系统管理员', '2020-10-09 09:52:26', 1, 0);
INSERT INTO `mail_log` VALUES (5, '您的验证码是01234', '{\"msg\":\"手机号接收超过频率限制\",\"code\":53,\"count\":\"0\"}', '15182223008', '系统管理员', '2020-10-09 09:53:32', 1, 0);

-- ----------------------------
-- Table structure for material_plan_day
-- ----------------------------
DROP TABLE IF EXISTS `material_plan_day`;
CREATE TABLE `material_plan_day`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `date` date NULL DEFAULT NULL,
  `code` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `dept_id` int(11) NULL DEFAULT NULL,
  `product_id` int(11) NULL DEFAULT NULL,
  `product_num` decimal(18, 2) NULL DEFAULT NULL,
  `material_id` int(11) NULL DEFAULT NULL,
  `material_num` decimal(18, 2) NULL DEFAULT NULL,
  `total_num` decimal(18, 2) NULL DEFAULT NULL,
  `creator_id` int(11) NULL DEFAULT NULL,
  `creator_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `create_date` datetime(0) NULL DEFAULT NULL,
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of material_plan_day
-- ----------------------------

-- ----------------------------
-- Table structure for media
-- ----------------------------
DROP TABLE IF EXISTS `media`;
CREATE TABLE `media`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `folder_id` int(11) NOT NULL DEFAULT 0 COMMENT '文件夹ID',
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件路径',
  `thumb` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '缩略图路径',
  `folder` tinyint(4) NULL DEFAULT NULL COMMENT '是文件夹',
  `public` tinyint(4) NULL DEFAULT NULL COMMENT '公共文档',
  `use_count` tinyint(4) NULL DEFAULT NULL COMMENT '文件使用次数',
  `type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件类型',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件名',
  `size` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件字节',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '文件状态',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者ID',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建者时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建者ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_media_folder_id`(`folder_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of media
-- ----------------------------
INSERT INTO `media` VALUES (15, 0, 'media/2021/03/20090156_srhu.png', NULL, NULL, NULL, NULL, 'png', 'a味聚特标志.png', '145234', NULL, NULL, '系统管理员', 1616202116, 1);

-- ----------------------------
-- Table structure for menu
-- ----------------------------
DROP TABLE IF EXISTS `menu`;
CREATE TABLE `menu`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NOT NULL COMMENT '父级编号',
  `lft` int(11) NULL DEFAULT NULL COMMENT '左值',
  `rgt` int(11) NULL DEFAULT NULL COMMENT '右值',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名字',
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '路径',
  `access` tinyint(4) NULL DEFAULT NULL,
  `system` tinyint(4) NULL DEFAULT NULL COMMENT '类型',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '描述',
  `display` tinyint(4) NULL DEFAULT NULL COMMENT '可见',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `divider` tinyint(4) NULL DEFAULT NULL COMMENT '分割',
  `icon` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `color` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '颜色',
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编辑',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_menu_lft_rgt`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_menu_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1329 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of menu
-- ----------------------------
INSERT INTO `menu` VALUES (5, 0, 1, 10, '资讯', 'article', 1, 0, NULL, 0, 1, 1, 0, 'fa-file-text', '#C10066', NULL);
INSERT INTO `menu` VALUES (6, 5, 2, 3, '公告列表', 'article/article/index', 1, 0, NULL, 0, 0, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (8, 41, 26, 31, '专题讨论', 'forum', 1, 0, NULL, 0, 7, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (9, 8, 27, 28, '专题讨论', 'forum/post/index', 1, 0, '', 0, 255, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (10, 8, 29, 30, '讨论类别', 'forum/category/index', 1, 0, '', 0, 255, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (14, 0, 191, 198, '生产', 'produce', 1, 0, NULL, 0, 11, 1, 0, 'fa-cube', '#9573c0', NULL);
INSERT INTO `menu` VALUES (20, 62, 46, 47, '订单类型', 'order/type/index', 1, 0, NULL, 0, 5, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (23, 62, 44, 45, '生产计划(营销)', 'order/plan/produce', 1, 0, NULL, 0, 4, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (24, 62, 42, 43, '发货计划', 'order/order/delivery', 1, 0, NULL, 0, 3, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (25, 62, 38, 39, '订单列表', 'order/order/index', 1, 0, NULL, 0, 1, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (36, 284, 183, 184, '库存类型', 'stock/type/index', 1, 0, NULL, 0, 15, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (39, 284, 185, 186, '仓库列表', 'stock/warehouse/index', 1, 0, NULL, 0, 16, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (41, 0, 11, 36, '工作', 'work', 1, 0, NULL, 0, 3, 1, 0, 'fa-share-alt', '#1890ff', NULL);
INSERT INTO `menu` VALUES (48, 1324, 223, 224, '流程类别', 'workflow/category/index', 1, 0, NULL, 0, 6, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (57, 41, 12, 13, '日程管理', 'calendar/calendar/index', 1, 0, NULL, 0, 0, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (60, 41, 32, 33, '工作文件', 'file/file/index', 1, 0, NULL, 0, 8, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (61, 5, 6, 7, '证照列表', 'file/certificate/index', 1, 0, NULL, 0, 3, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (62, 0, 37, 62, '销售', 'order', 1, 0, NULL, 0, 6, 1, 0, 'fa-road', '#E63F00', NULL);
INSERT INTO `menu` VALUES (64, 1302, 64, 65, '销售曲线表', 'order/report/index', 1, 0, NULL, 0, 0, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (65, 1302, 68, 69, '销售排名表', 'order/report/ranking', 1, 0, NULL, 0, 2, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (66, 1302, 66, 67, '销售品类汇总表', 'order/report/category', 1, 0, NULL, 0, 1, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (67, 1302, 80, 81, '区域销售品类表', 'order/report/city', 1, 0, NULL, 0, 8, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (68, 1302, 78, 79, '销售单品汇总表', 'order/report/single', 1, 0, NULL, 0, 7, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (69, 1302, 76, 77, '销售单品客户表', 'order/report/client', 1, 0, NULL, 0, 6, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (72, 1302, 82, 83, '年度新客户表', 'order/report/newclient', 1, 0, NULL, 0, 9, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (74, 1302, 72, 73, '三个月未进货客户表', 'order/report/stockmonth', 1, 0, NULL, 0, 3, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (79, 197, 88, 89, '客户列表', 'customer/customer/index', 1, 0, NULL, 0, 1, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (85, 197, 90, 91, '客户联系人', 'customer/contact/index', 1, 0, NULL, 0, 2, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (95, 130, 122, 123, '促销管理', 'promotion', 1, 0, NULL, 0, 2, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (96, 130, 118, 119, '促销列表', 'promotion/promotion/index', 1, 0, NULL, 0, 1, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (104, 284, 173, 174, '产品列表', 'product/product/index', 1, 0, NULL, 0, 10, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (105, 284, 175, 176, '产品类别', 'product/category/index', 1, 0, NULL, 0, 11, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (130, 0, 117, 144, '费用', 'customerCost', 1, 0, NULL, 0, 9, 1, 0, 'fa-money', '#5555FF', NULL);
INSERT INTO `menu` VALUES (169, 0, 199, 252, '系统', 'system', 1, 0, NULL, 0, 255, 1, 0, 'fa-cogs', '#0099FF', NULL);
INSERT INTO `menu` VALUES (170, 169, 200, 211, '组织架构', 'user', 1, 0, NULL, 0, 1, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (171, 170, 201, 202, '用户列表', 'user/user/index', 1, 0, '', 0, 255, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (172, 170, 203, 204, '用户组列表', 'user/group/index', 1, 0, '', 0, 255, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (173, 170, 205, 206, '职位列表', 'user/position/index', 1, 0, '', 0, 255, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (174, 170, 207, 208, '角色列表', 'user/role/index', 1, 0, '', 0, 255, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (175, 170, 209, 210, '部门列表', 'user/department/index', 1, 0, '', 0, 255, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (176, 169, 212, 219, '应用管理', 'model', 1, 0, NULL, 0, 2, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (177, 176, 217, 218, '模型列表', 'model/model/index', 1, 0, NULL, 0, 2, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (179, 169, 228, 229, '基本设置', 'system/setting/index', 1, 0, NULL, 0, 4, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (180, 169, 226, 227, '邮件管理', 'system/mail/index', 1, 0, NULL, 0, 4, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (181, 169, 230, 231, '部件管理', 'system/widget/index', 1, 0, NULL, 0, 5, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (182, 169, 232, 233, '菜单管理', 'system/menu/index', 1, 0, NULL, 0, 6, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (183, 1320, 243, 244, '短信设置', 'system/sms/index', 1, 0, NULL, 0, 0, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (185, 169, 234, 235, '枚举管理', 'system/option/index', 1, 0, '', 0, 7, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (189, 233, 158, 159, '其他入库列表', 'stock/record08/index', 1, 0, '', 0, 6, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (194, 285, 103, 104, '销售组', 'customer/region/index', 1, 0, NULL, 0, 5, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (197, 0, 85, 106, '客户', 'customer', 1, 0, NULL, 0, 8, 1, 0, 'fa-users', '#DDAA00', NULL);
INSERT INTO `menu` VALUES (206, 130, 120, 121, '进店列表', 'approach/approach/index', 1, 0, NULL, 0, 1, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (224, 41, 34, 35, '项目管理', 'project/project/index', 1, 0, '', 0, 255, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (233, 0, 145, 190, '库存', 'stock', 1, 0, NULL, 0, 10, 1, 0, 'fa-database', '#CC00FF', NULL);
INSERT INTO `menu` VALUES (241, 285, 101, 102, '客户类型', 'customer/type/index', 1, 0, NULL, 1, 3, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (247, 284, 171, 172, '物流公司', 'order/logistics/index', 1, 0, NULL, 1, 7, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (256, 197, 96, 97, '客户销售价格列表', 'customer/price/index', 1, 0, NULL, 1, 4, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (259, 197, 94, 95, '客户开票列表', 'customer/tax/index', 1, 0, NULL, 1, 3, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (260, 130, 130, 131, '费用列表', 'customerCost/cost/index', 1, 0, NULL, 1, 5, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (262, 233, 156, 157, '退货申请列表', 'stock/cancel/index', 1, 0, '', 1, 5, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (263, 284, 177, 178, '计量单位', 'product/unit/index', 1, 0, NULL, 1, 12, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (264, 130, 142, 143, '费用类别', 'customerCost/category/index', 1, 0, NULL, 1, 255, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (265, 169, 250, 251, '城市档案', 'system/region/index', 1, 0, NULL, 1, 255, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (266, 130, 132, 133, '进店超市', 'approach/market/index', 1, 0, NULL, 1, 6, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (267, 130, 126, 127, '促销核销列表', 'promotion/review/index', 1, 0, NULL, 1, 3, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (268, 130, 124, 125, '进店核销列表', 'approach/review/index', 1, 0, NULL, 1, 2, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (269, 233, 154, 155, '其他出库列表', 'stock/record09/index', 1, 0, '', 1, 4, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (271, 233, 150, 151, '发货列表(直营)', 'stock/direct/index', 1, 0, '', 1, 3, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (272, 233, 152, 153, '产成品入库列表', 'stock/record10/index', 1, 0, '', 1, 3, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (274, 284, 179, 180, '库存类别', 'stock/category/index', 1, 0, NULL, 1, 13, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (275, 62, 56, 57, '客户任务列表', 'customer/task/index', 1, 0, NULL, 1, 9, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (276, 62, 58, 59, '区域任务列表', 'customer/regionTask/index', 1, 0, NULL, 1, 10, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (277, 284, 181, 182, '仓库货位', 'stock/location/index', 1, 0, NULL, 1, 14, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (278, 233, 160, 161, '产成品调拨列表', 'stock/allocation/index', 1, 0, '', 1, 7, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (279, 284, 187, 188, '原辅料档案', 'produce/material/index', 1, 0, NULL, 1, 255, 1, 0, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (280, 14, 196, 197, '生产计划列表', 'produce/plan/index', 1, 0, '', 1, 255, 1, 0, '', '', NULL);
INSERT INTO `menu` VALUES (284, 233, 170, 189, '基础设置', 'product', 1, NULL, NULL, 1, 13, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (285, 197, 98, 105, '基础设置', 'customerSetting', 1, NULL, NULL, 1, 5, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (286, 14, 192, 193, '用料计划', 'produce/material/plan', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (287, 14, 194, 195, '生产计划导出', 'produce/plan/planExport', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1287, 233, 162, 169, '报表', 'stockReport', 1, NULL, NULL, 1, 12, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1288, 1287, 163, 164, '库存明细表', 'stock/report/stockDetail', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1289, 0, 107, 116, '采购', 'purchase', 1, NULL, NULL, 1, 8, 1, NULL, 'fa-shopping-cart', '#55AA00', NULL);
INSERT INTO `menu` VALUES (1290, 1289, 108, 109, '采购订单列表', 'purchase/order/index', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1291, 1289, 114, 115, '供应商档案', 'purchase/supplier/index', 1, NULL, NULL, 1, 255, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1292, 1289, 110, 111, '采购入库列表', 'stock/record01/index', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1293, 176, 215, 216, '单据列表', 'model/bill/index', 1, NULL, NULL, 1, 1, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1294, 130, 134, 135, '费用调整列表', 'customerCost/adjust/index', 1, NULL, NULL, 1, 6, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1295, 130, 136, 137, '合同返利列表', 'customerCost/rebate/index', 1, NULL, NULL, 1, 7, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1296, 130, 140, 141, '合同补损列表', 'customerCost/compen/index', 1, NULL, NULL, 1, 8, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1297, 62, 60, 61, '客户对账单', 'customer/report/accountStatement', 1, NULL, NULL, 1, 255, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1298, 197, 92, 93, '收货地址', 'customer/deliveryAddress/index', 1, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1299, 1287, 165, 166, '库存汇总表', 'stock/report/stockTotal', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1300, 1287, 167, 168, '进销存汇总表', 'stock/report/stockInOut', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1301, 233, 146, 147, '发货列表', 'stock/delivery/index', 1, NULL, NULL, 1, 1, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1302, 0, 63, 84, '报表', 'orderReport', 1, NULL, NULL, 1, 7, 1, NULL, 'fa-bar-chart', '#FF33CC', NULL);
INSERT INTO `menu` VALUES (1303, 62, 52, 53, '样品申请列表', 'order/sampleApply/index', 1, NULL, NULL, 1, 7, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1304, 285, 99, 100, '客户分类', 'customer/customerClass/index', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1305, 1302, 70, 71, '区域销售进度', 'customer/regionTask/progress', 1, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1306, 1302, 74, 75, '客户销售进度', 'customer/task/progress', 1, NULL, NULL, 1, 3, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1307, 197, 86, 87, '开户申请', 'customer/customerApply/index', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1308, 1289, 112, 113, '原材料出库列表', 'stock/record11/index', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1309, 62, 50, 51, '外销生产进度表', 'order/plan/export_sale', 1, NULL, NULL, 1, 6, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1310, 62, 48, 49, '生产计划总表', 'order/plan/index', 1, NULL, NULL, 1, 5, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1311, 5, 4, 5, '投诉列表', 'customer/complaint/index', 1, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1312, 169, 236, 241, '微信公众号', 'wechat', 1, NULL, NULL, 1, 8, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1313, 1312, 237, 238, '微信配置', 'wechat/config/config', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1314, 1312, 239, 240, '微信菜单', 'wechat/config/menu', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1315, 5, 8, 9, '出厂检验报告', 'file/inspectReport/index', 1, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1316, 130, 128, 129, '促销资料列表', 'promotion/material/index', 1, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1317, 130, 138, 139, '销售订单费用表', 'customerCost/report/saleOrderDetail', 1, NULL, NULL, 1, 7, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1318, 176, 213, 214, '模块列表', 'model/module/index', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1319, 169, 248, 249, '系统日志', 'system/log/index', 1, NULL, NULL, 1, 10, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1320, 169, 242, 247, '短信管理', 'systemSms', 1, NULL, NULL, 1, 9, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1321, 1320, 245, 246, '短信记录', 'system/smsLog/index', 1, NULL, NULL, 1, 1, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1324, 169, 220, 225, '流程管理', 'workflowManage', 1, NULL, NULL, 1, 3, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1325, 1324, 221, 222, '流程列表', 'workflow/bill/index', 1, NULL, NULL, 1, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1326, 62, 40, 41, '订单明细列表', 'order/order/detail', 1, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1327, 62, 54, 55, '样品申请明细列表', 'order/sampleApply/detail', 1, NULL, NULL, 1, 8, 1, NULL, NULL, NULL, NULL);
INSERT INTO `menu` VALUES (1328, 233, 148, 149, '发货明细列表', 'stock/delivery/detail', 1, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for model
-- ----------------------------
DROP TABLE IF EXISTS `model`;
CREATE TABLE `model`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` smallint(6) NULL DEFAULT NULL COMMENT '模型父节点编号',
  `type` tinyint(4) NULL DEFAULT NULL COMMENT '模型类型',
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '主表',
  `relation` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关联字段',
  `table` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `audit_type` tinyint(4) NULL DEFAULT NULL COMMENT '审核类型',
  `is_sort` tinyint(4) NULL DEFAULT NULL COMMENT '数据排序',
  `data_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据当前流水号',
  `setting` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '1',
  `lft` int(11) NULL DEFAULT NULL COMMENT '嵌套组左值',
  `rgt` int(11) NULL DEFAULT NULL COMMENT '嵌套组右值',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `is_trash` tinyint(4) NULL DEFAULT NULL COMMENT '回收站',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_flow_lft_rgt`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_flow_parent_id`(`parent_id`) USING BTREE,
  INDEX `idx_flow_status`(`status`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model
-- ----------------------------
INSERT INTO `model` VALUES (16, 0, 0, '物流供应商', '', 'logistics', 0, 0, '27', '', 0, 155, 156, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (17, 0, 0, '促销申请', '', 'promotion', 1, 0, '20200128:1', '', 0, 117, 120, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (18, 0, 0, '用户消息', '', 'user_message', 0, 0, NULL, '', 0, 37, 38, 0, 0, NULL, 0, 1614451180, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (21, 17, 1, '促销产品', 'promotion_id', 'promotion_data', 0, 0, NULL, '', 0, 118, 119, 0, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (23, 0, 0, '销售订单', '', 'customer_order', 1, 0, '20200221:1', '', 0, 113, 116, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (24, 23, 1, '订单商品', 'order_id', 'customer_order_data', 0, 0, '9', '', 0, 114, 115, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (25, 0, 0, '客户销售价格', '', 'customer_price', 0, 0, NULL, '', 0, 111, 112, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (26, 0, 0, '产品档案', '', 'product', 0, 0, NULL, '', 0, 109, 110, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (27, 0, 0, '客户档案', '', 'customer', 0, 1, NULL, '', 0, 83, 84, 255, 0, NULL, 0, 1614451180, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (28, 0, 0, '用户', '', 'user', 0, 0, NULL, '', 0, 107, 108, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (29, 0, 0, '计量单位', '', 'product_unit', 0, 0, NULL, '', 0, 105, 106, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (31, 0, 0, '部门', '', 'department', 0, 0, NULL, '', 0, 103, 104, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (32, 0, 0, '角色', '', 'role', 0, 0, NULL, '', 0, 101, 102, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (33, 0, 0, '用户职位', '', 'user_position', 0, 0, NULL, '', 0, 99, 100, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (34, 0, 0, '用户组', '', 'user_group', 0, 0, NULL, '', 0, 97, 98, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (35, 0, 0, '仓库档案', '', 'warehouse', 0, 0, NULL, '', 0, 95, 96, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (36, 0, 0, '产品类别', '', 'product_category', 0, 0, NULL, '', 0, 121, 122, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (37, 0, 0, '销售组', '', 'customer_region', 0, 1, ':', '', 0, 123, 124, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (38, 0, 0, '客户任务', '', 'customer_task', 3, 1, '20200205:1', '', 0, 151, 154, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (39, 0, 0, '客户联系人', '', 'customer_contact', 0, 0, NULL, '', 0, 149, 150, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (40, 0, 0, '客户订单类型', '', 'customer_order_type', 0, 0, NULL, '', 0, 147, 148, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (41, 0, 0, '客户类型', '', 'customer_type', 0, 0, NULL, '', 0, 145, 146, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (42, 0, 0, '新闻公告', '', 'article', 0, 0, '20191020:1', '', 0, 143, 144, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (43, 0, 0, '发货单', '', 'stock_delivery', 1, 1, '20200214:2', '', 0, 139, 142, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (44, 43, 1, '发货商品', 'delivery_id', 'stock_delivery_data', 0, 0, NULL, '', 0, 140, 141, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (45, 0, 0, '开票单位', '', 'customer_tax', 3, 1, ':', '', 0, 137, 138, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (46, 0, 0, '客户费用', '', 'customer_cost', 3, 1, '20200205:1', '', 0, 133, 136, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (47, 0, 0, '退货申请', '', 'stock_cancel', 1, 0, '20200205:1', '', 0, 129, 132, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (48, 47, 1, '退货产品', 'cancel_id', 'stock_cancel_data', 0, 1, NULL, '', 0, 130, 131, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (49, 46, 1, '费用列表', 'cost_id', 'customer_cost_data', 0, 0, NULL, '', 0, 134, 135, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (50, 0, 0, '客户费用类别', '', 'customer_cost_category', 0, 0, NULL, '', 0, 127, 128, 255, 0, NULL, 0, 1614451181, '系统管理员', 0, 1);
INSERT INTO `model` VALUES (51, 0, 0, '城市档案', '', 'region', 0, 0, NULL, '', 0, 125, 126, 255, 0, '系统管理员', 1572906133, 1614451181, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (52, 0, 0, '进店申请', '', 'approach', 1, 0, '20200205:1', '', 0, 91, 94, 255, 0, '系统管理员', 1574636758, 1614451181, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (53, 52, 1, '进店产品', 'approach_id', 'approach_data', 0, 0, NULL, '', 0, 92, 93, 255, 0, '系统管理员', 1574636829, 1614451181, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (54, 0, 0, '进店超市', '', 'approach_market', 0, 0, NULL, '', 0, 89, 90, 255, 0, '系统管理员', 1574967068, 1614451181, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (55, 0, 0, '促销核销', '', 'promotion_review', 1, 1, '20200128:2', '', 0, 85, 88, 255, 0, '系统管理员', 1575226534, 1614451181, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (56, 55, 1, '产品列表', 'review_id', 'promotion_review_data', 0, 1, NULL, '', 0, 86, 87, 255, 0, '系统管理员', 1575230385, 1614451181, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (57, 0, 0, '进店核销', '', 'approach_review', 1, 1, '20200205:1', '', 0, 39, 42, 255, 0, '系统管理员', 1575231491, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (58, 57, 1, '产品列表', 'review_id', 'approach_review_data', 0, 1, NULL, '', 0, 40, 41, 255, 0, '系统管理员', 1575231524, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (59, 0, 0, '产成品入库单', '', 'stock_record10', 1, 0, '20200205:2', '', 0, 43, 46, 255, 0, '系统管理员', 1575322076, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (60, 59, 1, '入库产品', 'record10_id', 'stock_record10_data', 0, 1, NULL, '', 0, 44, 45, 255, 0, '系统管理员', 1575322112, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (61, 0, 0, '其他入库单', '', 'stock_record08', 3, 0, '20200205:1', '', 0, 47, 50, 255, 0, '系统管理员', 1575322783, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (62, 61, 1, '入库产品', 'record08_id', 'stock_record08_data', 0, 1, NULL, '', 0, 48, 49, 255, 0, '系统管理员', 1575322817, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (63, 0, 0, '其他出库单', '', 'stock_record09', 3, 1, '20200128:1', '', 0, 51, 54, 255, 0, '系统管理员', 1575325733, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (64, 63, 1, '出库产品', 'record09_id', 'stock_record09_data', 0, 1, NULL, '', 0, 52, 53, 255, 0, '系统管理员', 1575325765, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (65, 0, 0, '发货单(直营)', '', 'stock_direct', 1, 1, '20200205:1', '', 0, 55, 58, 255, 0, '系统管理员', 1575842585, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (66, 65, 1, '发货产品', 'direct_id', 'stock_direct_data', 0, 0, NULL, '', 0, 56, 57, 255, 0, '系统管理员', 1575842618, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (67, 0, 0, '产成品调拨单', '', 'stock_allocation', 1, 1, NULL, '', 0, 59, 62, 255, 0, '系统管理员', 1575843944, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (68, 0, 0, '库存类别', '', 'stock_type', 0, 0, NULL, '', 0, 63, 64, 255, 0, '系统管理员', 1576749864, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (69, 0, 0, '销售类型', '', 'sale_type', 0, 0, NULL, '', 0, 65, 66, 255, 0, '系统管理员', 1576751811, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (70, 0, 0, '样品申请', '', 'sample_apply', 1, 1, '20200205:1', '', 0, 67, 70, 255, 0, '系统管理员', 1576810469, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (71, 70, 1, '样品产品', 'sample_id', 'sample_apply_data', 0, 1, NULL, '', 0, 68, 69, 255, 0, '系统管理员', 1576810528, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (72, 38, 1, '任务列表', 'task_id', 'customer_task_data', 0, 0, NULL, '', 0, 152, 153, 255, 0, '系统管理员', 1578651754, 1614451181, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (73, 0, 0, '区域任务', '', 'customer_region_task', 3, 1, '20200205:1', '', 0, 71, 74, 255, 0, '系统管理员', 1578686729, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (74, 73, 1, '任务列表', 'task_id', 'customer_region_task_data', 0, 1, NULL, '', 0, 72, 73, 255, 0, '系统管理员', 1578686787, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (75, 0, 0, '仓库货位', '', 'warehouse_location', 3, 1, NULL, '', 0, 75, 76, 255, 0, '系统管理员', 1578699982, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (76, 67, 1, '调拨产品', 'allocation_id', 'stock_allocation_data', 0, 1, NULL, '', 0, 60, 61, 255, 0, '系统管理员', 1578867528, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (77, 0, 0, '原辅料档案', '', 'product_material', 0, 1, NULL, '', 0, 77, 78, 255, 0, '系统管理员', 1579280898, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (78, 0, 0, '生产计划单', '', 'produce_plan', 1, 1, '20200205:1', '', 0, 79, 82, 255, 0, '系统管理员', 1579480744, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (79, 78, 1, '产品列表', 'plan_id', 'produce_plan_data', 0, 1, NULL, '', 0, 80, 81, 255, 0, '系统管理员', 1579480802, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (80, 0, 0, '证照文件', NULL, 'file_certificate', 0, 0, NULL, NULL, 1, 3, 4, NULL, 0, '系统管理员', 1580795308, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (81, 0, 0, '供应商档案', NULL, 'supplier', 0, 1, NULL, NULL, 1, 5, 6, NULL, 0, '系统管理员', 1582041257, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (82, 0, 0, '采购订单', NULL, 'purchase_order', 1, 1, '20200219:5', NULL, 1, 7, 10, NULL, 0, '系统管理员', 1582044307, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (83, 82, 1, '商品列表', 'order_id', 'purchase_order_data', 0, 1, NULL, NULL, 1, 8, 9, NULL, 0, '系统管理员', 1582044353, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (84, 0, 0, '采购入库单', NULL, 'stock_record01', 3, 0, '20200222:1', NULL, 1, 11, 14, NULL, 0, '系统管理员', 1582291562, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (85, 84, 1, '商品列表', 'record01_id', 'stock_record01_data', 0, 1, NULL, NULL, 1, 12, 13, NULL, 0, '系统管理员', 1582291696, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (89, 0, 0, '客户收货地址', NULL, 'customer_delivery_address', NULL, NULL, NULL, NULL, 1, 15, 16, NULL, 0, '系统管理员', 1584631512, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (90, 0, 0, '客户分类', NULL, 'customer_class', NULL, NULL, NULL, NULL, 1, 19, 20, NULL, 0, '系统管理员', 1586801257, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (91, 0, 0, '投诉中心', NULL, 'customer_complaint', NULL, NULL, NULL, NULL, 1, 17, 18, NULL, 0, '系统管理员', 1586802296, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (92, 0, 0, '开户申请', NULL, 'customer_apply', NULL, NULL, NULL, NULL, 1, 29, 36, NULL, 0, '系统管理员', 1587498464, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (93, 92, 1, '主营品牌', 'apply_id', 'customer_apply_brand', NULL, NULL, NULL, NULL, 1, 30, 31, NULL, 0, '系统管理员', 1587498630, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (94, 92, 1, '网格销售描述', 'apply_id', 'customer_apply_grid', NULL, NULL, NULL, NULL, 1, 32, 33, NULL, 0, '系统管理员', 1587498691, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (95, 92, 1, '公司品牌系列', 'apply_id', 'customer_apply_category', NULL, NULL, NULL, NULL, 1, 34, 35, NULL, 0, '系统管理员', 1587498864, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (96, 0, 0, '原材料出库单', NULL, 'stock_record11', NULL, NULL, NULL, NULL, 1, 25, 28, NULL, 0, '系统管理员', 1587499045, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (97, 96, 1, '商品列表', 'record11_id', 'stock_record11_data', NULL, NULL, NULL, NULL, 1, 26, 27, NULL, 0, '系统管理员', 1587499237, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (98, 0, 0, '出厂检验报告', NULL, 'file_inspect_report', NULL, NULL, NULL, NULL, 1, 23, 24, NULL, 0, '系统管理员', 1590605741, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (99, 0, 0, '促销核销资料', NULL, 'promotion_material', NULL, NULL, NULL, NULL, 1, 21, 22, NULL, 0, '系统管理员', 1592664877, 1614451180, '系统管理员', 1, 1);
INSERT INTO `model` VALUES (100, 0, 0, '考勤设置', NULL, 'attence_mapset', NULL, NULL, NULL, NULL, 1, 1, 2, NULL, 0, '系统管理员', 1602211660, 1614451180, '系统管理员', 1, 1);

-- ----------------------------
-- Table structure for model_bill
-- ----------------------------
DROP TABLE IF EXISTS `model_bill`;
CREATE TABLE `model_bill`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '主表',
  `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `audit_type` tinyint(4) NULL DEFAULT NULL COMMENT '审核类型',
  `is_sort` tinyint(4) NULL DEFAULT NULL COMMENT '数据排序',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '1',
  `is_trash` tinyint(4) NULL DEFAULT NULL COMMENT '回收站',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `sn_prefix` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编号前缀',
  `sn_rule` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编号规则',
  `sn_length` int(11) NULL DEFAULT NULL COMMENT '编号长度',
  `model_id` int(11) NULL DEFAULT NULL COMMENT '主表ID',
  `uri` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据路径',
  `type` tinyint(4) NULL DEFAULT NULL COMMENT '单据:0,流程:1',
  `category_id` int(11) NOT NULL COMMENT '单据类别',
  `form_type` tinyint(4) NULL DEFAULT 0 COMMENT '表单模式',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_flow_app_status`(`status`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 99 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_bill
-- ----------------------------
INSERT INTO `model_bill` VALUES (16, '物流供应商', 'logistics', 0, 0, 0, 0, NULL, 0, 1602260232, '系统管理员', 0, 1, NULL, NULL, 0, 16, 'order/logistics', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (17, '促销申请', 'promotion', 1, 0, 0, 0, NULL, 0, 1611703656, '系统管理员', 0, 1, 'CXSQ', '{Y}', 4, 17, 'promotion/promotion', 0, 0, 1);
INSERT INTO `model_bill` VALUES (18, '用户消息', 'user_message', 0, 0, 0, 0, NULL, 0, 1602198778, '系统管理员', 0, 1, NULL, NULL, 0, 18, 'user/message', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (23, '销售订单', 'customer_order', 1, 0, 0, 0, NULL, 0, 1602198810, '系统管理员', 0, 1, 'XSDD', '{Y}{M}{D}', 4, 23, 'order/order', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (25, '客户销售价格', 'customer_price', 0, 0, 0, 0, NULL, 0, 1602198820, '系统管理员', 0, 1, NULL, NULL, 0, 25, 'customer/price', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (26, '产品档案', 'product', 0, 0, 0, 0, NULL, 0, 1602198842, '系统管理员', 0, 1, NULL, NULL, 0, 26, 'product/product', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (27, '客户档案', 'customer', 0, 1, 0, 0, NULL, 0, 1609716821, '系统管理员', 0, 1, NULL, NULL, 0, 27, 'customer/customer', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (28, '用户', 'user', 0, 0, 0, 0, NULL, 0, 1602198864, '系统管理员', 0, 1, NULL, NULL, 0, 28, 'user/user', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (29, '计量单位', 'product_unit', 0, 0, 0, 0, NULL, 0, 1602198872, '系统管理员', 0, 1, NULL, NULL, 0, 29, 'product/unit', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (31, '部门', 'department', 0, 0, 0, 0, NULL, 0, 1602198881, '系统管理员', 0, 1, NULL, NULL, 0, 31, 'user/department', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (32, '角色', 'role', 0, 0, 0, 0, NULL, 0, 1602198891, '系统管理员', 0, 1, NULL, NULL, 0, 32, 'user/role', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (33, '用户职位', 'user_position', 0, 0, 0, 0, NULL, 0, 1602198899, '系统管理员', 0, 1, NULL, NULL, 0, 33, 'user/position', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (34, '用户组', 'user_group', 0, 0, 0, 0, NULL, 0, 1602198912, '系统管理员', 0, 1, NULL, NULL, 0, 34, 'user/group', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (35, '仓库档案', 'warehouse', 0, 0, 0, 0, NULL, 0, 1602198954, '系统管理员', 0, 1, NULL, NULL, 0, 35, 'stock/warehouse', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (36, '产品类别', 'product_category', 0, 0, 0, 0, NULL, 0, 1602198962, '系统管理员', 0, 1, NULL, NULL, 0, 36, 'product/category', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (37, '销售组', 'customer_region', 0, 1, 0, 0, NULL, 0, 1614444053, '系统管理员', 0, 1, NULL, NULL, 0, 37, 'customer/region', 0, 0, 0);
INSERT INTO `model_bill` VALUES (38, '客户任务', 'customer_task', 3, 1, 0, 0, NULL, 0, 1602198992, '系统管理员', 0, 1, NULL, NULL, 0, 38, 'customer/task', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (39, '客户联系人', 'customer_contact', 0, 0, 0, 0, NULL, 0, 1602199001, '系统管理员', 0, 1, NULL, NULL, 0, 39, 'customer/contact', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (40, '客户订单类型', 'customer_order_type', 0, 0, 0, 0, NULL, 0, 1602199035, '系统管理员', 0, 1, NULL, NULL, 0, 40, 'order/type', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (41, '客户类型', 'customer_type', 0, 0, 0, 0, NULL, 0, 1602199043, '系统管理员', 0, 1, NULL, NULL, 0, 41, 'customer/type', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (42, '新闻公告', 'article', 0, 0, 0, 0, NULL, 0, 1602199050, '系统管理员', 0, 1, NULL, NULL, 0, 42, 'article/article', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (43, '发货单', 'stock_delivery', 1, 1, 0, 0, NULL, 0, 1602199059, '系统管理员', 0, 1, 'FHDJ', '{Y}{M}{D}', 4, 43, 'stock/delivery', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (45, '开票单位', 'customer_tax', 3, 1, 0, 0, NULL, 0, 1602199067, '系统管理员', 0, 1, NULL, NULL, 0, 45, 'customer/tax', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (46, '客户费用', 'customer_cost', 3, 1, 0, 0, NULL, 0, 1602199098, '系统管理员', 0, 1, 'QTFY', '{Y}{M}{D}', 4, 46, 'customerCost/cost', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (47, '退货申请', 'stock_cancel', 1, 0, 0, 0, NULL, 0, 1602199107, '系统管理员', 0, 1, 'THSQ', '{Y}{M}{D}', 4, 47, 'stock/cancel', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (50, '客户费用类别', 'customer_cost_category', 0, 0, 0, 0, NULL, 0, 1602199117, '系统管理员', 0, 1, NULL, NULL, 0, 50, 'customerCost/category', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (51, '城市档案', 'region', 0, 0, 0, 0, '系统管理员', 1572906133, 1602199144, '系统管理员', 1, 1, NULL, NULL, 0, 51, 'system/region', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (52, '进店申请', 'approach', 1, 0, 0, 0, '系统管理员', 1574636758, 1602199154, '系统管理员', 1, 1, 'JCSQ', '{Y}', 4, 52, 'approach/approach', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (54, '进店超市', 'approach_market', 0, 0, 0, 0, '系统管理员', 1574967068, 1602199170, '系统管理员', 1, 1, NULL, NULL, 0, 54, 'approach/market', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (55, '促销核销', 'promotion_review', 1, 1, 0, 0, '系统管理员', 1575226534, 1602199179, '系统管理员', 1, 1, 'CXBX', '{Y}', 4, 55, 'promotion/review', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (57, '进店核销', 'approach_review', 1, 1, 0, 0, '系统管理员', 1575231491, 1602199188, '系统管理员', 1, 1, 'KABX', '{Y}', 4, 57, 'approach/review', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (59, '产成品入库单', 'stock_record10', 1, 0, 0, 0, '系统管理员', 1575322076, 1602199196, '系统管理员', 1, 1, NULL, '{Y}{M}{D}', 4, 59, 'stock/record10', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (61, '其他入库单', 'stock_record08', 3, 0, 0, 0, '系统管理员', 1575322783, 1602199204, '系统管理员', 1, 1, NULL, '{Y}{M}{D}', 4, 61, 'stock/record08', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (63, '其他出库单', 'stock_record09', 1, 1, 0, 0, '系统管理员', 1575325733, 1602199212, '系统管理员', 1, 1, NULL, '{Y}{M}{D}', 4, 63, 'stock/record09', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (65, '发货单(直营)', 'stock_direct', 1, 1, 0, 0, '系统管理员', 1575842585, 1602199219, '系统管理员', 1, 1, 'ZYFH', '{Y}{M}{D}', 4, 65, 'stock/direct', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (67, '产成品调拨单', 'stock_allocation', 1, 1, 0, 0, '系统管理员', 1575843944, 1602199227, '系统管理员', 1, 1, 'CPDB', '{Y}{M}{D}', 4, 67, 'stock/allocation', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (68, '库存类别', 'stock_type', 0, 0, 0, 0, '系统管理员', 1576749864, 1602199296, '系统管理员', 1, 1, NULL, NULL, 0, 68, 'stock/category', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (69, '销售类型', 'sale_type', 0, 0, 0, 0, '系统管理员', 1576751811, 1602199318, '系统管理员', 1, 1, NULL, NULL, 0, 69, 'stock/type', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (70, '样品申请', 'sample_apply', 1, 1, 0, 0, '系统管理员', 1576810469, 1602199351, '系统管理员', 1, 1, 'YPCQ', '{Y}{M}{D}', 4, 70, 'order/sampleApply', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (73, '区域任务', 'customer_region_task', 3, 1, 0, 0, '系统管理员', 1578686729, 1602199365, '系统管理员', 1, 1, NULL, NULL, 0, 73, 'customer/regionTask', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (75, '仓库货位', 'warehouse_location', 0, 1, 0, 0, '系统管理员', 1578699982, 1602199409, '系统管理员', 1, 1, NULL, NULL, 0, 75, 'stock/location', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (77, '原辅料档案', 'product_material', 0, 1, 0, 0, '系统管理员', 1579280898, 1602199449, '系统管理员', 1, 1, NULL, NULL, 0, 77, 'produce/material', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (78, '生产计划单', 'produce_plan', 1, 1, 0, 0, '系统管理员', 1579480744, 1602199463, '系统管理员', 1, 1, 'SCDD', '{Y}{M}{D}', 4, 78, 'produce/plan', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (80, '证照文件', 'file_certificate', 0, 0, 1, 0, '系统管理员', 1580795308, 1602199472, '系统管理员', 1, 1, NULL, NULL, 0, 80, 'file/certificate', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (81, '供应商档案', 'supplier', 0, 1, 1, 0, '系统管理员', 1582041257, 1615917913, '系统管理员', 1, 1, NULL, NULL, 0, 81, 'purchase/supplier', 0, 0, 0);
INSERT INTO `model_bill` VALUES (82, '采购订单', 'purchase_order', 1, 1, 1, 0, '系统管理员', 1582044307, 1602199487, '系统管理员', 1, 1, 'CGDD', '{Y}{M}{D}', 4, 82, 'purchase/order', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (84, '采购入库单', 'stock_record01', 3, 0, 1, 0, '系统管理员', 1582291562, 1602199496, '系统管理员', 1, 1, 'CGRK', '{Y}{M}{D}', 4, 84, 'stock/record01', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (86, '费用调整单', 'customer_cost_adjust', 3, NULL, 1, 0, '系统管理员', 1582455200, 1602199526, '系统管理员', 1, 1, 'FYTZ', '{Y}{M}{D}', 4, 46, 'customerCost/adjust', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (87, '合同补损', 'customer_cost_compen', 3, NULL, 1, 0, '系统管理员', 1582572555, 1602199536, '系统管理员', 1, 1, 'HTBS', '{Y}{M}{D}', 4, 46, 'customerCost/compen', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (88, '合同返利', 'customer_cost_rebate', 3, NULL, 1, 0, '系统管理员', 1582572660, 1602199552, '系统管理员', 1, 1, 'HTFL', '{Y}{M}{D}', 4, 46, 'customerCost/rebate', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (89, '客户收货地址', 'customer_delivery_address', 0, NULL, 1, 0, '系统管理员', 1584631815, 1602199573, '系统管理员', 1, 1, NULL, NULL, 0, 89, 'customer/deliveryAddress', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (90, '期初余额', 'customer_cost_begin', 3, NULL, 1, 0, '系统管理员', 1585005187, 1615851920, '系统管理员', 1, 1, 'QCYE', '{Y}{M}{D}', 4, 46, 'customerCost/begin', 0, 0, 0);
INSERT INTO `model_bill` VALUES (91, '客户分类', 'customer_class', 0, NULL, 1, 0, '系统管理员', 1586801899, 1602199620, '系统管理员', 1, 1, NULL, NULL, 0, 90, 'customer/customerClass', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (92, '投诉中心', 'customer_complaint', 1, NULL, 1, 0, '系统管理员', 1586802277, 1602199636, '系统管理员', 1, 1, 'KHTS', '{Y}{M}{D}', 4, 91, 'customer/complaint', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (93, '原材料出库单', 'stock_record11', 3, NULL, 1, 0, '系统管理员', 1587585907, 1615851922, '系统管理员', 1, 1, NULL, '{Y}{M}{D}', 4, 96, 'stock/record11', 0, 0, 0);
INSERT INTO `model_bill` VALUES (94, '客户开户申请', 'customer_apply', 1, NULL, 1, 0, '系统管理员', 1587832022, 1602199667, '系统管理员', 1, 1, 'KHSQ', '{Y}{M}{D}', 4, 92, 'customer/customerApply', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (95, '出厂检验报告', 'file_inspect_report', 0, NULL, 1, 0, '系统管理员', 1590605974, 1602199694, '系统管理员', 1, 1, NULL, NULL, 0, 98, 'file/inspectReport', 0, 0, NULL);
INSERT INTO `model_bill` VALUES (96, '促销核销资料', 'promotion_material', 0, NULL, 1, 0, '系统管理员', 1592665494, 1615851924, '系统管理员', 1, 1, NULL, NULL, 0, 99, 'promotion/material', 0, 0, 0);
INSERT INTO `model_bill` VALUES (98, '请假申请', 'qingjia', 1, NULL, 1, 0, '系统管理员', 1602455610, 1602463250, '系统管理员', 1, 1, 'QJSQ', '{Y}{M}{D}', 4, NULL, NULL, 1, 380, NULL);

-- ----------------------------
-- Table structure for model_bill_category
-- ----------------------------
DROP TABLE IF EXISTS `model_bill_category`;
CREATE TABLE `model_bill_category`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '分类描述',
  `remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '备注',
  `sort` smallint(6) NOT NULL COMMENT '排序',
  `status` tinyint(4) NOT NULL COMMENT '流程类别状态',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 386 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_bill_category
-- ----------------------------
INSERT INTO `model_bill_category` VALUES (368, '问题及改善', '212', 12, 1, NULL, NULL, 1602457894, '系统管理员', NULL, 1);
INSERT INTO `model_bill_category` VALUES (369, '2.采购与供应商', '', 2, 1, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_bill_category` VALUES (370, '1.营销与经销商', '', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_bill_category` VALUES (372, '3.物品与设备', '', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_bill_category` VALUES (373, '5.计划与复盘', '', 5, 1, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_bill_category` VALUES (379, '7.工作日管理', '', 7, 1, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_bill_category` VALUES (380, '6.工作项目', '', 6, 1, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_bill_category` VALUES (381, '4.费用管理', '', 4, 1, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_bill_category` VALUES (384, '9.产品与品质', '', 11, 1, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_bill_category` VALUES (385, '8.人事与管理', '', 10, 1, NULL, NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for model_field
-- ----------------------------
DROP TABLE IF EXISTS `model_field`;
CREATE TABLE `model_field`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `model_id` int(11) NOT NULL COMMENT '模型编号',
  `field` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `type` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `length` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `index` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '字段索引',
  `tips` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '字段提示',
  `form_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `validate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '验证规则',
  `is_index` tinyint(4) NULL DEFAULT NULL COMMENT '列表显示',
  `is_search` tinyint(4) NULL DEFAULT NULL COMMENT '字段搜索',
  `is_sort` tinyint(4) NULL DEFAULT NULL COMMENT '字段排序',
  `is_import` tinyint(4) NULL DEFAULT NULL COMMENT '允许导入',
  `is_menu` tinyint(4) NULL DEFAULT NULL COMMENT '字段菜单',
  `not_null` tinyint(4) NULL DEFAULT NULL COMMENT '数据不为空',
  `setting` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `sort` smallint(6) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '字段状态',
  `data_link` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '数据对象',
  `data_field` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '数据绑定',
  `data_type` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '数据绑定',
  `data_relation` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关联关系',
  `data_format` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '数据格式',
  `default` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '字段默认值',
  `bill_id` int(11) NULL DEFAULT NULL COMMENT '单据ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_flow_field_model_id`(`model_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3366 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_field
-- ----------------------------
INSERT INTO `model_field` VALUES (105, 16, 'name', '公司名称', 'VARCHAR', '100', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (106, 16, 'nature', '企业性质', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (107, 16, 'legal', '法人代表', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (108, 16, 'route', '运输线路', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (109, 16, 'business_liaison', '业务联络人', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\",\"row_count\":\"\",\"total_count\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (110, 16, 'business_phone', '业务电话', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\",\"row_count\":\"\",\"total_count\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (111, 16, 'query_phone', '货物查询电话', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (112, 16, 'finance_liaison', '财务联系人', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (113, 16, 'finance_phone', '财务联系人电话', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (114, 16, 'address', '公司地址', 'VARCHAR', '255', '', '', 'address', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (115, 16, 'contract_price', '合同运价', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (116, 16, 'contract_date', '合同日期', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 13, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (117, 16, 'attachment', '附件', 'VARCHAR', '255', '', '', 'files', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"\",\"table\":\"\",\"path\":\"\",\"size\":\"2\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (119, 17, 'id', 'ID', 'INT', NULL, '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 74, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (121, 17, 'region_id', '销售区域', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"type\":\"customer_region\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 65, 1, 'customer_id', 'region_id.region_id:customer_region.name', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (123, 17, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 1, 1, 'customer_id', 'name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (124, 18, 'content', '内容', 'VARCHAR', '255', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"left\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (125, 18, 'status', '状态', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u5df2\\u8bfb|1\\r\\n\\u672a\\u8bfb|0\",\"query\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (126, 18, 'created_id', '来自', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 1, 1, 'created_id', 'name', 'user', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (127, 18, 'created_at', '创建时间', 'INT', '10', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (128, 18, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (133, 21, 'id', 'ID', 'INT', '10', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\",\"row_count\":\"\",\"total_count\":\"\"}', 88, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (134, 21, 'product_name', '产品名称', NULL, NULL, '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 77, 1, 'product_id', 'name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (136, 21, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"left\",\"width\":\"\",\"css\":\"\",\"default\":\"\",\"row_count\":\"\",\"total_count\":\"\"}', 85, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (137, 21, 'money', '金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"if(data.quantity > 0) {\\r\\n    var v = data.quantity * parseFloat(data.price);\\r\\n    data.money =  v > 0  ? v : data.money;\\r\\n    return data.money;\\r\\n} else {\\r\\n    data.money =  data.money;\\r\\n    return data.money;\\r\\n}\",\"cell_count\":\"sum\",\"default\":\"\"}', 83, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (138, 17, 'sn', '促销编号', 'VARCHAR', '60', '', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (140, 21, 'product_spec', '规格型号', NULL, NULL, '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 78, 1, 'product_id', 'spec', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (153, 25, 'customer_id', '客户名称', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 1, 1, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 1, 1, 'customer_id', 'name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (154, 25, 'product_id', '产品名称', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"200\",\"css\":\"\",\"type\":\"product\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 2, 1, 'product_id', 'name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (156, 25, 'product_spec', '规格型号', '', '', '', '', 'text', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 4, 1, 'product_id', 'spec', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (157, 25, 'product_unit', '计量单位', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 7, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (158, 25, 'category_name', '产品类别', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 3, 1, 'product_id', 'category_id.category_id:product_category.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (159, 25, 'price', '销售价格', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (160, 25, 'product_barcode', '产品条码', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 6, 1, 'product_id', 'barcode', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (161, 25, 'remark', '备注', 'VARCHAR', '255', '', '', 'text', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (162, 25, 'customer_code', '客户编码', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, 'customer_id', 'code', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (163, 27, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 46, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (164, 27, 'name', '客户名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (165, 27, 'code', '客户编码', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, NULL, NULL, NULL, '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (166, 28, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (167, 28, 'name', '姓名', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (168, 28, 'username', '用户名', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (169, 28, 'phone', '手机号', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (170, 28, 'department_id', '所属部门', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"160\",\"css\":\"\",\"type\":\"department\",\"default\":\"\",\"single\":\"1\"}', 9, 1, 'department_id', 'name', 'department', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (171, 26, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 33, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (172, 26, 'name', '产品名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (173, 26, 'spec', '规格型号', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"160\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (174, 26, 'category_id', '产品类别', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"center\",\"width\":\"160\",\"css\":\"\",\"type\":\"product_category\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 5, 1, 'category_id', 'name', 'product_category', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (175, 26, 'barcode', '产品条码', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (176, 29, 'name', '名称', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (177, 29, 'status', '状态', 'TINYINT', '3', 'INDEX', '', 'option', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"common.status\",\"default\":\"1\",\"single\":\"1\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (178, 29, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (179, 29, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (180, 26, 'unit_id', '计量单位', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 6, 1, 'unit_id', 'name', 'product_unit', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (183, 28, 'avatar', '头像', 'VARCHAR', '100', '', '', 'images', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"path\":\"\",\"size\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (184, 26, 'code', '存货编码', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (185, 25, 'product_code', '存货编码', '', '', '', '', 'text', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, 'product_id', 'code', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (186, 28, 'birthday', '生日', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (187, 28, 'gender', '性别', 'TINYINT', '3', 'INDEX', '', 'option', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"user.gender\",\"default\":\"\",\"single\":\"1\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (188, 28, 'position_id', '职位', 'TINYINT', '3', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"position\",\"default\":\"\",\"single\":\"1\"}', 6, 1, 'position_id', 'name', 'user_position', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (189, 28, 'role_id', '所属角色', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"180\",\"css\":\"\",\"type\":\"role\",\"default\":\"\",\"single\":\"1\"}', 10, 1, 'role_id', 'name', 'role', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (190, 28, 'status', '状态', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"content\":\"启用|1\\r\\n禁用|0\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":\"1\",\"single\":\"0\"}', 15, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (191, 28, 'auth_secret', '安全密钥', 'VARCHAR', '60', '', '', 'custom', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"method\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 13, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (192, 28, 'auth_totp', '二次验证', 'TINYINT', '3', 'INDEX', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"content\":\"\\u4e8c\\u6b21\\u9a8c\\u8bc1|1\",\"default\":\"\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (193, 28, 'leader_id', '直属领导', 'INT', '11', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"user\",\"default\":\"\",\"single\":\"1\"}', 11, 1, 'leader_id', 'name', 'user', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (194, 28, 'password', '密码', 'VARCHAR', '64', '', '不修改密码请留空', 'password', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (195, 28, 'email', '电子邮箱', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (196, 31, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (197, 31, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (198, 32, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (199, 32, 'name', '名称', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (200, 33, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (201, 33, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (202, 34, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (203, 34, 'name', '名称', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (204, 35, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (205, 35, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (206, 35, 'status', '状态', 'TINYINT', '3', 'INDEX', '', 'option', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"common.status\",\"default\":\"1\",\"single\":\"1\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (207, 36, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (208, 36, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (209, 36, 'parent_id', '上级类别', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"type\":\"product_category\",\"default\":\"\",\"single\":\"1\"}', 1, 1, 'parent_id', 'name', 'product_category', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (210, 36, 'sort', '排序', 'SMALLINT', '5', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (211, 36, 'status', '状态', 'TINYINT', '3', 'INDEX', '', 'option', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"type\":\"common.status\",\"default\":\"\",\"single\":\"1\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (212, 27, 'password', '登录密码', 'VARCHAR', '64', '', '不修改密码请留空', 'password', '', 0, 0, 0, 1, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 2, 1, NULL, NULL, NULL, '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (214, 27, 'type_id', '客户类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\"}', 35, 1, 'type_id', 'name', 'customer_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (216, 27, 'region_id', '销售区域', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"customer_region\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"layer=3\",\"default\":\"\",\"single\":\"1\"}', 5, 1, 'region_id', 'name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (217, 37, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (218, 37, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"240\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (219, 27, 'contact_id', '首要联系人', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_contact\",\"default\":\"\",\"single\":\"1\"}', 9, 1, 'contact_id', 'name', 'customer_contact', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (220, 27, 'tel', '公司电话', 'VARCHAR', '30', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 21, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (221, 27, 'fax', '公司传真', 'VARCHAR', '30', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 22, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (222, 27, 'email', '公司邮箱', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 23, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (223, 27, 'address', '公司地址', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 24, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (224, 27, 'warehouse_address', '仓库地址', 'VARCHAR', '255', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"280\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 25, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (225, 27, 'status', '状态', 'TINYINT', '', 'INDEX', '', 'option', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"type\":\"common.status\",\"default\":\"1\",\"single\":\"1\"}', 44, 1, NULL, NULL, NULL, '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (227, 27, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 1, 1, 0, 1, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 42, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (228, 38, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (229, 38, 'sn', '单据编号', 'VARCHAR', '20', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"left\",\"prefix\":\"HTRW\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (230, 39, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (231, 39, 'name', '姓名', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"160\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (232, 39, 'address', '地址', 'VARCHAR', '255', '', '', 'address', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (233, 39, 'phone', '手机', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"160\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (234, 39, 'birthday', '生日', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (235, 39, 'position', '职位', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (236, 23, 'sn', '单据编号', 'VARCHAR', '30', '', '', 'sn', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (237, 23, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 32, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (238, 23, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 1, 0, 1, 0, '{\"align\":\"\",\"width\":\"200\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 3, 1, 'customer_id', 'name', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (239, 23, 'created_at', '单据日期', 'INT', '10', '', '', 'date', '', 1, 1, 1, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (240, 21, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 87, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (242, 23, 'status', '状态', 'SMALLINT', NULL, 'INDEX', '', 'audit', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 28, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (246, 24, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 63, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (247, 24, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"120\",\"css\":\"\",\"type\":\"product\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 37, 1, 'product_id', 'name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (248, 24, 'category_name', '产品类别', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 35, 1, 'product_id', 'category_id.category_id:product_category.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (249, 24, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 38, 1, 'product_id', 'spec', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (250, 24, 'product_barcode', '产品条码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 39, 1, 'product_id', 'barcode', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (251, 24, 'product_unit', '计量单位', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 40, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (252, 24, 'price', '单价(元)', 'DECIMAL', '10,2', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 45, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (254, 24, 'id', 'ID', 'INT', '11', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 64, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (255, 24, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"if (column.colId == \'quantity\')  {\\r\\n    data.delivery_quantity = data.quantity;\\r\\n}\\r\\nreturn data.quantity;\",\"cell_count\":\"sum\",\"default\":\"\"}', 41, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (256, 24, 'money', '金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"if (data.product_code == \'99001\') {\\r\\n    if (data.money > 0)  {\\r\\n        return \'\';\\r\\n    }\\r\\n    return data.money = data.money;\\r\\n} else {\\r\\n     if (column.colId == \'money\')  {\\r\\n         data.price = data.money \\/ data.delivery_quantity;\\r\\n         return data.money;\\r\\n      } else {\\r\\n        return data.money = data.delivery_quantity * data.price;\\r\\n    }\\r\\n}\",\"cell_count\":\"sum\",\"default\":\"\"}', 46, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (263, 24, 'weight', '重量(kg)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 43, 1, NULL, NULL, NULL, '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (265, 24, 'customer_stock', '客户库存', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 50, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (266, 24, 'remark', '备注', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 52, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (267, 24, 'fee_src_sn', '单据编号', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 60, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (268, 23, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 31, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (269, 23, 'tax_type', '开票类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"content\":\"\\u589e\\u503c\\u7a0e\\u4e13\\u7528\\u53d1\\u7968|1\\r\\n\\u589e\\u503c\\u7a0e\\u666e\\u901a\\u53d1\\u7968|2\",\"query\":\"\",\"default\":\"0\"}', 24, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (270, 23, 'tax_id', '开票名称', 'INT', NULL, 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"customer_id=$customer_id\",\"default\":\"\",\"single\":\"1\"}', 26, 1, 'tax_id', 'name', 'customer_tax', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (271, 31, 'parent_id', '上级', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"department\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 2, 1, 'parent_id', 'name', 'department', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (272, 31, 'sort', '排序', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (273, 31, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (274, 32, 'parent_id', '上级', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"role\",\"default\":\"\",\"single\":\"1\"}', 2, 1, 'parent_id', 'name', 'role', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (275, 32, 'sort', '排序', 'TINYINT', '3', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (276, 32, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (278, 26, 'net_weight', '净重(kg)', 'DECIMAL', '10,4', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (279, 26, 'weight', '毛重(kg)', 'DECIMAL', '10,4', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (280, 26, 'price1', '内销价', 'DECIMAL', '10,4', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (281, 26, 'price2', '外贸价', 'DECIMAL', '10,4', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (283, 26, 'carton_barcode', '外箱条码', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 24, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (284, 26, 'carton_size', '外箱尺寸', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 25, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (285, 26, 'min_quantity', '最低库存', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 26, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (286, 26, 'freight_price', '运费单价', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 27, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (287, 26, 'sort', '排序', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 31, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (288, 26, 'images', '图片', 'VARCHAR', '255', '', '', 'images', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (289, 26, 'product_type', '是产成品', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"70\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 28, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (290, 26, 'status', '状态', 'TINYINT', '3', 'INDEX', '', 'option', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"type\":\"common.status\",\"default\":\"1\",\"single\":\"1\"}', 32, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (291, 26, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"height\":null,\"css\":null,\"default\":null}', 30, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (292, 40, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (293, 40, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (294, 40, 'type', '计算金额', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"default\":\"1\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (295, 40, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (296, 40, 'sort', '排序', 'TINYINT', '3', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (297, 24, 'fee_data_id', '单据明细ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 62, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (298, 41, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (299, 41, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (300, 41, 'sort', '排序', 'TINYINT', '3', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (301, 41, 'remark', '备注', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (302, 41, 'status', '状态', 'TINYINT', '3', 'INDEX', '', 'option', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"common.status\",\"default\":\"\",\"single\":\"1\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (303, 40, 'status', '状态', 'TINYINT', '3', 'INDEX', '', 'option', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"common.status\",\"default\":\"\",\"single\":\"1\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (306, 39, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 2, 1, 'customer_id', 'name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (307, 24, 'fee_src_id', '单据ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 61, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (312, 21, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 81, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (313, 17, 'remark', '备注', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"left\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 72, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (314, 21, 'category_name', '产品类别', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 75, 1, 'product_id', 'category_id.category_id:product_category.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (316, 21, 'use_quantity', '已用数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 84, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (323, 21, 'price', '单价(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 82, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (325, 42, 'notification', '通知', '', '', '', '', 'notification', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"\",\"default\":\"\",\"single\":\"0\"}', 10, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (326, 42, 'name', '主题', 'VARCHAR', '255', '', '111', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":null,\"width\":\"auto\",\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (327, 42, 'content', '正文', 'TEXT', '0', '', '', 'editor', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"type\":\"1\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (328, 42, 'attachment', '附件', 'VARCHAR', '255', '', '', 'files', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (329, 42, 'description', '描述', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (330, 42, 'start_at', '开始时间', 'INT', '10', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (331, 42, 'expired_at', '过期时间', 'INT', '10', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (332, 42, 'receive_id', '对象', 'VARCHAR', '255', '', '', 'urd', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\",\"single\":\"0\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (333, 42, 'receive_name', '对象名称', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (334, 42, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (335, 42, 'created_at', '发布时间', 'INT', '10', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 9, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (336, 42, 'created_by', '发布人', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (339, 17, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 71, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (340, 17, 'start_dt', '开始日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 53, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (341, 17, 'end_dt', '结束日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 49, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (343, 43, 'sn', '单据编号', 'VARCHAR', '20', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"FHDD\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (344, 43, 'freight_logistics_id', '物流公司', 'INT', '11', 'INDEX', '', 'select2', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 24, 1, 'freight_logistics_id', 'name', 'logistics', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (345, 43, 'invoice_dt', '发货日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 27, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (346, 43, 'remark', '备注', 'VARCHAR', '100', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 36, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (347, 44, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 69, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (348, 44, 'type_id', '类型', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 38, 1, 'type_id', 'name', 'customer_order_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (350, 44, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 0, 1, 1, 0, 0, 0, '{\"align\":\"\",\"width\":\"180\",\"css\":\"\",\"type\":\"product\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 43, 1, 'product_id', 'name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (351, 44, 'id', 'ID', 'INT', '11', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 70, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (352, 44, 'category_name', '产品类别', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 41, 1, 'product_id', 'category_id.category_id:product_category.name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (353, 44, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 44, 1, 'product_id', 'spec', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (354, 44, 'product_barcode', '产品条码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 45, 1, 'product_id', 'barcode', 'product', 'one2one', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (355, 44, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 46, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (356, 44, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 47, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (357, 44, 'money', '金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"if (data.product_code == \'99001\') {\\r\\n    if (data.money > 0)  {\\r\\n        return \'\';\\r\\n    }\\r\\n    return data.money = data.money;\\r\\n} else {\\r\\n   return data.money = data.quantity * data.price;\\r\\n}\",\"cell_count\":\"sum\",\"default\":\"\"}', 49, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (358, 44, 'weight', '重量(kg)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 51, 1, 'product_id', 'weight', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (359, 44, 'price', '单价(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 48, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (362, 45, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"280\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (363, 45, 'type', '类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u516c\\u53f8|1\\r\\n\\u4e2a\\u4eba|2\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"1\",\"single\":\"0\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (364, 45, 'customer_id', '客户名称', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"280\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 4, 1, 'customer_id', 'name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (365, 45, 'tax_number', '纳税人识别号', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 14, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (366, 45, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 23, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (367, 45, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"default\":\"\"}', 20, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (368, 45, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 21, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (369, 37, 'owner_user_id', '审批权限', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"200\",\"css\":\"\",\"type\":\"user\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 1, 1, 'owner_user_id', 'name', 'user', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (370, 37, 'owner_assist', '查询权限', 'VARCHAR', '100', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"200\",\"css\":\"\",\"type\":\"user\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 2, 1, NULL, NULL, NULL, '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (371, 37, 'sort', '排序', 'TINYINT', '3', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (372, 37, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (373, 37, 'parent_id', '上级', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_region\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 0, 1, 'parent_id', 'name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (374, 49, 'money', '费用金额', 'DECIMAL', '10,2', '', '金额为核销真实金额', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"right\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"data.remain_money = data.money\\r\\nreturn data.money;\",\"cell_count\":\"sum\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (375, 46, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (376, 46, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (377, 49, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"left\",\"width\":\"200\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', NULL, 1, 'customer_id', 'name', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (378, 49, 'use_close', '关闭', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u5426|0\\r\\n\\u662f|1\",\"query\":\"\",\"default\":\"0\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (379, 49, 'use_money', '已用金额', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"right\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (380, 49, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"280\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (381, 46, 'date', '单据日期', 'DATE', '', 'INDEX', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 3, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (382, 47, 'sn', '单据编号', 'VARCHAR', '20', '', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"THD\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (383, 47, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (384, 47, 'created_by', '制单人', 'VARCHAR', '30', '', '', 'auto', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (385, 47, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 11, 1, 'customer_id', 'name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (386, 25, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (388, 49, 'close_remark', '关闭原因', 'VARCHAR', '100', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (389, 49, 'close_by', '关闭人', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (390, 46, 'sn', '单据编号', 'VARCHAR', '30', '', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"FYD\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', NULL, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (391, 46, 'created_by', '制单人', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (392, 24, 'type_id', '类型', 'INT', '11', 'INDEX', '', 'select', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 33, 1, 'type_id', 'name', 'customer_order_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (394, 46, 'category_id', '费用类别', 'INT', NULL, 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"0\",\"single\":\"0\"}', 4, 1, 'category_id', 'name', 'customer_cost_category', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (395, 24, 'fee_category_id', '单据类别', 'INT', NULL, 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 59, 1, 'fee_category_id', 'name', 'customer_cost_category', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (396, 50, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (397, 50, 'name', '名称', 'VARCHAR', '100', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', NULL, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (402, 24, 'product_code', '存货编码', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 36, 1, 'product_id', 'code', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (403, 21, 'product_code', '存货编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 76, 1, 'product_id', 'code', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (404, 17, 'promote_scope', '促销范围', 'TEXT', '0', '', '连锁超市要注明家数', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 50, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (405, 17, 'pro_bg', '促销背景说明', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 51, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (406, 17, 'pro_method_desc', '促销方法描述', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 52, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (407, 17, 'pro_total_cost', '预估总费用', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 54, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (408, 17, 'sale_money', '预估销量(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 56, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (409, 17, 'customer_pro_head', '经销商执行人员', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 57, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (410, 17, 'customer_pro_phone', '客户执行人电话', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 58, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (411, 17, 'note_review', '该渠道历史促销回顾', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 59, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (412, 17, 'apply_fee', '申请费用', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 55, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (414, 48, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 28, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (415, 48, 'category_id', '产品类别', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, 'product_id', 'category_id.category_id:product_category.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (416, 48, 'product_code', '存货编码', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 6, 1, 'product_id', 'code', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (417, 48, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"default\":\"\",\"single\":\"0\"}', 7, 1, 'product_id', 'name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (418, 48, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, 'product_id', 'spec', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (419, 48, 'product_barcode', '产品条码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 9, 1, 'product_id', 'barcode', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (420, 48, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (421, 48, 'price', '单价(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (422, 48, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (423, 48, 'money', '金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"return data.money= data.quantity * data.price\",\"cell_count\":\"sum\",\"default\":\"\"}', 16, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (424, 48, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 27, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (425, 47, 'created_at', '单据日期', 'INT', '10', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 10, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (426, 47, 'remark', '备注', 'VARCHAR', '100', '', '', 'textarea', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (427, 50, 'remark', '备注', '', '', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (434, 17, 'type_id', '促销类别', 'TINYINT', '3', 'INDEX', '', 'option', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"promotion.type\",\"default\":\"\",\"single\":\"1\"}', 40, 1, NULL, NULL, NULL, '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (435, 51, 'name', '名称', 'VARCHAR', '120', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (436, 51, 'code', '编码', 'MEDIUMINT', '8', 'INDEX', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (437, 51, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (438, 51, 'parent_id', '上级', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"region\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 2, 1, 'parent_id', 'name', 'region', '', NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (439, 27, 'grade_id', '客户等级', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u91d1\\u94bb|1\\r\\n\\u94bb\\u77f3|2\\r\\n\\u9ec4\\u91d1|3\\r\\n\\u767d\\u94f6|4\\r\\n\\u786c\\u94c1|5\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 36, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (440, 27, 'province_id', '省', 'MEDIUMINT', '8', 'INDEX', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 31, 1, 'province_id', 'name', 'region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (441, 27, 'city_id', '市', 'MEDIUMINT', '8', 'INDEX', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 32, 1, 'city_id', 'name', 'region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (442, 27, 'county_id', '县', 'MEDIUMINT', '8', 'INDEX', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 33, 1, 'county_id', 'name', 'region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (443, 27, 'warehouse_contact', '仓库联系人', 'VARCHAR', '30', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 26, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (444, 27, 'warehouse_size', '仓库面积(㎡)', 'SMALLINT', '5', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 29, 1, '', '', '', '', 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (445, 27, 'warehouse_phone', '仓库手机号', 'VARCHAR', '30', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 27, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (446, 27, 'warehouse_tel', '仓库座机', 'VARCHAR', '30', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 28, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (447, 27, 'head_name', '法人', 'VARCHAR', '30', '', '客户的实际经营负责人', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (448, 27, 'head_phone', '法人手机号', 'VARCHAR', '30', '', NULL, 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (449, 27, 'department_id', '所属部门', 'INT', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 41, 1, 'department_id', 'name', 'department', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (450, 23, 'pay_dt', '打款日期', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 23, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (451, 23, 'warehouse_contact', '收货人', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (452, 23, 'warehouse_phone', '收货人手机号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 13, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (453, 23, 'warehouse_tel', '收货人座机', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (454, 23, 'warehouse_address', '收货地址', 'VARCHAR', '255', '', '', 'select2', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"content\":null,\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 15, 1, NULL, NULL, NULL, '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (455, 23, 'found_contact', '下单人', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (456, 23, 'found_phone', '下单人手机号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"total_count\":\"\",\"default\":\"\"}', 17, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (458, 23, 'region_id', '销售区域', '', '', '', '', 'dialog', '', 0, 1, 1, 0, 1, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"customer_region\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 4, 1, 'customer_id', 'region_id.region_id:customer_region.name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (459, 23, 'created_by', '制单人', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 30, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (460, 24, 'total_weight', '合计重量(kg)', 'DECIMAL', '10,2', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"return data.total_weight = data. delivery_quantity * data.weight\",\"cell_count\":\"sum\",\"default\":\"\"}', 44, 1, '', '', '', '', 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (461, 24, 'customer_stock_dt', '客户库存日期', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"default\":\"0\"}', 51, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (462, 24, 'other_money', '其他金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"if (data.type_id == 2) {\\r\\n    return data.other_money = data.money;\\r\\n} else {\\r\\n    return data.other_money = \'\';\\r\\n}\",\"cell_count\":\"sum\",\"default\":\"\"}', 47, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (463, 17, 'actived_dt', '生效日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"default\":\"0\"}', 43, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (464, 17, 'fax', '回复传真', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 44, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (465, 17, 'phone', '确认电话', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 45, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (466, 17, 'created_by', '制单人', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 46, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (467, 17, 'created_at', '制单时间', 'INT', '10', '', '', 'date', '', 0, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 47, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (468, 17, 'category_id', '促销类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u6d88\\u8d39\\u7c7b|1\\r\\n\\u6e20\\u9053\\u7c7b|2\\r\\n\\u7ecf\\u6d88\\u7c7b|3\",\"query\":\"\",\"default\":\"\"}', 41, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (469, 17, 'order_id', '关联订单', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_order\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 48, 1, 'order_id', 'sn', 'customer_order', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (470, 17, 'promoe_method', '促销方式', '', '', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"特价|field021\\r\\n消费买赠|field022\\r\\n免品|field023\\r\\n渠道赠送奖励|field024\\r\\n形象陈列宣传|field025\\r\\n人员激励|field026\\r\\n消费主题|field027\\r\\n推广|field028\\r\\n其他|field029\",\"default\":\"\"}', 42, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (471, 17, 'attachment', '附件', 'VARCHAR', '255', '', '', 'files', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\"}', 73, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (472, 17, 'area_money', '我司支持费用(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 60, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (473, 17, 'material_review', '核销资料', '', '', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"content\":\"\\u6279\\u590d\\u590d\\u5370\\u4ef6|field010\\r\\n\\u9648\\u5217\\u534f\\u8bae|field011\\r\\n\\u7279\\u4ef7\\u8d2d\\u7269\\u5c0f\\u7968|field012\\r\\nDM\\u539f\\u4ef6|field013\\r\\n\\u8d85\\u5e02\\u76d6\\u7ae0\\u7279\\u4ef7\\u9a8c\\u6536\\u5355|field014\\r\\n\\u8d85\\u5e02\\u51fa\\u5177\\u7ed9\\u8d35\\u53f8\\u7684\\u5168\\u989d\\u7968\\u636e\\u590d\\u5370\\u4ef6|field015\\r\\n\\u8d35\\u53f8\\u51fa\\u5177\\u7ed9\\u6211\\u53f8\\u627f\\u62c5\\u90e8\\u5206\\u53d1\\u7968\\u539f\\u4ef6|field016\",\"default\":\"\"}', 61, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (474, 17, 'reg_photo', '陈列照片(张)', 'INT', '11', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 64, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (475, 17, 'reg_other_remark', '其他核销资料', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 23, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (476, 17, 'audit_market_text', '市场助理意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 24, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (477, 17, 'audit_market_sign', '市场助理时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 25, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (478, 17, 'audit_province_text', '省区经理意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 26, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (479, 17, 'audit_province_sign', '省区经理时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 27, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (480, 17, 'audit_finance_text', '客服部负责人意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 28, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (481, 17, 'audit_finance_sign', '客服部负责人时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 29, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (482, 17, 'audit_director_text', '董事办意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 30, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (483, 17, 'audit_director_sign', '董事办时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 31, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (484, 17, 'audit_cmo_text', '营销总监意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 34, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (485, 17, 'audit_cmo_sign', '营销总监时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 35, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (486, 17, 'is_chairman_audit', '是否董事长审核', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"0\"}', 36, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (487, 17, 'undertake_money', '公司承担金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 37, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (488, 17, 'undertake_ratio', '公司承担比例(%)', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 38, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (489, 17, 'need_review', '是否需要核销', 'TINYINT', '3', '', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":null,\"content\":\"是|1\\r\\n否|0\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"0\"}', 39, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (494, 23, 'type_id', '订单类型', 'TINYINT', '3', '', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 18, 1, 'type_id', 'name', 'customer_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (495, 23, 'plan_delivery_dt', '预计发货日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 22, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (496, 23, 'attachment', '附件', 'VARCHAR', '255', '', '', 'files', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\"}', 29, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (497, 21, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 80, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (498, 21, 'use_close', '关闭', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"0\"}', 86, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (499, 31, 'code', '编号', 'VARCHAR', '10', 'INDEX', '', 'text', '', 1, 1, 1, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (500, 29, 'code', '编码', 'VARCHAR', '10', 'INDEX', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (501, 35, 'code', '编码', 'VARCHAR', '10', 'INDEX', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (502, 32, 'code', '编码', 'VARCHAR', '10', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (503, 23, 'lock_money', '锁定金额(元)', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 20, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (504, 23, 'balance_money', '账户余额(元)', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 21, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (505, 52, 'sn', '单据编号', 'VARCHAR', '30', '', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (506, 46, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (507, 52, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 61, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (508, 52, 'created_at', '单据日期', 'INT', '10', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 59, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (509, 52, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 12, 1, 'customer_id', 'name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (510, 52, 'market_name', '超市名称', 'VARCHAR', '255', NULL, '', 'select2', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 51, 1, NULL, NULL, NULL, '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (512, 54, 'code', '编码', 'VARCHAR', '10', 'INDEX', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (513, 54, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (515, 54, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 2, 1, 'customer_id', 'name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (516, 54, 'type_id', '业态', 'TINYINT', '3', 'INDEX', '', 'radio', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u5927\\u578b\\u8d85\\u5e02|1\\r\\n\\u8fde\\u9501\\u8d85\\u5e02|2\\r\\n\\u4fbf\\u5229\\u5546\\u5e97|3\\r\\n\\u5176\\u4ed6|4\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (517, 54, 'market_address', '地址', 'VARCHAR', '255', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (518, 54, 'fax', '传真', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (519, 54, 'market_person_name', '超市采购', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (520, 54, 'market_person_phone', '采购电话', 'VARCHAR', '20', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (521, 54, 'market_area', '面积(㎡)', 'INT', '11', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (522, 52, 'market_address', '超市地址/总部地址', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 52, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (523, 52, 'market_size', '营业面积(㎡)', 'VARCHAR', '10', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 53, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (524, 52, 'market_contact', '超市采购', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 54, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (525, 52, 'market_contact_phone', '联系人电话', 'VARCHAR', '20', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 55, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (526, 52, 'market_type_id', '业态类型', 'TINYINT', '3', 'INDEX', '', 'radio', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u5927\\u578b\\u8d85\\u5e02|1\\r\\n\\u8fde\\u9501\\u8d85\\u5e02|2\\r\\n\\u4fbf\\u5229\\u5546\\u5e97|3\\r\\n\\u5176\\u5b83|4\",\"query\":\"\",\"default\":\"\"}', 56, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (527, 52, 'region_id', '销售区域', '', '', '', '', 'dialog', '', 1, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_region\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 50, 1, 'customer_id', 'region_id.region_id:customer_region.name', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (528, 52, 'actived_dt', '生效日期', 'DATE', '', '', '', 'date', '', 0, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 49, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (529, 52, 'fax', '回复传真', 'VARCHAR', '20', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 13, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (530, 52, 'phone', '确认电话', 'VARCHAR', '20', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (531, 52, 'market_totol', '总店数', 'MEDIUMINT', '8', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (532, 52, 'market_cur_count', '本次进店数', 'MEDIUMINT', '8', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (533, 52, 'single_cast', '单品单店条码费(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 17, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (534, 52, 'totol_cast', '系统进店则(元/SKU/系统)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (535, 52, 'attachment', '附件', 'VARCHAR', '255', '', '', 'files', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\"}', 19, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (537, 52, 'dispatch_type_id', '配送方式', 'TINYINT', '3', 'INDEX', '', 'radio', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u914d\\u9001\\u5230\\u95e8\\u5e97|1\\r\\n\\u914d\\u9001\\u5230\\u5927\\u5e93|2\\r\\n\\u7b2c\\u4e09\\u65b9\\u7269\\u6d41|3\",\"query\":\"\",\"default\":\"\"}', 21, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (538, 52, 'enter_type_id', '本次进店类别', 'TINYINT', '3', 'INDEX', '', 'radio', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u65b0\\u6761\\u7801\\u8fdb\\u65b0\\u7cfb\\u7edf(\\u8fdb\\u65b0\\u5e97)|1\\r\\n\\u65b0\\u6761\\u7801\\u8fdb\\u8001\\u7cfb\\u7edf(\\u8865\\u7801)|2\\r\\n\\u56fd\\u9645\\u6027\\u5927\\u5356\\u573a\\u5f00\\u65b0\\u5e97|3\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 22, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (539, 52, 'enter_type2_id', '对应超市类别', 'TINYINT', '3', 'INDEX', '', 'radio', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u751f\\u9c9c|1\\r\\n\\u8c03\\u5473|2\\r\\n\\u4f11\\u95f2|3\\r\\n\\u65e5\\u914d|4\\r\\n\\u5176\\u5b83|5\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 23, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (540, 52, 'barcode_count', '申请条码数', 'SMALLINT', '5', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 24, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (541, 52, 'barcode_cast', '申请条码总费用', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 25, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (542, 52, 'market_cast', '客户承担(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 26, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (543, 52, 'barcode_cast_ratio', '客户承担比例(%)', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 27, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (545, 52, 'apply_bccount', '同意条码(支)', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 28, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (546, 52, 'apply_market_count', '同意进店(家)', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 29, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (547, 52, 'apply_money', '给于条码费用支持(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 30, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (548, 52, 'verification_info', '提供如下资料核销', '', '', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"content\":\"批复复印件|field001\\r\\n购物小票|field002\\r\\n超市盖章验收单|field003\\r\\n超市出具给贵司的全额票据复印件|field004\\r\\n贵司出具给我司承担部分发票原件|field005\",\"default\":null}', 31, 1, '', '', '', '', NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (549, 52, 'apply_remark', '其它说明或建议', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 32, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (550, 52, 'apply_percentage', '按回款核销(%)', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 33, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (551, 52, 'order_payment_scale', '按订单进行兑付(%)', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 34, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (552, 52, 'apply2_money', '公司承担(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 35, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (553, 52, 'apply2_ratio', '公司承担比例(%)', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 36, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (554, 52, 'apply2_single_cast', '公司承担单店单码单价(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 37, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (555, 52, 'is_chairman_audit', '是否董事长审核', 'TINYINT', '3', '', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 38, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (556, 52, 'audit_text1', '市场助理意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 41, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (557, 52, 'audit_sign1', '市场助理时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 42, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (558, 52, 'audit_text2', '营销总监意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 43, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (559, 52, 'audit_sign2', '营销总监时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 44, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (560, 52, 'audit_text3', '董事办意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 45, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (561, 52, 'audit_sign3', '董事办时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 46, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (562, 52, 'audit_text4', '董事长意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 47, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (563, 52, 'audit_sign4', '董事长时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 48, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (564, 53, 'product_code', '存货编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 62, 1, 'product_id', 'code', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (565, 53, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 69, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (566, 53, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"default\":\"\",\"single\":\"0\"}', 63, 1, 'product_id', 'name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (567, 53, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 64, 1, 'product_id', 'spec', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (568, 53, 'price1', '报价', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 66, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (569, 53, 'price2', '售价', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 67, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (570, 52, 'customer_code', '客户编码', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, 'customer_id', 'code', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (571, 45, 'code', '编码', 'VARCHAR', '20', 'INDEX', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (572, 55, 'date', '单据日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"default\":\"1\"}', 12, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (573, 55, 'sn', '单据编号', 'VARCHAR', '30', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"CXBX\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (574, 55, 'created_by', '制单人', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 19, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (575, 55, 'apply_id', '申请编号', 'INT', NULL, 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"promotion\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 13, 1, 'apply_id', 'sn', 'promotion', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (576, 55, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"customer\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 15, 1, 'customer_id', 'name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (577, 55, 'region_id', '销售区域', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"customer_region\",\"default\":\"\",\"single\":\"1\"}', 17, 1, 'customer_id', 'region_id.region_id:customer_region.name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (578, 55, 'apply_scope', '促销范围', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (579, 55, 'apply_start_dt', '开始日期', 'DATE', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 20, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (580, 55, 'apply_end_dt', '结束日期', 'DATE', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 21, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (581, 55, 'apply_way', '促销方式', '', '', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u7279\\u4ef7|field021\\r\\n\\u6d88\\u8d39\\u4e70\\u8d60|field022\\r\\n\\u514d\\u54c1|field023\\r\\n\\u6e20\\u9053\\u8d60\\u9001\\u5956\\u52b1|field024\\r\\n\\u5f62\\u8c61\\u9648\\u5217\\u5ba3\\u4f20|field025\\r\\n\\u4eba\\u5458\\u6fc0\\u52b1|field026\\r\\n\\u6d88\\u8d39\\u4e3b\\u9898|field027\\r\\n\\u63a8\\u5e7f|field028\\r\\n\\u5176\\u4ed6|field029\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (582, 55, 'apply_dt', '申请时间', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (583, 55, 'apply_money', '申请费用', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 22, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (584, 55, 'over_due_day', '超期天数', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 23, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (585, 55, 'deduction_money', '扣减金额', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 24, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (586, 55, 'area_money', '公司批复支持费用', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 25, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (587, 55, 'fact_verification_cost', '实际核销支持费用', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 26, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (588, 55, 'verification_cost', '本次核销费用', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 27, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (589, 55, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (590, 55, 'pay_type', '支付方式', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u8d27\\u8865|1\\r\\n\\u8f6c\\u8d26|2\\r\\n\\u7968\\u6298|3\\r\\n\\u6302\\u8d26|4\",\"query\":\"\",\"default\":\"\"}', 28, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (591, 55, 'use_order', '是否使用', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 29, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (592, 55, 'reply_content', '批复内容', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 30, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (593, 55, 'execute_text', '促销执行情况', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 31, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (594, 55, 'apply_change', '促销变更申请', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 32, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (595, 55, 'res_analyze', '促销结果分析', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 33, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (596, 55, 'improvement', '改进措施', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 34, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (597, 55, 'other_text', '其他', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 35, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (598, 55, 'demand', '批复要求', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 36, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (599, 55, 'attachment_ditail', '附件明细', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 37, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (600, 55, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 39, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (601, 55, 'id', 'ID', 'INT', '11', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 41, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (602, 56, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 57, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (603, 56, 'category_name', '产品类别', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 42, 1, 'product_id', 'category_id.category_id:product_category.name', 'product', 'one2one', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (604, 56, 'product_code', '存货编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 45, 1, 'product_id', 'code', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (605, 56, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"default\":\"\",\"single\":\"0\"}', 43, 1, 'product_id', 'name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (606, 56, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"160\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 44, 1, 'product_id', 'spec', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (607, 56, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 47, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (608, 56, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 48, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (609, 56, 'price', '单价(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 49, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (610, 56, 'money', '金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 50, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (611, 56, 'use_quantity', '已用数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 51, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (612, 56, 'remark', '备注', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 53, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (613, 56, 'use_close', '关闭', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 52, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (614, 56, 'id', 'ID', 'INT', '11', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 58, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (615, 56, 'product_barcode', '产品条码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 46, 1, 'product_id', 'barcode', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (616, 57, 'sn', '单据编号', 'VARCHAR', '30', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (618, 57, 'created_by', '制单人', 'VARCHAR', '60', '', '', 'auto', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (619, 57, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 3, 1, 'customer_id', 'name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (620, 57, 'region_id', '销售区域', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"customer_region\",\"default\":\"\",\"single\":\"1\"}', 5, 1, 'customer_id', 'region_id.region_id:customer_region.name', 'customer', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (621, 57, 'apply_dt', '申请时间', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (622, 57, 'apply_id', '申请编号', 'INT', NULL, 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"type\":\"approach\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 7, 1, 'apply_id', 'sn', 'approach', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (623, 57, 'market_name', '店名及家数', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (624, 57, 'status', '状态', 'SMALLINT', NULL, 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (625, 57, 'over_due_day', '超期天数', 'TINYINT', '3', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (626, 57, 'deduction_money', '扣减金额', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (627, 57, 'apply_money', '公司批复支持费用', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (628, 57, 'verification_cost', '实际核销支持费用', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 13, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (629, 57, 'fact_verification_cost', '本次核销费用', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"160\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (630, 57, 'pay_type', '支付方式', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u8d27\\u8865|1\\r\\n\\u8f6c\\u8d26|2\\r\\n\\u7968\\u6298|3\\r\\n\\u6302\\u8d26|4\",\"query\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (631, 57, 'use_order', '是否使用', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (632, 57, 'attachment_ditail', '附件明细', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 17, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (633, 57, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (634, 58, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 30, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (635, 58, 'product_code', '产品编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 20, 1, 'product_id', 'code', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (636, 58, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"default\":\"\",\"single\":\"0\"}', 21, 1, 'product_id', 'name', 'product', 'one2one', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (637, 58, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 22, 1, 'product_id', 'spec', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (638, 58, 'price1', '报价', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 25, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (639, 58, 'price2', '售价', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 26, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (640, 58, 'is_store', '实际进店', 'TINYINT', '3', 'INDEX', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"default\":\"\"}', 27, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (641, 58, 'remark', '备注', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 28, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (642, 58, 'use_close', '关闭', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 29, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (643, 58, 'product_barcode', '产品条码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 23, 1, 'product_id', 'barcode', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (644, 61, 'sn', '单据编号', 'VARCHAR', '20', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"QTRK\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (645, 61, 'created_at', '单据日期', 'INT', '10', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (646, 61, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (647, 61, 'created_by', '制单人', 'VARCHAR', '60', '', '', 'auto', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (648, 61, 'warehouse_id', '仓库', 'INT', '11', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 5, 1, 'warehouse_id', 'name', 'warehouse', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (649, 61, 'type_id', '入库类别', 'INT', '11', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query\":\"type=1\",\"default\":\"\"}', 6, 1, 'type_id', 'name', 'stock_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (650, 61, 'department_id', '入库部门', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"default\":\"\",\"single\":\"1\"}', 7, 1, 'department_id', 'name', 'department', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (651, 61, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (652, 62, 'batch_sn', '生产批次', 'VARCHAR', '20', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (653, 62, 'product_code', '存货编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, 'product_id', 'code', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (654, 62, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 9, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (655, 62, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"default\":\"\",\"single\":\"0\"}', 11, 1, 'product_id', 'name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (656, 62, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, 'product_id', 'spec', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (657, 62, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 13, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (658, 62, 'batch_date', '生产日期', 'DATE', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (659, 62, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (660, 63, 'sn', '单据编号', 'VARCHAR', '20', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"QTCK\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (661, 63, 'created_at', '单据日期', 'INT', '10', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (662, 63, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (663, 63, 'created_by', '制单人', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (664, 63, 'warehouse_id', '仓库', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 3, 1, 'warehouse_id', 'name', 'warehouse', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (665, 63, 'type_id', '出库类别', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query\":\"type=0\",\"default\":\"\"}', 4, 1, 'type_id', 'name', 'stock_type', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (666, 63, 'department_id', '出库部门', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 5, 1, 'department_id', 'name', 'department', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (667, 63, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (668, 64, 'product_code', '存货编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, 'product_id', 'code', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (669, 64, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 9, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (670, 64, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"default\":\"\",\"single\":\"1\"}', 11, 1, 'product_id', 'name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (671, 64, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, 'product_id', 'spec', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (672, 64, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 13, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (673, 64, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 14, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (674, 64, 'batch_sn', '生产批次', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"location_batch\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (675, 64, 'batch_date', '生产日期', 'DATE', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (676, 25, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'option', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"flow.status\",\"default\":\"\",\"single\":\"1\"}', 10, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (677, 43, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"220\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 2, 1, 'customer_id', 'name', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (678, 43, 'order_type_id', '订单类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 28, 1, 'order_type_id', 'name', 'customer_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (679, 43, 'type_id', '销售类型', 'INT', '11', 'INDEX', '', 'select', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"1\",\"single\":\"1\"}', 29, 1, 'type_id', 'name', 'sale_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (680, 43, 'warehouse_contact', '收货人', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 30, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (681, 43, 'warehouse_phone', '收货人手机号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 31, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (682, 43, 'warehouse_tel', '收货人座机', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 32, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (683, 43, 'warehouse_address', '收货地址', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 33, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (684, 43, 'freight_pay_text', '运费付费方式', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\\u56de\\u5355\\u4ed8\\uff0c\\u9001\\u8d27\"}', 26, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (685, 43, 'tax_type', '发票类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u589e\\u503c\\u7a0e\\u4e13\\u7528\\u53d1\\u7968|1\\r\\n\\u589e\\u503c\\u7a0e\\u666e\\u901a\\u53d1\\u7968|2\",\"query\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (686, 43, 'tax_id', '发票名称', 'INT', NULL, 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"customer_id=$customer_id\",\"default\":\"\",\"single\":\"1\"}', 8, 1, 'tax_id', 'name', 'customer_tax', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (687, 43, 'freight_quantity', '实发数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 25, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (688, 43, 'freight_part_quantity', '配件数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 19, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (689, 43, 'freight_weight', '实发重量(T)', 'DECIMAL', '10,1', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 20, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (690, 43, 'freight_part_weight', '配件重量(T)', 'DECIMAL', '10,1', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 21, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (691, 43, 'freight_short_logistics_id', '短途承运人', 'INT', '11', 'INDEX', '', 'select2', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 22, 1, 'freight_short_logistics_id', 'name', 'logistics', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (692, 43, 'freight_short_car', '短途车牌号', 'VARCHAR', '30', '', '', 'text', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 23, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (693, 43, 'freight_price', '运价(元/T)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (694, 43, 'freight_short_money', '短途运费(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (695, 43, 'freight_logistics_phone', '物流联系电话', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (696, 43, 'freight_type', '发运方式', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u90ae\\u5bc4|1\\r\\n\\u6c7d\\u8fd0|2\\r\\n\\u98de\\u673a|3\\r\\n\\u706b\\u8f66|4\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"2\",\"single\":\"0\"}', 13, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (697, 43, 'freight_sn', '运输单号', 'VARCHAR', '30', '', '', 'text', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (698, 43, 'freight_money', '总运费金额', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (699, 43, 'freight_customer_money', '客户承担运费', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (700, 43, 'freight_self_money', '公司承担运费', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 17, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (701, 43, 'freight_pay_type', '运费支付方式', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u56de\\u5355\\u4ed8|1\\r\\n\\u5230\\u4ed8|2\",\"query\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (702, 43, 'freight_arrival_date', '预计到货日期', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 10, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (703, 43, 'freight_remark', '物流备注', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (704, 43, 'freight_created_by', '物流登记人', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (705, 43, 'freight_created_dt', '物流登记时间', 'DATETIME', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (707, 44, 'sale_id', '订单ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 65, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (708, 44, 'sale_data_id', '订单明细ID', 'INT', NULL, 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 66, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (709, 44, 'sale_sn', '订单编号', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 64, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (710, 44, 'fee_src_sn', '单据编号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 61, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (711, 44, 'batch_sn', '生产批次', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"type\":\"location_batch\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 53, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (712, 44, 'batch_date', '生产日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"default\":\"0\"}', 54, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (713, 44, 'other_money', '其他金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 50, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (714, 44, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 58, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (715, 44, 'total_weight', '合计重量(kg)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"return data.total_weight = data.weight * data.quantity\",\"cell_count\":\"sum\",\"default\":\"\"}', 52, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (716, 24, 'use_close', '关闭', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 53, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (717, 44, 'product_code', '存货编码', '', '', '', '', 'text', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 42, 1, 'product_id', 'code', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (718, 44, 'warehouse_id', '仓库', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"type\":\"warehouse\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 57, 1, 'warehouse_id', 'name', 'warehouse', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (719, 44, 'fee_category_id', '单据类别', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 60, 1, 'fee_category_id', 'name', 'customer_cost_category', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (720, 44, 'fee_src_id', '单据ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 62, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (721, 44, 'fee_data_id', '单据明细ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 63, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (722, 65, 'sn', '单据编号', 'VARCHAR', '30', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"ZYFH\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (723, 65, 'created_at', '创建时间', 'INT', '10', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 13, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (724, 65, 'created_by', '制单人', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (725, 65, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (726, 65, 'invoice_dt', '发货日期', 'DATE', '', 'INDEX', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 4, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (727, 65, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 6, 1, 'customer_id', 'name', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (728, 59, 'sn', '单据编号', 'VARCHAR', '30', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"CPRK\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (729, 47, 'invoice_dt', '退货日期', 'DATE', '', 'INDEX', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 9, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (730, 36, 'code', '编码', 'VARCHAR', '30', 'INDEX', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (732, 26, 'is_freight', '计算运费', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"1\"}', 23, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (734, 26, 'department_id', '生产车间', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 16, 1, 'department_id', 'name', 'department', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (735, 27, 'general_taxpayer', '一般纳税人', 'TINYINT', '3', '', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 39, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (736, 27, 'is_allocate', '是否调拨', 'TINYINT', '3', '', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 37, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (737, 17, 'field021', '特价', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (738, 17, 'field022', '消费买赠', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (739, 17, 'field023', '免品', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (740, 17, 'field024', '渠道赠送奖励', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (741, 17, 'field025', '形象陈列宣传', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (742, 17, 'field026', '人员激励', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 10, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (743, 17, 'field027', '消费主题', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (744, 17, 'field028', '推广', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (745, 17, 'field029', '其他', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 14, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (746, 17, 'field010', '批复复印件', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (747, 17, 'field011', '陈列协议', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (748, 17, 'field012', '特价购物小票', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 17, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (749, 17, 'field013', 'DM原件', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (750, 17, 'field014', '超市盖章特价验收单', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 19, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (751, 17, 'field015', '超市出具给贵司的全额票据复印件', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 20, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (752, 17, 'field016', '贵司出具给我司承担部分发票原件', 'TINYINT', '3', '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 21, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (753, 55, 'field021', '特价', NULL, NULL, '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (754, 55, 'field022', '消费买赠', NULL, NULL, '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (755, 55, 'field023', '免品', NULL, NULL, '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (756, 55, 'field024', '渠道赠送奖励', NULL, NULL, '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (757, 55, 'field025', '形象陈列宣传', NULL, NULL, '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (758, 55, 'field026', '人员激励', NULL, NULL, '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (759, 55, 'field027', '消费主题', NULL, NULL, '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (760, 55, 'field028', '推广', NULL, NULL, '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 10, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (761, 55, 'field029', '其他', NULL, NULL, '', '', 'checkbox', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (762, 37, 'layer', '层级', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":null,\"content\":\"1级|1\\r\\n2级|2\\r\\n3级|3\\r\\n4级|4\\r\\n5级|5\\r\\n6级|6\\r\\n7级|7\\r\\n8级|8\\r\\n9级|9\\r\\n10级|10\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":\"0\",\"single\":\"0\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (763, 53, 'use_close', '关闭', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 68, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (764, 50, 'sort', '排序', 'TINYINT', '3', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (765, 59, 'workshop', '车间', 'VARCHAR', '30', '', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u4e00\\u8f66\\u95f4\\r\\n\\u4e8c\\u8f66\\u95f4\\r\\n\\u4e09\\u8f66\\u95f4\\r\\n\\u56fd\\u9645\\u8d38\\u6613\\u90e8\\r\\n\\u5ddd\\u5357\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\\u4e00\\u8f66\\u95f4\",\"single\":\"0\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (766, 60, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 9, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (767, 60, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"default\":\"\",\"single\":\"1\"}', 1, 1, 'product_id', 'name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (768, 60, 'product_code', '产品编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, 'product_id', 'code', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (769, 60, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, 'product_id', 'spec', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (770, 60, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (771, 60, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 4, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (772, 60, 'batch_sn', '生产批号', 'VARCHAR', '20', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (773, 60, 'batch_date', '生产日期', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"default\":\"0\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (774, 59, 'warehouse_id', '仓库', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"139\",\"single\":\"0\"}', 1, 1, 'warehouse_id', 'name', 'warehouse', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (775, 68, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (776, 68, 'name', '名称', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (777, 68, 'type', '类型', 'INT', '11', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u5165\\u5e93|1\\r\\n\\u51fa\\u5e93|0\",\"query\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (778, 68, 'sort', '排序', 'TINYINT', '3', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (779, 59, 'type_id', '入库类别', 'INT', '11', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"type=1\",\"default\":\"33\",\"single\":\"0\"}', 2, 1, 'type_id', 'name', 'stock_type', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (780, 59, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (781, 59, 'created_by', '制单人', 'VARCHAR', '30', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (782, 59, 'department_id', '部门', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 3, 1, 'department_id', 'name', 'department', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (783, 59, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (784, 69, 'name', '名称', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (785, 69, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (786, 69, 'code', '编码', 'VARCHAR', '30', 'INDEX', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (787, 69, 'sort', '排序', 'TINYINT', '3', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (788, 43, 'created_by', '制单人', 'VARCHAR', '30', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 35, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (789, 70, 'created_at', '单据日期', 'INT', '10', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (790, 70, 'sn', '单据编号', 'VARCHAR', '20', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"YPCQ\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (791, 70, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (792, 70, 'created_by', '制单人', 'VARCHAR', '30', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 10, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (793, 70, 'freight_type', '样品送达方式', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u5bc4\\u90ae|1\\r\\n\\u968f\\u8d27|2\\r\\n\\u81ea\\u63d0|3\",\"query\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (794, 70, 'customer_name', '随货客户', 'VARCHAR', '60', 'INDEX', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 5, 1, '', '', '', '', NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (795, 70, 'freight_address', '邮寄地址', 'VARCHAR', '255', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (796, 70, 'contact', '联系人', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (797, 70, 'contact_phone', '联系电话', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (798, 70, 'purpose', '样品用途', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (799, 70, 'department_id', '部门', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"default\":\"\",\"single\":\"1\"}', 2, 1, 'department_id', 'name', 'department', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (800, 70, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (801, 71, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 13, 1, 'product_id', 'id', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (802, 71, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"default\":\"\",\"single\":\"0\"}', 1, 1, 'product_id', 'name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (803, 71, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, 'product_id', 'spec', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (804, 71, 'product_code', '产品编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, 'product_id', 'code', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (805, 71, 'price', '单价', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (806, 71, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (807, 71, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 5, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (808, 71, 'money', '金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"return data.money = data, data.price * data.quantity\",\"cell_count\":\"sum\",\"default\":\"\"}', 6, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (809, 71, 'use_close', '关闭', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (810, 70, 'region_id', '销售区域', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_region\",\"query\":\"layer=3\",\"default\":\"\",\"single\":\"1\"}', 3, 1, 'region_id', 'name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (811, 71, 'use_quantity', '使用数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (812, 71, 'bill_type_id', '单据类型', 'TINYINT', '3', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"bill_type\",\"default\":\"\",\"single\":\"1\"}', 9, 1, 'bill_type_id', 'name', 'bill_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (813, 71, 'bill_sn', '单据编号', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (814, 71, 'bill_id', '单据ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (815, 71, 'bill_data_id', '单据明细ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (816, 61, 'invoice_dt', '入库日期', 'DATE', '', 'INDEX', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 2, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (817, 63, 'invoice_dt', '出库日期', 'DATE', '', 'INDEX', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (818, 59, 'invoice_dt', '入库日期', 'DATE', '', 'INDEX', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (819, 59, 'created_at', '单据日期', 'INT', '10', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 0, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (820, 47, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 13, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (821, 47, 'order_type_id', '订单类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 1, 1, 'order_type_id', 'name', 'customer_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (822, 47, 'type_id', '销售类型', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"5\",\"single\":\"1\"}', 2, 1, 'type_id', 'name', 'sale_type', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (823, 47, 'warehouse_contact', '收货人', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (824, 47, 'warehouse_phone', '收货人手机号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (825, 47, 'warehouse_address', '收货地址', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 7, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (826, 47, 'tax_type', '发票类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u589e\\u503c\\u7a0e\\u4e13\\u7528\\u53d1\\u7968|1\\r\\n\\u589e\\u503c\\u7a0e\\u666e\\u901a\\u53d1\\u7968|2\",\"query\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (827, 47, 'tax_id', '发票名称', 'INT', NULL, 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"customer_id=$customer_id\",\"default\":\"\",\"single\":\"1\"}', 4, 1, 'tax_id', 'name', 'customer_tax', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (828, 47, 'freight_pay_text', '运费付费方式', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\\u8d27\\u5230\\u65361\\u5143\\/\\u4ef6\\uff0c\\u4f59\\u6b3e\\u56de\\u5355\\u4ed8\\uff0c\\u9001\\u8d27\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (829, 43, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 34, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (830, 48, 'sale_sn', '订单编号', 'VARCHAR', '20', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 19, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (831, 48, 'type_id', '类型', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 2, 1, 'type_id', 'name', 'customer_order_type', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (832, 48, 'batch_sn', '生产批次', 'VARCHAR', '20', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (833, 48, 'batch_date', '生产日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"default\":\"0\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (834, 48, 'warehouse_id', '仓库', 'INT', '11', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"warehouse\",\"default\":\"\",\"single\":\"1\"}', 11, 1, 'warehouse_id', 'name', 'warehouse', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (835, 48, 'fee_src_sn', '单据编号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 22, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (836, 48, 'fee_src_type_id', '单据类型', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 24, 1, 'bill_type_id', 'name', 'bill_type', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (837, 48, 'fee_src_id', '单据ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 25, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (838, 48, 'fee_data_id', '单据明细ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 26, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (839, 48, 'weight', '重量(kg)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 17, 1, 'product_id', 'weight', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (840, 48, 'total_weight', '合计重量(kg)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"return data.total_weight =  data.quantity * data.weight\",\"cell_count\":\"sum\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (841, 26, 'price5', '网销价', 'DECIMAL', '10,4', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (842, 26, 'price3', '直营价', 'DECIMAL', '10,4', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (843, 26, 'price4', '现金直营价', 'DECIMAL', '10,4', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 13, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (844, 27, 'region', '行政区域', '', '', '', '', 'region', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 30, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (845, 56, 'apply_id', '单据ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 55, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (846, 56, 'apply_data_id', '单据明细ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 56, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (847, 56, 'apply_type_id', '单据类型', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 54, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (848, 58, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 24, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (849, 38, 'date', '单据日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 1, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (850, 38, 'year', '年份', 'SMALLINT', '5', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"2018|2018\\r\\n2019|2019\\r\\n2020|2020\\r\\n2021|2021\\r\\n2022|2022\\r\\n2023|2023\\r\\n2024|2024\\r\\n2025|2025\",\"query\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (851, 38, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (852, 38, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (853, 72, 'code', '编号', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (854, 72, 'customer_id', '所属客户', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"left\",\"width\":\"200\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 1, 1, 'customer_id', 'name', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (856, 72, 'month1', '1月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 5, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (857, 72, 'month2', '2月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 6, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (858, 72, 'month3', '3月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 7, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (859, 72, 'month4', '4月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 9, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (860, 72, 'month5', '5月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 10, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (861, 72, 'month6', '6月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 11, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (862, 72, 'month7', '7月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 13, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (863, 72, 'month8', '8月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 14, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (864, 72, 'month9', '9月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (865, 72, 'month10', '10月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 17, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (866, 72, 'month11', '11月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (867, 72, 'month12', '12月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 19, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (868, 72, 'total', '合计(万)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\ndata.total = num(data.month1) + num(data.month2) + num(data.month3) + num(data.month4) + num(data.month5) + num(data.month6) + num(data.month7) + num(data.month8) + num(data.month9) + num(data.month10) + num(data.month11) + num(data.month12);\\r\\nreturn data.total;\",\"cell_count\":\"sum\",\"default\":\"\"}', 4, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (869, 72, 'quarter1', '一季度', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\nvar v = num(data.month1) + num(data.month2) + num(data.month3);\\r\\nif (v > 0) {\\r\\n    data.quarter1= v;\\r\\n} else {\\r\\n    data.quarter1= 0;\\r\\n}\\r\\nreturn data.quarter1;\",\"cell_count\":\"sum\",\"default\":\"\"}', 8, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (870, 72, 'quarter2', '二季度', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\nvar v = num(data.month4) + num(data.month5) + num(data.month6);\\r\\nif (v > 0) {\\r\\n    data.quarter2= v;\\r\\n} else {\\r\\n    data.quarter2= 0;\\r\\n}\\r\\nreturn data.quarter2;\",\"cell_count\":\"sum\",\"default\":\"\"}', 12, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (871, 72, 'quarter3', '三季度', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\nvar v = num(data.month7) + num(data.month8) + num(data.month9);\\r\\nif (v > 0) {\\r\\n    data.quarter3= v;\\r\\n} else {\\r\\n    data.quarter3= 0;\\r\\n}\\r\\nreturn data.quarter3;\",\"cell_count\":\"sum\",\"default\":\"\"}', 16, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (872, 72, 'quarter4', '四季度', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\nvar v = num(data.month9) + num(data.month11) + num(data.month12);\\r\\nif (v > 0) {\\r\\n    data.quarter4= v;\\r\\n} else {\\r\\n    data.quarter4= 0;\\r\\n}\\r\\nreturn data.quarter4;\",\"cell_count\":\"sum\",\"default\":\"\"}', 20, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (873, 73, 'sn', '单据编号', 'VARCHAR', '20', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"prefix\":\"QYRW\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (874, 73, 'date', '单据日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"default\":\"1\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (875, 73, 'year', '年份', 'SMALLINT', '5', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"content\":\"2018|2018\\r\\n2019|2019\\r\\n2020|2020\\r\\n2021|2021\\r\\n2022|2022\\r\\n2023|2023\\r\\n2024|2024\\r\\n2025|2025\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (876, 73, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (877, 73, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (878, 74, 'region_id', '销售区域', 'INT', '11', 'INDEX', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"customer_region\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"layer=3\",\"default\":\"\",\"single\":\"0\"}', 1, 1, 'region_id', 'name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (879, 74, 'region_user', '区域经理', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"user\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 3, 1, 'region_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (880, 74, 'total', '合计(万)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\ndata.total = num(data.month1) + num(data.month2) + num(data.month3) + num(data.month4) + num(data.month5) + num(data.month6) + num(data.month7) + num(data.month8) + num(data.month9) + num(data.month10) + num(data.month11) + num(data.month12);\\r\\nreturn data.total;\",\"cell_count\":\"sum\",\"default\":\"\"}', 4, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (881, 74, 'month1', '1月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 5, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (882, 74, 'month2', '2月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 6, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (883, 74, 'month3', '3月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 7, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (884, 74, 'month4', '4月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 9, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (885, 74, 'month5', '5月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 10, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (886, 74, 'month6', '6月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 11, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (887, 74, 'month7', '7月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 13, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (888, 74, 'month8', '8月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 14, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (889, 74, 'month9', '9月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (890, 74, 'month10', '10月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 17, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (891, 74, 'month11', '11月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (892, 74, 'month12', '12月', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 19, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (893, 74, 'quarter1', '一季度', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\nvar v = num(data.month1) + num(data.month2) + num(data.month3);\\r\\nif (v > 0) {\\r\\n    data.quarter1= v;\\r\\n} else {\\r\\n    data.quarter1= 0;\\r\\n}\\r\\nreturn data.quarter1;\",\"cell_count\":\"sum\",\"default\":\"\"}', 8, 1, '', '', '', '', 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (894, 74, 'quarter2', '二季度', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\nvar v = num(data.month4) + num(data.month5) + num(data.month6);\\r\\nif (v > 0) {\\r\\n    data.quarter2= v;\\r\\n} else {\\r\\n    data.quarter2= 0;\\r\\n}\\r\\nreturn data.quarter2;\",\"cell_count\":\"sum\",\"default\":\"\"}', 12, 1, '', '', '', '', 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (895, 74, 'quarter3', '三季度', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\nvar v = num(data.month7) + num(data.month8) + num(data.month9);\\r\\nif (v > 0) {\\r\\n    data.quarter3= v;\\r\\n} else {\\r\\n    data.quarter3= 0;\\r\\n}\\r\\nreturn data.quarter3;\",\"cell_count\":\"sum\",\"default\":\"\"}', 16, 1, '', '', '', '', 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (896, 74, 'quarter4', '四季度', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"function num(v) {\\r\\n    var v = parseFloat(v);\\r\\n    return v || 0;\\r\\n}\\r\\nvar v = num(data.month9) + num(data.month11) + num(data.month12);\\r\\nif (v > 0) {\\r\\n    data.quarter4= v;\\r\\n} else {\\r\\n    data.quarter4= 0;\\r\\n}\\r\\nreturn data.quarter4;\",\"cell_count\":\"sum\",\"default\":\"\"}', 20, 1, '', '', '', '', 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (897, 44, 'poscode', '货位编号', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"type\":\"warehouse_location\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 55, 1, '', 'code', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (898, 44, 'posname', '货位名称', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 56, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (899, 75, 'name', '名称', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (900, 75, 'code', '编码', 'VARCHAR', '10', 'INDEX', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (901, 75, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (902, 75, 'warehouse_id', '仓库', 'INT', '11', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 2, 1, 'warehouse_id', 'name', 'warehouse', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (903, 53, 'product_barcode', '产品条码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 65, 1, 'product_id', 'barcode', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (904, 21, 'product_barcode', '产品条码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 79, 1, 'product_id', 'barcode', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (905, 60, 'poscode', '货位编号', 'TINYINT', '3', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"type\":\"warehouse_location\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 7, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (906, 60, 'posname', '货位名称', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (907, 64, 'poscode', '货位编号', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"warehouse_location\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 17, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (908, 64, 'posname', '货位名称', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (909, 62, 'poscode', '货位编号', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"warehouse_location\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 17, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (910, 62, 'posname', '货位名称', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (911, 65, 'type_id', '销售类型', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"1\",\"single\":\"1\"}', 7, 1, 'type_id', 'name', 'sale_type', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (912, 65, 'order_type_id', '订单类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 3, 1, 'order_type_id', 'name', 'customer_type', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (913, 65, 'warehouse_contact', '收货人', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 9, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (914, 65, 'warehouse_phone', '收货人手机号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (915, 65, 'warehouse_tel', '收货人座机', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (916, 65, 'warehouse_address', '收货地址', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (917, 65, 'warehouse_id', '仓库', 'INT', '11', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"content\":null,\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"0\"}', 2, 1, 'warehouse_id', 'name', 'warehouse', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (918, 65, 'tax_type', '发票类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u589e\\u503c\\u7a0e\\u4e13\\u7528\\u53d1\\u7968|1\\r\\n\\u589e\\u503c\\u7a0e\\u666e\\u901a\\u53d1\\u7968|2\",\"query\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (919, 65, 'tax_id', '发票名称', 'INT', NULL, 'INDEX', '', 'select', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"customer_id=$customer_id\",\"default\":\"\",\"single\":\"1\"}', 5, 1, 'tax_id', 'name', 'customer_tax', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (920, 65, 'freight_pay_text', '运费付费方式', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\\u8d27\\u5230\\u65361\\u5143\\/\\u4ef6\\uff0c\\u4f59\\u6b3e\\u56de\\u5355\\u4ed8\\uff0c\\u9001\\u8d27\"}', 8, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (921, 66, 'type_id', '类型', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 0, 1, 'type_id', 'name', 'customer_order_type', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (922, 66, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 19, 1, 'product_id', 'id', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (923, 66, 'category_name', '产品类别', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, 'product_id', 'category_id.category_id:product_category.name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (924, 66, 'product_code', '产品编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, 'product_id', 'code', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (925, 66, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"200\",\"css\":\"\",\"type\":\"product\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 3, 1, 'product_id', 'name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (926, 66, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, 'product_id', 'spec', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (927, 66, 'product_barcode', '产品条码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, 'product_id', 'barcode', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (928, 66, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 6, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (929, 66, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"if (column.colId == \'quantity\')  {\\r\\n    data.money = data.price * data.quantity;\\r\\n}\\r\\nreturn data.quantity;\",\"cell_count\":\"sum\",\"default\":\"\"}', 7, 1, '', '', '', '', 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (930, 66, 'price', '单价(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"if (column.colId == \'price\') {\\r\\n    data.money = data.quantity * data.price;\\r\\n}\\r\\nreturn data.price;\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (931, 66, 'money', '金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"if (data.product_code == \'99001\') {\\r\\n    if (data.money > 0)  {\\r\\n        return \'\';\\r\\n    }\\r\\n    return data.money = data.money;\\r\\n} else {\\r\\n    if (column.colId == \'money\') {\\r\\n        data.price = data.money \\/ data.quantity;\\r\\n    }\\r\\n return data.money;\\r\\n}\",\"cell_count\":\"sum\",\"default\":\"\"}', 9, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (932, 66, 'other_money', '其他金额(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"if (data.type_id == 2) {\\r\\n    return data.other_money = data.money;\\r\\n} else {\\r\\n    return data.other_money = \'\';\\r\\n}\",\"cell_count\":\"sum\",\"default\":\"\"}', 10, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (933, 66, 'weight', '重量(kg)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, NULL, NULL, NULL, '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (934, 66, 'total_weight', '重量合计(kg)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"return data.total_weight = data.quantity * data.weight\",\"cell_count\":\"sum\",\"default\":\"\"}', 12, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (935, 66, 'batch_sn', '生产批次', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"location_batch\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 13, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (936, 66, 'batch_date', '生产日期', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"default\":\"0\"}', 14, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (937, 66, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (938, 66, 'poscode', '货位编号', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"type\":\"warehouse_location\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (939, 66, 'posname', '货位名称', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (940, 65, 'remark', '备注', 'VARCHAR', '100', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (941, 48, 'poscode', '货位编号', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"100\",\"css\":\"\",\"type\":\"warehouse_location\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 12, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (942, 48, 'posname', '货位名称', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 13, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (943, 17, 'customer_code', '客户编码', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, 'customer_id', 'code', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (952, 43, 'region_id', '销售区域', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 3, 1, 'customer_id', 'region_id.region_id:customer_region.name', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (953, 27, 'region3_id', '销售大区', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":null,\"css\":null,\"type\":\"customer_region\",\"query_key\":null,\"query_value\":null,\"query\":\"layer=1\",\"default\":null,\"single\":\"1\"}', 3, 1, 'region2_id', 'parent_id.parent_id:customer_region.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (954, 27, 'region2_id', '销售省区', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":null,\"type\":\"customer_region\",\"query_key\":null,\"query_value\":null,\"query\":\"layer=2\",\"default\":null,\"single\":\"1\"}', 4, 1, 'region_id', 'parent_id.parent_id:customer_region.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (966, 17, 'region3_id', '销售大区', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 67, 1, 'region2_id', 'parent_id.parent_id:customer_region.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (967, 17, 'region2_id', '销售省区', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 66, 1, 'region_id', 'parent_id.parent_id:customer_region.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (968, 27, 'region3_user', '大区经理', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 6, 1, 'region3_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', '', '', 'NULL', NULL);
INSERT INTO `model_field` VALUES (969, 27, 'region2_user', '省区经理', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"user\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 7, 1, 'region2_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (970, 27, 'region_user', '区域经理', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"user\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 8, 1, 'region_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (971, 17, 'region3_user', '大区经理', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 70, 1, 'region3_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (972, 17, 'region2_user', '省区经理', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 69, 1, 'region2_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (973, 17, 'region_user', '区域经理', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 68, 1, 'region_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (974, 17, 'audit_director2_text', '董事长意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 32, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (975, 17, 'audit_director2_sign', '董事长时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 33, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (976, 27, 'manage_name', '管理负责人', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 13, 1, 'region2_id', 'remark', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (977, 27, 'manage_phone', '管理负责手机号', 'VARCHAR', '30', '', '客户的实际经营负责人联系电话', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 14, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (978, 27, 'manage_weixin', '管理负责微信', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (979, 27, 'finance_name', '财务负责人', 'VARCHAR', '20', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (980, 27, 'finance_phone', '财务负责手机号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 17, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (981, 27, 'cost_name', '费用核销人', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (982, 27, 'cost_phone', '费用核销手机号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 19, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (983, 27, 'attachment', '附件资料', 'VARCHAR', '255', '', '', 'files', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\"}', 20, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (985, 67, 'sn', '单据编号', 'VARCHAR', '20', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"prefix\":\"CPDB\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (986, 67, 'in_warehouse_id', '转入仓库', 'INT', '11', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 3, 1, 'in_warehouse_id', 'name', 'warehouse', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (987, 67, 'in_type_id', '入库类别', 'INT', '11', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query\":\"type=1\",\"default\":\"\"}', 5, 1, 'in_type_id', 'name', 'stock_type', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (988, 67, 'in_department_id', '入库部门', 'INT', '11', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 7, 1, 'in_department_id', 'name', 'department', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (989, 67, 'out_warehouse_id', '转出仓库', 'INT', '11', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query\":\"\",\"default\":\"\"}', 9, 1, 'out_warehouse_id', 'name', 'warehouse', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (990, 67, 'out_type_id', '出库类别', 'INT', '11', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query\":\"type=0\",\"default\":\"\"}', 10, 1, 'out_type_id', 'name', 'stock_type', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (991, 67, 'out_department_id', '出库部门', 'INT', '11', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 11, 1, 'out_department_id', 'name', 'department', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (992, 67, 'created_by', '制单人', 'VARCHAR', '30', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (993, 67, 'status', '状态', 'VARCHAR', '10', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 19, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (994, 67, 'invoice_dt', '单据日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 2, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (995, 67, 'delivery_dt', '发货日期', 'DATE', '', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 13, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (996, 67, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 17, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (997, 76, 'product_code', '产品编码', '', '', '', '', 'text', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 37, 1, 'product_id', 'code', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (998, 76, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 36, 1, 'product_id', 'id', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (999, 76, 'product_name', '产品名称', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 38, 1, 'product_id', 'name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1000, 76, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 39, 1, 'product_id', 'spec', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1001, 76, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 40, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1002, 76, 'quantity', '数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 41, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1003, 76, 'batch_sn', '生产批号', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"location_batch\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 42, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1004, 76, 'batch_date', '生产日期', 'DATE', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 43, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1005, 76, 'out_poscode', '调出货位编号', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"type\":\"warehouse_location\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 44, 1, NULL, NULL, NULL, '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1006, 76, 'out_posname', '调出货位名称', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 45, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1007, 76, 'in_poscode', '调入货位编号', 'VARCHAR', '20', 'INDEX', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"type\":\"warehouse_location\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 46, 1, NULL, NULL, NULL, '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1008, 76, 'in_posname', '调入货位名称', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 47, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1009, 76, 'sale_sn', '订单编号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 48, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1010, 24, 'delivery_quantity', '实发数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 42, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1011, 74, 'region2_id', '销售省区', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"customer_region\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"layer=2\",\"default\":\"\",\"single\":\"0\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1012, 74, 'region2_user', '省区经理', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"user\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 2, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1013, 77, 'id', 'ID', 'INT', '11', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1014, 77, 'category', '品种', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1015, 77, 'code', '编码', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1016, 77, 'name', '名称', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1017, 77, 'status', '状态', 'TINYINT', '3', '', '', 'radio', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u542f\\u7528|1\\r\\n\\u7981\\u7528|0\",\"query\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1018, 77, 'ratio', '出品率', 'DECIMAL', '10,2', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1019, 77, 'remark', '备注', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1020, 72, 'region_id', '销售区域', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_region\",\"query\":\"layer=3\",\"default\":\"\",\"single\":\"1\"}', 2, 1, 'customer_id', 'region_id.region_id:customer_region.name', 'customer', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1021, 72, 'region_user', '区域经理', '', '', '', '', 'dialog', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":null,\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"0\"}', 3, 1, 'region_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1022, 52, 'cash_amount', '实际兑现金额', '', '', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 57, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1023, 52, 'cash_date', '兑现时间', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 58, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1024, 52, 'audit_text5', '省区经理意见', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 39, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1025, 52, 'audit_sign5', '省区经理时间', 'VARCHAR', '60', '', '', 'auto', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"sys_user_name_datetime\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 40, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1026, 27, 'user_id', '用户ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 45, 1, NULL, NULL, NULL, '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1027, 45, 'bank_name', '开户银行', 'VARCHAR', '60', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1028, 45, 'bank_address', '开户银行地址', 'VARCHAR', '255', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 17, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1029, 45, 'bank_account', '银行帐号', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1030, 45, 'tel', '电话号码', 'VARCHAR', '30', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1031, 45, 'address', '公司地址', 'VARCHAR', '255', '', '', 'text', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 19, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1032, 78, 'date', '计划日期', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 0, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1033, 78, 'sn', '单据编号', 'VARCHAR', '20', 'INDEX', '', 'sn', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"prefix\":\"SCDD\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 1, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1034, 78, 'status', '状态', 'VARCHAR', '20', 'INDEX', '', 'audit', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 2, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1035, 78, 'type', '计划类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u6b63\\u5e38|1\\r\\n\\u53d8\\u66f4|2\",\"query\":\"\",\"default\":\"1\"}', 3, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1036, 78, 'created_at', '制单时间', 'INT', '10', '', '', 'date', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 4, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1037, 78, 'created_by', '制单人', 'VARCHAR', '30', '', '', 'auto', '', 1, 1, 0, 0, 0, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 5, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1038, 78, 'remark', '备注', 'VARCHAR', '255', '', '', 'textarea', '', 0, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1039, 79, 'product_id', '产品ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 0, 1, 'product_id', 'id', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1040, 79, 'product_code', '产品编码', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, 'product_id', 'code', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1041, 79, 'product_name', '产品名称', '', '', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"type\":\"product\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 2, 1, 'product_id', 'name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1042, 79, 'product_spec', '规格型号', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, 'product_id', 'spec', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1043, 79, 'product_unit', '计量单位', '', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1044, 79, 'stock_num', '当前库存', 'DECIMAL', '20,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 5, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1045, 79, 'dphz_num', '单品汇总', 'DECIMAL', '20,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 6, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1046, 79, 'xqzc_num', '需求总差', 'DECIMAL', '20,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 7, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1047, 79, 'dkzc_num', '打款差额', 'DECIMAL', '20,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 8, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1048, 79, 'waitin_num', '待入库', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 9, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1049, 79, 'fhjh_num', '发货计划', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 10, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1050, 79, 'yxjh_num', '后天营销', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 11, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1051, 79, 'plan_num', '后天计划', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 14, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1052, 79, 'plan_num1', '明天计划', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1053, 79, 'plan_num2', '今天计划', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 1, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 16, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1054, 79, 'yxjh_num1', '明天营销', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 12, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1055, 79, 'yxjh_num2', '今天营销', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 13, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1056, 79, 'bgh_num', '变更后数据', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 18, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1057, 79, 'ljrk_num', '月累计入库', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 19, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1058, 79, 'syfh_num', '上月发货量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 20, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1059, 79, 'department_id', '车间名称', 'VARCHAR', '30', '', '', 'dialog', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"70\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 21, 1, 'department_id', 'name', 'department', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1060, 79, 'batch_sn', '外贸生产批号', 'VARCHAR', '20', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"90\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 22, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1061, 79, 'remark', '备注', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"left\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 23, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1062, 79, 'bg_num', '变更数据', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"right\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 17, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1063, 24, 'batch_sn', '生产批次', 'VARCHAR', '20', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 48, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1064, 24, 'batch_date', '生产日期', 'DATE', '', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 49, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1065, 23, 'export_country', '出口国家', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 19, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1066, 26, 'material_type', '物料类型', 'TINYINT', '3', 'INDEX', '', 'select', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"70\",\"content\":\"客户物料|1\\r\\n销售物料|2\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 29, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1067, 66, 'warehouse_id', '仓库', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 17, 1, 'warehouse_id', 'name', 'warehouse', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1068, 76, 'sale_id', '订单ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 49, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1069, 76, 'sale_data_id', '订单明细ID', 'INT', '11', 'INDEX', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 50, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1070, 48, 'sale_id', '订单ID', 'INT', '11', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 20, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1071, 48, 'sale_data_id', '订单明细ID', 'INT', '11', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 21, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1073, 57, 'date', '单据日期', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 1, 1, '', '', '', '', '', NULL, NULL);
INSERT INTO `model_field` VALUES (1074, 23, 'is_return', '是否回退', 'TINYINT', NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 27, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1075, 27, 'head_birthday', '法人生日', 'DATE', NULL, NULL, NULL, 'date', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 12, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1076, 64, 'sample_id', '样品申请ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 19, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1077, 64, 'sample_data_id', '样品申请明细ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 20, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1078, 44, 'sample_id', '样品申请ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 67, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1079, 44, 'sample_data_id', '样品申请明细ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 68, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1080, 43, 'id', 'ID', 'INT', '11', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 37, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1081, 16, 'short_car_sn', '短途车牌号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1082, 16, 'code', '编码', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1083, 80, 'id', 'ID', 'INT', '11', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1084, 80, 'name', '名称', 'VARCHAR', '100', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (1085, 80, 'path', '路径', 'NVARCHAR', '200', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 1, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, 'Empty String', NULL);
INSERT INTO `model_field` VALUES (1086, 80, 'type', '类型', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1087, 80, 'created_at', '创建时间', 'INT', '10', NULL, NULL, 'date', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"default\":\"0\"}', 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1088, 80, 'size', '大小', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1089, 17, 'cash_amount', '实际兑现金额', NULL, NULL, NULL, NULL, 'text', NULL, 1, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 62, 1, NULL, NULL, NULL, NULL, 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (1090, 17, 'cash_date', '兑现时间', NULL, NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 63, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1091, 52, 'product', '进店产品', NULL, NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 20, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1092, 17, 'product', '促销产品', NULL, NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 22, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1093, 81, 'name', '名称', 'VARCHAR', '60', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1094, 81, 'code', '编码', 'VARCHAR', '60', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1095, 81, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1096, 81, 'id', 'ID', 'INT', '11', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"60\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1097, 82, 'sn', '单据编号', 'VARCHAR', '30', 'INDEX', NULL, 'sn', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":\"140\",\"css\":null,\"default\":null}', 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1098, 82, 'supplier_id', '供应商', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"supplier\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 8, 1, 'supplier_id', 'name', 'supplier', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1099, 82, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'textarea', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 10, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1100, 82, 'invoice_dt', '单据日期', 'DATE', NULL, 'INDEX', NULL, 'date', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 7, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1101, 82, 'created_by', '制单人', 'VARCHAR', '60', NULL, NULL, 'auto', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 9, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1102, 83, 'product_name', '商品名称', NULL, NULL, NULL, NULL, 'dialog', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 13, 1, 'product_id', 'name', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1103, 83, 'product_id', '商品ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 24, 1, 'product_id', 'id', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1104, 83, 'product_spec', '规格型号', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 14, 1, 'product_id', 'spec', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1105, 83, 'product_unit', '计量单位', NULL, NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1106, 83, 'apply_quantity', '申请数量', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"if (column.colId == \'apply_quantity\') {\\r\\n    data.quantity = data.apply_quantity\\r\\n}\\r\\nreturn data.apply_quantity\",\"cell_count\":\"sum\",\"default\":\"\"}', 16, 1, NULL, NULL, NULL, NULL, 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (1107, 83, 'quantity', '采购数量', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 17, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1108, 83, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 23, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1109, 82, 'plan_arrive_dt', '计划到货日期', 'DATE', NULL, NULL, NULL, 'date', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1110, 82, 'type_id', '业务类型', 'INT', NULL, NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u666e\\u901a\\u91c7\\u8d2d|1\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"1\",\"single\":\"1\"}', 5, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1111, 82, 'category_id', '采购类别', 'INT', NULL, NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u5e7f\\u5ba3\\u54c1|1\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"1\",\"single\":\"1\"}', 6, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1112, 82, 'department_id', '部门', 'INT', NULL, NULL, NULL, 'dialog', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 2, 1, 'department_id', 'name', 'department', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1113, 82, 'tax_rate', '税率', 'SMALLINT', NULL, NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"13|13\\r\\n3|3\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"13\",\"single\":\"1\"}', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1114, 82, 'status', '状态', 'INT', '11', 'INDEX', NULL, 'audit', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1115, 83, 'tax_price', '含税单价', 'DECIMAL', '20,5', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, NULL, NULL, NULL, NULL, 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (1116, 83, 'tax_money', '价税合计', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"data.tax_money = (data.quantity * data.tax_price);\\r\\ndata.tax_amount = data.tax_money * (data.tax_rate \\/ 100);\\r\\nreturn data.tax_money;\",\"cell_count\":\"sum\",\"default\":\"\"}', 19, 1, NULL, NULL, NULL, NULL, 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (1117, 83, 'tax_rate', '税率', 'SMALLINT', NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"70\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 21, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1118, 83, 'tax_amount', '税额', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 20, 1, NULL, NULL, NULL, NULL, 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (1119, 83, 'plan_arrive_dt', '计划到货日期', 'DATE', NULL, NULL, NULL, 'date', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"default\":\"0\"}', 22, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1120, 83, 'product_code', '商品编码', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, 'product_id', 'code', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1121, 84, 'sn', '入库单号', 'VARCHAR', '30', 'INDEX', NULL, 'sn', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"prefix\":\"RKD\",\"rule\":\"{Y}{M}{D}\",\"length\":\"4\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1122, 84, 'invoice_dt', '入库日期', 'DATE', NULL, NULL, NULL, 'date', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1123, 84, 'warehouse_id', '仓库', 'INT', NULL, 'INDEX', NULL, 'select', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"136\",\"single\":\"1\"}', 3, 1, 'warehouse_id', 'name', 'warehouse', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1124, 84, 'department_id', '部门', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 4, 1, 'department_id', 'name', 'department', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1125, 84, 'type_id', '入库类别', 'INT', NULL, 'INDEX', NULL, 'select', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"type=1\",\"default\":\"63\",\"single\":\"1\"}', 5, 1, 'type_id', 'name', 'stock_type', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1126, 84, 'created_by', '制单人', 'VARCHAR', '30', NULL, NULL, 'auto', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 6, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1127, 84, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'textarea', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 7, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1128, 85, 'product_id', '商品ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 8, 1, 'product_id', 'id', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1129, 85, 'product_code', '商品编码', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 9, 1, 'product_id', 'code', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1130, 85, 'product_name', '商品名称', NULL, NULL, NULL, NULL, 'dialog', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 10, 1, 'product_id', 'name', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1131, 85, 'product_spec', '规格型号', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, 'product_id', 'spec', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1132, 85, 'product_unit', '计量单位', NULL, NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1133, 85, 'quantity', '数量', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 13, 1, NULL, NULL, NULL, NULL, 'number', NULL, NULL);
INSERT INTO `model_field` VALUES (1134, 85, 'tax_price', '单价', 'DECIMAL', '20,5', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 14, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1135, 85, 'tax_money', '金额', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"data.tax_money = (data.quantity * data.tax_price);\\r\\ndata.tax_amount = data.tax_money * (data.tax_rate \\/ 100);\\r\\nreturn data.tax_money;\",\"cell_count\":\"sum\",\"default\":\"\"}', 15, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1136, 85, 'tax_rate', '税率', 'DECIMAL', '10,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1137, 85, 'tax_amount', '税额', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"sum\",\"default\":\"\"}', 17, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1138, 85, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1139, 85, 'order_sn', '采购单号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 19, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1140, 85, 'order_id', '采购ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 20, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1141, 85, 'order_data_id', '采购子表ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 21, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1142, 84, 'supplier_id', '供应商', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"supplier\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 2, 1, 'supplier_id', 'name', 'supplier', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1143, 49, 'remain_money', '剩余金额', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, NULL, NULL, NULL, NULL, 'money', NULL, NULL);
INSERT INTO `model_field` VALUES (1144, 24, 'fee_src_type_id', '单据类型', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 58, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1145, 44, 'fee_src_type_id', '单据类型', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 59, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1146, 46, 'type_id', '单据类型', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1147, 50, 'code', '编码', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1148, 46, 'adjust_type', '调整类型', 'TINYINT', NULL, NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u8c03\\u6574\\u4f59\\u989d|0\\r\\n\\u8c03\\u6574\\u53d1\\u751f\\u989d|1\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1152, 24, 'promotion_sn', '赠品编号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 54, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1153, 24, 'promotion_data_id', '赠品明细ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 57, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1154, 48, 'promotion_sn', '赠品编号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1155, 48, 'promotion_data_id', '赠品明细ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1156, 44, 'promotion_sn', '赠品编号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, 1, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 39, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1157, 44, 'promotion_data_id', '赠品明细ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 40, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (1158, 49, 'src_id', '源单据ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 9, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2158, 49, 'src_sn', '源编号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2159, 49, 'src_type_id', '源单据类型', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2160, 67, 'freight_logistics_id', '物流公司', 'INT', '11', 'INDEX', '', 'select2', '', 1, 1, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 33, 1, 'freight_logistics_id', 'name', 'logistics', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2161, 67, 'freight_pay_text', '运费付费方式', 'VARCHAR', '100', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\\u8d27\\u5230\\u65361\\u5143\\/\\u4ef6\\uff0c\\u4f59\\u6b3e\\u56de\\u5355\\u4ed8\\uff0c\\u9001\\u8d27\"}', 35, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2162, 67, 'freight_quantity', '实发数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 34, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2163, 67, 'freight_part_quantity', '配件数量', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 26, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2164, 67, 'freight_weight', '实发重量(T)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 27, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2165, 67, 'freight_part_weight', '配件重量(T)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 28, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2166, 67, 'freight_short_logistics_id', '短途承运人', 'INT', '11', 'INDEX', '', 'select2', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 29, 1, 'freight_short_logistics_id', 'name', 'logistics', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2167, 67, 'freight_short_car', '短途车牌号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 30, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2168, 67, 'freight_price', '运费(元/T)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2169, 67, 'freight_short_money', '短途运费(元)', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2170, 67, 'freight_logistics_phone', '物流联系电话', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2171, 67, 'freight_type', '发运方式', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u90ae\\u5bc4|1\\r\\n\\u6c7d\\u8fd0|2\\r\\n\\u98de\\u673a|3\\r\\n\\u706b\\u8f66|4\",\"query\":\"\",\"default\":\"0\"}', 20, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2172, 67, 'freight_sn', '运输单号', 'VARCHAR', '30', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 21, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2173, 67, 'freight_money', '总运费金额', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 22, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2174, 67, 'freight_customer_money', '客户承担运费', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 23, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2175, 67, 'freight_self_money', '公司承担运费', 'DECIMAL', '10,2', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 24, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2176, 67, 'freight_pay_type', '运费支付方式', 'TINYINT', '3', 'INDEX', '', 'select', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u56de\\u5355\\u4ed8|1\\r\\n\\u5230\\u4ed8|2\",\"query\":\"\",\"default\":\"\"}', 25, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2177, 67, 'freight_arrival_date', '预计到货日期', 'DATE', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 14, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2178, 67, 'freight_remark', '物流备注', 'VARCHAR', '255', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2179, 67, 'freight_created_by', '物流登记人', 'VARCHAR', '60', '', '', 'text', '', 0, 0, 0, 0, 0, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 6, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2180, 67, 'freight_created_dt', '物流登记时间', 'DATETIME', '', '', '', 'date', '', 0, 0, 0, 0, 0, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 8, 1, '', '', '', '', NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2181, 67, 'freight_short_start', '短途起点', 'VARCHAR', '30', NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u7709\\u5c71|\\u7709\\u5c71\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\\u7709\\u5c71\",\"single\":\"1\"}', 31, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2182, 67, 'freight_short_end', '短途终点', 'VARCHAR', '30', NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u6210\\u90fd|\\u6210\\u90fd\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\\u6210\\u90fd\",\"single\":\"1\"}', 32, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2183, 67, 'id', 'ID', 'INT', NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2184, 48, 'fee_category_id', '单据类别', 'INT', NULL, 'INDEX', NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 23, 1, 'fee_category_id', 'name', 'customer_cost_category', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2185, 50, 'is_cal', '参与对账单计算', 'TINYINT', NULL, 'INDEX', NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"1\",\"single\":\"1\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2186, 52, 'field001', '批复复印件', 'TINYINT', NULL, 'INDEX', NULL, 'checkbox', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 6, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2187, 52, 'field002', '购物小票', 'TINYINT', NULL, 'INDEX', NULL, 'checkbox', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 7, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2188, 52, 'field003', '超市盖章验收单', 'TINYINT', NULL, NULL, NULL, 'checkbox', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 8, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2189, 52, 'field004', '超市出具给贵司的全额票据复印件', 'TINYINT', NULL, NULL, NULL, 'checkbox', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 9, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2190, 52, 'field005', '贵司出具给我司承担部分发票原件', 'TINYINT', NULL, NULL, NULL, 'checkbox', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"default\":\"\"}', 10, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2191, 89, 'id', 'ID', 'INT', NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2192, 89, 'name', '收货人姓名', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2193, 89, 'zip_code', '邮政编码', 'VARCHAR', '20', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2194, 89, 'tel', '收货座机', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2195, 89, 'phone', '联系电话', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2196, 89, 'is_default', '默认仓库', 'TINYINT', NULL, 'INDEX', NULL, 'checkbox', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u662f|1\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2197, 89, 'address', '收货地址', 'VARCHAR', '200', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2198, 89, 'customer_id', '所属客户', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', NULL, 1, 'customer_id', 'name', 'customer', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2199, 24, 'ref_sale_id', '引用ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 55, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2200, 24, 'ref_sale_data_id', '引用子表ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 56, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2201, 52, 'market_id', '超市ID', 'INT', NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 60, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2202, 43, 'created_at', '单据日期', 'INT', '10', NULL, NULL, 'date', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2203, 27, 'is_direct', '是否直营', 'TINYINT', NULL, NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 38, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2204, 52, 'created_by', '制单人', 'VARCHAR', '30', NULL, NULL, 'auto', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"sys_user_name\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2205, 52, 'market_text', '具体进店名称', 'VARCHAR', '255', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2206, 52, 'fee_support_ratio', '本次条码费用支持比例', 'DECIMAL', '10,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2207, 45, 'created_at', '创建时间', 'INT', '10', NULL, NULL, 'date', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"130\",\"css\":\"\",\"default\":\"0\"}', 22, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2208, 23, 'freight_short_car', '短途车牌号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2209, 23, 'freight_short_logistics_id', '短途承运人', 'INT', NULL, 'INDEX', NULL, 'select2', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 9, 1, 'freight_short_logistics_id', 'name', 'logistics', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2210, 23, 'freight_pay_text', '运费付款方式', 'VARCHAR', '100', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2211, 17, 'is_close', '关闭', 'SMALLINT', NULL, 'INDEX', NULL, 'select', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 13, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2212, 90, 'id', 'ID', 'INT', NULL, NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2213, 90, 'name', '名称', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2214, 90, 'code', '编码', 'VARCHAR', '12', NULL, NULL, 'text', NULL, 1, 1, 1, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2215, 90, 'parent_id', '上级', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, 0, 0, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"customer_class\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 2, 1, 'parent_id', 'name', 'customer_class', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2216, 91, 'sn', '单据编号', 'VARCHAR', '20', NULL, NULL, 'sn', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"120\",\"css\":\"\",\"default\":\"\"}', 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2217, 91, 'created_dt', '单据日期', 'DATETIME', NULL, NULL, NULL, 'date', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2218, 91, 'customer_id', '客户名称', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 3, 1, 'customer_id', 'name', 'customer', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2219, 91, 'created_by', '制单人', 'VARCHAR', '30', NULL, NULL, 'auto', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"type\":\"sys_user_name\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2220, 91, 'status', '状态', 'INT', '11', 'INDEX', NULL, 'audit', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 5, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2221, 91, 'region_id', '销售区域', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_region\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"layer=3\",\"default\":\"\",\"single\":\"1\"}', 2, 1, 'region_id', 'name', 'customer_region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2222, 27, 'class_id', '客户分类', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_class\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 40, 1, 'class_id', 'name', 'customer_class', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2223, 45, 'department_id', '部门', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 13, 1, 'department_id', 'name', 'department', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2224, 45, 'class_id', '分类', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_class\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 12, 1, 'class_id', 'name', 'customer_class', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2226, 52, 'tax_id', '开票名称', NULL, NULL, NULL, NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2228, 55, 'tax_id', '开票名称', NULL, NULL, NULL, NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 40, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2230, 57, 'tax_id', '开票名称', NULL, NULL, NULL, NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 19, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2231, 17, 'tax_id', '开票名称', 'INT', NULL, 'INDEX', NULL, 'select', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"customer_id=$customer_id\",\"default\":\"\",\"single\":\"1\"}', 4, 1, 'tax_id', 'name', 'customer_tax', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2232, 17, 'tax_type', '开票类型', 'TINYINT', NULL, NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u589e\\u503c\\u7a0e\\u4e13\\u7528\\u53d1\\u7968|1\\r\\n\\u589e\\u503c\\u7a0e\\u666e\\u901a\\u53d1\\u7968|2\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2233, 55, 'attachment', '附件', 'VARCHAR', '255', NULL, NULL, 'files', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\"}', 38, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2234, 23, 'region2_user', '省区经理', NULL, NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 7, 1, 'region2_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2235, 49, 'tax_id', '开票单位', NULL, NULL, NULL, NULL, 'select', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2236, 52, 'is_close', '关闭', 'TINYINT', NULL, 'INDEX', NULL, 'select', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"0\",\"single\":\"1\"}', 5, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2237, 92, 'sn', '单据编号', 'VARCHAR', '30', NULL, NULL, 'sn', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2238, 92, 'class_id', '客户分类', 'INT', NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_class\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 8, 1, 'class_id', 'name', 'customer_class', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2239, 92, 'province_id', '省', 'SMALLINT', NULL, NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, 'province_id', 'name', 'region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2240, 92, 'city_id', '市', 'SMALLINT', NULL, NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, 'city_id', 'name', 'region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2241, 92, 'county_id', '县', 'SMALLINT', NULL, NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, 'county_id', 'name', 'region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2242, 92, 'address', '公司地址', 'VARCHAR', '255', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"280\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 13, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2243, 92, 'region', '行政区域', NULL, NULL, NULL, NULL, 'region', NULL, 0, 0, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 14, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2244, 92, 'region_id', '销售区域', 'INT', NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"customer_region\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"layer=3\",\"default\":\"\",\"single\":\"1\"}', 5, 1, 'region_id', 'name', 'customer_region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2245, 92, 'name', '客户名称', 'VARCHAR', '255', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"180\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2246, 92, 'warehouse_address', '仓库地址', 'VARCHAR', '255', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2247, 92, 'warehouse_contact', '仓库联系人', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2248, 92, 'warehouse_phone', '仓库手机号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 17, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2249, 92, 'warehouse_tel', '仓库座机', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 18, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2250, 92, 'warehouse_size', '仓库面积(㎡)', 'VARCHAR', '20', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 19, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2251, 92, 'type_id', '客户类型', 'SMALLINT', NULL, NULL, NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 6, 1, 'type_id', 'name', 'customer_type', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2252, 92, 'head_name', '法人', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 20, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2253, 92, 'head_phone', '法人电话', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 21, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2254, 92, 'head_birthday', '法人生日', 'DATE', NULL, NULL, NULL, 'date', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 22, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2255, 92, 'manage_name', '管理负责人', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 23, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2256, 92, 'manage_phone', '管理负责人手机号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 24, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2257, 92, 'manage_weixin', '管理负责人微信', 'VARCHAR', '60', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 25, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2258, 92, 'finance_name', '财务负责人', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 26, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2259, 92, 'finance_phone', '财务负责人手机', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 27, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2260, 92, 'cost_name', '费用核销人', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 28, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2261, 92, 'cost_phone', '费用核销人手机号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 29, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2262, 92, 'attachment', '附件资料', 'VARCHAR', '255', NULL, NULL, 'files', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\"}', 35, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2263, 26, 'scale_quantity', '下单倍数', 'VARCHAR', '20', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 14, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2264, 26, 'mini_quantity', '最低下单数', 'VARCHAR', '20', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2265, 96, 'sn', '单据编号', 'VARCHAR', '30', NULL, NULL, 'sn', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2266, 96, 'type_id', '业务类型', 'VARCHAR', '20', NULL, NULL, 'select', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u9886\\u6599\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\\u9886\\u6599\",\"single\":\"1\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2267, 96, 'invoice_dt', '出库日期', 'DATE', NULL, 'INDEX', NULL, 'date', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"1\"}', 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2268, 96, 'department_id', '部门', 'INT', NULL, NULL, NULL, 'dialog', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"type\":\"department\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 3, 1, 'department_id', 'name', 'department', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2269, 96, 'category_id', '出库类别', 'SMALLINT', NULL, 'INDEX', NULL, 'select', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"type=0\",\"default\":\"64\",\"single\":\"1\"}', 5, 1, 'category_id', 'name', 'stock_type', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2270, 96, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'textarea', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 7, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2271, 97, 'product_id', '商品ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 18, 1, 'product_id', 'id', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2272, 97, 'product_code', '商品编码', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, 'product_id', 'code', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2273, 97, 'product_name', '商品名称', NULL, NULL, NULL, NULL, 'dialog', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"200\",\"css\":\"\",\"type\":\"product\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"0\"}', 9, 1, 'product_id', 'name', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2274, 97, 'product_spec', '规格型号', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, 'product_id', 'spec', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2275, 97, 'product_unit', '计量单位', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 11, 1, 'product_id', 'unit_id.unit_id:product_unit.name', 'product', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2276, 97, 'batch_sn', '商品批号', 'VARCHAR', '20', 'INDEX', NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 12, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2277, 97, 'quantity', '数量', 'DECIMAL', '10,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 14, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2278, 97, 'price', '单价', 'DECIMAL', '20,4', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 15, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2279, 97, 'money', '金额', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"120\",\"css\":\"\",\"row_count\":\"return data.money = data.quantity * data.price;\",\"cell_count\":\"\",\"default\":\"\"}', 16, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2280, 97, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 17, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2281, 45, 'customer_code', '客户编码', NULL, NULL, NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, 'customer_id', 'code', 'customer', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2282, 45, 'customer_type', '客户类型', NULL, NULL, NULL, NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 5, 1, 'customer_id', 'type_id.type_id:customer_type.name', 'customer', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2283, 93, 'brand_name', '品牌名称', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"140\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 38, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2284, 93, 'sale_money', '年销售额', 'DECIMAL', '20,2', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 39, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2285, 93, 'market_quantity', '超市数量', 'VARCHAR', '10', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 40, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2286, 93, 'circulate_quantity', '流通数量', 'VARCHAR', '10', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 41, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2287, 93, 'market_high', '市场操作亮点', 'VARCHAR', '60', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 42, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2288, 93, 'brand_category', '品牌类别', 'VARCHAR', '20', NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u4e3b\\u8425\\u54c1\\u724c|1\\r\\n\\u540c\\u7c7b\\u54c1\\u724c|2\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 43, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2289, 93, 'remark', '备注', 'VARCHAR', '100', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 44, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2290, 94, 'market_style', '超市型态', 'VARCHAR', '10', NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"KA\\r\\nBC\\r\\n\\u519c\\u8d38\\r\\n\\u6279\\u53d1\\r\\n\\u5206\\u9500\\r\\n\\u5176\\u4ed6\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 45, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2291, 94, 'scope', '覆盖范围', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 46, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2292, 94, 'sale_quantity', '销售人数', 'VARCHAR', '10', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 47, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2293, 94, 'guide_quantity', '专职导购数量', 'VARCHAR', '10', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 48, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2294, 94, 'tally_quantity', '理货人数', 'VARCHAR', '10', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 49, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2295, 94, 'part_guide_quantity', '兼职导购数', 'VARCHAR', '10', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 50, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2296, 94, 'channel_plan_reason', '渠道规划理由', 'VARCHAR', '60', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 51, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2297, 94, 'channel_start_dt', '渠道启动日期', 'DATE', NULL, NULL, NULL, 'date', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"default\":\"0\"}', 52, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2298, 94, 'remark', '备注', 'VARCHAR', '60', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 53, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2299, 95, 'category_code', '类别编码', NULL, NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 55, 1, 'category_id', 'code', 'product_category', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2300, 95, 'category_id', '类别ID', 'INT', NULL, NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 58, 1, 'category_id', 'id', 'product_category', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2301, 95, 'price_type', '价格类型', 'VARCHAR', '10', NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"content\":\"\\u5382\\u4ef7\\r\\n\\u5176\\u4ed6\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 56, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2302, 95, 'remark', '备注', 'VARCHAR', '60', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 57, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2303, 95, 'category_name', '类别名称', NULL, NULL, NULL, NULL, 'dialog', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"type\":\"product_category\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 54, 1, 'category_id', 'name', 'product_category', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2304, 92, 'status', '状态', 'SMALLINT', NULL, 'INDEX', NULL, 'audit', NULL, 1, 1, 1, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"140\",\"css\":\"\",\"default\":\"\"}', 37, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2305, 92, 'department_id', '销售部门', 'INT', NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":null,\"css\":null,\"type\":\"department\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 9, 1, 'department_id', 'name', 'department', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2306, 92, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'textarea', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 36, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2307, 96, 'warehouse_id', '仓库', 'INT', NULL, 'INDEX', NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"content\":\"\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"20053\",\"single\":\"1\"}', 4, 1, 'warehouse_id', 'name', 'warehouse', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2308, 23, 'province', '省份', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, 'customer_id', 'province_id.province_id:region.name', 'customer', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2309, 23, 'region_user', '区域经理', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 6, 1, 'region_id', 'owner_user_id.owner_user_id:user.name', 'customer_region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2310, 45, 'region3', '销售区域', NULL, NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":null,\"type\":\"customer_region\",\"query_key\":null,\"query_value\":null,\"query\":\"layer=3\",\"default\":null,\"single\":\"1\"}', 6, 1, 'customer_id', 'region_id.region_id:customer_region.name', 'customer', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2311, 45, 'region3_user', '区域经理', NULL, NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 9, 1, 'region3', 'owner_user_id.owner_user_id:user.name', 'customer_region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2312, 97, 'batch_date', '商品日期', 'DATE', NULL, NULL, NULL, 'date', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d\",\"save\":\"date\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"default\":\"0\"}', 13, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2313, 92, 'general_taxpayer', '一般纳税人', 'TINYINT', NULL, NULL, NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"content\":\"\\u662f|1\\r\\n\\u5426|0\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 30, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2314, 92, 'tax_number', '纳税识别号', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 31, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2315, 92, 'code', '客户编码', 'VARCHAR', '20', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2316, 92, 'bank_name', '开户银行', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 32, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2317, 92, 'bank_address', '开户银行地址', 'VARCHAR', '255', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 34, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2318, 92, 'bank_account', '银行账户', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 33, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2319, 27, 'created_at', '创建时间', 'INT', '10', NULL, NULL, 'date', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 43, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2320, 92, 'created_at', '创建时间', 'INT', '10', NULL, NULL, 'date', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"0\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2321, 96, 'status', '状态', 'SMALLINT', '5', 'INDEX', NULL, 'option', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"type\":\"audit.status\",\"default\":\"\",\"single\":\"1\"}', 6, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2322, 91, 'type', '投诉类型', 'VARCHAR', '30', NULL, NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u4ea7\\u54c1\\u8d28\\u91cf\\r\\n\\u552e\\u540e\\u670d\\u52a1\\r\\n\\u7269\\u6d41\\u95ee\\u9898\\r\\n\\u5176\\u4ed6\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 6, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2323, 91, 'complainant', '投诉人', 'VARCHAR', '30', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 7, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2324, 91, 'complainant_phone', '投诉人电话', 'VARCHAR', '20', NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 8, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2325, 91, 'content', '投诉内容', 'VARCHAR', '255', NULL, NULL, 'textarea', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 10, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2326, 91, 'attachment', '附件', 'VARCHAR', '255', NULL, NULL, 'files', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\"}', 9, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2327, 91, 'suggest', '建议改进措施', 'VARCHAR', '255', NULL, NULL, 'textarea', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 11, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2328, 91, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'textarea', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 12, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2329, 23, 'customer_code', '客户编码', NULL, NULL, NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, 'customer_id', 'code', 'customer', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2330, 23, 'tax_code', '开票编码', NULL, NULL, NULL, NULL, 'text', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 25, 1, 'tax_id', 'code', 'customer_tax', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2331, 27, 'class2_id', '客户种类', 'TINYINT', NULL, 'INDEX', NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"content\":\"\\u73b0\\u91d1\\u76f4\\u8425|1\\r\\n\\u8d26\\u671f\\u76f4\\u8425|2\\r\\n\\u5730\\u7ea7\\u5e02|3\\r\\n\\u53bf\\u7ea7\\u5e02|4\\r\\n\\u5916\\u9500|5\\r\\n\\u7f51\\u9500|6\\r\\n\\u5176\\u4ed6|7\\r\\n\\u4e0d\\u53d7\\u9650|8\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 34, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2332, 92, 'class2_id', '客户种类', 'TINYINT', NULL, NULL, NULL, 'select', NULL, NULL, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"100\",\"content\":\"\\u73b0\\u91d1\\u76f4\\u8425|1\\r\\n\\u8d26\\u671f\\u76f4\\u8425|2\\r\\n\\u5730\\u7ea7\\u5e02|3\\r\\n\\u53bf\\u7ea7\\u5e02|4\\r\\n\\u5916\\u9500|5\\r\\n\\u7f51\\u9500|6\\r\\n\\u5176\\u4ed6|7\\r\\n\\u4e0d\\u53d7\\u9650|8\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 7, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2333, 98, 'id', 'ID', 'INT', '11', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 5, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2334, 98, 'name', '名称', 'VARCHAR', '100', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2335, 98, 'path', '路径', 'VARCHAR', '255', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2336, 98, 'type', '类型', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"40\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2337, 98, 'created_at', '创建时间', 'INT', '10', NULL, NULL, 'date', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"type\":\"Y-m-d H:i\",\"save\":\"u\",\"min_date\":\"\",\"max_date\":\"\",\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"default\":\"0\"}', 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2338, 98, 'size', '大小', 'VARCHAR', '30', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2339, 31, 'manager', '部门负责人', 'INT', NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 3, 1, 'manager', 'name', 'user', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2340, 45, 'region2', '销售省区', NULL, NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"customer_region\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 7, 1, 'region3', 'parent_id.parent_id:customer_region.name', 'customer_region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2341, 45, 'region1', '销售大区', NULL, NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"customer_region\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 8, 1, 'region2', 'parent_id.parent_id:customer_region.name', 'customer_region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2342, 45, 'region2_user', '省区经理', NULL, NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 10, 1, 'region2', 'owner_user_id.owner_user_id:user.name', 'customer_region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2343, 45, 'region1_user', '大区经理', NULL, NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"css\":null,\"type\":\"user\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 11, 1, 'region1', 'owner_user_id.owner_user_id:user.name', 'customer_region', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2344, 83, 'supplier_id', '供应商', 'INT', NULL, 'INDEX', NULL, 'dialog', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"180\",\"css\":\"\",\"type\":\"supplier\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 12, 1, 'supplier_id', 'name', 'supplier', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2345, 99, 'promotion_sn', '促销编号', NULL, NULL, NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 1, 1, 'promotion_id', 'sn', 'promotion', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2346, 99, 'promotion_id', '促销ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 0, 1, 'promotion_id', 'id', 'promotion', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2347, 99, 'customer_name', '所属客户', NULL, NULL, NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":\"260\",\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 2, 1, 'promotion_id', 'customer_id.customer_id:customer.name', 'promotion', NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2348, 99, 'name', '门店名称', 'VARCHAR', '255', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2349, 99, 'location', '位置信息', 'VARCHAR', '255', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"auto\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2350, 99, 'status', '状态', 'TINYINT', NULL, 'INDEX', NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"\",\"content\":\"\\u5f85\\u5ba1\\u6838|0\\r\\n\\u5df2\\u5ba1\\u6838\\u5408\\u683c|1\\r\\n\\u5df2\\u5ba1\\u6838\\u4e0d\\u5408\\u683c|2\",\"query_key\":\"\",\"query_value\":\"\",\"query\":\"\",\"default\":\"\",\"single\":\"1\"}', 5, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2351, 39, 'user_id', '用户ID', 'INT', NULL, 'INDEX', NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 10, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2352, 39, 'code', '编码', 'VARCHAR', '60', NULL, NULL, 'text', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2353, 39, 'password', '密码', 'VARCHAR', '64', NULL, NULL, 'password', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 3, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2354, 39, 'remark', '备注', 'VARCHAR', '255', NULL, NULL, 'textarea', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"\",\"width\":\"\",\"height\":\"\",\"css\":\"\",\"default\":\"\"}', 8, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (2355, 92, 'created_by', '制单人', 'VARCHAR', '60', NULL, NULL, 'auto', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"type\":\"sys_user_name\",\"align\":\"\",\"width\":\"\",\"css\":\"\",\"default\":\"\"}', 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `model_field` VALUES (3356, 28, 'tel', '电话', 'NVARCHAR', '30', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 1, '{\"align\":\"\",\"width\":\"\",\"css\":\"\",\"row_count\":\"\",\"cell_count\":\"\",\"default\":\"\"}', 4, 1, NULL, NULL, NULL, NULL, NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (3357, 24, 'is_gift', '赠品', 'TINYINT', '3', 'INDEX', NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"60\",\"content\":\"否|0\\r\\n是|1\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":\"0\",\"single\":\"0\"}', 34, NULL, NULL, NULL, NULL, NULL, NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (3358, 32, 'access', '数据权限', 'TINYINT', '3', NULL, NULL, 'option', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"type\":\"role.access\",\"default\":\"1\",\"single\":\"1\"}', 3, NULL, NULL, NULL, NULL, NULL, NULL, ' 0', NULL);
INSERT INTO `model_field` VALUES (3359, 26, 'is_sale', '销售', 'TINYINT', '3', 'INDEX', NULL, 'select', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"content\":\"是|1\\r\\n否|0\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 22, NULL, NULL, NULL, NULL, NULL, NULL, ' 0', NULL);
INSERT INTO `model_field` VALUES (3360, 26, 'is_purchase', '采购', 'TINYINT', '3', 'INDEX', NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"content\":\"是|1\\r\\n否|0\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 19, NULL, NULL, NULL, NULL, NULL, NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (3361, 26, 'is_produce_plan', '生产计划', 'TINYINT', '3', 'INDEX', NULL, 'select', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":null,\"width\":null,\"content\":\"是|1\\r\\n否|0\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 17, NULL, NULL, NULL, NULL, NULL, NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (3362, 26, 'purchase_price', '采购单价', 'DECIMAL', '20,4', NULL, NULL, 'text', NULL, NULL, NULL, NULL, NULL, NULL, 0, '{\"align\":\"right\",\"width\":null,\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 20, NULL, NULL, NULL, NULL, NULL, NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (3363, 26, 'purchase_tax_rate', '采购税率', 'TINYINT', '3', NULL, NULL, 'text', NULL, 0, 0, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"row_count\":null,\"cell_count\":null,\"default\":null}', 21, NULL, NULL, NULL, NULL, NULL, NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (3364, 26, 'is_export', '出口', 'TINYINT', '3', 'INDEX', NULL, 'option', NULL, 0, 0, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":\"80\",\"css\":null,\"type\":\"common.yesno\",\"default\":\"0\",\"single\":\"1\"}', 18, NULL, NULL, NULL, NULL, NULL, NULL, 'NULL', NULL);
INSERT INTO `model_field` VALUES (3365, 23, 'region2_id', '销售省区', NULL, NULL, NULL, NULL, 'dialog', NULL, 1, 1, NULL, NULL, NULL, 0, '{\"align\":\"center\",\"width\":null,\"css\":null,\"type\":\"customer_region\",\"query_key\":null,\"query_value\":null,\"query\":null,\"default\":null,\"single\":\"1\"}', 5, NULL, 'region_id', 'parent_id.parent_id:customer_region.name', 'customer_region', NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for model_module
-- ----------------------------
DROP TABLE IF EXISTS `model_module`;
CREATE TABLE `model_module`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '模块别名',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '字段状态',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `module` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '模块名字',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_module
-- ----------------------------
INSERT INTO `model_module` VALUES (1, '进店管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'approach');
INSERT INTO `model_module` VALUES (2, '公告', 0, '系统管理员', 1602195339, 1613846112, '系统管理员', 1, 1, 'article');
INSERT INTO `model_module` VALUES (3, '日程管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'calendar');
INSERT INTO `model_module` VALUES (4, '客户管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'customer');
INSERT INTO `model_module` VALUES (5, '客户费用', 0, '系统管理员', 1602195339, 1613846112, '系统管理员', 1, 1, 'customerCost');
INSERT INTO `model_module` VALUES (6, '文件管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'file');
INSERT INTO `model_module` VALUES (7, '讨论', 0, '系统管理员', 1602195339, 1613846112, '系统管理员', 1, 1, 'forum');
INSERT INTO `model_module` VALUES (8, '模型管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'model');
INSERT INTO `model_module` VALUES (9, '销售订单', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'order');
INSERT INTO `model_module` VALUES (10, '生产管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'produce');
INSERT INTO `model_module` VALUES (11, '产品管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'product');
INSERT INTO `model_module` VALUES (12, '项目管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'project');
INSERT INTO `model_module` VALUES (13, '促销管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'promotion');
INSERT INTO `model_module` VALUES (14, '采购管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'purchase');
INSERT INTO `model_module` VALUES (15, '库存管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'stock');
INSERT INTO `model_module` VALUES (16, '系统配置', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'system');
INSERT INTO `model_module` VALUES (17, '组织架构', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'user');
INSERT INTO `model_module` VALUES (18, 'Wap', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'wap');
INSERT INTO `model_module` VALUES (19, '微信管理', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'wechat');
INSERT INTO `model_module` VALUES (20, '工作流程', 0, '系统管理员', 1602195339, NULL, NULL, 1, NULL, 'workflow');

-- ----------------------------
-- Table structure for model_permission
-- ----------------------------
DROP TABLE IF EXISTS `model_permission`;
CREATE TABLE `model_permission`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `sort` int(11) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '字段状态',
  `receive_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '发布权限编号',
  `receive_name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '发布权限名称',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `bill_id` int(11) NOT NULL COMMENT '单据ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_flow_permission_bill_id`(`bill_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 94 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_permission
-- ----------------------------
INSERT INTO `model_permission` VALUES (1, '开始', 'create,edit', '{\"purchase_plan\":{\"date\":{\"w\":\"1\",\"v\":[\"required\"]},\"sn\":{\"w\":\"1\",\"v\":[\"required\"]},\"attachment\":{\"w\":\"1\"},\"description\":{\"w\":\"1\",\"v\":[\"required\"]}},\"purchase_plan_data\":{\"@option\":{\"w\":\"1\"},\"goods_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"need_date\":{\"w\":\"1\",\"v\":[\"required\"]},\"need_quantity\":{\"w\":\"1\",\"v\":[\"required\",\"numeric\"]},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 1);
INSERT INTO `model_permission` VALUES (2, '创建', 'create,edit', '{\"supplier_price\":{\"sn\":{\"v\":[\"required\"]},\"supplier_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"date\":{\"w\":\"1\",\"v\":[\"required\"]},\"user\":{\"w\":\"1\",\"m\":\"1\"}},\"supplier_price_data\":{\"@option\":{\"w\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"price\":{\"w\":\"1\",\"v\":[\"required\",\"numeric\"]},\"description\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 3);
INSERT INTO `model_permission` VALUES (3, '审批', 'edit', '{\"supplier_price\":{\"date\":{\"w\":\"1\",\"v\":[\"required\"]}},\"supplier_price_data\":{\"@option\":{\"w\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"price\":{\"w\":\"1\",\"v\":[\"required\",\"numeric\"]},\"description\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 3);
INSERT INTO `model_permission` VALUES (4, '运营经理审批', 'edit', '{\"purchase_plan\":{\"data_1\":{\"w\":\"1\",\"v\":[\"required\"]},\"data_2\":{\"w\":\"1\",\"m\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 1);
INSERT INTO `model_permission` VALUES (5, '运营总监审批', 'edit', '{\"purchase_plan\":{\"data_3\":{\"w\":\"1\",\"v\":[\"required\"]},\"data_4\":{\"w\":\"1\",\"m\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 1);
INSERT INTO `model_permission` VALUES (6, '创建', 'create,edit', '{\"purchase_order\":{\"supplier_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"billing_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"checkout_method\":{\"w\":\"1\",\"v\":[\"required\"]},\"required_delivery_da\":{\"w\":\"1\",\"v\":[\"required\"]}},\"purchase_order_data\":{\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"},\"price\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 5);
INSERT INTO `model_permission` VALUES (7, '新建', 'create,edit', '{\"buyer_plan\":{\"user_by\":{\"w\":\"1\",\"m\":\"1\"},\"user_dt\":{\"w\":\"1\",\"m\":\"1\"},\"category_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}},\"buyer_plan_goods\":{\"@option\":{\"w\":\"1\"},\"name\":{\"w\":\"1\"},\"quantity\":{\"w\":\"1\"},\"unit\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"},\"stock_remark\":{\"w\":\"1\"},\"grade\":{\"w\":\"1\"},\"need_dt\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 9);
INSERT INTO `model_permission` VALUES (8, '新建', 'create,edit', '{\"buyer_category\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"},\"start_department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"manage_role_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"buyer_user_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_review\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 13);
INSERT INTO `model_permission` VALUES (9, '部门经理审批', 'edit', '{\"buyer_plan\":{\"remark\":{\"w\":\"1\"}},\"buyer_plan_goods\":{\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"price\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 9);
INSERT INTO `model_permission` VALUES (10, '管理部门岗位审批', 'edit', '{\"buyer_plan\":{\"data_3\":{\"w\":\"1\",\"v\":[\"required\"]},\"data_4\":{\"w\":\"1\",\"m\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 9);
INSERT INTO `model_permission` VALUES (11, '采购划价', 'edit', '{\"buyer_plan\":{\"data_5\":{\"w\":\"1\",\"v\":[\"required\"]},\"data_6\":{\"w\":\"1\",\"m\":\"1\"}},\"buyer_plan_goods\":{\"quantity\":{\"w\":\"1\"},\"price\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 9);
INSERT INTO `model_permission` VALUES (12, '财务主管划价复核', 'edit', '{\"buyer_plan\":{\"data_7\":{\"w\":\"1\",\"v\":[\"required\"]},\"data_8\":{\"w\":\"1\",\"m\":\"1\"}},\"buyer_plan_goods\":{\"quantity\":{\"w\":\"1\"},\"price\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 9);
INSERT INTO `model_permission` VALUES (13, '财务经理审批', 'edit', '{\"buyer_plan\":{\"data_9\":{\"w\":\"1\",\"v\":[\"required\"]},\"data_10\":{\"w\":\"1\",\"m\":\"1\"}},\"buyer_plan_goods\":{\"quantity\":{\"w\":\"1\"},\"price\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 9);
INSERT INTO `model_permission` VALUES (14, '总经理(决策)', 'edit', '{\"buyer_plan\":{\"data_11\":{\"w\":\"1\",\"v\":[\"required\"]},\"data_12\":{\"w\":\"1\",\"m\":\"1\"}},\"buyer_plan_goods\":{\"quantity\":{\"w\":\"1\"},\"price\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 9);
INSERT INTO `model_permission` VALUES (15, '董事长(决策)', 'edit', '{\"buyer_plan\":{\"data_13\":{\"w\":\"1\",\"v\":[\"required\"]},\"data_14\":{\"m\":\"1\"}},\"buyer_plan_goods\":{\"quantity\":{\"w\":\"1\"},\"price\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 9);
INSERT INTO `model_permission` VALUES (16, '新建', 'create,edit', '{\"logistics\":{\"name\":{\"w\":\"1\"},\"nature\":{\"w\":\"1\"},\"legal\":{\"w\":\"1\"},\"route\":{\"w\":\"1\"},\"business_liaison\":{\"w\":\"1\"},\"business_phone\":{\"w\":\"1\"},\"query_phone\":{\"w\":\"1\"},\"finance_liaison\":{\"w\":\"1\"},\"finance_phone\":{\"w\":\"1\"},\"short_car_sn\":{\"w\":\"1\"},\"address\":{\"w\":\"1\"},\"contract_price\":{\"w\":\"1\"},\"contract_date\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1580742135, 16);
INSERT INTO `model_permission` VALUES (17, '开始采购', 'create,edit', 'null', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 10);
INSERT INTO `model_permission` VALUES (18, '新建', 'create,edit', '{\"promotion\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"field021\":{\"w\":\"1\"},\"field022\":{\"w\":\"1\"},\"field023\":{\"w\":\"1\"},\"field024\":{\"w\":\"1\"},\"field025\":{\"w\":\"1\"},\"field026\":{\"w\":\"1\"},\"field027\":{\"w\":\"1\"},\"field028\":{\"w\":\"1\"},\"field029\":{\"w\":\"1\"},\"field010\":{\"w\":\"1\"},\"field011\":{\"w\":\"1\"},\"field012\":{\"w\":\"1\"},\"field013\":{\"w\":\"1\"},\"field014\":{\"w\":\"1\"},\"field015\":{\"w\":\"1\"},\"field016\":{\"w\":\"1\"},\"reg_other_remark\":{\"w\":\"1\"},\"need_review\":{\"w\":\"1\"},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"category_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"fax\":{\"w\":\"1\",\"v\":[\"required\"]},\"phone\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_at\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"order_id\":{\"w\":\"1\"},\"end_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"promote_scope\":{\"w\":\"1\",\"v\":[\"required\"]},\"pro_bg\":{\"w\":\"1\"},\"pro_method_desc\":{\"w\":\"1\",\"v\":[\"required\"]},\"start_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"pro_total_cost\":{\"w\":\"1\"},\"apply_fee\":{\"w\":\"1\"},\"sale_money\":{\"w\":\"1\"},\"customer_pro_head\":{\"w\":\"1\"},\"customer_pro_phone\":{\"w\":\"1\"},\"note_review\":{\"w\":\"1\"},\"area_money\":{\"w\":\"1\",\"v\":[\"required\"]},\"reg_photo\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"}},\"promotion_data\":{\"@option\":{\"w\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1602192101, 17);
INSERT INTO `model_permission` VALUES (19, '新建', 'create,edit', '{\"user_position\":{\"title\":{\"w\":\"1\",\"v\":[\"required\"]},\"sort\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 20);
INSERT INTO `model_permission` VALUES (20, '新建', 'create,edit', '{\"user_group\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"sort\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 21);
INSERT INTO `model_permission` VALUES (21, '新建', 'create,edit', '{\"market_cost_record\":{\"sn\":{\"w\":\"1\"},\"customer_id\":{\"w\":\"1\"},\"name\":{\"w\":\"1\"},\"type_id\":{\"w\":\"1\"},\"date_scope\":{\"w\":\"1\"},\"description\":{\"w\":\"1\"},\"operation_scheme\":{\"w\":\"1\"},\"policy_support\":{\"w\":\"1\"},\"input_cost\":{\"w\":\"1\"},\"plan_sale\":{\"w\":\"1\"},\"input_cost_ratio\":{\"w\":\"1\"},\"information\":{\"w\":\"1\"},\"special_note\":{\"w\":\"1\"},\"money\":{\"w\":\"1\"},\"is_review\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '', 0, 1572554598, 22);
INSERT INTO `model_permission` VALUES (22, '新建', 'create,edit', '{\"product_unit\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"},\"status\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '', 0, 1574603074, 29);
INSERT INTO `model_permission` VALUES (23, '新建', 'create,edit', '{\"customer_price\":{\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"customer_name\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 25);
INSERT INTO `model_permission` VALUES (24, '新建', 'create,edit', '{\"user\":{\"avatar\":{\"w\":\"1\"},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"username\":{\"w\":\"1\",\"v\":[\"required\",\"unique\"]},\"phone\":{\"w\":\"1\"},\"tel\":{\"w\":\"1\"},\"birthday\":{\"w\":\"1\"},\"position_id\":{\"w\":\"1\"},\"gender\":{\"w\":\"1\"},\"email\":{\"w\":\"1\"},\"department_id\":{\"w\":\"1\"},\"role_id\":{\"w\":\"1\"},\"leader_id\":{\"w\":\"1\"},\"password\":{\"w\":\"1\"},\"auth_secret\":{\"w\":\"1\"},\"auth_totp\":{\"w\":\"1\"},\"status\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1601755428, 28);
INSERT INTO `model_permission` VALUES (25, '新建', 'create,edit', '{\"user_position\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '', 0, 1576164404, 33);
INSERT INTO `model_permission` VALUES (26, '新建', 'create,edit', '{\"user_group\":{\"name\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 34);
INSERT INTO `model_permission` VALUES (27, '新建', 'create,edit', '{\"warehouse\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"status\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1580394073, 35);
INSERT INTO `model_permission` VALUES (28, '新建', 'create,edit', '{\"product_category\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\"},\"parent_id\":{\"w\":\"1\"},\"sort\":{\"w\":\"1\"},\"status\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '', 0, 1576165753, 36);
INSERT INTO `model_permission` VALUES (29, '新建', 'create', '{\"customer\":{\"code\":{\"w\":\"1\",\"v\":[\"required\",\"unique\"]},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"password\":{\"w\":\"1\"},\"region3_id\":{\"w\":\"1\"},\"region2_id\":{\"w\":\"1\"},\"region_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"contact_id\":{\"w\":\"1\"},\"head_name\":{\"w\":\"1\"},\"head_phone\":{\"w\":\"1\"},\"head_birthday\":{\"w\":\"1\"},\"manage_name\":{\"w\":\"1\"},\"manage_phone\":{\"w\":\"1\"},\"manage_weixin\":{\"w\":\"1\"},\"finance_name\":{\"w\":\"1\"},\"finance_phone\":{\"w\":\"1\"},\"cost_name\":{\"w\":\"1\"},\"cost_phone\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"},\"tel\":{\"w\":\"1\"},\"fax\":{\"w\":\"1\"},\"email\":{\"w\":\"1\"},\"address\":{\"w\":\"1\"},\"warehouse_address\":{\"w\":\"1\"},\"warehouse_contact\":{\"w\":\"1\"},\"warehouse_phone\":{\"w\":\"1\"},\"warehouse_tel\":{\"w\":\"1\"},\"warehouse_size\":{\"w\":\"1\"},\"region\":{\"w\":\"1\"},\"province_id\":{\"w\":\"1\"},\"city_id\":{\"w\":\"1\"},\"county_id\":{\"w\":\"1\"},\"class2_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"grade_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"is_allocate\":{\"w\":\"1\"},\"is_direct\":{\"w\":\"1\"},\"general_taxpayer\":{\"w\":\"1\"},\"class_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"},\"status\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1620467015, 27);
INSERT INTO `model_permission` VALUES (30, '新建', 'create,edit', '{\"customer_contact\":{\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"password\":{\"w\":\"1\"},\"phone\":{\"w\":\"1\",\"v\":[\"required\"]},\"birthday\":{\"w\":\"1\"},\"position\":{\"w\":\"1\"},\"address\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1592674110, 39);
INSERT INTO `model_permission` VALUES (31, '新建', 'create', '{\"customer_order\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_at\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_contact\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_phone\":{\"w\":\"1\",\"v\":[\"required\",\"regex:\\/^(1)[0-9]{10}$\\/\"]},\"warehouse_tel\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_address\":{\"w\":\"1\",\"v\":[\"required\"]},\"found_contact\":{\"w\":\"1\",\"v\":[\"required\"]},\"found_phone\":{\"w\":\"1\",\"v\":[\"required\"]},\"type_id\":{\"v\":[\"required\"]},\"export_country\":{\"w\":\"1\"},\"plan_delivery_dt\":{\"w\":\"1\"},\"pay_dt\":{\"w\":\"1\"},\"tax_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"attachment\":{\"w\":\"1\"},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_order_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"type_id\":{\"w\":\"1\"},\"is_gift\":{\"w\":\"1\"},\"product_name\":{\"w\":\"1\"},\"quantity\":{\"w\":\"1\",\"v\":[\"required\",\"numeric_than:0\"]},\"delivery_quantity\":{\"w\":\"1\",\"v\":[\"required\",\"numeric_than:0\"]},\"price\":{\"w\":\"1\"},\"money\":{\"w\":\"1\"},\"batch_sn\":{\"w\":\"1\"},\"customer_stock\":{\"w\":\"1\"},\"customer_stock_dt\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1623953737, 23);
INSERT INTO `model_permission` VALUES (32, '新建', 'create,edit', '{\"department\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\"},\"parent_id\":{\"w\":\"1\"},\"manager\":{\"w\":\"1\"},\"sort\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1591608927, 31);
INSERT INTO `model_permission` VALUES (33, '新建', 'create,edit', '{\"role\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\"},\"parent_id\":{\"w\":\"1\"},\"access\":{\"w\":\"1\",\"v\":[\"required\"]},\"sort\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1614412844, 32);
INSERT INTO `model_permission` VALUES (34, '新建', 'create,edit', '{\"product\":{\"images\":{\"w\":\"1\"},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"spec\":{\"w\":\"1\"},\"code\":{\"w\":\"1\"},\"barcode\":{\"w\":\"1\"},\"category_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"unit_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"net_weight\":{\"w\":\"1\"},\"weight\":{\"w\":\"1\",\"v\":[\"required\"]},\"price1\":{\"w\":\"1\"},\"price2\":{\"w\":\"1\"},\"price5\":{\"w\":\"1\"},\"price3\":{\"w\":\"1\"},\"price4\":{\"w\":\"1\"},\"scale_quantity\":{\"w\":\"1\"},\"mini_quantity\":{\"w\":\"1\"},\"department_id\":{\"w\":\"1\"},\"is_produce_plan\":{\"w\":\"1\"},\"is_export\":{\"w\":\"1\"},\"is_purchase\":{\"w\":\"1\"},\"purchase_price\":{\"w\":\"1\"},\"purchase_tax_rate\":{\"w\":\"1\"},\"is_sale\":{\"w\":\"1\"},\"is_freight\":{\"w\":\"1\"},\"carton_barcode\":{\"w\":\"1\"},\"carton_size\":{\"w\":\"1\"},\"min_quantity\":{\"w\":\"1\"},\"freight_price\":{\"w\":\"1\"},\"product_type\":{\"w\":\"1\"},\"material_type\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"},\"sort\":{\"w\":\"1\"},\"status\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1614446102, 26);
INSERT INTO `model_permission` VALUES (35, '新建', 'create,edit', '{\"customer_order_type\":{\"name\":{\"w\":\"1\"},\"type\":{\"w\":\"1\"},\"sort\":{\"w\":\"1\"},\"status\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 40);
INSERT INTO `model_permission` VALUES (36, '新建', 'create,edit', '{\"customer_type\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"status\":{\"w\":\"1\"},\"sort\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 0, NULL, NULL, 0, 0, 41);
INSERT INTO `model_permission` VALUES (37, '新建', 'create,edit', '{\"article\":{\"notification\":{\"w\":\"1\"},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"content\":{\"w\":\"1\",\"v\":[\"required\"]},\"attachment\":{\"w\":\"1\"},\"description\":{\"w\":\"1\"},\"start_at\":{\"w\":\"1\",\"v\":[\"required\"]},\"expired_at\":{\"w\":\"1\"},\"receive_id\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 0, 1, 'all', '', 0, 0, NULL, NULL, 0, 0, 42);
INSERT INTO `model_permission` VALUES (38, '新建', 'create', '{\"customer_tax\":{\"code\":{\"w\":\"1\",\"v\":[\"required\",\"unique\"]},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"class_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_number\":{\"w\":\"1\"},\"bank_name\":{\"w\":\"1\"},\"bank_account\":{\"w\":\"1\"},\"bank_address\":{\"w\":\"1\"},\"tel\":{\"w\":\"1\"},\"address\":{\"w\":\"1\"},\"status\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1605474163, 45);
INSERT INTO `model_permission` VALUES (39, '新建', 'create,edit', '{\"customer_region\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"parent_id\":{\"w\":\"1\"},\"layer\":{\"w\":\"1\"},\"owner_user_id\":{\"w\":\"1\"},\"owner_assist\":{\"w\":\"1\"},\"sort\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '', 0, 1, NULL, '', 0, 1576339259, 37);
INSERT INTO `model_permission` VALUES (40, '新建', 'create,edit', '{\"customer_cost\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"date\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"category_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_cost_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"customer_id\":{\"w\":\"1\"},\"money\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1582574546, 46);
INSERT INTO `model_permission` VALUES (41, '新建', 'create,edit', '{\"stock_cancel\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"order_type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_contact\":{\"w\":\"1\"},\"warehouse_phone\":{\"w\":\"1\"},\"warehouse_address\":{\"w\":\"1\"},\"freight_pay_text\":{\"w\":\"1\"},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_at\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"stock_cancel_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"batch_sn\":{\"w\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"poscode\":{\"w\":\"1\"},\"posname\":{\"w\":\"1\"},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"price\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', NULL, 0, 1, NULL, '系统管理员', 0, 1586890086, 47);
INSERT INTO `model_permission` VALUES (42, '新建', 'create,edit', '{\"customer_cost_category\":{\"name\":{\"w\":\"1\"},\"is_cal\":{\"w\":\"1\"},\"code\":{\"w\":\"1\"},\"sort\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"},\"id\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 0, 1, NULL, '系统管理员', 0, 1603200112, 50);
INSERT INTO `model_permission` VALUES (43, '新建', 'create,edit', '{\"region\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"parent_id\":{\"w\":\"1\"}}}', 0, 1, 'all', '', 1, 1, '系统管理员', '', 1572906300, 1573255153, 51);
INSERT INTO `model_permission` VALUES (44, '新建', 'create,edit', '{\"approach\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"market_text\":{\"w\":\"1\"},\"fee_support_ratio\":{\"w\":\"1\"},\"field002\":{\"w\":\"1\"},\"field004\":{\"w\":\"1\"},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"fax\":{\"w\":\"1\"},\"phone\":{\"w\":\"1\"},\"market_totol\":{\"w\":\"1\",\"v\":[\"required\"]},\"market_cur_count\":{\"w\":\"1\",\"v\":[\"required\"]},\"single_cast\":{\"w\":\"1\",\"v\":[\"required\"]},\"totol_cast\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"},\"dispatch_type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"enter_type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"enter_type2_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"barcode_count\":{\"w\":\"1\",\"v\":[\"required\"]},\"barcode_cast\":{\"w\":\"1\",\"v\":[\"required\"]},\"market_cast\":{\"w\":\"1\",\"v\":[\"required\"]},\"barcode_cast_ratio\":{\"v\":[\"required\"]},\"verification_info\":{\"w\":\"1\"},\"market_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"market_address\":{\"w\":\"1\"},\"market_size\":{\"w\":\"1\",\"v\":[\"required\"]},\"market_contact\":{\"w\":\"1\"},\"market_contact_phone\":{\"w\":\"1\"},\"market_type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_at\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"}},\"approach_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"price1\":{\"w\":\"1\",\"v\":[\"required\"]},\"price2\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1574636969, 1615474445, 52);
INSERT INTO `model_permission` VALUES (45, '新建', 'create,edit', '{\"approach_market\":{\"name\":{\"w\":\"1\"},\"code\":{\"w\":\"1\"},\"customer_id\":{\"w\":\"1\"},\"market_person_name\":{\"w\":\"1\"},\"market_person_phone\":{\"w\":\"1\"},\"market_area\":{\"w\":\"1\"},\"type_id\":{\"w\":\"1\"},\"market_address\":{\"w\":\"1\"},\"fax\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1574970689, 1587219613, 54);
INSERT INTO `model_permission` VALUES (46, '新建', 'create,edit', '{\"promotion_review\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"date\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"apply_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"fact_verification_cost\":{\"w\":\"1\",\"v\":[\"required\"]},\"pay_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"use_order\":{\"w\":\"1\",\"v\":[\"required\"]},\"reply_content\":{\"w\":\"1\"},\"execute_text\":{\"w\":\"1\"},\"apply_change\":{\"w\":\"1\"},\"res_analyze\":{\"w\":\"1\"},\"improvement\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1575228870, 1588490610, 55);
INSERT INTO `model_permission` VALUES (47, '新建', 'create,edit', '{\"approach_review\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"date\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"apply_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"verification_cost\":{\"w\":\"1\",\"v\":[\"required\",\"numeric_than:0\"]},\"fact_verification_cost\":{\"w\":\"1\",\"v\":[\"required\",\"numeric_than:0\"]},\"pay_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"use_order\":{\"w\":\"1\"},\"attachment_ditail\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}},\"approach_review_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"price1\":{\"w\":\"1\"},\"price2\":{\"w\":\"1\"},\"is_store\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1575233804, 1619900174, 57);
INSERT INTO `model_permission` VALUES (48, '新建', 'create,edit', '{\"user_message\":{\"created_by\":{\"w\":\"1\"},\"content\":{\"w\":\"1\"},\"status\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 0, '系统管理员', NULL, 1575237252, 0, 18);
INSERT INTO `model_permission` VALUES (49, '新建', 'create,edit', '{\"stock_record08\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_at\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}},\"stock_record08_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"batch_sn\":{\"w\":\"1\",\"v\":[\"required\"]},\"poscode\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '', 1575324468, 1578788479, 61);
INSERT INTO `model_permission` VALUES (50, '新建', 'create,edit', '{\"stock_record09\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_at\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"stock_record09_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"batch_sn\":{\"w\":\"1\"},\"poscode\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1575326742, 1587109536, 63);
INSERT INTO `model_permission` VALUES (51, '新建', 'create,edit', '{\"stock_delivery\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"tax_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"freight_pay_text\":{\"w\":\"1\"},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"order_type_id\":{\"v\":[\"required\"]},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_contact\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_phone\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_tel\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_address\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"stock_delivery_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\"},\"quantity\":{\"w\":\"1\"},\"price\":{\"w\":\"1\"},\"batch_sn\":{\"w\":\"1\"},\"poscode\":{\"w\":\"1\"},\"warehouse_id\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1575670232, 1586171200, 43);
INSERT INTO `model_permission` VALUES (52, '新建', 'create,edit', '{\"stock_record10\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_at\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"workshop\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"stock_record10_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"batch_sn\":{\"w\":\"1\",\"v\":[\"required\"]},\"poscode\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1576748634, 1586798748, 59);
INSERT INTO `model_permission` VALUES (53, '新建', 'create,edit', '{\"stock_type\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"type\":{\"w\":\"1\",\"v\":[\"required\"]},\"sort\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 0, '系统管理员', NULL, 1576750028, 0, 68);
INSERT INTO `model_permission` VALUES (54, '新建', 'create,edit', '{\"sale_type\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"sort\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1576751987, 1580838328, 69);
INSERT INTO `model_permission` VALUES (55, '新建', 'create,edit', '{\"sample_apply\":{\"created_at\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"region_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"freight_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"customer_name\":{\"w\":\"1\"},\"freight_address\":{\"w\":\"1\"},\"contact\":{\"w\":\"1\"},\"contact_phone\":{\"w\":\"1\"},\"purpose\":{\"w\":\"1\"},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"sample_apply_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"price\":{\"w\":\"1\",\"v\":[\"required\"]},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"use_close\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '', 1576813208, 1578865456, 70);
INSERT INTO `model_permission` VALUES (56, '审核', 'create,edit', '{\"sample_apply\":{\"created_at\":{\"w\":\"1\",\"m\":\"1\"},\"sn\":{\"w\":\"1\",\"m\":\"1\"},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"region_id\":{\"w\":\"1\",\"v\":[\"required\"]}},\"sample_apply_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '', 1576814323, 1576814342, 70);
INSERT INTO `model_permission` VALUES (57, '新建', 'create,edit', '{\"customer_task\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"date\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"year\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}},\"customer_task_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"code\":{\"w\":\"1\"},\"customer_id\":{\"w\":\"1\"},\"month1\":{\"w\":\"1\"},\"month2\":{\"w\":\"1\"},\"month3\":{\"w\":\"1\"},\"month4\":{\"w\":\"1\"},\"month5\":{\"w\":\"1\"},\"month6\":{\"w\":\"1\"},\"month7\":{\"w\":\"1\"},\"month8\":{\"w\":\"1\"},\"month9\":{\"w\":\"1\"},\"month10\":{\"w\":\"1\"},\"month11\":{\"w\":\"1\"},\"month12\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '', 1578660513, 1578686383, 38);
INSERT INTO `model_permission` VALUES (58, '新建', 'create,edit', '{\"customer_region_task\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"date\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"year\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}},\"customer_region_task_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"region_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"month1\":{\"w\":\"1\"},\"month2\":{\"w\":\"1\"},\"month3\":{\"w\":\"1\"},\"month4\":{\"w\":\"1\"},\"month5\":{\"w\":\"1\"},\"month6\":{\"w\":\"1\"},\"month7\":{\"w\":\"1\"},\"month8\":{\"w\":\"1\"},\"month9\":{\"w\":\"1\"},\"month10\":{\"w\":\"1\"},\"month11\":{\"w\":\"1\"},\"month12\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '', 1578689058, 1578689369, 73);
INSERT INTO `model_permission` VALUES (59, '新建', 'create,edit', '{\"warehouse_location\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '', 1578700101, 1578700569, 75);
INSERT INTO `model_permission` VALUES (60, '新建', 'create,edit', '{\"stock_direct\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"tax_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"order_type_id\":{\"v\":[\"required\"]},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"freight_pay_text\":{\"w\":\"1\"},\"warehouse_contact\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_phone\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_tel\":{\"w\":\"1\"},\"warehouse_address\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"stock_direct_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"quantity\":{\"w\":\"1\"},\"price\":{\"w\":\"1\"},\"money\":{\"w\":\"1\"},\"other_money\":{\"w\":\"1\"},\"weight\":{\"w\":\"1\"},\"batch_sn\":{\"w\":\"1\"},\"poscode\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1578818376, 1585712394, 65);
INSERT INTO `model_permission` VALUES (61, '新建', 'create,edit', '{\"stock_allocation\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"in_warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"in_type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"in_department_id\":{\"w\":\"1\"},\"out_warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"out_type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"out_department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"delivery_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"stock_allocation_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"batch_sn\":{\"w\":\"1\"},\"out_poscode\":{\"w\":\"1\"},\"in_poscode\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1579205510, 1593662711, 67);
INSERT INTO `model_permission` VALUES (62, '新建', 'create,edit', '{\"product_material\":{\"category\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"status\":{\"w\":\"1\",\"v\":[\"required\"]},\"ratio\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 0, '系统管理员', NULL, 1579281531, 0, 77);
INSERT INTO `model_permission` VALUES (63, '新建', 'create,edit', '{\"produce_plan\":{\"date\":{\"w\":\"1\",\"v\":[\"required\"]},\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"type\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_at\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"produce_plan_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"plan_num\":{\"w\":\"1\"},\"department_id\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 0, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1579533016, 1580181679, 78);
INSERT INTO `model_permission` VALUES (64, '新建', 'create,edit', '{\"supplier\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, NULL, '系统管理员', NULL, 1582043213, NULL, 81);
INSERT INTO `model_permission` VALUES (65, '新建', 'create,edit', '{\"purchase_order\":{\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"department_id\":{\"w\":\"1\"},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"category_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"purchase_order_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"apply_quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1582048383, 1591901781, 82);
INSERT INTO `model_permission` VALUES (66, '采购审核', 'edit', '{\"purchase_order\":{\"department_id\":{\"w\":\"1\"}},\"purchase_order_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"supplier_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"apply_quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_price\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_rate\":{\"w\":\"1\"},\"plan_arrive_dt\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1582107453, 1591901813, 82);
INSERT INTO `model_permission` VALUES (67, '新建', 'create,edit', '{\"stock_record01\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"supplier_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"stock_record01_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_price\":{\"w\":\"1\"},\"tax_rate\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1582298570, 1586178750, 84);
INSERT INTO `model_permission` VALUES (68, '新建', 'create,edit', '{\"customer_cost\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"adjust_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"date\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"category_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_cost_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"money\":{\"w\":\"1\",\"v\":[\"required\"]}}}', NULL, 1, 'all', '全体人员', 1, NULL, '系统管理员', NULL, 1582574923, NULL, 86);
INSERT INTO `model_permission` VALUES (69, '新建', 'create,edit', '{\"customer_cost\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"date\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_cost_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"customer_id\":{\"w\":\"1\"},\"money\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1582576886, 1582659241, 88);
INSERT INTO `model_permission` VALUES (70, '新建', 'create,edit', '{\"customer_cost\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"date\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_cost_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"money\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, NULL, '系统管理员', NULL, 1582660078, NULL, 87);
INSERT INTO `model_permission` VALUES (71, '市场助理审批', 'edit', '{\"promotion\":{\"field021\":{\"w\":\"1\"},\"field022\":{\"w\":\"1\"},\"field023\":{\"w\":\"1\"},\"field024\":{\"w\":\"1\"},\"field025\":{\"w\":\"1\"},\"field026\":{\"w\":\"1\"},\"field027\":{\"w\":\"1\"},\"field028\":{\"w\":\"1\"},\"field029\":{\"w\":\"1\"},\"field010\":{\"w\":\"1\"},\"field011\":{\"w\":\"1\"},\"field012\":{\"w\":\"1\"},\"field013\":{\"w\":\"1\"},\"field014\":{\"w\":\"1\"},\"field015\":{\"w\":\"1\"},\"field016\":{\"w\":\"1\"},\"product\":{\"w\":\"1\"},\"reg_other_remark\":{\"w\":\"1\"},\"audit_market_text\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_market_sign\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"undertake_money\":{\"w\":\"1\",\"v\":[\"required\"]},\"need_review\":{\"w\":\"1\"},\"type_id\":{\"w\":\"1\"},\"category_id\":{\"w\":\"1\"},\"promoe_method\":{\"w\":\"1\"},\"fax\":{\"w\":\"1\"},\"phone\":{\"w\":\"1\"},\"order_id\":{\"w\":\"1\"},\"end_dt\":{\"w\":\"1\"},\"promote_scope\":{\"w\":\"1\"},\"pro_bg\":{\"w\":\"1\"},\"pro_method_desc\":{\"w\":\"1\"},\"start_dt\":{\"w\":\"1\"},\"pro_total_cost\":{\"w\":\"1\"},\"apply_fee\":{\"w\":\"1\"},\"sale_money\":{\"w\":\"1\"},\"customer_pro_head\":{\"w\":\"1\"},\"customer_pro_phone\":{\"w\":\"1\"},\"note_review\":{\"w\":\"1\"},\"area_money\":{\"w\":\"1\"},\"material_review\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"}},\"promotion_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 1, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1583914768, 1586914323, 17);
INSERT INTO `model_permission` VALUES (72, '省区经理审批', 'edit', '{\"promotion\":{\"audit_province_text\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_province_sign\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"undertake_money\":{\"w\":\"1\",\"v\":[\"required\"]},\"undertake_ratio\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 2, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1583914856, 1586917783, 17);
INSERT INTO `model_permission` VALUES (73, '营销总监审批', 'edit', '{\"promotion\":{\"field021\":{\"w\":\"1\"},\"field022\":{\"w\":\"1\"},\"field023\":{\"w\":\"1\"},\"field024\":{\"w\":\"1\"},\"field025\":{\"w\":\"1\"},\"field026\":{\"w\":\"1\"},\"field027\":{\"w\":\"1\"},\"field028\":{\"w\":\"1\"},\"field029\":{\"w\":\"1\"},\"field010\":{\"w\":\"1\"},\"field011\":{\"w\":\"1\"},\"field012\":{\"w\":\"1\"},\"field013\":{\"w\":\"1\"},\"field014\":{\"w\":\"1\"},\"field015\":{\"w\":\"1\"},\"field016\":{\"w\":\"1\"},\"product\":{\"w\":\"1\"},\"reg_other_remark\":{\"w\":\"1\"},\"audit_cmo_text\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_cmo_sign\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"undertake_money\":{\"w\":\"1\",\"v\":[\"required\"]},\"undertake_ratio\":{\"w\":\"1\"},\"need_review\":{\"w\":\"1\"},\"type_id\":{\"w\":\"1\"},\"category_id\":{\"w\":\"1\"},\"promoe_method\":{\"w\":\"1\"},\"actived_dt\":{\"w\":\"1\"},\"fax\":{\"w\":\"1\"},\"phone\":{\"w\":\"1\"},\"promote_scope\":{\"w\":\"1\"},\"pro_bg\":{\"w\":\"1\"},\"pro_method_desc\":{\"w\":\"1\"},\"start_dt\":{\"w\":\"1\"},\"pro_total_cost\":{\"w\":\"1\"},\"apply_fee\":{\"w\":\"1\"},\"sale_money\":{\"w\":\"1\"},\"customer_pro_head\":{\"w\":\"1\"},\"customer_pro_phone\":{\"w\":\"1\"},\"note_review\":{\"w\":\"1\"},\"area_money\":{\"w\":\"1\"},\"material_review\":{\"w\":\"1\"},\"cash_amount\":{\"w\":\"1\"},\"cash_date\":{\"w\":\"1\"},\"reg_photo\":{\"w\":\"1\"}}}', 3, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1583914983, 1586914340, 17);
INSERT INTO `model_permission` VALUES (74, '客服部负责人审批', 'edit', '{\"promotion\":{\"audit_finance_text\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_finance_sign\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"remark\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"}}}', 4, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1583918073, 1588931893, 17);
INSERT INTO `model_permission` VALUES (75, '董事办审批', 'edit', '{\"promotion\":{\"field026\":{\"w\":\"1\"},\"field027\":{\"w\":\"1\"},\"field028\":{\"w\":\"1\"},\"field029\":{\"w\":\"1\"},\"field010\":{\"w\":\"1\"},\"field011\":{\"w\":\"1\"},\"field012\":{\"w\":\"1\"},\"field013\":{\"w\":\"1\"},\"field014\":{\"w\":\"1\"},\"field015\":{\"w\":\"1\"},\"field016\":{\"w\":\"1\"},\"reg_other_remark\":{\"w\":\"1\"},\"audit_director_text\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_director_sign\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"is_chairman_audit\":{\"w\":\"1\"},\"undertake_money\":{\"w\":\"1\",\"v\":[\"required\"]},\"promote_scope\":{\"w\":\"1\"},\"pro_bg\":{\"w\":\"1\"},\"pro_method_desc\":{\"w\":\"1\"},\"start_dt\":{\"w\":\"1\"},\"pro_total_cost\":{\"w\":\"1\"},\"apply_fee\":{\"w\":\"1\"},\"sale_money\":{\"w\":\"1\"},\"customer_pro_head\":{\"w\":\"1\"},\"customer_pro_phone\":{\"w\":\"1\"},\"note_review\":{\"w\":\"1\"},\"area_money\":{\"w\":\"1\"},\"material_review\":{\"w\":\"1\"}}}', 5, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1583918186, 1586914383, 17);
INSERT INTO `model_permission` VALUES (76, '董事长审批', 'edit', '{\"promotion\":{\"audit_director2_text\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_director2_sign\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"}}}', 6, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1583918230, 1586146388, 17);
INSERT INTO `model_permission` VALUES (77, '市场助理', 'edit', '{\"promotion_review\":{\"apply_scope\":{\"w\":\"1\"},\"created_by\":{\"w\":\"1\"},\"area_money\":{\"w\":\"1\"},\"fact_verification_cost\":{\"w\":\"1\"},\"verification_cost\":{\"w\":\"1\"},\"pay_type\":{\"w\":\"1\"},\"use_order\":{\"w\":\"1\"},\"reply_content\":{\"w\":\"1\"},\"execute_text\":{\"w\":\"1\"},\"apply_change\":{\"w\":\"1\"},\"res_analyze\":{\"w\":\"1\"},\"improvement\":{\"w\":\"1\"},\"other_text\":{\"w\":\"1\"},\"demand\":{\"w\":\"1\"},\"attachment_ditail\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 1, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1584089283, 1588490617, 55);
INSERT INTO `model_permission` VALUES (78, '省区经理审核', 'edit', '{\"approach\":{\"market_text\":{\"w\":\"1\",\"v\":[\"required\"]},\"fee_support_ratio\":{\"w\":\"1\"},\"sn\":{\"w\":\"1\"},\"field001\":{\"w\":\"1\"},\"field002\":{\"w\":\"1\"},\"field003\":{\"w\":\"1\"},\"field004\":{\"w\":\"1\"},\"field005\":{\"w\":\"1\"},\"customer_id\":{\"w\":\"1\"},\"fax\":{\"w\":\"1\"},\"phone\":{\"w\":\"1\"},\"market_totol\":{\"w\":\"1\"},\"market_cur_count\":{\"w\":\"1\"},\"single_cast\":{\"w\":\"1\"},\"totol_cast\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"},\"product\":{\"w\":\"1\"},\"dispatch_type_id\":{\"w\":\"1\"},\"enter_type_id\":{\"w\":\"1\"},\"enter_type2_id\":{\"w\":\"1\"},\"barcode_count\":{\"w\":\"1\"},\"barcode_cast\":{\"w\":\"1\"},\"market_cast\":{\"w\":\"1\"},\"apply_bccount\":{\"w\":\"1\",\"v\":[\"required\"]},\"apply_market_count\":{\"w\":\"1\",\"v\":[\"required\"]},\"apply_money\":{\"w\":\"1\",\"v\":[\"required\"]},\"verification_info\":{\"w\":\"1\"},\"apply_remark\":{\"w\":\"1\"},\"apply_percentage\":{\"w\":\"1\"},\"order_payment_scale\":{\"w\":\"1\"},\"audit_text5\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_sign5\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"market_name\":{\"w\":\"1\"},\"market_address\":{\"w\":\"1\"},\"market_size\":{\"w\":\"1\"},\"market_contact\":{\"w\":\"1\"},\"market_contact_phone\":{\"w\":\"1\"},\"market_type_id\":{\"w\":\"1\"}},\"approach_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"price1\":{\"w\":\"1\"},\"price2\":{\"w\":\"1\"}}}', 1, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1584347018, 1586916032, 52);
INSERT INTO `model_permission` VALUES (79, '市场助理审核', 'edit', '{\"approach\":{\"market_text\":{\"w\":\"1\"},\"fee_support_ratio\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"},\"market_cast\":{\"w\":\"1\"},\"barcode_cast_ratio\":{\"w\":\"1\"},\"apply2_money\":{\"w\":\"1\"},\"apply2_ratio\":{\"w\":\"1\"},\"apply2_single_cast\":{\"w\":\"1\"},\"audit_text1\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_sign1\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"}}}', 2, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1584347112, 1589267111, 52);
INSERT INTO `model_permission` VALUES (80, '营销总监审核', 'edit', '{\"approach\":{\"fax\":{\"w\":\"1\"},\"phone\":{\"w\":\"1\"},\"market_totol\":{\"w\":\"1\"},\"market_cur_count\":{\"w\":\"1\"},\"single_cast\":{\"w\":\"1\"},\"totol_cast\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"},\"product\":{\"w\":\"1\"},\"dispatch_type_id\":{\"w\":\"1\"},\"enter_type_id\":{\"w\":\"1\"},\"enter_type2_id\":{\"w\":\"1\"},\"barcode_count\":{\"w\":\"1\"},\"barcode_cast\":{\"w\":\"1\"},\"market_cast\":{\"w\":\"1\"},\"barcode_cast_ratio\":{\"w\":\"1\"},\"apply_bccount\":{\"w\":\"1\"},\"apply_market_count\":{\"w\":\"1\"},\"apply_money\":{\"w\":\"1\"},\"verification_info\":{\"w\":\"1\"},\"apply_remark\":{\"w\":\"1\"},\"apply_percentage\":{\"w\":\"1\"},\"order_payment_scale\":{\"w\":\"1\"},\"apply2_money\":{\"w\":\"1\"},\"apply2_ratio\":{\"w\":\"1\"},\"apply2_single_cast\":{\"w\":\"1\"},\"audit_text2\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_sign2\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"}}}', 3, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1584347197, 1586916048, 52);
INSERT INTO `model_permission` VALUES (81, '董事办审核', 'edit', '{\"approach\":{\"fax\":{\"w\":\"1\"},\"phone\":{\"w\":\"1\"},\"market_totol\":{\"w\":\"1\"},\"market_cur_count\":{\"w\":\"1\"},\"single_cast\":{\"w\":\"1\"},\"totol_cast\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"},\"product\":{\"w\":\"1\"},\"dispatch_type_id\":{\"w\":\"1\"},\"enter_type_id\":{\"w\":\"1\"},\"enter_type2_id\":{\"w\":\"1\"},\"barcode_count\":{\"w\":\"1\"},\"barcode_cast\":{\"w\":\"1\"},\"market_cast\":{\"w\":\"1\"},\"barcode_cast_ratio\":{\"w\":\"1\"},\"apply_bccount\":{\"w\":\"1\"},\"apply_market_count\":{\"w\":\"1\"},\"apply_money\":{\"w\":\"1\"},\"verification_info\":{\"w\":\"1\"},\"apply_remark\":{\"w\":\"1\"},\"apply_percentage\":{\"w\":\"1\"},\"order_payment_scale\":{\"w\":\"1\"},\"apply2_money\":{\"w\":\"1\"},\"apply2_ratio\":{\"w\":\"1\"},\"apply2_single_cast\":{\"w\":\"1\"},\"is_chairman_audit\":{\"w\":\"1\"},\"audit_text3\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_sign3\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"}}}', 4, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1584347429, 1586916297, 52);
INSERT INTO `model_permission` VALUES (82, '董事长审批', 'edit', '{\"approach\":{\"phone\":{\"w\":\"1\"},\"audit_text4\":{\"w\":\"1\",\"v\":[\"required\"]},\"audit_sign4\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"}}}', 5, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1584347518, 1586769128, 52);
INSERT INTO `model_permission` VALUES (83, '新建', 'create,edit', '{\"customer_delivery_address\":{\"name\":{\"w\":\"1\"},\"zip_code\":{\"w\":\"1\"},\"tel\":{\"w\":\"1\"},\"phone\":{\"w\":\"1\"},\"is_default\":{\"w\":\"1\"},\"address\":{\"w\":\"1\"},\"customer_id\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, NULL, '系统管理员', NULL, 1584631984, NULL, 89);
INSERT INTO `model_permission` VALUES (84, '外贸经理(准备发货)', 'edit', '{\"customer_order\":{\"warehouse_contact\":{\"w\":\"1\"},\"warehouse_phone\":{\"w\":\"1\"},\"warehouse_tel\":{\"w\":\"1\"},\"warehouse_address\":{\"w\":\"1\"},\"found_contact\":{\"w\":\"1\"},\"found_phone\":{\"w\":\"1\"},\"export_country\":{\"w\":\"1\"},\"plan_delivery_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"pay_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"attachment\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_order_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"delivery_quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"price\":{\"w\":\"1\",\"v\":[\"required\"]},\"batch_sn\":{\"w\":\"1\",\"v\":[\"required\"]}}}', 3, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1585563926, 1586889417, 23);
INSERT INTO `model_permission` VALUES (85, '审核', 'edit', '{\"stock_delivery\":{\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_contact\":{\"w\":\"1\"},\"warehouse_phone\":{\"w\":\"1\"},\"warehouse_tel\":{\"w\":\"1\"},\"warehouse_address\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 1, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1586164160, 1586309131, 43);
INSERT INTO `model_permission` VALUES (86, '订单助理审核', 'edit', '{\"customer_order\":{\"customer_id\":{\"w\":\"1\"},\"warehouse_contact\":{\"w\":\"1\"},\"warehouse_phone\":{\"w\":\"1\"},\"warehouse_tel\":{\"w\":\"1\"},\"warehouse_address\":{\"w\":\"1\"},\"found_contact\":{\"w\":\"1\"},\"found_phone\":{\"w\":\"1\"},\"plan_delivery_dt\":{\"w\":\"1\"},\"pay_dt\":{\"w\":\"1\"},\"tax_type\":{\"w\":\"1\"},\"tax_id\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_order_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"type_id\":{\"w\":\"1\"},\"product_name\":{\"w\":\"1\"},\"quantity\":{\"w\":\"1\"},\"delivery_quantity\":{\"w\":\"1\"},\"customer_stock\":{\"w\":\"1\"},\"customer_stock_dt\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 1, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1586271338, 1587104045, 23);
INSERT INTO `model_permission` VALUES (87, '编辑', 'edit', '{\"customer\":{\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"password\":{\"w\":\"1\"},\"region3_id\":{\"w\":\"1\"},\"region2_id\":{\"w\":\"1\"},\"region_id\":{\"w\":\"1\"},\"contact_id\":{\"w\":\"1\"},\"head_name\":{\"w\":\"1\"},\"head_phone\":{\"w\":\"1\"},\"head_birthday\":{\"w\":\"1\"},\"manage_name\":{\"w\":\"1\"},\"manage_phone\":{\"w\":\"1\"},\"manage_weixin\":{\"w\":\"1\"},\"finance_name\":{\"w\":\"1\"},\"finance_phone\":{\"w\":\"1\"},\"cost_name\":{\"w\":\"1\"},\"cost_phone\":{\"w\":\"1\"},\"attachment\":{\"w\":\"1\"},\"tel\":{\"w\":\"1\"},\"fax\":{\"w\":\"1\"},\"email\":{\"w\":\"1\"},\"address\":{\"w\":\"1\"},\"warehouse_address\":{\"w\":\"1\"},\"warehouse_contact\":{\"w\":\"1\"},\"warehouse_phone\":{\"w\":\"1\"},\"warehouse_tel\":{\"w\":\"1\"},\"warehouse_size\":{\"w\":\"1\"},\"region\":{\"w\":\"1\"},\"province_id\":{\"w\":\"1\"},\"city_id\":{\"w\":\"1\"},\"county_id\":{\"w\":\"1\"},\"class2_id\":{\"w\":\"1\"},\"type_id\":{\"w\":\"1\"},\"grade_id\":{\"w\":\"1\"},\"is_allocate\":{\"w\":\"1\"},\"is_direct\":{\"w\":\"1\"},\"general_taxpayer\":{\"w\":\"1\"},\"class_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"},\"status\":{\"w\":\"1\"}}}', 1, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1586380719, 1589297444, 27);
INSERT INTO `model_permission` VALUES (88, '编辑', 'edit', '{\"customer_tax\":{\"code\":{\"w\":\"1\",\"v\":[\"required\",\"unique\"]},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"customer_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"class_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_number\":{\"w\":\"1\"},\"bank_name\":{\"w\":\"1\"},\"bank_account\":{\"w\":\"1\"},\"bank_address\":{\"w\":\"1\"},\"tel\":{\"w\":\"1\"},\"address\":{\"w\":\"1\"},\"status\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 1, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1586380971, 1605474168, 45);
INSERT INTO `model_permission` VALUES (89, '新建', 'create,edit', '{\"customer_class\":{\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"code\":{\"w\":\"1\",\"v\":[\"required\"]},\"parent_id\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, NULL, '系统管理员', NULL, 1586803832, NULL, 91);
INSERT INTO `model_permission` VALUES (90, '省区经理审核', 'edit', '{\"customer_order\":{\"warehouse_contact\":{\"w\":\"1\"},\"warehouse_phone\":{\"w\":\"1\"},\"warehouse_tel\":{\"w\":\"1\"},\"warehouse_address\":{\"w\":\"1\"},\"found_contact\":{\"w\":\"1\"},\"found_phone\":{\"w\":\"1\"},\"type_id\":{\"w\":\"1\"},\"export_country\":{\"w\":\"1\"},\"tax_type\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"attachment\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_order_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"type_id\":{\"w\":\"1\"},\"product_name\":{\"w\":\"1\"},\"quantity\":{\"w\":\"1\"},\"customer_stock\":{\"w\":\"1\"},\"customer_stock_dt\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', 2, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1586889412, 1586889417, 23);
INSERT INTO `model_permission` VALUES (91, '新建', 'create,edit', '{\"stock_record11\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"invoice_dt\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"category_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"remark\":{\"w\":\"1\"}},\"stock_record11_data\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"product_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"batch_sn\":{\"w\":\"1\"},\"quantity\":{\"w\":\"1\",\"v\":[\"required\"]},\"price\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1587586088, 1588063351, 93);
INSERT INTO `model_permission` VALUES (92, '新建', 'create,edit', '{\"customer_apply\":{\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_at\":{\"w\":\"1\"},\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"code\":{\"w\":\"1\",\"v\":[\"required\",\"unique\"]},\"name\":{\"w\":\"1\",\"v\":[\"required\"]},\"region_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"type_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"class2_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"class_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"department_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"province_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"city_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"county_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"address\":{\"w\":\"1\",\"v\":[\"required\"]},\"region\":{\"w\":\"1\"},\"warehouse_address\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_contact\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_phone\":{\"w\":\"1\",\"v\":[\"required\"]},\"warehouse_tel\":{\"w\":\"1\"},\"warehouse_size\":{\"w\":\"1\"},\"head_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"head_phone\":{\"w\":\"1\",\"v\":[\"required\"]},\"head_birthday\":{\"w\":\"1\"},\"manage_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"manage_phone\":{\"w\":\"1\",\"v\":[\"required\"]},\"manage_weixin\":{\"w\":\"1\"},\"finance_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"finance_phone\":{\"w\":\"1\",\"v\":[\"required\"]},\"cost_name\":{\"w\":\"1\"},\"cost_phone\":{\"w\":\"1\"},\"general_taxpayer\":{\"w\":\"1\",\"v\":[\"required\"]},\"tax_number\":{\"w\":\"1\",\"v\":[\"required\"]},\"bank_name\":{\"w\":\"1\",\"v\":[\"required\"]},\"bank_account\":{\"w\":\"1\",\"v\":[\"required\"]},\"bank_address\":{\"w\":\"1\",\"v\":[\"required\"]},\"attachment\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_apply_brand\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"brand_name\":{\"w\":\"1\"},\"sale_money\":{\"w\":\"1\"},\"market_quantity\":{\"w\":\"1\"},\"circulate_quantity\":{\"w\":\"1\"},\"market_high\":{\"w\":\"1\"},\"brand_category\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_apply_grid\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"market_style\":{\"w\":\"1\"},\"scope\":{\"w\":\"1\"},\"sale_quantity\":{\"w\":\"1\"},\"guide_quantity\":{\"w\":\"1\"},\"tally_quantity\":{\"w\":\"1\"},\"part_guide_quantity\":{\"w\":\"1\"},\"channel_plan_reason\":{\"w\":\"1\"},\"channel_start_dt\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}},\"customer_apply_category\":{\"@option\":{\"w\":\"1\",\"d\":\"1\"},\"category_name\":{\"w\":\"1\"},\"price_type\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, 1, '系统管理员', '系统管理员', 1587832574, 1620470452, 94);
INSERT INTO `model_permission` VALUES (93, '新建', 'create,edit', '{\"customer_complaint\":{\"sn\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"created_dt\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"region_id\":{\"w\":\"1\",\"v\":[\"required\"]},\"customer_id\":{\"w\":\"1\"},\"created_by\":{\"w\":\"1\",\"v\":[\"required\"],\"m\":\"1\"},\"type\":{\"w\":\"1\"},\"complainant\":{\"w\":\"1\",\"v\":[\"required\"]},\"complainant_phone\":{\"w\":\"1\",\"v\":[\"required\",\"regex:\\/^(1)[0-9]{10}$\\/\"]},\"attachment\":{\"w\":\"1\"},\"content\":{\"w\":\"1\",\"v\":[\"required\"]},\"suggest\":{\"w\":\"1\"},\"remark\":{\"w\":\"1\"}}}', NULL, 1, 'all', '全体人员', 1, NULL, '系统管理员', NULL, 1588493260, NULL, 92);

-- ----------------------------
-- Table structure for model_run
-- ----------------------------
DROP TABLE IF EXISTS `model_run`;
CREATE TABLE `model_run`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `data_id` int(11) NOT NULL COMMENT '数据ID',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '工作文号',
  `sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据流水号',
  `level` tinyint(4) NULL DEFAULT NULL COMMENT '流程重要性 1普通,2重要,3非常重要',
  `remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '备注',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '执行:0,完成:1',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `actived_id` int(11) NULL DEFAULT NULL COMMENT '激活人ID',
  `actived_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '激活人',
  `actived_at` int(11) NULL DEFAULT NULL COMMENT '激活时间',
  `bill_id` int(11) NOT NULL COMMENT '单据ID',
  `partner_id` int(11) NULL DEFAULT NULL COMMENT '合同单位ID',
  `partner_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '合同单位类型',
  `index` smallint(6) NULL DEFAULT NULL COMMENT '流程序号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_flow_run_sn`(`sn`) USING BTREE,
  INDEX `idx_flow_run_status`(`status`) USING BTREE,
  INDEX `idx_flow_run_data_id`(`data_id`) USING BTREE,
  INDEX `idx_flow_run_app_id`(`bill_id`) USING BTREE,
  INDEX `idx_flow_run_partner_id`(`partner_id`) USING BTREE,
  INDEX `idx_flow_run_partner_type`(`partner_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_run
-- ----------------------------
INSERT INTO `model_run` VALUES (2, 2, '促销申请', 'CXSQ20200002', NULL, NULL, NULL, 1, '系统管理员', 1603462268, 1, '系统管理员', 1603462268, 1, '系统管理员', 1603462268, 17, 1, 'customer', 1);
INSERT INTO `model_run` VALUES (7, 1005, '销售订单', 'XSDD202103150001', NULL, NULL, NULL, 1, '系统管理员', 1617243926, 1, '系统管理员', 1617243926, NULL, NULL, NULL, 23, 1, 'customer', 1);
INSERT INTO `model_run` VALUES (12, 2, '销售订单', 'XSDD202009170001', NULL, NULL, NULL, 1, '系统管理员', 1617244909, 1, '系统管理员', 1617245016, NULL, NULL, NULL, 23, 1, 'customer', 3);
INSERT INTO `model_run` VALUES (15, 1006, '销售订单', 'XSDD202104120001', NULL, NULL, NULL, 1, '系统管理员', 1618165144, 1, '系统管理员', 1618166412, 1, '系统管理员', 1618166412, 23, 1, 'customer', 4);
INSERT INTO `model_run` VALUES (16, 4, '客户开户申请', 'KHSQ202105080001', NULL, NULL, NULL, 1, '系统管理员', 1620470464, 1, '系统管理员', 1620470485, 1, '系统管理员', 1620470485, 94, NULL, NULL, 4);

-- ----------------------------
-- Table structure for model_run_log
-- ----------------------------
DROP TABLE IF EXISTS `model_run_log`;
CREATE TABLE `model_run_log`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `run_id` int(11) NOT NULL,
  `parent_id` int(11) NULL DEFAULT NULL,
  `user_id` int(11) NULL DEFAULT NULL COMMENT '办理用户',
  `run_step_id` int(11) NULL DEFAULT NULL,
  `run_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `run_status` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '流程状态',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '描述',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编辑人',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '编辑时间',
  `received_id` int(11) NULL DEFAULT NULL COMMENT '接收人ID',
  `received_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '接收人',
  `received_at` int(11) NULL DEFAULT NULL COMMENT '接收人ID',
  `option` tinyint(4) NULL DEFAULT 1 COMMENT '1:审核，0:知会',
  `bill_id` int(11) NOT NULL COMMENT '单据ID',
  `role_id` int(11) NULL DEFAULT NULL COMMENT '办理角色',
  `run_index` int(11) NULL DEFAULT NULL COMMENT '序号',
  `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '待办:0,已办:1',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_bill_id`(`bill_id`) USING BTREE,
  INDEX `idx_flow_run_log_run_id`(`run_id`) USING BTREE,
  INDEX `idx_flow_run_log_updated_id`(`updated_id`) USING BTREE,
  INDEX `idx_flow_run_log_run_index`(`run_index`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 54 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_run_log
-- ----------------------------
INSERT INTO `model_run_log` VALUES (3, 2, 0, 1, 13, '开始', 'read', NULL, 1, '系统管理员', 1603462268, 1, '系统管理员', 1618673275, NULL, NULL, NULL, NULL, 17, 1, NULL, 1);
INSERT INTO `model_run_log` VALUES (13, 7, 0, 1, 77, '开始', 'next', NULL, 1, '系统管理员', 1617243926, 1, NULL, 1617243926, NULL, NULL, NULL, 1, 23, 1, NULL, 1);
INSERT INTO `model_run_log` VALUES (14, 7, 13, 3, 79, '订单助理', 'draft', NULL, 1, '系统管理员', 1617243926, NULL, NULL, NULL, NULL, NULL, NULL, 1, 23, 1, 1, 0);
INSERT INTO `model_run_log` VALUES (28, 12, 0, 1, 137, '开始', 'next', NULL, 1, '系统管理员', 1617244909, 1, NULL, 1617244909, NULL, NULL, NULL, 1, 23, 1, 0, 1);
INSERT INTO `model_run_log` VALUES (29, 12, 28, 1, 139, '订单助理', 'next', NULL, 1, '系统管理员', 1617244909, 1, '系统管理员', 1617245016, NULL, NULL, NULL, 1, 23, 1, 1, 1);
INSERT INTO `model_run_log` VALUES (30, 12, 29, 1, 141, '销售会计', 'recall', '2', 1, '系统管理员', 1617244915, 1, '系统管理员', 1617245005, NULL, NULL, NULL, 1, 23, 1, 2, 1);
INSERT INTO `model_run_log` VALUES (31, 12, 29, 1, 141, '销售会计', 'draft', NULL, 1, '系统管理员', 1617245016, NULL, NULL, NULL, NULL, NULL, NULL, 1, 23, 1, 3, 0);
INSERT INTO `model_run_log` VALUES (41, 15, 0, 1, 173, '开始', 'next', NULL, 1, '系统管理员', 1618165144, 1, NULL, 1618165144, NULL, NULL, NULL, 1, 23, 1, 0, 1);
INSERT INTO `model_run_log` VALUES (42, 15, 41, 1, 175, '订单助理', 'next', NULL, 1, '系统管理员', 1618165144, 1, '系统管理员', 1618165151, NULL, NULL, NULL, 1, 23, 1, 1, 1);
INSERT INTO `model_run_log` VALUES (43, 15, 42, 1, 177, '销售会计', 'next', NULL, 1, '系统管理员', 1618165151, 1, '系统管理员', 1618165156, NULL, NULL, NULL, 1, 23, 1, 2, 1);
INSERT INTO `model_run_log` VALUES (44, 15, 43, 1, 176, '订单助理确认', 'end', NULL, 1, '系统管理员', 1618165156, 1, '系统管理员', 1618166412, NULL, NULL, NULL, 1, 23, 1, 3, 1);
INSERT INTO `model_run_log` VALUES (45, 15, 44, 3, 179, '物流发货', 'draft', NULL, 1, '系统管理员', 1618166412, NULL, NULL, NULL, NULL, NULL, NULL, 0, 23, NULL, 4, 0);
INSERT INTO `model_run_log` VALUES (46, 16, 0, 1, 185, '开始', 'next', NULL, 1, '系统管理员', 1620470464, 1, NULL, 1620470464, NULL, NULL, NULL, 1, 94, 1, 0, 1);
INSERT INTO `model_run_log` VALUES (47, 16, 46, 1, 187, '销售会计', 'next', NULL, 1, '系统管理员', 1620470464, 1, '系统管理员', 1620470473, NULL, NULL, NULL, 1, 94, 1, 1, 1);
INSERT INTO `model_run_log` VALUES (48, 16, 47, 1, 189, '营销总监', 'next', NULL, 1, '系统管理员', 1620470473, 1, '系统管理员', 1620470480, NULL, NULL, NULL, 1, 94, 1, 2, 1);
INSERT INTO `model_run_log` VALUES (49, 16, 48, 1, 188, '客服部负责人', 'end', NULL, 1, '系统管理员', 1620470480, 1, '系统管理员', 1620470485, NULL, NULL, NULL, 1, 94, 1, 3, 1);

-- ----------------------------
-- Table structure for model_run_step
-- ----------------------------
DROP TABLE IF EXISTS `model_run_step`;
CREATE TABLE `model_run_step`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `step_id` int(11) NULL DEFAULT NULL COMMENT '步骤ID',
  `run_id` int(11) NULL DEFAULT NULL COMMENT '进程ID',
  `permission_id` int(11) NULL DEFAULT NULL COMMENT '权限ID',
  `type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '节点类型',
  `type_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '主办人类型',
  `join` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关联ID',
  `back` tinyint(4) NULL DEFAULT NULL COMMENT '退回方式',
  `notify` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `run_mode` tinyint(4) NULL DEFAULT NULL COMMENT '1:单人执行，2:多人执行，3:全体执行，4:竞争执行',
  `condition` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '步骤条件',
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '步骤名称',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `option` tinyint(4) NULL DEFAULT NULL COMMENT '1:审核，0:知会',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '描述',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户ID',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编辑人',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '编辑时间',
  `bill_id` int(11) NOT NULL COMMENT '单据ID',
  `run_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '审核意见',
  `run_updated_id` int(11) NULL DEFAULT NULL COMMENT '办理人id',
  `run_updated_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '办理人',
  `run_updated_at` int(11) NULL DEFAULT NULL COMMENT '办理时间',
  `nouser` tinyint(3) NULL DEFAULT 0 COMMENT '匹配不到人',
  `nouser_user_id` int(11) NULL DEFAULT NULL COMMENT '匹配不到人(指定办理人)',
  `select_org` tinyint(3) NULL DEFAULT 0 COMMENT '允许选择组织中的人员',
  `sort` smallint(6) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_flow_run_step_step_id`(`step_id`) USING BTREE,
  INDEX `idx_flow_run_step_permission_id`(`permission_id`) USING BTREE,
  INDEX `idx_flow_run_step_run_id`(`run_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 197 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_run_step
-- ----------------------------
INSERT INTO `model_run_step` VALUES (13, 29, 2, 18, 'start', NULL, '58,30', 0, 'null', 1, NULL, '开始', 0, 1, NULL, 0, '1', 1543497923, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (14, 30, 2, 0, 'end', NULL, NULL, 0, NULL, 1, NULL, '结束', 0, 1, NULL, 0, '1', 1543497923, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (15, 31, 2, 74, 'user', '2088', '105', 1, 'null', 1, NULL, '客服部负责人', 0, 1, NULL, 0, '1', 1561539608, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (16, 56, 2, 0, 'field', 'customer_id', '63', 0, 'null', 1, NULL, '经销商', 0, 0, NULL, 1, '系统管理员', 1576134206, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (17, 57, 2, 0, 'user', '2090', '56', 0, 'null', 1, NULL, '订单助理', 0, 0, NULL, 1, '系统管理员', 1576134491, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (18, 58, 2, 71, 'user', '2089,2092', '104,31', 1, 'null', 4, '{\"104\":[{\"f\":\"[start_department_id]\",\"c\":\"<>\",\"v\":\"19\"}],\"31\":[{\"f\":\"[start_department_id]\",\"c\":\"==\",\"v\":\"19\"}]}', '市场助理', 0, 1, NULL, 1, '系统管理员', 1576135111, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (19, 63, 2, 0, 'created_id', NULL, '30', 0, 'null', 1, NULL, '单据发起人', 0, 0, NULL, 1, '系统管理员', 1577462863, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (20, 104, 2, 72, 'region2', NULL, '31', 1, 'null', 1, NULL, '省区经理', 0, 1, NULL, 1, '系统管理员', 1579442174, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (21, 105, 2, 73, 'user', '2086', '123', 1, 'null', 1, NULL, '营销总监', 0, 1, NULL, 1, '系统管理员', 1579442228, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (22, 109, 2, 71, 'user', '2089,2092', '57', 1, 'null', 4, '{\"1146\":[{\"f\":\"promotion.type_id\",\"c\":\"<>\",\"v\":\"3\"}]}', '市场助理备案', 0, 1, NULL, 1, '系统管理员', 1579442899, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (23, 118, 2, 76, 'user', '2000', '109', 1, 'null', 1, NULL, '董事长', 0, 1, NULL, 1, '系统管理员', 1579445332, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (24, 123, 2, 75, 'user', '2003', '118,109', 1, 'null', 1, '{\"109\":[{\"f\":\"promotion.is_chairman_audit\",\"c\":\"==\",\"v\":\"0\"}],\"118\":[{\"f\":\"promotion.is_chairman_audit\",\"c\":\"==\",\"v\":\"1\"}]}', '董事办', 0, 1, NULL, 1, '系统管理员', 1579528328, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (25, 1146, 2, 0, 'user', '2013,2015,2016,2017,2018', NULL, 0, 'null', 1, NULL, '销售会计', NULL, 0, NULL, 1, '系统管理员', 1586422926, 1, '系统管理员', 1603462251, 17, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (77, 34, 7, 31, 'start', NULL, '42,36,107,1141', 0, 'null', 1, '{\"1141\":[{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"5\"}],\"107\":[{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"2\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"41\",\"r\":\"\",\"i\":\"or\"},{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"42\",\"r\":\")\"}],\"36\":[{\"l\":\"(\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"1\",\"i\":\"or\"},{\"l\":\"\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"3\",\"r\":\")\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"2\",\"r\":\"\",\"i\":\"and\"},{\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"84\",\"r\":\")\"}],\"42\":[{\"l\":\"(\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"1\",\"i\":\"or\"},{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"3\",\"r\":\")\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"2\",\"i\":\"or\"},{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"84\",\"r\":\")\"}]}', '开始', 0, 1, NULL, 0, '1', 1562919003, 1, '系统管理员', 1617243926, 23, NULL, 1, '系统管理员', 1617243926, 0, NULL, 0, 2);
INSERT INTO `model_run_step` VALUES (78, 35, 7, 0, 'end', NULL, NULL, 0, NULL, 1, NULL, '结束', 0, 1, NULL, 0, '1', 1562919003, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 9);
INSERT INTO `model_run_step` VALUES (79, 36, 7, 86, 'user', NULL, '41,43', 1, 'null', 4, '{\"41\":[{\"f\":\"customer_order.customer_id\",\"c\":\"<>\",\"v\":\"583\"}],\"43\":[{\"f\":\"customer_order.customer_id\",\"c\":\"==\",\"v\":\"583\"}]}', '订单助理', 0, 1, NULL, 0, '1', 1565990729, 1, '系统管理员', 1617243114, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 4);
INSERT INTO `model_run_step` VALUES (80, 39, 7, 86, 'user', '2090,2091', '43', 1, 'null', 4, 'null', '订单助理确认', 0, 1, NULL, 0, '1', 1566799928, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 5);
INSERT INTO `model_run_step` VALUES (81, 41, 7, 86, 'user', '2013,2015,2016,2017,2018', '39,43', 1, 'null', 4, '{\"39\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"0\"}],\"43\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}],\"35\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}]}', '销售会计', 0, 1, NULL, 0, '1', 1566799984, 1, '系统管理员', 1613918664, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 6);
INSERT INTO `model_run_step` VALUES (82, 42, 7, 90, 'region2', NULL, '36', 1, 'null', 1, NULL, '省区经理', 0, 1, NULL, 0, '1', 1566800014, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 7);
INSERT INTO `model_run_step` VALUES (83, 43, 7, 0, 'user', '2035', '35', 0, 'null', 1, NULL, '物流发货', 0, 0, NULL, 0, '1', 1566800060, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 8);
INSERT INTO `model_run_step` VALUES (84, 107, 7, 84, 'user', '2042,2043', '129', 1, 'null', 4, '{\"129\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"0\"}],\"130\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}]}', '外贸经理', 0, 1, NULL, 1, '系统管理员', 1579442280, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 3);
INSERT INTO `model_run_step` VALUES (85, 129, 7, 0, 'user', '2078,2079', '1142', 1, 'null', 4, NULL, '生产计划', NULL, 1, NULL, 1, '系统管理员', 1580080571, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 0);
INSERT INTO `model_run_step` VALUES (86, 130, 7, 86, 'user', '2013,2015,2016,2017,2018', '43', 1, 'null', 4, NULL, '销售会计', NULL, 1, NULL, 1, '系统管理员', 1580081578, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 1);
INSERT INTO `model_run_step` VALUES (87, 1141, 7, 86, 'user', '2094', '130', 1, 'null', 1, NULL, '网销经理', NULL, 1, NULL, 1, '系统管理员', 1585297210, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (88, 1142, 7, 84, 'user', '2042,2043', '130', 1, 'null', 4, NULL, '外贸经理(准备发货)', NULL, 1, NULL, 1, '系统管理员', 1585525886, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (137, 34, 12, 31, 'start', NULL, '42,36,107,1141', 0, 'null', 1, '{\"1141\":[{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"5\"}],\"107\":[{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"2\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"41\",\"r\":\"\",\"i\":\"or\"},{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"42\",\"r\":\")\"}],\"36\":[{\"l\":\"(\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"1\",\"i\":\"or\"},{\"l\":\"\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"3\",\"r\":\")\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"2\",\"r\":\"\",\"i\":\"and\"},{\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"84\",\"r\":\")\"}],\"42\":[{\"l\":\"(\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"1\",\"i\":\"or\"},{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"3\",\"r\":\")\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"2\",\"i\":\"or\"},{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"84\",\"r\":\")\"}]}', '开始', 0, 1, NULL, 0, '1', 1562919003, 1, '系统管理员', 1617244909, 23, NULL, 1, '系统管理员', 1617244909, 0, NULL, 0, 2);
INSERT INTO `model_run_step` VALUES (138, 35, 12, 0, 'end', NULL, NULL, 0, NULL, 1, NULL, '结束', 0, 1, NULL, 0, '1', 1562919003, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 9);
INSERT INTO `model_run_step` VALUES (139, 36, 12, 86, 'user', NULL, '41,43', 1, 'null', 4, '{\"41\":[{\"f\":\"customer_order.customer_id\",\"c\":\"<>\",\"v\":\"583\"}],\"43\":[{\"f\":\"customer_order.customer_id\",\"c\":\"==\",\"v\":\"583\"}]}', '订单助理', 0, 1, NULL, 0, '1', 1565990729, 1, '系统管理员', 1617243114, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 4);
INSERT INTO `model_run_step` VALUES (140, 39, 12, 86, 'user', '2090,2091', '43', 1, 'null', 4, 'null', '订单助理确认', 0, 1, NULL, 0, '1', 1566799928, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 5);
INSERT INTO `model_run_step` VALUES (141, 41, 12, 86, 'user', '2013,2015,2016,2017,2018', '39,43', 1, 'null', 4, '{\"39\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"0\"}],\"43\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}],\"35\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}]}', '销售会计', 0, 1, NULL, 0, '1', 1566799984, 1, '系统管理员', 1613918664, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 6);
INSERT INTO `model_run_step` VALUES (142, 42, 12, 90, 'region2', NULL, '36', 1, 'null', 1, NULL, '省区经理', 0, 1, NULL, 0, '1', 1566800014, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 7);
INSERT INTO `model_run_step` VALUES (143, 43, 12, 0, 'user', '2035', '35', 0, 'null', 1, NULL, '物流发货', 0, 0, NULL, 0, '1', 1566800060, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 8);
INSERT INTO `model_run_step` VALUES (144, 107, 12, 84, 'user', '2042,2043', '129', 1, 'null', 4, '{\"129\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"0\"}],\"130\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}]}', '外贸经理', 0, 1, NULL, 1, '系统管理员', 1579442280, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 3);
INSERT INTO `model_run_step` VALUES (145, 129, 12, 0, 'user', '2078,2079', '1142', 1, 'null', 4, NULL, '生产计划', NULL, 1, NULL, 1, '系统管理员', 1580080571, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 0);
INSERT INTO `model_run_step` VALUES (146, 130, 12, 86, 'user', '2013,2015,2016,2017,2018', '43', 1, 'null', 4, NULL, '销售会计', NULL, 1, NULL, 1, '系统管理员', 1580081578, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 1);
INSERT INTO `model_run_step` VALUES (147, 1141, 12, 86, 'user', '2094', '130', 1, 'null', 1, NULL, '网销经理', NULL, 1, NULL, 1, '系统管理员', 1585297210, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (148, 1142, 12, 84, 'user', '2042,2043', '130', 1, 'null', 4, NULL, '外贸经理(准备发货)', NULL, 1, NULL, 1, '系统管理员', 1585525886, 1, '系统管理员', 1613918226, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (173, 34, 15, 31, 'start', NULL, '42,36,107,1141', 0, 'null', 1, '{\"1141\":[{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"5\"}],\"107\":[{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"2\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"41\",\"r\":\"\",\"i\":\"or\"},{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"42\",\"r\":\")\"}],\"36\":[{\"l\":\"(\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"1\",\"i\":\"or\"},{\"l\":\"\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"3\",\"r\":\")\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"2\",\"r\":\"\",\"i\":\"and\"},{\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"84\",\"r\":\")\"}],\"42\":[{\"l\":\"(\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"1\",\"i\":\"or\"},{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"3\",\"r\":\")\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"2\",\"i\":\"or\"},{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"84\",\"r\":\")\"}]}', '开始', 0, 1, NULL, 0, '1', 1562919003, 1, '系统管理员', 1618165144, 23, NULL, 1, '系统管理员', 1618165144, 0, NULL, 0, 2);
INSERT INTO `model_run_step` VALUES (174, 35, 15, 0, 'end', NULL, NULL, 0, NULL, 1, NULL, '结束', 0, 1, NULL, 0, '1', 1562919003, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 9);
INSERT INTO `model_run_step` VALUES (175, 36, 15, 86, 'user', NULL, '41,43', 1, 'null', 4, '{\"41\":[{\"f\":\"customer_order.customer_id\",\"c\":\"<>\",\"v\":\"583\"}],\"43\":[{\"f\":\"customer_order.customer_id\",\"c\":\"==\",\"v\":\"583\"}]}', '订单助理', 0, 1, NULL, 0, '1', 1565990729, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 4);
INSERT INTO `model_run_step` VALUES (176, 39, 15, 86, 'user', '2090,2091', '43', 1, 'null', 4, 'null', '订单助理确认', 0, 1, NULL, 0, '1', 1566799928, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 5);
INSERT INTO `model_run_step` VALUES (177, 41, 15, 86, 'user', '2013,2015,2016,2017,2018', '39,43', 1, 'null', 4, '{\"39\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"0\"}],\"43\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}],\"35\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}]}', '销售会计', 0, 1, NULL, 0, '1', 1566799984, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 6);
INSERT INTO `model_run_step` VALUES (178, 42, 15, 90, 'region2', NULL, '36', 1, 'null', 1, NULL, '省区经理', 0, 1, NULL, 0, '1', 1566800014, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 7);
INSERT INTO `model_run_step` VALUES (179, 43, 15, 0, 'user', '3', '35', 0, 'null', 1, NULL, '物流发货', 0, 0, NULL, 0, '1', 1566800060, 1, '系统管理员', 1618164886, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 8);
INSERT INTO `model_run_step` VALUES (180, 107, 15, 84, 'user', '2042,2043', '129', 1, 'null', 4, '{\"129\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"0\"}],\"130\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}]}', '外贸经理', 0, 1, NULL, 1, '系统管理员', 1579442280, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 3);
INSERT INTO `model_run_step` VALUES (181, 129, 15, 0, 'user', '2078,2079', '1142', 1, 'null', 4, NULL, '生产计划', NULL, 1, NULL, 1, '系统管理员', 1580080571, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 0);
INSERT INTO `model_run_step` VALUES (182, 130, 15, 86, 'user', '2013,2015,2016,2017,2018', '43', 1, 'null', 4, NULL, '销售会计', NULL, 1, NULL, 1, '系统管理员', 1580081578, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, 1);
INSERT INTO `model_run_step` VALUES (183, 1141, 15, 86, 'user', '2094', '130', 1, 'null', 1, NULL, '网销经理', NULL, 1, NULL, 1, '系统管理员', 1585297210, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (184, 1142, 15, 84, 'user', '2042,2043', '130', 1, 'null', 4, NULL, '外贸经理(准备发货)', NULL, 1, NULL, 1, '系统管理员', 1585525886, 1, '系统管理员', 1618164328, 23, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (185, 1148, 16, 92, 'start', NULL, '1159,1150', NULL, 'null', 1, '{\"1150\":[{\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"84\"}],\"1159\":[{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"84\"}]}', '开始', NULL, 1, NULL, 1, '系统管理员', 1587832480, 1, '系统管理员', 1620470464, 94, NULL, 1, '系统管理员', 1620470464, 0, NULL, 0, 0);
INSERT INTO `model_run_step` VALUES (186, 1149, 16, NULL, 'end', NULL, NULL, NULL, NULL, 1, NULL, '结束', NULL, 1, NULL, 1, '系统管理员', 1587832480, 1, '系统管理员', 1613845880, 94, NULL, NULL, NULL, NULL, 0, NULL, 0, 255);
INSERT INTO `model_run_step` VALUES (187, 1150, 16, 0, 'user', '2013', '1152', 1, 'null', 1, NULL, '销售会计', NULL, 1, NULL, 1, '系统管理员', 1587832487, 1, '系统管理员', 1613845880, 94, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (188, 1151, 16, 92, 'user', '2088', '1149', 1, 'null', 1, NULL, '客服部负责人', NULL, 1, NULL, 1, '系统管理员', 1587832488, 1, '系统管理员', 1613845880, 94, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (189, 1152, 16, 92, 'user', '2086', '1151', 1, 'null', 1, NULL, '营销总监', NULL, 1, NULL, 1, '系统管理员', 1587832489, 1, '系统管理员', 1613845880, 94, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);
INSERT INTO `model_run_step` VALUES (190, 1159, 16, 92, 'region2', NULL, '1150', 1, 'null', 1, NULL, '省区经理', NULL, 1, NULL, 1, '系统管理员', 1589153188, 1, '系统管理员', 1613845880, 94, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL);

-- ----------------------------
-- Table structure for model_seq_no
-- ----------------------------
DROP TABLE IF EXISTS `model_seq_no`;
CREATE TABLE `model_seq_no`  (
  `bill_id` int(11) NOT NULL,
  `rule_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `seq_no` int(11) NOT NULL,
  PRIMARY KEY (`bill_id`, `rule_code`) USING BTREE,
  INDEX `idx_flow_seq_no_app_id`(`bill_id`) USING BTREE,
  INDEX `idx_flow_seq_no_rule_code`(`rule_code`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_seq_no
-- ----------------------------
INSERT INTO `model_seq_no` VALUES (17, '2020', 2);
INSERT INTO `model_seq_no` VALUES (23, '20200708', 1);
INSERT INTO `model_seq_no` VALUES (23, '20200917', 1);
INSERT INTO `model_seq_no` VALUES (23, '20201012', 3);
INSERT INTO `model_seq_no` VALUES (23, '20210315', 1);
INSERT INTO `model_seq_no` VALUES (23, '20210412', 1);
INSERT INTO `model_seq_no` VALUES (23, '20210618', 1);
INSERT INTO `model_seq_no` VALUES (43, '20201023', 1);
INSERT INTO `model_seq_no` VALUES (43, '20210301', 1);
INSERT INTO `model_seq_no` VALUES (43, '20210526', 3);
INSERT INTO `model_seq_no` VALUES (46, '20201023', 1);
INSERT INTO `model_seq_no` VALUES (52, '2020', 1);
INSERT INTO `model_seq_no` VALUES (52, '2021', 1);
INSERT INTO `model_seq_no` VALUES (55, '2020', 1);
INSERT INTO `model_seq_no` VALUES (55, '2021', 1);
INSERT INTO `model_seq_no` VALUES (57, '2021', 1);
INSERT INTO `model_seq_no` VALUES (59, '2020102310', 2);
INSERT INTO `model_seq_no` VALUES (59, '2021060710', 1);
INSERT INTO `model_seq_no` VALUES (61, '20201023', 2);
INSERT INTO `model_seq_no` VALUES (63, '20210228', 1);
INSERT INTO `model_seq_no` VALUES (65, '20210224', 1);
INSERT INTO `model_seq_no` VALUES (67, '20201023', 1);
INSERT INTO `model_seq_no` VALUES (70, '20201012', 1);
INSERT INTO `model_seq_no` VALUES (70, '20210502', 1);
INSERT INTO `model_seq_no` VALUES (82, '20201020', 1);
INSERT INTO `model_seq_no` VALUES (82, '20210224', 1);
INSERT INTO `model_seq_no` VALUES (84, '20201020', 3);
INSERT INTO `model_seq_no` VALUES (86, '20201023', 1);
INSERT INTO `model_seq_no` VALUES (87, '20201023', 1);
INSERT INTO `model_seq_no` VALUES (92, '20201012', 1);
INSERT INTO `model_seq_no` VALUES (93, '20210502', 1);
INSERT INTO `model_seq_no` VALUES (94, '20201011', 1);
INSERT INTO `model_seq_no` VALUES (94, '20201012', 1);
INSERT INTO `model_seq_no` VALUES (94, '20201020', 1);
INSERT INTO `model_seq_no` VALUES (94, '20210508', 1);

-- ----------------------------
-- Table structure for model_step
-- ----------------------------
DROP TABLE IF EXISTS `model_step`;
CREATE TABLE `model_step`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `model_id` int(11) NULL DEFAULT 0 COMMENT '模型ID',
  `permission_id` int(11) NULL DEFAULT 0 COMMENT '权限ID',
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '步骤名称',
  `type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '节点类型',
  `type_value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '主办人类型',
  `join` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `run_mode` tinyint(4) NULL DEFAULT NULL COMMENT '1:单人执行，2:多人执行，3:全体执行，4:竞争执行',
  `back` tinyint(4) NULL DEFAULT NULL,
  `notify` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `posY` int(11) NULL DEFAULT NULL COMMENT '节点Y位置',
  `posX` int(11) NULL DEFAULT NULL COMMENT '节点X位置',
  `condition` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '步骤条件',
  `sort` smallint(6) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `option` tinyint(4) NULL DEFAULT 1 COMMENT '1:审核，0:知会',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '描述',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `bill_id` int(11) NOT NULL COMMENT '单据ID',
  `nouser` tinyint(3) NULL DEFAULT 0 COMMENT '匹配不到人',
  `nouser_user_id` int(11) NULL DEFAULT NULL COMMENT '匹配不到人(指定办理人)',
  `select_org` tinyint(3) NULL DEFAULT 0 COMMENT '允许选择组织中的人员',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_flow_step_name`(`name`) USING BTREE,
  INDEX `idx_flow_step_app_id`(`bill_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1180 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_step
-- ----------------------------
INSERT INTO `model_step` VALUES (29, 17, 18, '开始', 'start', '', '58,30', 1, 0, 'null', 439, 173, '', 0, 0, 1, '', '1', 1543497923, 0, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (30, 17, 0, '结束', 'end', '', NULL, 1, 0, '', 435, 1088, '', 4, 0, 1, '', '1', 1543497923, 0, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (31, 17, 74, '客服部负责人', 'user', '2088', '105', 1, 1, 'null', 58, 332, '', 8, 0, 1, '', '1', 1561539608, 0, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (34, 23, 31, '开始', 'start', '', '42,36,107,1141', 1, 0, 'null', 31, 79, '{\"1141\":[{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"5\"}],\"107\":[{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"2\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"41\",\"r\":\"\",\"i\":\"or\"},{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"42\",\"r\":\")\"}],\"36\":[{\"l\":\"(\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"1\",\"i\":\"or\"},{\"l\":\"\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"3\",\"r\":\")\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"2\",\"r\":\"\",\"i\":\"and\"},{\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"84\",\"r\":\")\"}],\"42\":[{\"l\":\"(\",\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"1\",\"i\":\"or\"},{\"f\":\"customer_order.type_id\",\"c\":\"==\",\"v\":\"3\",\"r\":\")\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"2\",\"i\":\"or\"},{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"84\",\"r\":\")\"}]}', 2, 0, 1, '', '1', 1562919003, 0, 1, '系统管理员', 1618164328, 23, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (35, 23, 0, '结束', 'end', '', NULL, 1, 0, '', 68, 1030, '', 9, 0, 1, '', '1', 1562919003, 0, 1, '系统管理员', 1618164328, 23, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (36, 23, 86, '订单助理', 'user', NULL, '41,43', 4, 1, 'null', 41, 414, '{\"41\":[{\"f\":\"customer_order.customer_id\",\"c\":\"<>\",\"v\":\"583\"}],\"43\":[{\"f\":\"customer_order.customer_id\",\"c\":\"==\",\"v\":\"583\"}]}', 4, 0, 1, '', '1', 1565990729, 0, 1, '系统管理员', 1618164328, 23, 0, NULL, 0);
INSERT INTO `model_step` VALUES (39, 23, 86, '订单助理确认', 'user', '2090,2091', '43', 4, 1, 'null', 276, 499, 'null', 5, 0, 1, '', '1', 1566799928, 0, 1, '系统管理员', 1618164328, 23, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (41, 23, 86, '销售会计', 'user', '2013,2015,2016,2017,2018', '39,43', 4, 1, 'null', 169, 447, '{\"39\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"0\"}],\"43\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}],\"35\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}]}', 6, 0, 1, '', '1', 1566799984, 0, 1, '系统管理员', 1618164328, 23, 0, NULL, 0);
INSERT INTO `model_step` VALUES (42, 23, 90, '省区经理', 'region2', '', '36', 1, 1, 'null', 146, 259, '', 7, 0, 1, '', '1', 1566800014, 0, 1, '系统管理员', 1618164328, 23, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (43, 23, 0, '物流发货', 'user', '3', '35', 1, 0, 'null', 105, 847, '', 8, 0, 0, '', '1', 1566800060, 0, 1, '系统管理员', 1618164886, 23, 0, NULL, 0);
INSERT INTO `model_step` VALUES (46, 47, 41, '开始', 'start', '', '74,72,73', 1, 0, 'null', 150, 146, '{\"72\":[{\"f\":\"[start_user_id]\",\"c\":\"==\",\"v\":\"2031\"}],\"73\":[{\"f\":\"[start_user_id]\",\"c\":\"==\",\"v\":\"2035\"}],\"74\":[{\"f\":\"[start_user_id]\",\"c\":\"<>\",\"v\":\"2031\",\"i\":\"and\"},{\"f\":\"[start_user_id]\",\"c\":\"<>\",\"v\":\"2035\"}]}', 0, 0, 1, '', '1', 1571501849, 0, 1, '系统管理员', 1592291345, 47, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (47, 47, 0, '结束', 'end', '', NULL, 1, 0, '', 149, 696, '', 127, 0, 1, '', '1', 1571501849, 0, 1, '系统管理员', 1592291345, 47, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (48, 52, 44, '开始', 'start', '', '88', 1, 0, 'null', 164, 29, '', 0, 0, 1, '', '系统管理员', 1574636938, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (49, 52, 0, '结束', 'end', '', NULL, 1, 0, '', 176, 782, '', 127, 0, 1, '', '系统管理员', 1574636938, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (50, 55, 46, '开始', 'start', '', '82,81', 1, 0, 'null', 95, 1, '{\"81\":[{\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"82\"}],\"82\":[{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"82\"}]}', 0, 0, 1, '', '系统管理员', 1575228845, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (51, 55, 0, '结束', 'end', '', NULL, 1, 0, '', 150, 1063, '', 127, 0, 1, '', '系统管理员', 1575228845, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (52, 57, 47, '开始', 'start', '', '96', 1, 0, 'null', 137, 39, '', 0, 0, 1, '', '系统管理员', 1575233806, 1, 1, '系统管理员', 1593855913, 57, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (53, 57, 0, '结束', 'end', '', NULL, 1, 0, '', 244, 868, '', 127, 0, 1, '', '系统管理员', 1575233807, 1, 1, '系统管理员', 1593855913, 57, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (54, 43, 51, '开始', 'start', '', '68,69', 1, 0, 'null', 54, 442, '{\"68\":[{\"f\":\"stock_delivery.type_id\",\"c\":\"<>\",\"v\":\"2\"}],\"69\":[{\"f\":\"stock_delivery.type_id\",\"c\":\"==\",\"v\":\"2\"}]}', 0, 0, 1, '', '系统管理员', 1575670140, 1, 1, '系统管理员', 1602260176, 43, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (55, 43, 0, '结束', 'end', '', NULL, 1, 0, '', 433, 449, '', 127, 0, 1, '', '系统管理员', 1575670140, 1, 1, '系统管理员', 1602260176, 43, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (56, 17, 0, '经销商', 'field', 'customer_id', '63', 1, 0, 'null', 303, 796, '', 1, 0, 0, '', '系统管理员', 1576134206, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (57, 17, 0, '订单助理', 'user', '2090', '56', 1, 0, 'null', 185, 790, '', 7, 0, 0, '', '系统管理员', 1576134491, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (58, 17, 71, '市场助理', 'user', '2089,2092', '104,31', 4, 1, 'null', 228, 38, '{\"104\":[{\"f\":\"[start_department_id]\",\"c\":\"<>\",\"v\":\"19\"}],\"31\":[{\"f\":\"[start_department_id]\",\"c\":\"==\",\"v\":\"19\"}]}', 9, 0, 1, '', '系统管理员', 1576135111, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (59, 59, 52, '开始', 'start', '', '111,110', 1, 0, 'null', 33, 412, '{\"110\":[{\"f\":\"stock_record10.warehouse_id\",\"c\":\"<>\",\"v\":\"20047\",\"i\":\"and\"},{\"f\":\"stock_record10.warehouse_id\",\"c\":\"<>\",\"v\":\"20001\"}],\"111\":[{\"f\":\"stock_record10.warehouse_id\",\"c\":\"==\",\"v\":\"20047\",\"i\":\"or\"},{\"f\":\"stock_record10.warehouse_id\",\"c\":\"==\",\"v\":\"20001\"}]}', 0, 0, 1, '', '系统管理员', 1576748599, 1, 1, '系统管理员', 1586308891, 59, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (60, 59, 0, '结束', 'end', '', NULL, 1, 0, '', 357, 412, '', 127, 0, 1, '', '系统管理员', 1576748600, 1, 1, '系统管理员', 1586228296, 59, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (61, 70, 55, '开始', 'start', '', '77,76', 1, 0, 'null', 204, 91, '{\"76\":[{\"f\":\"[start_department_id]\",\"c\":\"==\",\"v\":\"7\"}],\"77\":[{\"f\":\"[start_department_id]\",\"c\":\"<>\",\"v\":\"7\"}]}', 0, 0, 1, '', '系统管理员', 1576814277, 1, 1, '系统管理员', 1589153161, 70, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (62, 70, 0, '结束', 'end', '', NULL, 1, 0, '', 233, 666, '', 127, 0, 1, '', '系统管理员', 1576814277, 1, 1, '系统管理员', 1589153161, 70, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (63, 17, 0, '单据发起人', 'created_id', '', '30', 1, 0, 'null', 303, 950, '', 2, 0, 0, '', '系统管理员', 1577462863, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (64, 65, 60, '开始', 'start', '', '112', 1, 0, 'null', 76, 517, '', 0, 0, 1, '', '系统管理员', 1577476027, 1, 1, '系统管理员', 1585720791, 65, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (65, 65, 0, '结束', 'end', '', NULL, 1, 0, '', 360, 517, '', 127, 0, 1, '', '系统管理员', 1577476027, 1, 1, '系统管理员', 1585720791, 65, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (66, 67, 61, '开始', 'start', '', '116,1143,1147', 1, 0, 'null', 67, 462, '{\"1143\":[{\"l\":\"(\",\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"==\",\"v\":\"140\",\"i\":\"or\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"==\",\"v\":\"139\",\"i\":\"or\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"==\",\"v\":\"20005\",\"i\":\"or\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"==\",\"v\":\"20048\",\"r\":\"\",\"i\":\"or\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"==\",\"v\":\"20044\",\"r\":\"\",\"i\":\"or\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"==\",\"v\":\"140\",\"i\":\"or\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"==\",\"v\":\"139\",\"i\":\"or\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"==\",\"v\":\"20005\",\"i\":\"or\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"==\",\"v\":\"20048\",\"i\":\"or\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"==\",\"v\":\"20044\",\"r\":\")\",\"i\":\"and\"},{\"l\":\"(\",\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"<>\",\"v\":\"20047\",\"i\":\"and\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"<>\",\"v\":\"20001\",\"r\":\")\"}],\"1147\":[{\"l\":\"(\",\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"==\",\"v\":\"20047\",\"i\":\"or\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"==\",\"v\":\"20001\",\"r\":\")\",\"i\":\"\"}],\"116\":[{\"l\":\"\",\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"<>\",\"v\":\"140\",\"i\":\"and\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"<>\",\"v\":\"139\",\"i\":\"and\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"<>\",\"v\":\"20005\",\"i\":\"and\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"<>\",\"v\":\"20048\",\"r\":\"\",\"i\":\"and\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"<>\",\"v\":\"20001\",\"i\":\"and\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"<>\",\"v\":\"20047\",\"i\":\"and\"},{\"f\":\"stock_allocation.out_warehouse_id\",\"c\":\"<>\",\"v\":\"20044\",\"i\":\"and\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"<>\",\"v\":\"140\",\"i\":\"and\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"<>\",\"v\":\"139\",\"i\":\"and\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"<>\",\"v\":\"20005\",\"i\":\"and\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"<>\",\"v\":\"20048\",\"i\":\"and\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"<>\",\"v\":\"20001\",\"i\":\"and\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"<>\",\"v\":\"20047\",\"i\":\"and\"},{\"f\":\"stock_allocation.in_warehouse_id\",\"c\":\"<>\",\"v\":\"20044\"}]}', 0, 0, 1, '', '系统管理员', 1578867428, 1, 1, '系统管理员', 1588673441, 67, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (67, 67, 0, '结束', 'end', '', NULL, 1, 0, '', 328, 465, '', 127, 0, 1, '', '系统管理员', 1578867429, 1, 1, '系统管理员', 1588673441, 67, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (68, 43, 51, '成品库管', 'user', '2028,2032', '71', 4, 1, 'null', 165, 269, '', 0, 0, 1, '', '系统管理员', 1579014699, 1, 1, '系统管理员', 1602260176, 43, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (69, 43, 51, '物料保管', 'user', '2031', '71', 1, 1, 'null', 143, 581, '', 0, 0, 1, '', '系统管理员', 1579014779, 1, 1, '系统管理员', 1602260176, 43, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (70, 43, 0, '省区经理', 'region2', '', '55', 1, 0, 'null', 319, 436, '', 0, 0, 0, '', '系统管理员', 1579014828, 1, 1, '系统管理员', 1602260176, 43, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (71, 43, 0, '客户', 'field', 'customer_id', '70', 1, 0, 'null', 214, 461, '', 0, 0, 0, '', '系统管理员', 1579014926, 1, 1, '系统管理员', 1602260176, 43, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (72, 47, 41, '物料保管', 'user', '2027', '47', 1, 1, 'null', 150, 372, '', 0, 0, 1, '', '系统管理员', 1579163848, 1, 1, '系统管理员', 1592291345, 47, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (73, 47, 41, '成品库管员', 'user', '2028,2032', '47', 4, 1, 'null', 50, 368, '', 0, 0, 1, '', '系统管理员', 1579164001, 1, 1, '系统管理员', 1592291345, 47, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (74, 47, 0, '销售会计', 'user', '2013,2015,2016,2017,2018', '47', 4, 1, 'null', 250, 383, '{\"72\":[{\"f\":\"stock_cancel.type_id\",\"c\":\"<>\",\"v\":\"5\"}],\"73\":[{\"f\":\"stock_cancel.type_id\",\"c\":\"==\",\"v\":\"5\"}]}', 0, 0, 1, '', '系统管理员', 1579164002, 1, 1, '系统管理员', 1592291345, 47, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (75, 70, 55, '客服助理', 'user', '2090,2091', '79,80,62', 4, 1, 'null', 134, 578, '', 0, 0, 1, '', '系统管理员', 1579165214, 1, 1, '系统管理员', 1589153161, 70, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (76, 70, 0, '外贸部经理', 'user', '2042', '62', 1, 1, 'null', 233, 377, '', 0, 0, 1, '', '系统管理员', 1579165215, 1, 1, '系统管理员', 1589153161, 70, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (77, 70, 55, '客服部负责人', 'user', '2088', '78', 1, 1, 'null', 33, 147, '{\"76\":[{\"f\":\"sample_apply.region_id\",\"c\":\"==\",\"v\":\"103\"}],\"78\":[{\"f\":\"sample_apply.region_id\",\"c\":\"<>\",\"v\":\"103\"}]}', 0, 0, 1, '', '系统管理员', 1579165216, 1, 1, '系统管理员', 1589153161, 70, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (78, 70, 0, '营销总监', 'user', '2086', '75', 1, 1, 'null', 17, 354, '', 0, 0, 1, '', '系统管理员', 1579165217, 1, 1, '系统管理员', 1589153161, 70, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (79, 70, 0, '客服助理', 'user', '', NULL, 1, 0, 'null', 31, 546, '', 0, 0, 0, '', '系统管理员', 1579165362, 1, 1, '系统管理员', 1589153161, 70, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (80, 70, 0, '省区负责人', 'region2', '', NULL, 1, 0, 'null', 60, 758, '', 0, 0, 0, '', '系统管理员', 1579165386, 1, 1, '系统管理员', 1589153161, 70, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (81, 55, 46, '省区经理', 'region2', '', '82', 1, 0, 'null', 49, 136, '', 1, 0, 1, '', '系统管理员', 1579251969, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (82, 55, 77, '市场助理', 'user', '2089,2092', '83', 4, 1, 'null', 381, 19, 'null', 2, 0, 1, '', '系统管理员', 1579252789, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (83, 55, 0, '销售会计', 'user', '2017', '84', 1, 1, 'null', 393, 269, '', 3, 0, 1, '', '系统管理员', 1579252885, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (84, 55, 0, '营销总监', 'user', '2086', '85', 1, 1, 'null', 278, 317, '', 4, 0, 1, '', '系统管理员', 1579253010, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (85, 55, 0, '财务经理', 'user', '2007', '102', 1, 1, 'null', 165, 342, '', 5, 0, 1, '', '系统管理员', 1579253024, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (86, 55, 0, '省区负责人', 'region2', '', '87', 1, 0, 'null', 150, 810, '', 6, 0, 0, '', '系统管理员', 1579253037, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (87, 55, 0, '市场助理', 'user', '2089,2092', '51', 4, 0, 'null', 243, 807, '', 7, 0, 0, '', '系统管理员', 1579252789, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (88, 52, 78, '省区经理', 'region2', '', '89', 1, 1, 'null', 105, 167, '', 0, 0, 1, '', '系统管理员', 1579254263, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (89, 52, 79, '市场助理', 'user', '2089,2092', '90', 4, 1, 'null', 235, 173, '', 0, 0, 1, '', '系统管理员', 1579254288, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (90, 52, 80, '营销总监', 'user', '2086', '91', 1, 1, 'null', 235, 362, '', 0, 0, 1, '', '系统管理员', 1579254315, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (91, 52, 81, '董事办', 'user', '2003', '92,119', 1, 1, 'null', 133, 359, '{\"92\":[{\"f\":\"approach.is_chairman_audit\",\"c\":\"==\",\"v\":\"0\"}],\"119\":[{\"f\":\"approach.is_chairman_audit\",\"c\":\"==\",\"v\":\"1\"}]}', 0, 0, 1, '', '系统管理员', 1579254331, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (92, 52, 79, '市场助理备案', 'user', '2089,2092', '93,94,49', 4, 1, 'null', 135, 587, '', 0, 0, 1, '', '系统管理员', 1579254350, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (93, 52, 0, '省区负责人', 'region2', '', NULL, 1, 0, 'null', 236, 573, '', 0, 0, 0, '', '系统管理员', 1579254361, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (94, 52, 0, '经销商', 'field', 'customer_id', NULL, 1, 0, 'null', 9, 585, '', 0, 0, 0, '', '系统管理员', 1579254385, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (96, 57, 0, '销售会计', 'user', '2017', '97', 1, 1, 'null', 145, 224, '', 1, 0, 1, '', '系统管理员', 1579254616, 1, 1, '系统管理员', 1593855913, 57, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (97, 57, 0, '营销总监', 'user', '2086', '98', 1, 1, 'null', 291, 129, '', 2, 0, 1, '', '系统管理员', 1579254628, 1, 1, '系统管理员', 1593855913, 57, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (98, 57, 0, '财务经理', 'user', '2007', '100', 1, 1, 'null', 342, 353, '', 3, 0, 1, '', '系统管理员', 1579254640, 1, 1, '系统管理员', 1593855913, 57, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (99, 57, 47, '市场助理', 'user', '2089', '53', 1, 1, 'null', 193, 658, '', 4, 0, 0, '', '系统管理员', 1579254654, 1, 1, '系统管理员', 1593855913, 57, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (100, 57, 0, '董事办', 'user', '2003', '101,99', 1, 1, 'null', 199, 362, '', 5, 0, 1, '', '系统管理员', 1579254777, 1, 1, '系统管理员', 1593855913, 57, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (101, 57, 0, '董事长', 'user', '2000', '99', 1, 1, 'null', 310, 625, '', 6, 0, 1, '', '系统管理员', 1579254813, 1, 1, '系统管理员', 1593855913, 57, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (102, 55, 77, '董事办', 'user', '2003', '120,86', 1, 1, 'null', 59, 457, 'null', 8, 0, 1, '', '系统管理员', 1579255048, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (104, 17, 72, '省区经理', 'region2', '', '31', 1, 1, 'null', 31, 101, '', 3, 0, 1, '', '系统管理员', 1579442174, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (105, 17, 73, '营销总监', 'user', '2086', '123', 1, 1, 'null', 195, 285, '', 4, 0, 1, '', '系统管理员', 1579442228, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (107, 23, 84, '外贸经理', 'user', '2042,2043', '129', 4, 1, 'null', 381, 22, '{\"129\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"0\"}],\"130\":[{\"f\":\"customer_order.is_return\",\"c\":\"==\",\"v\":\"1\"}]}', 3, 0, 1, '', '系统管理员', 1579442280, 1, 1, '系统管理员', 1618164328, 23, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (109, 17, 71, '市场助理备案', 'user', '2089,2092', '57', 4, 1, 'null', 164, 557, '{\"1146\":[{\"f\":\"promotion.type_id\",\"c\":\"<>\",\"v\":\"3\"}]}', 5, 0, 1, '', '系统管理员', 1579442899, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (110, 59, 52, '成品库管', 'user', '2028,2032', '60', 4, 0, 'null', 204, 250, '', 0, 0, 1, '', '系统管理员', 1579444089, 1, 1, '系统管理员', 1586228296, 59, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (111, 59, 52, '辣酱库管', 'user', '2177', '60', 1, 0, 'null', 199, 525, '', 0, 0, 1, '', '系统管理员', 1579444109, 1, 1, '系统管理员', 1586228296, 59, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (112, 65, 60, '销售会计', 'user', '2013,2015,2016,2017,2018', '65', 4, 1, 'null', 215, 505, '', 1, 0, 1, '', '系统管理员', 1579444363, 1, 1, '系统管理员', 1588870809, 65, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (116, 67, 61, '销售会计', 'user', '2013,2015,2016,2017,2018', '67', 4, 0, 'null', 183, 250, '', 1, 0, 1, '', '系统管理员', 1579444730, 1, 1, '系统管理员', 1588673441, 67, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (118, 17, 76, '董事长', 'user', '2000', '109', 1, 1, 'null', 285, 575, '', 6, 0, 1, '', '系统管理员', 1579445332, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (119, 52, 82, '董事长', 'user', '2000', '92', 1, 1, 'null', 36, 429, '', 0, 0, 1, '', '系统管理员', 1579445517, 1, 1, '系统管理员', 1587030617, 52, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (120, 55, 0, '董事长', 'user', '2000', '86', 1, 0, 'null', 257, 522, '', 9, 0, 1, '', '系统管理员', 1579446038, 1, 1, '系统管理员', 1593855878, 55, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (123, 17, 75, '董事办', 'user', '2003', '118,109', 1, 1, 'null', 269, 422, '{\"109\":[{\"f\":\"promotion.is_chairman_audit\",\"c\":\"==\",\"v\":\"0\"}],\"118\":[{\"f\":\"promotion.is_chairman_audit\",\"c\":\"==\",\"v\":\"1\"}]}', 0, 0, 1, '', '系统管理员', 1579528328, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (124, 78, 63, '开始', 'start', '', '126', 1, 0, 'null', 243, 163, '', 0, 0, 1, '', '系统管理员', 1579531147, 1, 1, '系统管理员', 1614197052, 78, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (125, 78, 0, '结束', 'end', '', NULL, 1, 0, '', 255, 522, '', 127, 0, 1, '', '系统管理员', 1579531147, 1, 1, '系统管理员', 1614197052, 78, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (126, 78, 63, '生产计划', 'user', '2079', '127', 1, 1, 'null', 233, 320, '', 1, 0, 1, '', '系统管理员', 1579531192, 1, 1, '系统管理员', 1614197052, 78, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (127, 78, 0, '订单助理', 'user', '2090', '125', 1, 0, 'null', 155, 474, '', 2, 0, 0, '', '系统管理员', 1579531266, 1, 1, '系统管理员', 1614197052, 78, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (129, 23, 0, '生产计划', 'user', '2078,2079', '1142', 4, 1, 'null', 422, 177, NULL, 0, NULL, 1, NULL, '系统管理员', 1580080571, 1, 1, '系统管理员', 1618164328, 23, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (130, 23, 86, '销售会计', 'user', '2013,2015,2016,2017,2018', '43', 4, 1, 'null', 418, 641, NULL, 1, NULL, 1, NULL, '系统管理员', 1580081578, 1, 1, '系统管理员', 1618164328, 23, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (131, 82, 65, '开始', 'start', NULL, '1166', 1, NULL, 'null', 44, 54, NULL, NULL, NULL, 1, NULL, '系统管理员', 1582048521, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (132, 82, NULL, '结束', 'end', NULL, NULL, 1, NULL, NULL, 339, 713, NULL, 255, NULL, 1, NULL, '系统管理员', 1582048521, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (133, 82, 66, '采购部负责人', 'user', '2019', '1144,1174', 1, 1, 'null', 20, 410, NULL, NULL, NULL, 1, NULL, '系统管理员', 1582107465, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (137, 84, NULL, '开始', 'start', NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, '系统管理员', 1582298467, 1, NULL, NULL, NULL, 84, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (138, 84, NULL, '结束', 'end', NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 255, NULL, 1, NULL, '系统管理员', 1582298467, 1, NULL, NULL, NULL, 84, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (141, 63, 50, '开始', 'start', NULL, '142', 1, NULL, 'null', 79, 240, NULL, NULL, NULL, 1, NULL, '系统管理员', 1583621175, 1, 1, '系统管理员', 1583621191, 63, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (142, NULL, NULL, '结束', 'end', NULL, NULL, 1, NULL, NULL, 281, 438, NULL, 255, NULL, 1, NULL, '系统管理员', 1583621175, 1, 1, '系统管理员', 1583621182, 63, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1141, NULL, 86, '网销经理', 'user', '2094', '130', 1, 1, 'null', 309, 149, NULL, NULL, NULL, 1, NULL, '系统管理员', 1585297210, 1, 1, '系统管理员', 1618164328, 23, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1142, NULL, 84, '外贸经理(准备发货)', 'user', '2042,2043', '130', 4, 1, 'null', 519, 382, NULL, NULL, NULL, 1, NULL, '系统管理员', 1585525886, 1, 1, '系统管理员', 1618164328, 23, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1143, NULL, 61, '成品库管', 'user', '2028,2032', '67', 4, 0, 'null', 187, 453, NULL, NULL, NULL, 1, NULL, '系统管理员', 1585793672, 1, 1, '系统管理员', 1588673441, 67, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1144, NULL, 0, '执行董事', 'user', '2001', '1145', 1, 1, 'null', 122, 554, NULL, NULL, NULL, 1, NULL, '系统管理员', 1586038504, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1145, NULL, 0, '董事长', 'user', '2000', '1174', 1, 1, 'null', 214, 717, NULL, NULL, NULL, 1, NULL, '系统管理员', 1586038932, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1146, NULL, 0, '销售会计', 'user', '2013,2015,2016,2017,2018', NULL, 1, 0, 'null', 88, 801, NULL, NULL, NULL, 0, NULL, '系统管理员', 1586422926, 1, 1, '系统管理员', 1603462251, 17, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1147, NULL, 61, '川南库管', 'user', '2177', '67', 1, 1, 'null', 182, 701, NULL, NULL, NULL, 1, NULL, '系统管理员', 1587712133, 1, 1, '系统管理员', 1593662757, 67, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1148, NULL, 92, '开始', 'start', NULL, '1159,1150', 1, NULL, 'null', 81, 126, '{\"1150\":[{\"f\":\"[start_role_id]\",\"c\":\"<>\",\"v\":\"84\"}],\"1159\":[{\"f\":\"[start_role_id]\",\"c\":\"==\",\"v\":\"84\"}]}', 0, NULL, 1, NULL, '系统管理员', 1587832480, 1, 1, '系统管理员', 1613845880, 94, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1149, NULL, NULL, '结束', 'end', NULL, NULL, 1, NULL, NULL, 377, 341, NULL, 255, NULL, 1, NULL, '系统管理员', 1587832480, 1, 1, '系统管理员', 1613845880, 94, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1150, NULL, 0, '销售会计', 'user', '2013', '1152', 1, 1, 'null', 60, 351, NULL, NULL, NULL, 1, NULL, '系统管理员', 1587832487, 1, 1, '系统管理员', 1613845880, 94, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1151, NULL, 92, '客服部负责人', 'user', '2088', '1149', 1, 1, 'null', 273, 275, NULL, NULL, NULL, 1, NULL, '系统管理员', 1587832488, 1, 1, '系统管理员', 1613845880, 94, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1152, NULL, 92, '营销总监', 'user', '2086', '1151', 1, 1, 'null', 174, 458, NULL, NULL, NULL, 1, NULL, '系统管理员', 1587832489, 1, 1, '系统管理员', 1613845880, 94, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1153, NULL, 93, '开始', 'start', NULL, '1155,1163', 1, NULL, 'null', 73, 77, '{\"1155\":[{\"f\":\"customer_complaint.type\",\"c\":\"<>\",\"v\":\"物流问题\"}],\"1163\":[{\"f\":\"customer_complaint.type\",\"c\":\"==\",\"v\":\"物流问题\"}]}', 8, NULL, 1, NULL, '系统管理员', 1588493268, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1154, NULL, NULL, '结束', 'end', NULL, NULL, 1, NULL, NULL, 374, 683, NULL, 255, NULL, 1, NULL, '系统管理员', 1588493268, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1155, NULL, 93, '品管部经理', 'user', '2054', '1157', 1, 1, 'null', 26, 311, NULL, 0, NULL, 1, NULL, '系统管理员', 1588493278, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1156, NULL, 93, '技术总监', 'user', '2049', '1158', 1, 1, 'null', 210, 780, NULL, 1, NULL, 1, NULL, '系统管理员', 1588493279, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1157, NULL, 93, '生产计划', 'user', '2078', '1156', 1, 1, 'null', 54, 631, NULL, 2, NULL, 1, NULL, '系统管理员', 1588493280, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1158, NULL, 93, '客户部负责人', 'user', '2088', '1161', 1, 1, 'null', 163, 448, NULL, 3, NULL, 1, NULL, '系统管理员', 1588493280, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1159, NULL, 92, '省区经理', 'region2', NULL, '1150', 1, 1, 'null', 186, 256, NULL, NULL, NULL, 1, NULL, '系统管理员', 1589153188, 1, 1, '系统管理员', 1613845880, 94, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1161, NULL, 93, '营销总监', 'user', '2086', '1162', 1, 1, 'null', 292, 477, NULL, 4, NULL, 1, NULL, '系统管理员', 1589374576, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1162, NULL, 0, '客服部负责人', 'user', '2088', '1154', 1, 1, 'null', 411, 493, NULL, 5, NULL, 0, NULL, '系统管理员', 1589374615, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1163, NULL, 93, '发货专员', 'user', '2035', '1164', 1, 1, 'null', 304, 121, NULL, 6, NULL, 1, NULL, '系统管理员', 1589620130, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1164, NULL, 93, '仓储经理', 'user', '2024', '1158', 1, 1, 'null', 224, 284, NULL, 7, NULL, 1, NULL, '系统管理员', 1589620261, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1165, NULL, 93, '省区经理', 'region2', NULL, NULL, 1, 1, 'null', 112, 843, NULL, NULL, NULL, 1, NULL, '系统管理员', 1591010655, 1, 1, '系统管理员', 1613461482, 92, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1166, NULL, 65, '部门负责人', 'manager', NULL, '1168', 1, 1, 'null', 219, 88, NULL, NULL, NULL, 1, NULL, '系统管理员', 1591360510, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1167, NULL, 0, '仓储物流部', 'user', '2031', '133', 1, 1, 'null', 188, 296, NULL, NULL, NULL, 1, NULL, '系统管理员', 1591360577, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1168, NULL, 0, '中心负责人', 'user', '2086', '1169', 1, 1, 'null', 45, 205, NULL, NULL, NULL, 1, NULL, '系统管理员', 1591360853, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1169, NULL, 66, '采购专员', 'user', '2023', '1167', 1, 1, 'null', 127, 205, NULL, NULL, NULL, 1, NULL, '系统管理员', 1591360905, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1170, NULL, 0, '审计部主管', 'user', '2076', '1173', 1, 1, 'null', 212, 893, NULL, NULL, NULL, 0, NULL, '系统管理员', 1591609158, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1171, NULL, 0, '发起者', 'created_id', NULL, '1170', 1, 1, 'null', 128, 902, NULL, NULL, NULL, 0, NULL, '系统管理员', 1591609160, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1172, NULL, 0, '客服部负责人', 'user', '2088', '132', 1, 1, 'null', 402, 893, NULL, NULL, NULL, 0, NULL, '系统管理员', 1591609161, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1173, NULL, 0, '采购专员', 'user', '2023', '1172', 1, 1, 'null', 304, 900, NULL, NULL, NULL, 0, NULL, '系统管理员', 1591609161, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1174, NULL, 0, '采购部负责人', 'user', '2019', '1171', 1, 1, 'null', 30, 891, NULL, NULL, NULL, 0, NULL, '系统管理员', 1591609162, 1, 1, '系统管理员', 1613460886, 82, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1178, NULL, NULL, '开始', 'start', NULL, '1179', 1, 1, NULL, 142, 183, NULL, 0, NULL, 1, NULL, '系统管理员', 1602463264, 1, 1, '系统管理员', 1602463293, 98, NULL, NULL, 0);
INSERT INTO `model_step` VALUES (1179, NULL, NULL, '结束', 'end', NULL, NULL, 1, 1, NULL, 253, 249, NULL, 255, NULL, 1, NULL, '系统管理员', 1602463264, 1, 1, '系统管理员', 1602463293, 98, NULL, NULL, 0);

-- ----------------------------
-- Table structure for model_template
-- ----------------------------
DROP TABLE IF EXISTS `model_template`;
CREATE TABLE `model_template`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '模型类型',
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '主表',
  `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `tpl` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '模版数据',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '1',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `receive_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '发布权限编号',
  `receive_name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '发布权限名称',
  `width` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '模板宽度',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `category` tinyint(4) NULL DEFAULT NULL COMMENT '模型类别',
  `bill_id` int(11) NOT NULL COMMENT '单据ID',
  `field_max_id` int(11) NULL DEFAULT NULL COMMENT '最大字段ID',
  `client` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户端类型',
  `print_type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '打印类型',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_bill_id`(`bill_id`) USING BTREE,
  INDEX `idx_flow_template_status`(`status`) USING BTREE,
  INDEX `idx_code`(`code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 135 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of model_template
-- ----------------------------
INSERT INTO `model_template` VALUES (2, 'show', '显示                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"1\",\"col\":\"6\",\"name\":\"单据日期\"},{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"2\",\"col\":\"6\",\"name\":\"单据编号\"},{\"field\":\"purchase_plan_data\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"1\",\"id\":\"2\",\"col\":\"12\",\"name\":\"商品列表\",\"fields\":[{\"field\":\"goods_name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"22\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"need_date\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DATE\",\"id\":\"24\",\"col\":\"12\",\"name\":\"需求日期\"},{\"field\":\"need_quantity\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"25\",\"col\":\"12\",\"name\":\"需求数量\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"26\",\"col\":\"12\",\"name\":\"备注\"}]},{\"field\":\"attachment\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"3\",\"col\":\"12\",\"name\":\"附件\"},{\"field\":\"description\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"4\",\"col\":\"12\",\"name\":\"详细描述\"}]},{\"title\":\"审批意见区\",\"type\":\"panel\",\"column\":\"2\",\"fields\":[{\"field\":\"data_1\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"5\",\"col\":\"7\",\"name\":\"运营经理审批(意见)\"},{\"field\":\"data_2\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"6\",\"col\":\"5\",\"name\":\"运营经理审批(时间)\"},{\"field\":\"data_3\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"7\",\"col\":\"7\",\"name\":\"运营总监审批(意见)\"},{\"field\":\"data_4\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"8\",\"col\":\"5\",\"name\":\"运营总监审批(时间)\"},{\"field\":\"data_5\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"9\",\"col\":\"7\",\"name\":\"采购经理审批(意见)\"},{\"field\":\"data_6\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"10\",\"col\":\"5\",\"name\":\"采购经理审批(签名)\"},{\"field\":\"data_7\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"11\",\"col\":\"7\",\"name\":\"审计审批(意见)\"},{\"field\":\"data_8\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"12\",\"col\":\"5\",\"name\":\"审计审批(签名)\"},{\"field\":\"data_9\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"13\",\"col\":\"7\",\"name\":\"财务审批(意见)\"},{\"field\":\"data_10\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"14\",\"col\":\"5\",\"name\":\"财务审批(签名)\"},{\"field\":\"data_11\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"15\",\"col\":\"7\",\"name\":\"财务经理审批(意见)\"},{\"field\":\"data_12\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"16\",\"col\":\"5\",\"name\":\"财务经理审批(签名)\"},{\"field\":\"data_13\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"17\",\"col\":\"7\",\"name\":\"总经理审批(意见)\"},{\"field\":\"data_14\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"18\",\"col\":\"5\",\"name\":\"总经理审批(签名)\"},{\"field\":\"data_15\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"19\",\"col\":\"7\",\"name\":\"采购确认分单(意见)\"},{\"field\":\"data_16\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"20\",\"col\":\"5\",\"name\":\"采购确认分单(签名)\"}]}]', 0, 1, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 1, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (4, 'create', '新建                            ', NULL, '[{\"field\":\"product_id\",\"hidden\":\"undefined\",\"readonly\":\"undefined\",\"type\":\"undefined\",\"id\":\"21\",\"col\":\"12\",\"name\":\"商品ID\"},{\"field\":\"product_name\",\"hidden\":\"undefined\",\"readonly\":\"undefined\",\"type\":\"undefined\",\"id\":\"22\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"need_date\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"24\",\"col\":\"12\",\"name\":\"需求日期\"},{\"field\":\"need_quantity\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"25\",\"col\":\"12\",\"name\":\"需求数量\"},{\"field\":\"remark\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"26\",\"col\":\"12\",\"name\":\"备注\"}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 2, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (5, 'create,edit', '新建                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"1\",\"col\":\"6\",\"name\":\"单据日期\"},{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"2\",\"col\":\"6\",\"name\":\"单据编号\"},{\"field\":\"purchase_plan_data\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"1\",\"id\":\"2\",\"col\":\"12\",\"name\":\"商品列表\",\"fields\":[{\"field\":\"goods_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"MEDIUMINT\",\"id\":\"21\",\"col\":\"12\",\"name\":\"商品ID\"},{\"field\":\"goods_name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"22\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"need_date\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DATE\",\"id\":\"24\",\"col\":\"12\",\"name\":\"需求日期\"},{\"field\":\"need_quantity\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"25\",\"col\":\"12\",\"name\":\"需求数量\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"26\",\"col\":\"12\",\"name\":\"备注\"}]},{\"field\":\"attachment\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"3\",\"col\":\"12\",\"name\":\"附件\"},{\"field\":\"description\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"4\",\"col\":\"12\",\"name\":\"详细描述\"}]},{\"title\":\"审批意见区\",\"type\":\"panel\",\"column\":\"2\",\"fields\":[{\"field\":\"data_1\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"5\",\"col\":\"7\",\"name\":\"运营经理审批(意见)\"},{\"field\":\"data_2\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"6\",\"col\":\"5\",\"name\":\"运营经理审批(时间)\"},{\"field\":\"data_3\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"7\",\"col\":\"7\",\"name\":\"运营总监审批(意见)\"},{\"field\":\"data_4\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"8\",\"col\":\"5\",\"name\":\"运营总监审批(时间)\"},{\"field\":\"data_5\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"9\",\"col\":\"7\",\"name\":\"采购经理审批(意见)\"},{\"field\":\"data_6\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"10\",\"col\":\"5\",\"name\":\"采购经理审批(签名)\"},{\"field\":\"data_7\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"11\",\"col\":\"7\",\"name\":\"审计审批(意见)\"},{\"field\":\"data_8\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"12\",\"col\":\"5\",\"name\":\"审计审批(签名)\"},{\"field\":\"data_9\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"13\",\"col\":\"7\",\"name\":\"财务审批(意见)\"},{\"field\":\"data_10\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"14\",\"col\":\"5\",\"name\":\"财务审批(签名)\"},{\"field\":\"data_11\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"15\",\"col\":\"7\",\"name\":\"财务经理审批(意见)\"},{\"field\":\"data_12\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"16\",\"col\":\"5\",\"name\":\"财务经理审批(签名)\"},{\"field\":\"data_13\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"17\",\"col\":\"7\",\"name\":\"总经理审批(意见)\"},{\"field\":\"data_14\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"18\",\"col\":\"5\",\"name\":\"总经理审批(签名)\"},{\"field\":\"data_15\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"19\",\"col\":\"7\",\"name\":\"采购确认分单(意见)\"},{\"field\":\"data_16\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"20\",\"col\":\"5\",\"name\":\"采购确认分单(签名)\"}]}]', 0, 0, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 1, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (6, 'show', '显示                            ', NULL, '[{\"field\":\"product_name\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"22\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"need_date\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"24\",\"col\":\"12\",\"name\":\"需求日期\"},{\"field\":\"need_quantity\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"25\",\"col\":\"12\",\"name\":\"需求数量\"},{\"field\":\"remark\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"26\",\"col\":\"12\",\"name\":\"备注\"}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 2, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (7, 'create,edit', '创建                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"supplier_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"28\",\"col\":\"6\",\"name\":\"供应商\"},{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"27\",\"col\":\"6\",\"name\":\"单号\"},{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"35\",\"col\":\"6\",\"name\":\"生效时间\"},{\"field\":\"user\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"36\",\"col\":\"6\",\"name\":\"制单人\"},{\"field\":\"supplier_price_data\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"1\",\"id\":\"4\",\"col\":\"12\",\"name\":\"商品列表\",\"fields\":[{\"field\":\"price_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"MEDIUMINT\",\"id\":\"31\",\"col\":\"12\",\"name\":\"价格ID\"},{\"field\":\"supplier_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"MEDIUMINT\",\"id\":\"32\",\"col\":\"12\",\"name\":\"供应商ID\"},{\"field\":\"product_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"MEDIUMINT\",\"id\":\"33\",\"col\":\"12\",\"name\":\"商品ID\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"34\",\"col\":\"12\",\"name\":\"商品\"},{\"field\":\"price\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"37\",\"col\":\"12\",\"name\":\"单价\"},{\"field\":\"description\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"38\",\"col\":\"12\",\"name\":\"备注\"}]}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 3, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (9, 'show', '显示                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"supplier_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"28\",\"col\":\"6\",\"name\":\"供应商\"},{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"27\",\"col\":\"6\",\"name\":\"单号\"},{\"field\":\"supplier_price_data\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"1\",\"id\":\"4\",\"col\":\"12\",\"name\":\"商品列表\",\"fields\":[{\"field\":\"product_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"MEDIUMINT\",\"id\":\"33\",\"col\":\"12\",\"name\":\"商品ID\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"34\",\"col\":\"12\",\"name\":\"商品\"},{\"field\":\"price\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"37\",\"col\":\"12\",\"name\":\"单价\"},{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"INT\",\"id\":\"39\",\"col\":\"12\",\"name\":\"生效时间\"},{\"field\":\"description\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"38\",\"col\":\"12\",\"name\":\"备注\"}]}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 3, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (11, 'create,edit', '创建                            ', NULL, '[{\"field\":\"price_id\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"31\",\"col\":\"12\",\"name\":\"价格ID\"},{\"field\":\"supplier_id\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"32\",\"col\":\"12\",\"name\":\"供应商ID\"},{\"field\":\"product_id\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"33\",\"col\":\"12\",\"name\":\"商品ID\"},{\"field\":\"product_name\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"34\",\"col\":\"12\",\"name\":\"商品\"},{\"field\":\"price\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"37\",\"col\":\"12\",\"name\":\"单价\"},{\"field\":\"description\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"38\",\"col\":\"12\",\"name\":\"备注\"}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 4, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (12, 'show', '显示                            ', NULL, '[{\"field\":\"product_name\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"34\",\"col\":\"12\",\"name\":\"商品\"},{\"field\":\"price\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"37\",\"col\":\"12\",\"name\":\"单价\"},{\"field\":\"date\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"39\",\"col\":\"12\",\"name\":\"生效时间\"},{\"field\":\"description\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"38\",\"col\":\"12\",\"name\":\"备注\"}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 4, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (13, 'create,edit', '表单                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"supplier_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"41\",\"col\":\"6\",\"name\":\"供应商\"},{\"field\":\"billing_type\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"47\",\"col\":\"6\",\"name\":\"开票类型\"},{\"field\":\"required_delivery_da\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"49\",\"col\":\"6\",\"name\":\"要求到货时间\"},{\"field\":\"checkout_method\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"48\",\"col\":\"6\",\"name\":\"结账方式\"}]},{\"title\":\"\",\"type\":\"tabs\",\"column\":\"2\",\"fields\":[{\"field\":\"purchase_order_data\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"1\",\"id\":\"6\",\"col\":\"12\",\"name\":\"商品列表\",\"fields\":[{\"field\":\"plan_data_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"MEDIUMINT\",\"id\":\"46\",\"col\":\"12\",\"name\":\"计划子表ID\"},{\"field\":\"goods_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"MEDIUMINT\",\"id\":\"42\",\"col\":\"12\",\"name\":\"商品ID\"},{\"field\":\"goods_name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"43\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"44\",\"col\":\"12\",\"name\":\"数量\"},{\"field\":\"price\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"50\",\"col\":\"12\",\"name\":\"单价\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"51\",\"col\":\"12\",\"name\":\"金额\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"45\",\"col\":\"12\",\"name\":\"备注\"}]}]},{\"title\":\"\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"amount\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"52\",\"col\":\"12\",\"name\":\"总金额(大写)\"}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 5, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (14, 'show', '显示                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"supplier_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"41\",\"col\":\"6\",\"name\":\"供应商\"},{\"field\":\"billing_type\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"47\",\"col\":\"6\",\"name\":\"开票类型\"},{\"field\":\"checkout_method\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"48\",\"col\":\"6\",\"name\":\"结账方式\"},{\"field\":\"required_delivery_da\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"49\",\"col\":\"6\",\"name\":\"要求到货时间\"}]},{\"title\":\"商品列表\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"purchase_order_data\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"1\",\"id\":\"6\",\"col\":\"12\",\"name\":\"商品列表\",\"fields\":[{\"field\":\"goods_name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"43\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"44\",\"col\":\"12\",\"name\":\"数量\"},{\"field\":\"price\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"50\",\"col\":\"12\",\"name\":\"单价\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"51\",\"col\":\"12\",\"name\":\"金额\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"45\",\"col\":\"12\",\"name\":\"备注\"}]}]},{\"title\":\"\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"amount\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"52\",\"col\":\"12\",\"name\":\"总金额(大写)\"}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 5, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (15, 'print', '打印                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"supplier_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"41\",\"col\":\"6\",\"name\":\"供应商\"},{\"field\":\"billing_type\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"47\",\"col\":\"6\",\"name\":\"开票类型\"},{\"field\":\"checkout_method\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"48\",\"col\":\"6\",\"name\":\"结账方式\"},{\"field\":\"required_delivery_da\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"49\",\"col\":\"6\",\"name\":\"要求到货时间\"}]},{\"title\":\"商品列表\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"purchase_order_data\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"1\",\"id\":\"6\",\"col\":\"12\",\"name\":\"商品列表\",\"fields\":[{\"field\":\"goods_name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"43\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"44\",\"col\":\"12\",\"name\":\"数量\"},{\"field\":\"price\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"50\",\"col\":\"12\",\"name\":\"单价\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"51\",\"col\":\"12\",\"name\":\"金额\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"45\",\"col\":\"12\",\"name\":\"备注\"}]}]},{\"title\":\"\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"amount\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"52\",\"col\":\"12\",\"name\":\"总金额(大写)\"}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 5, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (16, 'create,edit', '新建                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"79\",\"col\":\"12\",\"name\":\"单据编号\"},{\"field\":\"user_by\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"60\",\"col\":\"6\",\"name\":\"申请人\"},{\"field\":\"user_dt\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"61\",\"col\":\"6\",\"name\":\"申请时间\"},{\"field\":\"category_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"69\",\"col\":\"12\",\"name\":\"采购类别\"},{\"field\":\"buyer_plan_goods\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"1\",\"id\":\"12\",\"col\":\"12\",\"name\":\"采购计划商品\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"62\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"unit\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"TINYINT\",\"id\":\"64\",\"col\":\"12\",\"name\":\"商品单位\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"63\",\"col\":\"12\",\"name\":\"商品数量\"},{\"field\":\"price\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"80\",\"col\":\"12\",\"name\":\"商品价格\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DECIMAL\",\"id\":\"81\",\"col\":\"12\",\"name\":\"商品金额\"},{\"field\":\"stock_remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"66\",\"col\":\"12\",\"name\":\"库存情况\"},{\"field\":\"grade\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"67\",\"col\":\"12\",\"name\":\"重要等级\"},{\"field\":\"need_dt\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"DATE\",\"id\":\"68\",\"col\":\"12\",\"name\":\"需求日期\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"65\",\"col\":\"12\",\"name\":\"备注\"}]},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"77\",\"col\":\"12\",\"name\":\"备注\"},{\"field\":\"data_1\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"82\",\"col\":\"8\",\"name\":\"使用部门经理(意见)\"},{\"field\":\"data_2\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"83\",\"col\":\"4\",\"name\":\"使用部门经理(签名)\"},{\"field\":\"data_3\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"84\",\"col\":\"8\",\"name\":\"管理部门岗位(意见)\"},{\"field\":\"data_4\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"85\",\"col\":\"4\",\"name\":\"管理部门岗位(签名)\"},{\"field\":\"data_5\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"86\",\"col\":\"8\",\"name\":\"采购划价(意见)\"},{\"field\":\"data_6\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"87\",\"col\":\"4\",\"name\":\"采购划价(签名)\"},{\"field\":\"data_7\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"88\",\"col\":\"8\",\"name\":\"财务主管划价(复核)\"},{\"field\":\"data_8\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"89\",\"col\":\"4\",\"name\":\"财务主管划价(签名)\"},{\"field\":\"data_9\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"90\",\"col\":\"8\",\"name\":\"财务经理(意见)\"},{\"field\":\"data_10\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"91\",\"col\":\"4\",\"name\":\"财务经理(签名)\"},{\"field\":\"data_11\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"92\",\"col\":\"8\",\"name\":\"总经理(决策)\"},{\"field\":\"data_12\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"93\",\"col\":\"4\",\"name\":\"总经理(签名)\"},{\"field\":\"data_13\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"94\",\"col\":\"8\",\"name\":\"董事长(决策)\"},{\"field\":\"data_14\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"95\",\"col\":\"4\",\"name\":\"董事长(签名)\"}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 9, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (17, 'create,edit', '新建                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"71\",\"col\":\"12\",\"name\":\"名称\"},{\"field\":\"start_department_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"72\",\"col\":\"12\",\"name\":\"发起部门\"},{\"field\":\"manage_role_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"73\",\"col\":\"12\",\"name\":\"管理岗位\"},{\"field\":\"buyer_user_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"74\",\"col\":\"12\",\"name\":\"采购划价\"},{\"field\":\"audit_review\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"75\",\"col\":\"12\",\"name\":\"审计复核\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"76\",\"col\":\"12\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 13, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (18, 'show', '显示                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"71\",\"col\":\"12\",\"name\":\"名称\"},{\"field\":\"start_department_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"72\",\"col\":\"12\",\"name\":\"发起部门\"},{\"field\":\"manage_role_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"73\",\"col\":\"12\",\"name\":\"管理岗位\"},{\"field\":\"buyer_user_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"74\",\"col\":\"12\",\"name\":\"采购划价\"},{\"field\":\"audit_review\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"75\",\"col\":\"12\",\"name\":\"审计复核\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"76\",\"col\":\"12\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 13, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (19, 'show', '显示                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"user_by\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"60\",\"col\":\"6\",\"name\":\"申请人\"},{\"field\":\"user_dt\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"61\",\"col\":\"6\",\"name\":\"申请时间\"},{\"field\":\"category_id\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"69\",\"col\":\"12\",\"name\":\"采购类别\"},{\"field\":\"buyer_plan_goods\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"1\",\"id\":\"12\",\"col\":\"12\",\"name\":\"采购计划商品\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"62\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"63\",\"col\":\"12\",\"name\":\"商品数量\"},{\"field\":\"unit\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"TINYINT\",\"id\":\"64\",\"col\":\"12\",\"name\":\"商品单位\"},{\"field\":\"stock_remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"66\",\"col\":\"12\",\"name\":\"库存情况\"},{\"field\":\"grade\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"67\",\"col\":\"12\",\"name\":\"重要等级\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"VARCHAR\",\"id\":\"65\",\"col\":\"12\",\"name\":\"备注\"}]},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"77\",\"col\":\"12\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 9, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (20, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"公司名称\"},{\"field\":\"nature\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"企业性质\"},{\"field\":\"legal\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"法人代表\"},{\"field\":\"route\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"运输线路\"},{\"field\":\"short_car_sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"短途车牌号\"},{\"field\":\"business_liaison\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"业务联络人\"},{\"field\":\"business_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"业务电话\"},{\"field\":\"query_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"货物查询电话\"},{\"field\":\"finance_liaison\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"财务联系人\"},{\"field\":\"finance_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"财务联系人电话\"},{\"field\":\"contract_price\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"合同运价\"},{\"field\":\"contract_date\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"合同日期\"},{\"field\":\"address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"公司地址\"},{\"field\":\"attachment\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"logistics\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"附件\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376759, 1, 16, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (21, 'create,edit', '开始采购                          ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"96\",\"col\":\"12\",\"name\":\"商品名称\"},{\"field\":\"unit\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"97\",\"col\":\"12\",\"name\":\"商品单位\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"98\",\"col\":\"12\",\"name\":\"商品数量\"}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 10, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (22, 'create,edit,show', '全局表单', NULL, '[{\"title\":null,\"border\":\"null\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"{text}\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"null\",\"title\":\"单行文本\",\"role_id\":null,\"role_name\":null,\"custom\":\"1\",\"col\":\"12\",\"content\":\"发送大夫撒旦法\",\"name\":\"单行文本\"},{\"field\":\"sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"促销编号\"},{\"field\":\"customer_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"region_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"促销类别\"},{\"field\":\"start_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"开始日期\"},{\"field\":\"end_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"结束日期\"},{\"field\":\"actived_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"生效日期\"},{\"field\":\"created_at\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单时间\"},{\"field\":\"order_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"关联订单\"},{\"field\":\"created_by\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"确认电话\"},{\"field\":\"fax\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"回复传真\"},{\"field\":\"promoe_method\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销方式\"},{\"field\":\"category_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"促销类型\"},{\"field\":\"status\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"pro_method_desc\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销方法描述\"},{\"field\":\"promote_scope\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销范围\"},{\"field\":\"pro_total_cost\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"预估总费用\"},{\"field\":\"apply_fee\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"申请费用\"},{\"field\":\"sale_money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"预估销量(元)\"},{\"field\":\"customer_pro_head\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"经销商执行人员\"},{\"field\":\"customer_pro_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"客户执行人电话\"},{\"field\":\"area_money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"我司支持费用(元)\"},{\"field\":\"attachment\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"附件\"}]},{\"title\":\"核销资料\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"4\",\"fields\":[{\"field\":\"material_review\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"9\",\"content\":null,\"name\":\"核销资料\"},{\"field\":\"reg_photo\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"陈列照片(张)\"},{\"field\":\"reg_other_remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"其他核销资料\"}]},{\"title\":\"审核意见\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"undertake_money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"公司承担金额(元)\"},{\"field\":\"undertake_ratio\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"公司承担比例(%)\"},{\"field\":\"need_review\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"是否需要核销\"},{\"field\":\"is_chairman_audit\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"是否董事长审核\"},{\"field\":\"audit_market_text\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"9\",\"content\":null,\"name\":\"市场助理意见\"},{\"field\":\"audit_market_sign\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"市场助理时间\"},{\"field\":\"audit_province_text\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"9\",\"content\":null,\"name\":\"省区经理意见\"},{\"field\":\"audit_province_sign\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"省区经理时间\"},{\"field\":\"audit_finance_text\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2\",\"role_name\":null,\"custom\":\"0\",\"col\":\"9\",\"content\":null,\"name\":\"客服部负责人意见\"},{\"field\":\"audit_finance_sign\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2\",\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"客服部负责人时间\"},{\"field\":\"audit_cmo_text\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"9\",\"content\":null,\"name\":\"营销总监意见\"},{\"field\":\"audit_cmo_sign\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"营销总监时间\"},{\"field\":\"audit_director_text\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"9\",\"content\":null,\"name\":\"董事办意见\"},{\"field\":\"audit_director_sign\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"董事办时间\"},{\"field\":\"audit_director2_text\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"9\",\"content\":null,\"name\":\"董事长意见\"},{\"field\":\"audit_director2_sign\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"董事长时间\"}]},{\"title\":null,\"border\":null,\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"promotion_data\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销产品\",\"fields\":[{\"field\":\"product_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]}]', 0, 0, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1614509246, 1, 17, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (23, 'create,edit', '新建                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"title\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"130\",\"col\":\"6\",\"name\":\"名称\"},{\"field\":\"sort\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"132\",\"col\":\"6\",\"name\":\"排序\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"readonly\":\"0\",\"type\":\"0\",\"id\":\"131\",\"col\":\"12\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 0, '', '', 0, 0, 1, 20, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (26, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_price\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"客户名称\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376876, 1, 25, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (27, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"客户名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"客户编码\"},{\"field\":\"head_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"法人\"},{\"field\":\"head_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"法人手机号\"},{\"field\":\"head_birthday\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"法人生日\"},{\"field\":\"manage_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"管理负责人\"},{\"field\":\"manage_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"管理负责手机号\"},{\"field\":\"manage_weixin\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"管理负责微信\"},{\"field\":\"finance_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"财务负责人\"},{\"field\":\"finance_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"财务负责手机号\"},{\"field\":\"cost_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"费用核销人\"},{\"field\":\"cost_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"费用核销手机号\"},{\"field\":\"region_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"销售区域\"},{\"field\":\"password\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"登录密码\"},{\"field\":\"tel\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"公司电话\"},{\"field\":\"class2_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"客户种类\"},{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"客户类型\"},{\"field\":\"grade_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"客户等级\"},{\"field\":\"region\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"行政区域\"},{\"field\":\"fax\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"公司传真\"},{\"field\":\"email\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"公司邮箱\"},{\"field\":\"address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"公司地址\"},{\"field\":\"warehouse_address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"仓库地址\"},{\"field\":\"warehouse_contact\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"仓库联系人\"},{\"field\":\"warehouse_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"仓库手机号\"},{\"field\":\"warehouse_tel\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"仓库座机\"},{\"field\":\"is_direct\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"是否直营\"},{\"field\":\"warehouse_size\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"仓库面积(㎡)\"},{\"field\":\"is_allocate\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"是否调拨\"},{\"field\":\"general_taxpayer\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"一般纳税人\"},{\"field\":\"department_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"所属部门\"},{\"field\":\"class_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"客户分类\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"attachment\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"附件资料\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"user_id\",\"css\":\"\",\"hidden\":\"1\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"用户ID\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376903, 1, 27, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (28, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product_unit\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"product_unit\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product_unit\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product_unit\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376916, 1, 29, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (29, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"姓名\"},{\"field\":\"username\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"用户名\"},{\"field\":\"password\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"密码\"},{\"field\":\"phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"手机号\"},{\"field\":\"department_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"所属部门\"},{\"field\":\"role_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"所属角色\"},{\"field\":\"leader_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"直属领导\"},{\"field\":\"position_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"职位\"},{\"field\":\"birthday\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"生日\"},{\"field\":\"gender\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"性别\"},{\"field\":\"auth_secret\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"安全密钥\"},{\"field\":\"auth_totp\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"二次验证\"},{\"field\":\"tel\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"电话\"},{\"field\":\"email\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"电子邮箱\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"avatar\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"头像\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376911, 1, 28, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (30, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user_position\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376933, 1, 33, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (31, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"user_group\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376937, 1, 34, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (32, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"warehouse\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"warehouse\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"warehouse\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"状态\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376943, 1, 35, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (33, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product_category\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"product_category\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"parent_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product_category\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"上级类别\"},{\"field\":\"sort\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product_category\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"排序\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product_category\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"状态\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376948, 1, 36, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (34, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"姓名\"},{\"field\":\"password\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"密码\"},{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"birthday\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"生日\"},{\"field\":\"phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"手机\"},{\"field\":\"position\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"职位\"},{\"field\":\"address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"地址\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"user_id\",\"css\":\"\",\"hidden\":\"1\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_contact\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"用户ID\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376990, 1, 39, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (37, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"department\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"department\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编号\"},{\"field\":\"parent_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"department\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"上级\"},{\"field\":\"manager\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"department\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"部门负责人\"},{\"field\":\"sort\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"department\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"排序\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"department\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376922, 1, 31, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (38, 'create,edit', '新建', NULL, '[{\"title\":null,\"border\":null,\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"role\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"名称\"},{\"field\":\"access\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"role\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数据权限\"},{\"field\":\"sort\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"role\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"排序\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"role\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1614508092, 1, 32, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (39, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"category_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"产品类别\"},{\"field\":\"barcode\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"spec\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"code\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"unit_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"weight\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"毛重(kg)\"},{\"field\":\"net_weight\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"净重(kg)\"},{\"field\":\"freight_price\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"运费单价\"},{\"field\":\"scale_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"下单倍数\"},{\"field\":\"mini_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"最低下单数\"},{\"field\":\"min_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"最低库存\"},{\"field\":\"carton_size\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"外箱尺寸\"},{\"field\":\"carton_barcode\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"外箱条码\"},{\"field\":\"product_type\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"是产成品\"},{\"field\":\"department_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"生产车间\"},{\"field\":\"material_type\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"物料类型\"},{\"field\":\"is_freight\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"计算运费\"},{\"field\":\"is_sale\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售\"},{\"field\":\"is_purchase\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"采购\"},{\"field\":\"is_export\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"出口\"},{\"field\":\"is_produce_plan\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"生产计划\"},{\"field\":\"status\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]},{\"title\":\"销售\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"4\",\"fields\":[{\"field\":\"price1\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"内销价\"},{\"field\":\"price2\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"外贸价\"},{\"field\":\"price5\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"网销价\"},{\"field\":\"price3\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"直营价\"}]},{\"title\":\"采购\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"2\",\"fields\":[{\"field\":\"purchase_price\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"采购单价\"},{\"field\":\"purchase_tax_rate\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"采购税率\"}]},{\"title\":null,\"border\":\"1\",\"type\":\"undefined\",\"column\":\"4\",\"fields\":[{\"field\":\"images\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"product\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"图片\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1614446116, 1, 26, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (40, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"type\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"计算金额\"},{\"field\":\"sort\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"排序\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602376995, 1, 40, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (41, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"sort\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"排序\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602377001, 1, 41, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (42, 'create,edit,show', '全局表单', NULL, '[{\"title\":null,\"border\":\"null\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"customer_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"region_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"created_by\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"created_at\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"订单类型\"},{\"field\":\"tax_type\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"开票类型\"},{\"field\":\"tax_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"开票名称\"},{\"field\":\"balance_money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"账户余额(元)\"},{\"field\":\"lock_money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"锁定金额(元)\"},{\"field\":\"pay_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"打款日期\"},{\"field\":\"plan_delivery_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"预计发货日期\"},{\"field\":\"found_contact\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"下单人\"},{\"field\":\"found_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"下单人手机号\"},{\"field\":\"export_country\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"出口国家\"},{\"field\":\"warehouse_contact\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货人\"},{\"field\":\"warehouse_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货人手机号\"},{\"field\":\"warehouse_tel\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货人座机\"},{\"field\":\"warehouse_address\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货地址\"},{\"field\":\"status\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"attachment\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"附件\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"customer_order_data\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单商品\",\"fields\":[{\"field\":\"product_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"类型\"},{\"field\":\"is_gift\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"赠品\"},{\"field\":\"product_code\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":\"220\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"delivery_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"实发数量\"},{\"field\":\"price\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"},{\"field\":\"other_money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"其他金额(元)\"},{\"field\":\"weight\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"重量(kg)\"},{\"field\":\"total_weight\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"合计重量(kg)\"},{\"field\":\"customer_stock\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"客户库存\"},{\"field\":\"customer_stock_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"客户库存日期\"},{\"field\":\"promotion_sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"赠品编号\"},{\"field\":\"fee_category_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据类别\"},{\"field\":\"fee_src_sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"batch_sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产批次\"},{\"field\":\"batch_date\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产日期\"},{\"field\":\"use_close\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"关闭\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"fee_src_type_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据类型\"},{\"field\":\"promotion_data_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"赠品明细ID\"},{\"field\":\"fee_data_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据明细ID\"},{\"field\":\"fee_src_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据ID\"},{\"field\":\"ref_sale_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"引用ID\"},{\"field\":\"ref_sale_data_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"引用子表ID\"}]},{\"field\":\"is_return\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"是否回退\"}]}]', 0, 0, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1619904790, 1, 23, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (43, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"article\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"主题\"},{\"field\":\"receive_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"article\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"对象\"},{\"field\":\"notification\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"article\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"通知\"},{\"field\":\"start_at\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"article\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"开始时间\"},{\"field\":\"expired_at\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"article\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"过期时间\"},{\"field\":\"attachment\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"article\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"附件\"},{\"field\":\"description\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"article\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"描述\"},{\"field\":\"content\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"article\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"正文\"}]}]', 0, 255, 'all', '', '', 0, 1, '', '系统管理员', 0, 1602377006, 1, 42, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (45, 'print', '销售订单', 'sale_order_print', '[{\"title\":null,\"border\":\"null\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_at\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"customer_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"customer_order_data\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单商品\",\"fields\":[{\"field\":\"product_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"类型\"},{\"field\":\"product_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":\"220\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"delivery_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":\"数量\",\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"实发数量\"},{\"field\":\"price\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"}]}]}]', 0, 3, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1619897869, 1, 23, NULL, 'web', 'html');
INSERT INTO `model_template` VALUES (46, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"客户名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"department_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"部门\"},{\"field\":\"class_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"分类\"},{\"field\":\"tax_number\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"纳税人识别号\"},{\"field\":\"bank_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"开户银行\"},{\"field\":\"bank_account\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"银行帐号\"},{\"field\":\"bank_address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"开户银行地址\"},{\"field\":\"tel\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"电话号码\"},{\"field\":\"address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"公司地址\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_tax\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602377038, 1, 45, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (47, 'create,edit', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_region\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"名称\"},{\"field\":\"parent_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_region\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"上级\"},{\"field\":\"owner_user_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_region\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"审批权限\"},{\"field\":\"owner_assist\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_region\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"查询权限\"},{\"field\":\"sort\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_region\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"排序\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_region\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]', 0, 255, 'all', '', '', 0, 1, '', '系统管理员', 0, 1613286710, 1, 37, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (48, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"id\":\"390\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"3\",\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"id\":\"381\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"3\",\"name\":\"单据日期\"},{\"field\":\"category_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"id\":\"394\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"3\",\"name\":\"费用类别\"},{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"id\":\"391\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"3\",\"name\":\"制单人\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"id\":\"376\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"12\",\"name\":\"备注\"},{\"field\":\"customer_cost_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"1\",\"id\":\"49\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"12\",\"name\":\"费用明细\",\"fields\":[{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"\",\"id\":\"377\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"12\",\"name\":\"所属客户\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"\",\"id\":\"374\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"12\",\"name\":\"费用金额\"},{\"field\":\"use_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"\",\"id\":\"379\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"12\",\"name\":\"已用金额\"},{\"field\":\"remain_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"1143\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"12\",\"name\":\"剩余金额\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"\",\"id\":\"380\",\"role_id\":\"\",\"role_name\":\"\",\"col\":\"12\",\"name\":\"备注\"}]}]}]', 0, 255, 'all', '', '', 0, 1, '', '系统管理员', 0, 1582452116, 1, 46, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (49, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_at\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"invoice_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"退货日期\"},{\"field\":\"customer_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"order_type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"订单类型\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售类型\"},{\"field\":\"tax_type\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"发票类型\"},{\"field\":\"tax_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"发票名称\"},{\"field\":\"warehouse_contact\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货人\"},{\"field\":\"warehouse_phone\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货人手机号\"},{\"field\":\"warehouse_address\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货地址\"},{\"field\":\"freight_pay_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"运费付费方式\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_cancel\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"stock_cancel_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"退货产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"类型\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"sale_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单编号\"},{\"field\":\"warehouse_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"仓库\"},{\"field\":\"batch_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产批次\"},{\"field\":\"batch_date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产日期\"},{\"field\":\"poscode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位编号\"},{\"field\":\"posname\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位名称\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"},{\"field\":\"weight\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"重量(kg)\"},{\"field\":\"total_weight\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"合计重量(kg)\"},{\"field\":\"promotion_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"赠品编号\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"promotion_data_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"赠品明细ID\"},{\"field\":\"sale_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单ID\"},{\"field\":\"sale_data_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_cancel_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单明细ID\"}]}]}]', 0, 0, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1614538372, 1, 47, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (50, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_cost_category\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost_category\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"sort\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost_category\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"排序\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_cost_category\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 0, 1, '', '系统管理员', 0, 1602377076, 1, 50, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (51, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"region\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"region\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"parent_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"region\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"上级\"}]}]', 0, 255, 'all', '', '', 1, 1, '系统管理员', '系统管理员', 1572906271, 1602377082, 1, 51, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (52, 'list', '订单明细列表', 'customer_order_', '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"customer_order\"},{\"name\":\"单据日期\",\"field\":\"created_at\",\"table\":\"customer_order\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"customer_order\"},{\"name\":\"销售区域\",\"field\":\"region_id\",\"table\":\"customer_order\"},{\"name\":\"所属客户\",\"field\":\"customer_id\",\"table\":\"customer_order\"},{\"name\":\"开票名称\",\"field\":\"tax_id\",\"table\":\"customer_order\"},{\"name\":\"[订单商品]类型\",\"field\":\"type_id\",\"table\":\"customer_order_data\"},{\"name\":\"[订单商品]存货编码\",\"field\":\"product_code\",\"table\":\"customer_order_data\"},{\"name\":\"[订单商品]产品名称\",\"field\":\"product_name\",\"table\":\"customer_order_data\"},{\"name\":\"[订单商品]规格型号\",\"field\":\"product_spec\",\"table\":\"customer_order_data\"},{\"name\":\"[订单商品]计量单位\",\"field\":\"product_unit\",\"table\":\"customer_order_data\"},{\"table\":\"customer_order_data\",\"field\":\"quantity\",\"name\":\"[订单商品]数量\"},{\"name\":\"[订单商品]实发数量\",\"field\":\"delivery_quantity\",\"table\":\"customer_order_data\"},{\"name\":\"[订单商品]单价(元)\",\"field\":\"price\",\"table\":\"customer_order_data\"},{\"name\":\"[订单商品]金额(元)\",\"field\":\"money\",\"table\":\"customer_order_data\"},{\"name\":\"[订单商品]其他金额(元)\",\"field\":\"other_money\",\"table\":\"customer_order_data\"},{\"name\":\"[订单商品]合计重量(kg)\",\"field\":\"total_weight\",\"table\":\"customer_order_data\"},{\"name\":\"预计发货日期\",\"field\":\"plan_delivery_dt\",\"table\":\"customer_order\"},{\"name\":\"收货人\",\"field\":\"warehouse_contact\",\"table\":\"customer_order\"},{\"name\":\"收货人手机号\",\"field\":\"warehouse_phone\",\"table\":\"customer_order\"},{\"name\":\"收货人座机\",\"field\":\"warehouse_tel\",\"table\":\"customer_order\"},{\"name\":\"收货地址\",\"field\":\"warehouse_address\",\"table\":\"customer_order\"},{\"name\":\"开票类型\",\"field\":\"tax_type\",\"table\":\"customer_order\"},{\"name\":\"[订单商品]备注\",\"field\":\"remark\",\"table\":\"customer_order_data\"}]', 0, 2, NULL, NULL, '', 1, 1, '系统管理员', '系统管理员', 1574370809, 1615495206, 1, 23, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (55, 'create,edit,show', '全局表单', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"region_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"销售区域\"},{\"field\":\"created_at\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据日期\"},{\"field\":\"market_type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"业态类型\"},{\"field\":\"phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"确认电话\"},{\"field\":\"fax\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"回复传真\"},{\"field\":\"actived_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"生效日期\"},{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"3\",\"content\":\"\",\"name\":\"制单人\"},{\"field\":\"attachment\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"附件\"}]},{\"title\":\"超市信息\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"2\",\"fields\":[{\"field\":\"market_totol\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"总店数\"},{\"field\":\"market_cur_count\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"本次进店数\"},{\"field\":\"single_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单品单店条码费(元)\"},{\"field\":\"totol_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"系统进店则(元\\/SKU\\/系统)\"},{\"field\":\"market_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"超市名称\"},{\"field\":\"market_text\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"9\",\"content\":\"\",\"name\":\"具体进店名称\"},{\"field\":\"market_address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"超市地址\\/总部地址\"},{\"field\":\"market_size\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"营业面积(㎡)\"},{\"field\":\"market_contact\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"超市采购\"},{\"field\":\"market_contact_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"联系人电话\"},{\"field\":\"dispatch_type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"配送方式\"},{\"field\":\"enter_type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"本次进店类别\"},{\"field\":\"enter_type2_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"对应超市类别\"}]},{\"title\":\"客户费用申请\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"barcode_count\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"申请条码数\"},{\"field\":\"barcode_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"申请条码总费用\"},{\"field\":\"market_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"客户承担(元)\"},{\"field\":\"barcode_cast_ratio\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"客户承担比例(%)\"}]},{\"title\":\"销售省区\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"4\",\"fields\":[{\"field\":\"apply_bccount\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"同意条码(支)\"},{\"field\":\"apply_market_count\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"同意进店(家)\"},{\"field\":\"apply_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"给于条码费用支持(元)\"},{\"field\":\"fee_support_ratio\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"3\",\"content\":\"\",\"name\":\"本次条码费用支持比例\"},{\"field\":\"verification_info\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"提供如下资料核销\"},{\"field\":\"apply_remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"其它说明或建议\"}]},{\"title\":\"审核意见\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"5\",\"fields\":[{\"field\":\"apply2_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"公司承担(元)\"},{\"field\":\"apply2_ratio\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"公司承担比例(%)\"},{\"field\":\"apply2_single_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"公司承担单店单码单价(元)\"},{\"field\":\"is_chairman_audit\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"是否董事长审核\"},{\"field\":\"audit_text5\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"省区经理意见\"},{\"field\":\"audit_sign5\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"省区经理时间\"},{\"field\":\"audit_text1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"2\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"市场助理意见\"},{\"field\":\"audit_sign1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"2\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"市场助理时间\"},{\"field\":\"audit_text2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"营销总监意见\"},{\"field\":\"audit_sign2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"营销总监时间\"},{\"field\":\"audit_text3\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"2\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"董事办意见\"},{\"field\":\"audit_sign3\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"2\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"董事办时间\"},{\"field\":\"audit_text4\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"董事长意见\"},{\"field\":\"audit_sign4\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"董事长时间\"}]},{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"6\",\"fields\":[{\"field\":\"approach_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"入场产品\",\"fields\":[{\"field\":\"product_code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品条码\"},{\"field\":\"price1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"报价\"},{\"field\":\"price2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"售价\"},{\"field\":\"product_id\",\"css\":\"\",\"hidden\":\"1\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品ID\"}]}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1574636935, 1602377087, 1, 52, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (56, 'list', '全局视图', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"customer_cost\"},{\"name\":\"单据日期\",\"field\":\"date\",\"table\":\"customer_cost\"},{\"name\":\"费用类别\",\"field\":\"category_id\",\"table\":\"customer_cost\"},{\"name\":\"[费用列表]所属客户\",\"field\":\"customer_id\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]费用金额\",\"field\":\"money\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]已用金额\",\"field\":\"use_money\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]剩余金额\",\"field\":\"remain_money\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]备注\",\"field\":\"remark\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]关闭\",\"field\":\"use_close\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]关闭原因\",\"field\":\"close_remark\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]开票单位\",\"table\":\"customer_cost_data\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"customer_cost\"}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1574798338, 1602377047, 1, 46, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (57, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach_market\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach_market\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach_market\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"market_person_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach_market\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"超市采购\"},{\"field\":\"market_person_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach_market\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"采购电话\"},{\"field\":\"fax\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach_market\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"传真\"},{\"field\":\"market_area\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach_market\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"面积(㎡)\"},{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach_market\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"业态\"},{\"field\":\"market_address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach_market\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"地址\"}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1574970665, 1602377115, 1, 54, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (58, 'list', '全局列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"approach\"},{\"name\":\"生效日期\",\"field\":\"actived_dt\",\"table\":\"approach\"},{\"name\":\"单据日期\",\"field\":\"created_at\",\"table\":\"approach\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"approach\"},{\"name\":\"客户编码\",\"field\":\"customer_code\",\"table\":\"approach\"},{\"name\":\"所属客户\",\"field\":\"customer_id\",\"table\":\"approach\"},{\"name\":\"销售区域\",\"field\":\"region_id\",\"table\":\"approach\"},{\"name\":\"对应超市类别\",\"field\":\"enter_type2_id\",\"table\":\"approach\"},{\"name\":\"进店产品\",\"field\":\"product\",\"table\":\"approach\"},{\"name\":\"超市名称\",\"field\":\"market_name\",\"table\":\"approach\"},{\"name\":\"总店数\",\"field\":\"market_totol\",\"table\":\"approach\"},{\"name\":\"本次进店数\",\"field\":\"market_cur_count\",\"table\":\"approach\"},{\"name\":\"单品单店条码费(元)\",\"field\":\"single_cast\",\"table\":\"approach\"},{\"name\":\"申请条码数\",\"field\":\"barcode_count\",\"table\":\"approach\"},{\"name\":\"公司承担比例(%)\",\"field\":\"apply2_ratio\",\"table\":\"approach\"},{\"name\":\"客户承担比例(%)\",\"field\":\"barcode_cast_ratio\",\"table\":\"approach\"},{\"name\":\"申请条码总费用\",\"field\":\"barcode_cast\",\"table\":\"approach\"},{\"name\":\"客户承担(元)\",\"field\":\"market_cast\",\"table\":\"approach\"},{\"name\":\"公司承担(元)\",\"field\":\"apply2_money\",\"table\":\"approach\"},{\"name\":\"实际兑现金额\",\"field\":\"cash_amount\",\"table\":\"approach\"},{\"name\":\"兑现时间\",\"field\":\"cash_date\",\"table\":\"approach\"},{\"name\":\"开票名称\",\"field\":\"tax_id\",\"table\":\"approach\"},{\"name\":\"关闭\",\"table\":\"approach\"}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575067226, 1602377094, 1, 52, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (59, 'print', '进店申请', NULL, '[{\"title\":\"\",\"border\":\"1\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"region_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"销售区域\"},{\"field\":\"created_at\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"单据日期\"},{\"field\":\"market_type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"业态类型\"},{\"field\":\"actived_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"生效日期\"},{\"field\":\"phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"确认电话\"},{\"field\":\"fax\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"回复传真\"}]},{\"title\":\"超市信息\",\"border\":\"1\",\"type\":\"panel\",\"column\":\"2\",\"fields\":[{\"field\":\"market_totol\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"总店数\"},{\"field\":\"market_cur_count\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"本次进店数\"},{\"field\":\"single_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"单品单店条码费(元)\"},{\"field\":\"totol_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"系统进店则(元\\/SKU\\/系统)\"},{\"field\":\"market_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"超市名称\"},{\"field\":\"market_text\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"具体进店名称\"},{\"field\":\"market_size\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"营业面积(㎡)\"},{\"field\":\"market_address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"8\",\"content\":\"\",\"name\":\"超市地址\\/总部地址\"},{\"field\":\"market_contact\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"超市采购\"},{\"field\":\"market_contact_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"联系人电话\"},{\"field\":\"dispatch_type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"配送方式\"},{\"field\":\"enter_type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"本次进店类别\"},{\"field\":\"enter_type2_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"对应超市类别\"}]},{\"title\":\"客户费用申请\",\"border\":\"1\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"barcode_count\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"2\",\"content\":\"\",\"name\":\"申请条码数\"},{\"field\":\"barcode_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"申请条码总费用\"},{\"field\":\"market_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"客户承担(元)\"},{\"field\":\"barcode_cast_ratio\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"客户承担比例(%)\"}]},{\"title\":\"核销信息\",\"border\":\"1\",\"type\":\"panel\",\"column\":\"4\",\"fields\":[{\"field\":\"apply_bccount\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"同意条码(支)\"},{\"field\":\"apply_market_count\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"同意进店(家)\"},{\"field\":\"apply_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"给于条码费用支持(元)\"},{\"field\":\"verification_info\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"提供如下资料核销\"},{\"field\":\"apply_remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"其它说明或建议\"}]},{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"6\",\"fields\":[{\"field\":\"approach_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"入场产品\",\"fields\":[{\"field\":\"product_code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品条码\"},{\"field\":\"price1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"报价\"},{\"field\":\"price2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"售价\"},{\"field\":\"product_id\",\"css\":\"\",\"hidden\":\"1\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"approach_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品ID\"}]}]},{\"title\":\"审核意见\",\"border\":\"1\",\"type\":\"panel\",\"column\":\"5\",\"fields\":[{\"field\":\"apply2_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"公司承担(元)\"},{\"field\":\"apply2_ratio\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"公司承担比例(%)\"},{\"field\":\"apply2_single_cast\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"公司承担单店单码单价(元)\"},{\"field\":\"audit_sign5\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"9\",\"content\":\"\",\"name\":\"省区经理时间\"},{\"field\":\"audit_sign5\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"3\",\"content\":\"\",\"name\":\"省区经理时间\"},{\"field\":\"audit_text1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"2,82,83,84,85\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"市场助理意见\"},{\"field\":\"audit_sign1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"2,82,83,84\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"市场助理时间\"},{\"field\":\"audit_text2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"营销总监意见\"},{\"field\":\"audit_sign2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"营销总监时间\"},{\"field\":\"audit_text3\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"2,82,83,84\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"董事办意见\"},{\"field\":\"audit_sign3\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"2,82,83,84\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"董事办时间\"},{\"field\":\"audit_text4\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"9\",\"content\":\"\",\"name\":\"董事长意见\"},{\"field\":\"audit_sign4\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"approach\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"董事长时间\"}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575142948, 1602377099, 1, 52, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (60, 'print', '促销申请(财务)', NULL, '[{\"title\":null,\"border\":\"1\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"促销编号\"},{\"field\":\"tax_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":\"客户名称\",\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"开票名称\"},{\"field\":\"region_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"促销类别\"},{\"field\":\"start_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"开始日期\"},{\"field\":\"end_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"结束日期\"},{\"field\":\"actived_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"生效日期\"},{\"field\":\"created_at\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"制单时间\"},{\"field\":\"order_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"关联订单\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"phone\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"确认电话\"},{\"field\":\"fax\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"回复传真\"},{\"field\":\"category_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"促销类型\"},{\"field\":\"promoe_method\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销方式\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"promote_scope\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销范围\"},{\"field\":\"pro_method_desc\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销方法描述\"},{\"field\":\"pro_total_cost\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"预估总费用\"},{\"field\":\"apply_fee\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"申请费用\"},{\"field\":\"sale_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"预估销量(元)\"},{\"field\":\"customer_pro_head\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"经销商执行人员\"},{\"field\":\"customer_pro_phone\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"客户执行人电话\"},{\"field\":\"area_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"我司支持费用(元)\"},{\"field\":\"material_review\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"核销资料\"},{\"field\":\"reg_photo\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"陈列照片(张)\"},{\"field\":\"reg_other_remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"9\",\"content\":null,\"name\":\"其他核销资料\"}]},{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"promotion_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]},{\"title\":\"审核意见\",\"border\":\"1\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"undertake_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"公司承担金额(元)\"},{\"field\":\"undertake_ratio\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"公司承担比例(%)\"},{\"field\":\"need_review\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"是否需要核销\"},{\"field\":\"audit_market_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":null,\"col\":\"8\",\"content\":null,\"name\":\"市场助理意见\"},{\"field\":\"audit_market_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"市场助理时间\"},{\"field\":\"audit_province_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"8\",\"content\":null,\"name\":\"省区经理意见\"},{\"field\":\"audit_province_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"省区经理时间\"},{\"field\":\"audit_finance_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":\"0\",\"col\":\"8\",\"content\":null,\"name\":\"客服部负责人意见\"},{\"field\":\"audit_finance_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"客服部负责人时间\"},{\"field\":\"audit_cmo_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"8\",\"content\":null,\"name\":\"营销总监意见\"},{\"field\":\"audit_cmo_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"营销总监时间\"},{\"field\":\"audit_director_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":null,\"col\":\"8\",\"content\":null,\"name\":\"董事办意见\"},{\"field\":\"audit_director_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"董事办时间\"},{\"field\":\"audit_director2_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"8\",\"content\":null,\"name\":\"董事长意见\"},{\"field\":\"audit_director2_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"董事长时间\"}]}]', 0, 3, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575150000, 1619897804, 1, 17, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (61, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"customer_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"region_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"apply_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"申请编号\"},{\"field\":\"apply_start_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"开始日期\"},{\"field\":\"apply_end_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"结束日期\"},{\"field\":\"apply_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"申请时间\"},{\"field\":\"apply_way\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销方式\"},{\"field\":\"apply_scope\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"促销范围\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"apply_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"申请费用\"},{\"field\":\"area_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"公司批复支持费用\"},{\"field\":\"fact_verification_cost\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"实际核销支持费用\"},{\"field\":\"pay_type\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"支付方式\"},{\"field\":\"use_order\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"是否使用\"},{\"field\":\"attachment\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"附件\"},{\"field\":\"reply_content\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"批复内容\"},{\"field\":\"improvement\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"改进措施\"},{\"field\":\"execute_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销执行情况\"},{\"field\":\"apply_change\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销变更申请\"},{\"field\":\"res_analyze\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销结果分析\"},{\"field\":\"attachment_ditail\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"附件明细\"},{\"field\":\"other_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"其他\"},{\"field\":\"demand\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"批复要求\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"备注\"}]},{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"2\",\"fields\":[{\"field\":\"promotion_review_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"}]}]}]', 0, 0, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575228747, 1614509392, 1, 55, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (62, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"apply_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"申请编号\"},{\"field\":\"customer_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"region_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"apply_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"申请时间\"},{\"field\":\"market_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"店名及家数\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"apply_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"公司批复支持费用\"},{\"field\":\"verification_cost\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"实际核销支持费用\"},{\"field\":\"fact_verification_cost\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"本次核销费用\"},{\"field\":\"pay_type\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"支付方式\"},{\"field\":\"use_order\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"是否使用\"},{\"field\":\"attachment_ditail\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"附件明细\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"approach_review_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"进店产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"price1\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"报价\"},{\"field\":\"price2\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"售价\"},{\"field\":\"is_store\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"实际进店\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]}]', 0, 0, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575233544, 1614531489, 1, 57, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (63, 'print', '促销核销单', NULL, '[{\"title\":null,\"border\":\"1\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"customer_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"region_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"apply_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"申请编号\"},{\"field\":\"apply_start_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"开始日期\"},{\"field\":\"apply_end_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"结束日期\"},{\"field\":\"apply_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"申请时间\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"apply_way\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销方式\"},{\"field\":\"apply_scope\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"促销范围\"},{\"field\":\"apply_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"申请费用\"},{\"field\":\"area_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"公司批复支持费用\"},{\"field\":\"fact_verification_cost\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"实际核销支持费用\"},{\"field\":\"pay_type\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"支付方式\"},{\"field\":\"use_order\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"是否使用\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"reply_content\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"批复内容\"},{\"field\":\"improvement\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"改进措施\"},{\"field\":\"execute_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销执行情况\"},{\"field\":\"apply_change\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销变更申请\"},{\"field\":\"res_analyze\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销结果分析\"},{\"field\":\"demand\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"批复要求\"},{\"field\":\"other_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"其他\"},{\"field\":\"attachment_ditail\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"附件明细\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"备注\"}]},{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"2\",\"fields\":[{\"field\":\"promotion_review_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"INT\",\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"}]}]},{\"title\":null,\"border\":\"1\",\"type\":\"undefined\",\"column\":\"3\",\"fields\":[{\"field\":\"{flowlog}\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"null\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"1\",\"col\":\"12\",\"content\":null,\"name\":\"流程记录\"}]}]', 0, 2, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575235396, 1619899165, 1, 55, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (64, 'print', '进店核销单', NULL, '[{\"title\":null,\"border\":\"1\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"customer_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"region_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"apply_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"申请时间\"},{\"field\":\"apply_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"申请编号\"},{\"field\":\"market_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"店名及家数\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"状态\"},{\"field\":\"apply_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"公司批复支持费用\"},{\"field\":\"verification_cost\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"实际核销支持费用\"},{\"field\":\"fact_verification_cost\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"本次核销费用\"},{\"field\":\"pay_type\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"支付方式\"},{\"field\":\"use_order\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"是否使用\"},{\"field\":\"attachment_ditail\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"附件明细\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"approach_review\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"approach_review_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"进店产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"INT\",\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"price1\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"报价\"},{\"field\":\"price2\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"售价\"},{\"field\":\"is_store\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"实际进店\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"approach_review_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]},{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"2\",\"fields\":[{\"field\":\"{flowlog}\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"null\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"流程记录\"}]}]', 0, 2, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575235512, 1619900215, 1, 57, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (65, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"created_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"user_message\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"来自\"},{\"field\":\"content\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"user_message\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"内容\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"user_message\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"状态\"}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575237234, 1602376813, 1, 18, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (66, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record08\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_at\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record08\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"invoice_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record08\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库日期\"},{\"field\":\"warehouse_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record08\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"仓库\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record08\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库类别\"},{\"field\":\"department_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record08\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库部门\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record08\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record08\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record08\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"stock_record08_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"入库产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"batch_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产批次\"},{\"field\":\"batch_date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产日期\"},{\"field\":\"poscode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位编号\"},{\"field\":\"posname\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record08_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位名称\"}]}]}]', 0, 0, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575324403, 1614508496, 1, 61, NULL, 'web', 'html');
INSERT INTO `model_template` VALUES (67, 'list', '列表', NULL, '[{\"table\":\"stock_record08\",\"field\":\"sn\",\"name\":\"单据编号\"},{\"table\":\"stock_record08\",\"field\":\"created_at\",\"name\":\"单据日期\"},{\"table\":\"stock_record08\",\"field\":\"invoice_dt\",\"name\":\"入库日期\"},{\"table\":\"stock_record08\",\"field\":\"status\",\"name\":\"状态\"},{\"table\":\"stock_record08\",\"field\":\"warehouse_id\",\"name\":\"仓库\"},{\"table\":\"stock_record08\",\"field\":\"type_id\",\"name\":\"入库类别\"},{\"table\":\"stock_record08\",\"field\":\"department_id\",\"name\":\"入库部门\"},{\"table\":\"stock_record08_data\",\"field\":\"product_code\",\"name\":\"[入库产品]存货编码\"},{\"table\":\"stock_record08_data\",\"field\":\"product_name\",\"name\":\"[入库产品]产品名称\"},{\"table\":\"stock_record08_data\",\"field\":\"product_spec\",\"name\":\"[入库产品]规格型号\"},{\"table\":\"stock_record08_data\",\"field\":\"product_unit\",\"name\":\"[入库产品]计量单位\"},{\"table\":\"stock_record08_data\",\"field\":\"quantity\",\"name\":\"[入库产品]数量\"},{\"table\":\"stock_record08_data\",\"field\":\"batch_sn\",\"name\":\"[入库产品]生产批次\"},{\"table\":\"stock_record08_data\",\"field\":\"batch_date\",\"name\":\"[入库产品]生产日期\"},{\"table\":\"stock_record08\",\"field\":\"remark\",\"name\":\"备注\"}]', 0, 2, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575325464, 1614508489, 1, 61, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (68, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"2\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record09\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_at\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record09\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"invoice_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record09\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"出库日期\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record09\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"warehouse_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record09\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"仓库\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record09\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"出库类别\"},{\"field\":\"department_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record09\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"出库部门\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record09\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record09\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"stock_record09_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"出库产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"batch_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产批次\"},{\"field\":\"batch_date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产日期\"},{\"field\":\"poscode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位编号\"},{\"field\":\"posname\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位名称\"},{\"field\":\"sample_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"样品申请ID\"},{\"field\":\"sample_data_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record09_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"样品申请明细ID\"}]}]}]', 0, 0, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575326615, 1614508472, 1, 63, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (69, 'list', '列表', 'stock_record09_', '[{\"table\":\"stock_record09\",\"field\":\"sn\",\"name\":\"单据编号\"},{\"table\":\"stock_record09\",\"field\":\"status\",\"name\":\"状态\"},{\"table\":\"stock_record09\",\"field\":\"created_by\",\"name\":\"制单人\"},{\"table\":\"stock_record09\",\"field\":\"invoice_dt\",\"name\":\"出库日期\"},{\"table\":\"stock_record09\",\"field\":\"created_at\",\"name\":\"单据日期\"},{\"table\":\"stock_record09\",\"field\":\"warehouse_id\",\"name\":\"仓库\"},{\"table\":\"stock_record09\",\"field\":\"type_id\",\"name\":\"出库类别\"},{\"table\":\"stock_record09\",\"field\":\"department_id\",\"name\":\"出库部门\"},{\"table\":\"stock_record09_data\",\"field\":\"product_code\",\"name\":\"[出库产品]存货编码\"},{\"table\":\"stock_record09_data\",\"field\":\"product_name\",\"name\":\"[出库产品]产品名称\"},{\"table\":\"stock_record09_data\",\"field\":\"product_spec\",\"name\":\"[出库产品]规格型号\"},{\"table\":\"stock_record09_data\",\"field\":\"product_unit\",\"name\":\"[出库产品]计量单位\"},{\"table\":\"stock_record09_data\",\"field\":\"quantity\",\"name\":\"[出库产品]数量\"},{\"table\":\"stock_record09_data\",\"field\":\"batch_sn\",\"name\":\"[出库产品]生产批次\"},{\"table\":\"stock_record09_data\",\"field\":\"batch_date\",\"name\":\"[出库产品]生产日期\"}]', 0, 2, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575326629, 1614508452, 1, 63, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (70, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"null\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"customer_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"invoice_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"发货日期\"},{\"field\":\"order_type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"订单类型\"},{\"field\":\"tax_type\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"发票类型\"},{\"field\":\"tax_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"发票名称\"},{\"field\":\"type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售类型\"},{\"field\":\"warehouse_contact\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货人\"},{\"field\":\"warehouse_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货人手机号\"},{\"field\":\"warehouse_tel\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货人座机\"},{\"field\":\"warehouse_address\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"收货地址\"},{\"field\":\"freight_pay_text\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"运费付费方式\"},{\"field\":\"region_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"status\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"created_by\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"stock_delivery_data\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"发货商品\",\"fields\":[{\"field\":\"product_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"类型\"},{\"field\":\"product_code\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"sale_sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单编号\"},{\"field\":\"batch_sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产批次\"},{\"field\":\"batch_date\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产日期\"},{\"field\":\"warehouse_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"仓库\"},{\"field\":\"poscode\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位编号\"},{\"field\":\"posname\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位名称\"},{\"field\":\"product_unit\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"},{\"field\":\"other_money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"其他金额(元)\"},{\"field\":\"weight\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"重量(kg)\"},{\"field\":\"total_weight\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"合计重量(kg)\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"promotion_sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"赠品编号\"},{\"field\":\"fee_category_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据类别\"},{\"field\":\"fee_src_sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"fee_src_type_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据类型\"},{\"field\":\"fee_src_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据ID\"},{\"field\":\"fee_data_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据明细ID\"},{\"field\":\"sale_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单ID\"},{\"field\":\"sale_data_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单明细ID\"},{\"field\":\"sample_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"样品申请ID\"},{\"field\":\"sample_data_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"样品申请明细ID\"},{\"field\":\"promotion_data_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"赠品明细ID\"}]}]}]', 0, 0, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575668783, 1614539736, 1, 43, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (71, 'list', '发货明细列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"stock_delivery\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"stock_delivery\"},{\"name\":\"所属客户\",\"field\":\"customer_id\",\"table\":\"stock_delivery\"},{\"name\":\"[发货商品]存货编码\",\"field\":\"product_code\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]产品名称\",\"field\":\"product_name\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]规格型号\",\"field\":\"product_spec\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]生产批次\",\"field\":\"batch_sn\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]生产日期\",\"field\":\"batch_date\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]数量\",\"field\":\"quantity\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]单价(元)\",\"field\":\"price\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]金额(元)\",\"field\":\"money\",\"table\":\"stock_delivery_data\"},{\"name\":\"销售区域\",\"field\":\"region_id\",\"table\":\"stock_delivery\"},{\"name\":\"[发货商品]其他金额(元)\",\"field\":\"other_money\",\"table\":\"stock_delivery_data\"},{\"name\":\"发货日期\",\"field\":\"invoice_dt\",\"table\":\"stock_delivery\"},{\"name\":\"收货人\",\"field\":\"warehouse_contact\",\"table\":\"stock_delivery\"},{\"name\":\"收货人手机号\",\"field\":\"warehouse_phone\",\"table\":\"stock_delivery\"},{\"name\":\"收货人座机\",\"field\":\"warehouse_tel\",\"table\":\"stock_delivery\"},{\"name\":\"发票类型\",\"field\":\"tax_type\",\"table\":\"stock_delivery\"},{\"name\":\"收货地址\",\"field\":\"warehouse_address\",\"table\":\"stock_delivery\"},{\"name\":\"销售类型\",\"field\":\"type_id\",\"table\":\"stock_delivery\"},{\"name\":\"[发货商品]类型\",\"field\":\"type_id\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]计量单位\",\"field\":\"product_unit\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]仓库\",\"field\":\"warehouse_id\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]货位编号\",\"field\":\"poscode\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]货位名称\",\"field\":\"posname\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]合计重量(kg)\",\"field\":\"total_weight\",\"table\":\"stock_delivery_data\"},{\"name\":\"[发货商品]备注\",\"field\":\"remark\",\"table\":\"stock_delivery_data\"},{\"name\":\"物流公司\",\"field\":\"freight_logistics_id\",\"table\":\"stock_delivery\"},{\"name\":\"物流联系电话\",\"field\":\"freight_logistics_phone\",\"table\":\"stock_delivery\"},{\"name\":\"运输单号\",\"field\":\"freight_sn\",\"table\":\"stock_delivery\"},{\"name\":\"配件重量(T)\",\"field\":\"freight_part_weight\",\"table\":\"stock_delivery\"},{\"name\":\"短途承运人\",\"field\":\"freight_short_logistics_id\",\"table\":\"stock_delivery\"},{\"name\":\"运费付费方式\",\"field\":\"freight_pay_text\",\"table\":\"stock_delivery\"},{\"name\":\"预计到货日期\",\"field\":\"freight_arrival_date\",\"table\":\"stock_delivery\"},{\"name\":\"物流备注\",\"field\":\"freight_remark\",\"table\":\"stock_delivery\"},{\"name\":\"[发货商品]订单编号\",\"field\":\"sale_sn\",\"table\":\"stock_delivery_data\"}]', 0, 2, NULL, NULL, '', 1, 1, '系统管理员', '系统管理员', 1575669108, 1609716227, 1, 43, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (72, 'list', '列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"stock_direct\"},{\"name\":\"发货日期\",\"field\":\"invoice_dt\",\"table\":\"stock_direct\"},{\"name\":\"创建时间\",\"field\":\"created_at\",\"table\":\"stock_direct\"},{\"name\":\"所属客户\",\"field\":\"customer_id\",\"table\":\"stock_direct\"},{\"table\":\"stock_direct\",\"field\":\"tax_id\",\"name\":\"发票名称\"},{\"name\":\"仓库\",\"field\":\"warehouse_id\",\"table\":\"stock_direct\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"stock_direct\"},{\"name\":\"[发货产品]类型\",\"field\":\"type_id\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]产品编码\",\"field\":\"product_code\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]产品名称\",\"field\":\"product_name\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]规格型号\",\"field\":\"product_spec\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]产品条码\",\"field\":\"product_barcode\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]计量单位\",\"field\":\"product_unit\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]数量\",\"field\":\"quantity\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]单价(元)\",\"field\":\"price\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]金额(元)\",\"field\":\"money\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]其他金额(元)\",\"field\":\"other_money\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]重量(kg)\",\"field\":\"weight\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]重量合计(kg)\",\"field\":\"total_weight\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]生产批次\",\"field\":\"batch_sn\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]生产日期\",\"field\":\"batch_date\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]货位编号\",\"field\":\"poscode\",\"table\":\"stock_direct_data\"},{\"name\":\"[发货产品]货位名称\",\"field\":\"posname\",\"table\":\"stock_direct_data\"}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575843768, 1613231573, 1, 65, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (73, 'list', '列表', NULL, '[{\"table\":\"stock_record10\",\"field\":\"sn\",\"name\":\"单据编号\"},{\"table\":\"stock_record10\",\"field\":\"status\",\"name\":\"状态\"},{\"table\":\"stock_record10\",\"field\":\"invoice_dt\",\"name\":\"入库日期\"},{\"table\":\"stock_record10\",\"field\":\"created_at\",\"name\":\"单据日期\"},{\"table\":\"stock_record10\",\"field\":\"warehouse_id\",\"name\":\"仓库\"},{\"table\":\"stock_record10\",\"field\":\"type_id\",\"name\":\"入库类别\"},{\"table\":\"stock_record10\",\"field\":\"department_id\",\"name\":\"部门\"},{\"table\":\"stock_record10\",\"field\":\"workshop\",\"name\":\"车间\"},{\"table\":\"stock_record10\",\"field\":\"created_by\",\"name\":\"制单人\"},{\"table\":\"stock_record10_data\",\"field\":\"product_code\",\"name\":\"[入库产品]产品编码\"},{\"table\":\"stock_record10_data\",\"field\":\"product_name\",\"name\":\"[入库产品]产品名称\"},{\"table\":\"stock_record10_data\",\"field\":\"product_spec\",\"name\":\"[入库产品]规格型号\"},{\"table\":\"stock_record10_data\",\"field\":\"product_unit\",\"name\":\"[入库产品]计量单位\"},{\"table\":\"stock_record10_data\",\"field\":\"quantity\",\"name\":\"[入库产品]数量\"},{\"table\":\"stock_record10_data\",\"field\":\"batch_sn\",\"name\":\"[入库产品]生产批号\"},{\"table\":\"stock_record10_data\",\"field\":\"batch_date\",\"name\":\"[入库产品]生产日期\"},{\"table\":\"stock_record10\",\"field\":\"remark\",\"name\":\"备注\"}]', 0, 2, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575844091, 1614508653, 1, 59, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (74, 'list', '列表', 'stock_cancel_', '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"stock_cancel\"},{\"name\":\"单据日期\",\"field\":\"created_at\",\"table\":\"stock_cancel\"},{\"name\":\"所属客户\",\"field\":\"customer_id\",\"table\":\"stock_cancel\"},{\"name\":\"销售类型\",\"field\":\"type_id\",\"table\":\"stock_cancel\"},{\"name\":\"退货日期\",\"field\":\"invoice_dt\",\"table\":\"stock_cancel\"},{\"name\":\"订单类型\",\"field\":\"order_type_id\",\"table\":\"stock_cancel\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"stock_cancel\"},{\"name\":\"[退货产品]存货编码\",\"field\":\"product_code\",\"table\":\"stock_cancel_data\"},{\"name\":\"[退货产品]产品名称\",\"field\":\"product_name\",\"table\":\"stock_cancel_data\"},{\"name\":\"[退货产品]规格型号\",\"field\":\"product_spec\",\"table\":\"stock_cancel_data\"},{\"name\":\"[退货产品]产品条码\",\"field\":\"product_barcode\",\"table\":\"stock_cancel_data\"},{\"name\":\"[退货产品]计量单位\",\"field\":\"product_unit\",\"table\":\"stock_cancel_data\"},{\"name\":\"[退货产品]数量\",\"field\":\"quantity\",\"table\":\"stock_cancel_data\"},{\"name\":\"[退货产品]单价(元)\",\"field\":\"price\",\"table\":\"stock_cancel_data\"},{\"name\":\"[退货产品]金额(元)\",\"field\":\"money\",\"table\":\"stock_cancel_data\"}]', 0, 2, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1575845714, 1614538340, 1, 47, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (75, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record10\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_at\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record10\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"invoice_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record10\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库日期\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record10\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"warehouse_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record10\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"仓库\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record10\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库类别\"},{\"field\":\"workshop\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record10\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"车间\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record10\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record10\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"stock_record10_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"入库产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"batch_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产批号\"},{\"field\":\"batch_date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产日期\"},{\"field\":\"poscode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位编号\"},{\"field\":\"posname\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record10_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"货位名称\"}]}]}]', 0, 0, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1576748576, 1614508660, 1, 59, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (76, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"type\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"类型\"},{\"field\":\"sort\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"排序\"}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1576750008, 1602377231, 1, 68, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (77, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"sale_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"sale_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"sort\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"sale_type\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"排序\"}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1576751957, 1602377238, 1, 69, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (78, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_at\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"region_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"department_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"部门\"},{\"field\":\"freight_type\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"样品送达方式\"},{\"field\":\"customer_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"随货客户\"},{\"field\":\"purpose\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"样品用途\"},{\"field\":\"freight_address\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"邮寄地址\"},{\"field\":\"contact\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"联系人\"},{\"field\":\"contact_phone\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"联系电话\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"sample_apply_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"样品产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价\"},{\"field\":\"money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"},{\"field\":\"use_close\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"关闭\"}]}]}]', 0, 0, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1576812891, 1619898675, 1, 70, NULL, 'web', 'html');
INSERT INTO `model_template` VALUES (79, 'list', '明细列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"sample_apply\"},{\"name\":\"单据日期\",\"field\":\"created_at\",\"table\":\"sample_apply\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"sample_apply\"},{\"name\":\"部门\",\"field\":\"department_id\",\"table\":\"sample_apply\"},{\"name\":\"邮寄地址\",\"field\":\"freight_address\",\"table\":\"sample_apply\"},{\"name\":\"随货客户\",\"field\":\"customer_name\",\"table\":\"sample_apply\"},{\"name\":\"销售区域\",\"field\":\"region_id\",\"table\":\"sample_apply\"},{\"name\":\"联系人\",\"field\":\"contact\",\"table\":\"sample_apply\"},{\"name\":\"联系电话\",\"field\":\"contact_phone\",\"table\":\"sample_apply\"},{\"name\":\"样品用途\",\"field\":\"purpose\",\"table\":\"sample_apply\"},{\"name\":\"样品送达方式\",\"field\":\"freight_type\",\"table\":\"sample_apply\"},{\"name\":\"[样品产品]产品编码\",\"field\":\"product_code\",\"table\":\"sample_apply_data\"},{\"name\":\"[样品产品]产品名称\",\"field\":\"product_name\",\"table\":\"sample_apply_data\"},{\"name\":\"[样品产品]规格型号\",\"field\":\"product_spec\",\"table\":\"sample_apply_data\"},{\"name\":\"[样品产品]计量单位\",\"field\":\"product_unit\",\"table\":\"sample_apply_data\"},{\"name\":\"[样品产品]单价\",\"field\":\"price\",\"table\":\"sample_apply_data\"},{\"name\":\"[样品产品]数量\",\"field\":\"quantity\",\"table\":\"sample_apply_data\"},{\"name\":\"[样品产品]金额(元)\",\"field\":\"money\",\"table\":\"sample_apply_data\"},{\"name\":\"[样品产品]关闭\",\"field\":\"use_close\",\"table\":\"sample_apply_data\"},{\"table\":\"sample_apply\",\"field\":\"remark\",\"name\":\"备注\"}]', 0, 2, NULL, NULL, '', 1, 1, '系统管理员', '系统管理员', 1576814272, 1619898675, 1, 70, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (80, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据日期\"},{\"field\":\"year\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"年份\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"customer_task_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"任务列表\",\"fields\":[{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编号\"},{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"total\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"合计(万)\"},{\"field\":\"month1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"1月\"},{\"field\":\"month2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"2月\"},{\"field\":\"month3\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"3月\"},{\"field\":\"quarter1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"一季度\"},{\"field\":\"month4\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"4月\"},{\"field\":\"month5\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"5月\"},{\"field\":\"month6\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"6月\"},{\"field\":\"quarter2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"二季度\"},{\"field\":\"month7\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"7月\"},{\"field\":\"month8\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"8月\"},{\"field\":\"month9\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"9月\"},{\"field\":\"quarter3\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"三季度\"},{\"field\":\"month10\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"10月\"},{\"field\":\"month11\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"11月\"},{\"field\":\"month12\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"12月\"},{\"field\":\"quarter4\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"四季度\"}]}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1578651805, 1602376985, 1, 38, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (81, 'create,edit,show', '新建                            ', NULL, '[{\"title\":\"\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"853\",\"col\":\"12\",\"name\":\"编号\"},{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"854\",\"col\":\"12\",\"name\":\"所属客户\"}]}]', 0, 255, '', '', '', 1, 0, '系统管理员', NULL, 1578652617, 0, 1, 72, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (82, 'list', '列表', 'customer_task_', '[{\"table\":\"customer_task_data\",\"field\":\"customer_id\",\"name\":\"[任务列表]所属客户\"},{\"table\":\"customer_task_data\",\"field\":\"region_id\",\"name\":\"[任务列表]销售区域\"},{\"table\":\"customer_task_data\",\"field\":\"region_user\",\"name\":\"[任务列表]区域经理\"},{\"table\":\"customer_task\",\"field\":\"year\",\"name\":\"年份\"},{\"table\":\"customer_task_data\",\"field\":\"code\",\"name\":\"[任务列表]编号\"},{\"table\":\"customer_task_data\",\"field\":\"total\",\"name\":\"[任务列表]合计(万)\"},{\"table\":\"customer_task_data\",\"field\":\"month1\",\"name\":\"[任务列表]1月\"},{\"table\":\"customer_task_data\",\"field\":\"month2\",\"name\":\"[任务列表]2月\"},{\"table\":\"customer_task_data\",\"field\":\"month3\",\"name\":\"[任务列表]3月\"},{\"table\":\"customer_task_data\",\"field\":\"month4\",\"name\":\"[任务列表]4月\"},{\"table\":\"customer_task_data\",\"field\":\"month5\",\"name\":\"[任务列表]5月\"},{\"table\":\"customer_task_data\",\"field\":\"month6\",\"name\":\"[任务列表]6月\"},{\"table\":\"customer_task_data\",\"field\":\"month7\",\"name\":\"[任务列表]7月\"},{\"table\":\"customer_task_data\",\"field\":\"month8\",\"name\":\"[任务列表]8月\"},{\"table\":\"customer_task_data\",\"field\":\"month9\",\"name\":\"[任务列表]9月\"},{\"table\":\"customer_task_data\",\"field\":\"month10\",\"name\":\"[任务列表]10月\"},{\"table\":\"customer_task_data\",\"field\":\"month11\",\"name\":\"[任务列表]11月\"},{\"table\":\"customer_task_data\",\"field\":\"month12\",\"name\":\"[任务列表]12月\"},{\"table\":\"customer_task\",\"field\":\"status\",\"name\":\"状态\"}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1578663961, 1614510126, 1, 38, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (83, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_region_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_region_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据日期\"},{\"field\":\"year\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_region_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"年份\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_region_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_region_task\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"customer_region_task_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"任务列表\",\"fields\":[{\"field\":\"region_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"销售区域\"},{\"field\":\"region_user\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"区域经理\"},{\"field\":\"total\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"合计(万)\"},{\"field\":\"month1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"1月\"},{\"field\":\"month2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"2月\"},{\"field\":\"month3\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"3月\"},{\"field\":\"quarter1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"一季度\"},{\"field\":\"month4\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"4月\"},{\"field\":\"month5\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"5月\"},{\"field\":\"month6\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"6月\"},{\"field\":\"quarter2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"二季度\"},{\"field\":\"month7\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"7月\"},{\"field\":\"month8\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"8月\"},{\"field\":\"month9\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"9月\"},{\"field\":\"quarter3\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"三季度\"},{\"field\":\"month10\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"10月\"},{\"field\":\"month11\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"11月\"},{\"field\":\"month12\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"12月\"},{\"field\":\"quarter4\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_region_task_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"四季度\"}]}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1578688532, 1602377276, 1, 73, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (84, 'list', '列表', NULL, '[{\"table\":\"customer_region_task\",\"field\":\"sn\",\"name\":\"单据编号\"},{\"table\":\"customer_region_task\",\"field\":\"date\",\"name\":\"单据日期\"},{\"table\":\"customer_region_task\",\"field\":\"year\",\"name\":\"年份\"},{\"table\":\"customer_region_task\",\"field\":\"status\",\"name\":\"状态\"},{\"table\":\"customer_region_task_data\",\"field\":\"region2_id\",\"name\":\"[任务列表]销售省区\"},{\"table\":\"customer_region_task_data\",\"field\":\"region_id\",\"name\":\"[任务列表]销售区域\"},{\"table\":\"customer_region_task_data\",\"field\":\"region2_user\",\"name\":\"[任务列表]省区经理\"},{\"table\":\"customer_region_task_data\",\"field\":\"region_user\",\"name\":\"[任务列表]区域经理\"},{\"table\":\"customer_region_task_data\",\"field\":\"total\",\"name\":\"[任务列表]合计(万)\"},{\"table\":\"customer_region_task_data\",\"field\":\"month1\",\"name\":\"[任务列表]1月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month2\",\"name\":\"[任务列表]2月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month3\",\"name\":\"[任务列表]3月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month4\",\"name\":\"[任务列表]4月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month5\",\"name\":\"[任务列表]5月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month6\",\"name\":\"[任务列表]6月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month7\",\"name\":\"[任务列表]7月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month8\",\"name\":\"[任务列表]8月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month9\",\"name\":\"[任务列表]9月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month10\",\"name\":\"[任务列表]10月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month11\",\"name\":\"[任务列表]11月\"},{\"table\":\"customer_region_task_data\",\"field\":\"month12\",\"name\":\"[任务列表]12月\"},{\"table\":\"customer_region_task\",\"field\":\"remark\",\"name\":\"备注\"}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1578688704, 1613231750, 1, 73, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (85, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"warehouse_location\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"warehouse_location\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"warehouse_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"warehouse_location\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"仓库\"}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1578700076, 1602377283, 1, 75, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (86, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"warehouse_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"仓库\"},{\"field\":\"invoice_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"发货日期\"},{\"field\":\"tax_type\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"发票类型\"},{\"field\":\"tax_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"发票名称\"},{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"销售类型\"},{\"field\":\"order_type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"订单类型\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"freight_pay_text\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"运费付费方式\"},{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"制单人\"},{\"field\":\"warehouse_contact\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"收货人\"},{\"field\":\"warehouse_phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"收货人手机号\"},{\"field\":\"warehouse_address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"收货地址\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"stock_direct_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"发货产品\",\"fields\":[{\"field\":\"product_id\",\"css\":\"\",\"hidden\":\"1\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品ID\"},{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"类型\"},{\"field\":\"product_code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"计量单位\"},{\"field\":\"batch_sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"生产批次\"},{\"field\":\"batch_date\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"生产日期\"},{\"field\":\"poscode\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"货位编号\"},{\"field\":\"posname\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"货位名称\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"数量\"},{\"field\":\"price\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"金额(元)\"},{\"field\":\"other_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"其他金额(元)\"},{\"field\":\"weight\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"重量(kg)\"},{\"field\":\"total_weight\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"重量合计(kg)\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1578818164, 1602377204, 1, 65, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (87, 'print', '发货单', 'stock_delivery_print_02', '[{\"title\":null,\"border\":\"null\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"customer_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"invoice_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"发货日期\"},{\"field\":\"sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售类型\"},{\"field\":\"tax_type\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"发票类型\"},{\"field\":\"tax_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"发票名称\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"stock_delivery_data\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"发货商品\",\"fields\":[{\"field\":\"type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"类型\"},{\"field\":\"product_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":\"单位\",\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"undefined\",\"css\":\"undefined\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"null\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"undefined\",\"content\":null,\"name\":\"1212\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"price\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":\"单价\",\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":\"金额\",\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"},{\"field\":\"total_weight\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"stock_delivery_data\",\"title\":\"重量\",\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"合计重量(kg)\"}]}]}]', 0, 4, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1578907887, 1619900708, 1, 43, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (88, 'list', '列表', 'promotion_', '[{\"name\":\"促销编号\",\"field\":\"sn\",\"table\":\"promotion\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"promotion\"},{\"name\":\"生效日期\",\"field\":\"actived_dt\",\"table\":\"promotion\"},{\"name\":\"制单时间\",\"field\":\"created_at\",\"table\":\"promotion\"},{\"name\":\"客户编码\",\"field\":\"customer_code\",\"table\":\"promotion\"},{\"name\":\"所属客户\",\"field\":\"customer_id\",\"table\":\"promotion\"},{\"name\":\"开票名称\",\"field\":\"tax_id\",\"table\":\"promotion\"},{\"name\":\"促销范围\",\"field\":\"promote_scope\",\"table\":\"promotion\"},{\"name\":\"销售区域\",\"field\":\"region_id\",\"table\":\"promotion\"},{\"name\":\"销售省区\",\"field\":\"region2_id\",\"table\":\"promotion\"},{\"name\":\"销售大区\",\"field\":\"region3_id\",\"table\":\"promotion\"},{\"name\":\"区域经理\",\"field\":\"region_user\",\"table\":\"promotion\"},{\"name\":\"省区经理\",\"field\":\"region2_user\",\"table\":\"promotion\"},{\"name\":\"大区经理\",\"field\":\"region3_user\",\"table\":\"promotion\"},{\"name\":\"回复传真\",\"field\":\"fax\",\"table\":\"promotion\"},{\"name\":\"确认电话\",\"field\":\"phone\",\"table\":\"promotion\"},{\"name\":\"是否需要核销\",\"field\":\"need_review\",\"table\":\"promotion\"},{\"name\":\"促销产品\",\"field\":\"product\",\"table\":\"promotion\"},{\"name\":\"开始日期\",\"field\":\"start_dt\",\"table\":\"promotion\"},{\"name\":\"结束日期\",\"field\":\"end_dt\",\"table\":\"promotion\"},{\"name\":\"促销类别\",\"field\":\"type_id\",\"table\":\"promotion\"},{\"name\":\"促销类型\",\"field\":\"category_id\",\"table\":\"promotion\"},{\"name\":\"关联订单\",\"field\":\"order_id\",\"table\":\"promotion\"},{\"name\":\"促销方式\",\"field\":\"promoe_method\",\"table\":\"promotion\"},{\"name\":\"促销方法描述\",\"field\":\"pro_method_desc\",\"table\":\"promotion\"},{\"name\":\"预估总费用\",\"field\":\"pro_total_cost\",\"table\":\"promotion\"},{\"name\":\"预估销量(元)\",\"field\":\"sale_money\",\"table\":\"promotion\"},{\"name\":\"申请费用\",\"field\":\"apply_fee\",\"table\":\"promotion\"},{\"name\":\"公司承担金额(元)\",\"field\":\"undertake_money\",\"table\":\"promotion\"},{\"name\":\"实际兑现金额\",\"field\":\"cash_amount\",\"table\":\"promotion\"},{\"name\":\"兑现时间\",\"field\":\"cash_date\",\"table\":\"promotion\"},{\"name\":\"关闭\",\"field\":\"is_close\",\"table\":\"promotion\"},{\"name\":\"ID\",\"field\":\"id\",\"table\":\"promotion\"}]', 0, 1, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1579017624, 1614509273, 1, 17, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (89, 'list', '订单列表', 'customer_order_', '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"customer_order\"},{\"name\":\"单据日期\",\"field\":\"created_at\",\"table\":\"customer_order\"},{\"name\":\"预计发货日期\",\"field\":\"plan_delivery_dt\",\"table\":\"customer_order\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"customer_order\"},{\"name\":\"客户编码\",\"field\":\"customer_code\",\"table\":\"customer_order\"},{\"name\":\"所属客户\",\"field\":\"customer_id\",\"table\":\"customer_order\"},{\"table\":\"customer_order\",\"field\":\"region2_id\",\"name\":\"销售省区\"},{\"name\":\"销售区域\",\"field\":\"region_id\",\"table\":\"customer_order\"},{\"table\":\"customer_order\",\"field\":\"region2_user\",\"name\":\"省区经理\"},{\"table\":\"customer_order\",\"field\":\"region_user\",\"name\":\"区域经理\"},{\"name\":\"订单类型\",\"field\":\"type_id\",\"table\":\"customer_order\"},{\"name\":\"省份\",\"field\":\"province\",\"table\":\"customer_order\"},{\"name\":\"开票编码\",\"field\":\"tax_code\",\"table\":\"customer_order\"},{\"name\":\"开票名称\",\"field\":\"tax_id\",\"table\":\"customer_order\"},{\"name\":\"开票类型\",\"field\":\"tax_type\",\"table\":\"customer_order\"},{\"name\":\"收货人\",\"field\":\"warehouse_contact\",\"table\":\"customer_order\"},{\"name\":\"收货人手机号\",\"field\":\"warehouse_phone\",\"table\":\"customer_order\"},{\"name\":\"收货人座机\",\"field\":\"warehouse_tel\",\"table\":\"customer_order\"},{\"name\":\"短途承运人\",\"field\":\"freight_short_logistics_id\",\"table\":\"customer_order\"},{\"name\":\"短途车牌号\",\"field\":\"freight_short_car\",\"table\":\"customer_order\"},{\"name\":\"运费付款方式\",\"field\":\"freight_pay_text\",\"table\":\"customer_order\"},{\"name\":\"出口国家\",\"field\":\"export_country\",\"table\":\"customer_order\"},{\"name\":\"收货地址\",\"field\":\"warehouse_address\",\"table\":\"customer_order\"},{\"name\":\"制单人\",\"field\":\"created_by\",\"table\":\"customer_order\"},{\"name\":\"备注\",\"field\":\"remark\",\"table\":\"customer_order\"},{\"name\":\"ID\",\"field\":\"id\",\"table\":\"customer_order\"}]', 0, 1, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1579025864, 1615503946, 1, 23, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (90, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"invoice_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"out_warehouse_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"转出仓库\"},{\"field\":\"out_type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"出库类别\"},{\"field\":\"out_department_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"出库部门\"},{\"field\":\"delivery_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"发货日期\"},{\"field\":\"in_warehouse_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"转入仓库\"},{\"field\":\"in_type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库类别\"},{\"field\":\"in_department_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库部门\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"stock_allocation_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"调拨产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"batch_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产批号\"},{\"field\":\"batch_date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"生产日期\"},{\"field\":\"out_poscode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"调出货位编号\"},{\"field\":\"out_posname\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"调出货位名称\"},{\"field\":\"in_poscode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"调入货位编号\"},{\"field\":\"in_posname\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"调入货位名称\"},{\"field\":\"sale_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单编号\"},{\"field\":\"sale_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单ID\"},{\"field\":\"sale_data_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_allocation_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"订单明细ID\"}]}]}]', 0, 0, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1579205269, 1614508332, 1, 67, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (91, 'list', '列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"stock_allocation\"},{\"name\":\"单据日期\",\"field\":\"invoice_dt\",\"table\":\"stock_allocation\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"stock_allocation\"},{\"name\":\"发货日期\",\"field\":\"delivery_dt\",\"table\":\"stock_allocation\"},{\"name\":\"预计到货日期\",\"field\":\"freight_arrival_date\",\"table\":\"stock_allocation\"},{\"name\":\"入库类别\",\"field\":\"in_type_id\",\"table\":\"stock_allocation\"},{\"name\":\"出库类别\",\"field\":\"out_type_id\",\"table\":\"stock_allocation\"},{\"name\":\"转入仓库\",\"field\":\"in_warehouse_id\",\"table\":\"stock_allocation\"},{\"name\":\"转出仓库\",\"field\":\"out_warehouse_id\",\"table\":\"stock_allocation\"},{\"name\":\"[调拨产品]产品编码\",\"field\":\"product_code\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]产品名称\",\"field\":\"product_name\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]规格型号\",\"field\":\"product_spec\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]计量单位\",\"field\":\"product_unit\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]数量\",\"field\":\"quantity\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]生产批号\",\"field\":\"batch_sn\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]生产日期\",\"field\":\"batch_date\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]订单编号\",\"field\":\"sale_sn\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]调入货位编号\",\"field\":\"in_poscode\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]调入货位名称\",\"field\":\"in_posname\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]调出货位编号\",\"field\":\"out_poscode\",\"table\":\"stock_allocation_data\"},{\"name\":\"[调拨产品]调出货位名称\",\"field\":\"out_posname\",\"table\":\"stock_allocation_data\"},{\"name\":\"运费支付方式\",\"field\":\"freight_pay_type\",\"table\":\"stock_allocation\"},{\"name\":\"配件数量\",\"field\":\"freight_part_quantity\",\"table\":\"stock_allocation\"},{\"name\":\"配件重量(T)\",\"field\":\"freight_part_weight\",\"table\":\"stock_allocation\"},{\"name\":\"短途承运人\",\"field\":\"freight_short_logistics_id\",\"table\":\"stock_allocation\"},{\"name\":\"实发数量\",\"field\":\"freight_quantity\",\"table\":\"stock_allocation\"},{\"name\":\"物流公司\",\"field\":\"freight_logistics_id\",\"table\":\"stock_allocation\"},{\"name\":\"短途终点\",\"field\":\"freight_short_end\",\"table\":\"stock_allocation\"},{\"name\":\"短途起点\",\"field\":\"freight_short_start\",\"table\":\"stock_allocation\"},{\"name\":\"短途车牌号\",\"field\":\"freight_short_car\",\"table\":\"stock_allocation\"},{\"name\":\"发运方式\",\"field\":\"freight_type\",\"table\":\"stock_allocation\"},{\"name\":\"实发重量(T)\",\"field\":\"freight_weight\",\"table\":\"stock_allocation\"},{\"name\":\"物流联系电话\",\"field\":\"freight_logistics_phone\",\"table\":\"stock_allocation\"},{\"name\":\"总运费金额\",\"field\":\"freight_money\",\"table\":\"stock_allocation\"},{\"name\":\"运费(元\\/T)\",\"field\":\"freight_price\",\"table\":\"stock_allocation\"},{\"name\":\"短途运费(元)\",\"field\":\"freight_short_money\",\"table\":\"stock_allocation\"},{\"name\":\"物流登记时间\",\"field\":\"freight_created_dt\",\"table\":\"stock_allocation\"},{\"name\":\"物流登记人\",\"field\":\"freight_created_by\",\"table\":\"stock_allocation\"},{\"name\":\"运输单号\",\"field\":\"freight_sn\",\"table\":\"stock_allocation\"},{\"name\":\"客户承担运费\",\"field\":\"freight_customer_money\",\"table\":\"stock_allocation\"},{\"name\":\"公司承担运费\",\"field\":\"freight_self_money\",\"table\":\"stock_allocation\"},{\"name\":\"物流备注\",\"field\":\"freight_remark\",\"table\":\"stock_allocation\"},{\"name\":\"入库部门\",\"field\":\"in_department_id\",\"table\":\"stock_allocation\"},{\"name\":\"出库部门\",\"field\":\"out_department_id\",\"table\":\"stock_allocation\"},{\"name\":\"备注\",\"field\":\"remark\",\"table\":\"stock_allocation\"}]', 0, 3, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1579206998, 1614508318, 1, 67, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (92, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"category\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"product_material\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"品种\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"product_material\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"product_material\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"ratio\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"product_material\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"出品率\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"product_material\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"product_material\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1579281463, 1602377290, 1, 77, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (93, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"produce_plan\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"计划日期\"},{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"produce_plan\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"created_at\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"produce_plan\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"制单时间\"},{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"produce_plan\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"制单人\"},{\"field\":\"type\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"produce_plan\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"计划类型\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"produce_plan\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"produce_plan\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"produce_plan_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品列表\",\"fields\":[{\"field\":\"product_id\",\"css\":\"\",\"hidden\":\"1\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"计量单位\"},{\"field\":\"stock_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"当前库存\"},{\"field\":\"dphz_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"单品汇总\"},{\"field\":\"xqzc_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"需求总差\"},{\"field\":\"dkzc_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"打款差额\"},{\"field\":\"waitin_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"待入库\"},{\"field\":\"fhjh_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"发货计划\"},{\"field\":\"yxjh_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"后天营销\"},{\"field\":\"plan_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"后天计划\"},{\"field\":\"plan_num1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"明天计划\"},{\"field\":\"plan_num2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"今天计划\"},{\"field\":\"yxjh_num1\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"明天营销\"},{\"field\":\"yxjh_num2\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"今天营销\"},{\"field\":\"bgh_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"变更后数据\"},{\"field\":\"ljrk_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"月累计入库\"},{\"field\":\"syfh_num\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"上月发货量\"},{\"field\":\"department_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"车间名称\"},{\"field\":\"batch_sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"外贸生产批号\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"produce_plan_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1579532759, 1602377296, 1, 78, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (94, 'list', '列表', 'produce_plan_', '[{\"table\":\"produce_plan\",\"field\":\"sn\",\"name\":\"单据编号\"},{\"table\":\"produce_plan\",\"field\":\"status\",\"name\":\"状态\"},{\"table\":\"produce_plan\",\"field\":\"type\",\"name\":\"计划类型\"},{\"table\":\"produce_plan\",\"field\":\"date\",\"name\":\"计划日期\"},{\"table\":\"produce_plan\",\"field\":\"created_by\",\"name\":\"制单人\"},{\"table\":\"produce_plan\",\"field\":\"created_at\",\"name\":\"制单时间\"},{\"table\":\"produce_plan_data\",\"field\":\"product_code\",\"name\":\"[产品列表]产品编码\"},{\"table\":\"produce_plan_data\",\"field\":\"product_name\",\"name\":\"[产品列表]产品名称\"},{\"table\":\"produce_plan_data\",\"field\":\"product_spec\",\"name\":\"[产品列表]规格型号\"},{\"table\":\"produce_plan_data\",\"field\":\"product_unit\",\"name\":\"[产品列表]计量单位\"},{\"table\":\"produce_plan_data\",\"field\":\"fhjh_num\",\"name\":\"[产品列表]发货计划\"},{\"table\":\"produce_plan_data\",\"field\":\"plan_num\",\"name\":\"[产品列表]后天计划\"},{\"table\":\"produce_plan_data\",\"field\":\"yxjh_num\",\"name\":\"[产品列表]后天营销\"},{\"table\":\"produce_plan_data\",\"field\":\"syfh_num\",\"name\":\"[产品列表]上月发货量\"},{\"table\":\"produce_plan_data\",\"field\":\"department_id\",\"name\":\"[产品列表]车间名称\"},{\"table\":\"produce_plan_data\",\"field\":\"batch_sn\",\"name\":\"[产品列表]外贸生产批号\"},{\"table\":\"produce_plan\",\"field\":\"remark\",\"name\":\"备注\"}]', 0, 255, 'all', '全体人员', '', 1, 1, '系统管理员', '系统管理员', 1579533464, 1614507240, 1, 78, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (95, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"supplier\",\"title\":\"\",\"role_id\":\"2\",\"role_name\":\"客户\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"supplier\",\"title\":\"\",\"role_id\":\"undefined\",\"role_name\":\"undefined\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"supplier\",\"title\":\"\",\"role_id\":\"undefined\",\"role_name\":\"undefined\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582043176, 1602377311, NULL, 81, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (96, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"purchase_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"invoice_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"purchase_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"purchase_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"purchase_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"业务类型\"},{\"field\":\"category_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"purchase_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"采购类别\"},{\"field\":\"department_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"purchase_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"部门\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"purchase_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"purchase_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"purchase_order_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"商品列表\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"商品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"商品编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"商品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"apply_quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"申请数量\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"采购数量\"},{\"field\":\"tax_price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"含税单价\"},{\"field\":\"tax_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"价税合计\"},{\"field\":\"tax_amount\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"税额\"},{\"field\":\"tax_rate\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"税率\"},{\"field\":\"supplier_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"供应商\"},{\"field\":\"plan_arrive_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计划到货日期\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"purchase_order_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582045273, 1614507935, NULL, 82, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (97, 'list', '列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"role_id\":\"8\",\"role_name\":\"执行董事\",\"table\":\"purchase_order\"},{\"name\":\"单据日期\",\"field\":\"invoice_dt\",\"table\":\"purchase_order\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"purchase_order\"},{\"name\":\"制单人\",\"field\":\"created_by\",\"table\":\"purchase_order\"},{\"name\":\"供应商\",\"field\":\"supplier_id\",\"table\":\"purchase_order\"},{\"name\":\"[商品列表]商品名称\",\"field\":\"product_name\",\"table\":\"purchase_order_data\"},{\"name\":\"[商品列表]规格型号\",\"field\":\"product_spec\",\"table\":\"purchase_order_data\"},{\"name\":\"[商品列表]计量单位\",\"field\":\"product_unit\",\"table\":\"purchase_order_data\"},{\"name\":\"[商品列表]申请数量\",\"field\":\"apply_quantity\",\"table\":\"purchase_order_data\"},{\"name\":\"[商品列表]采购数量\",\"field\":\"quantity\",\"table\":\"purchase_order_data\"},{\"name\":\"[商品列表]含税单价\",\"field\":\"tax_price\",\"table\":\"purchase_order_data\"},{\"name\":\"[商品列表]价税合计\",\"field\":\"tax_money\",\"table\":\"purchase_order_data\"},{\"name\":\"[商品列表]计划到货日期\",\"field\":\"plan_arrive_dt\",\"table\":\"purchase_order_data\"},{\"name\":\"[商品列表]备注\",\"field\":\"remark\",\"table\":\"purchase_order_data\"}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582048430, 1602377321, NULL, 82, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (98, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record01\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库单号\"},{\"field\":\"supplier_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record01\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"供应商\"},{\"field\":\"invoice_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record01\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库日期\"},{\"field\":\"department_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record01\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"部门\"},{\"field\":\"warehouse_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record01\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"仓库\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record01\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"入库类别\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record01\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"stock_record01\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"stock_record01_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"商品列表\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"商品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"商品编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"商品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"tax_price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价\"},{\"field\":\"tax_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额\"},{\"field\":\"tax_amount\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"税额\"},{\"field\":\"tax_rate\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"税率\"},{\"field\":\"order_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"采购单号\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"order_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"采购ID\"},{\"field\":\"order_data_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"stock_record01_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"采购子表ID\"}]}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582298375, 1614508204, NULL, 84, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (99, 'list', '列表', NULL, '[{\"name\":\"入库单号\",\"field\":\"sn\",\"table\":\"stock_record01\"},{\"name\":\"入库日期\",\"field\":\"invoice_dt\",\"table\":\"stock_record01\"},{\"table\":\"stock_record01\",\"field\":\"type_id\",\"name\":\"入库类别\"},{\"name\":\"仓库\",\"field\":\"warehouse_id\",\"table\":\"stock_record01\"},{\"name\":\"部门\",\"field\":\"department_id\",\"table\":\"stock_record01\"},{\"name\":\"[商品列表]商品编码\",\"field\":\"product_code\",\"table\":\"stock_record01_data\"},{\"name\":\"[商品列表]商品名称\",\"field\":\"product_name\",\"table\":\"stock_record01_data\"},{\"name\":\"[商品列表]规格型号\",\"field\":\"product_spec\",\"table\":\"stock_record01_data\"},{\"name\":\"[商品列表]计量单位\",\"field\":\"product_unit\",\"table\":\"stock_record01_data\"},{\"name\":\"[商品列表]数量\",\"field\":\"quantity\",\"table\":\"stock_record01_data\"},{\"name\":\"[商品列表]单价\",\"field\":\"tax_price\",\"table\":\"stock_record01_data\"},{\"name\":\"[商品列表]金额\",\"field\":\"tax_money\",\"table\":\"stock_record01_data\"},{\"name\":\"[商品列表]税额\",\"field\":\"tax_amount\",\"table\":\"stock_record01_data\"},{\"name\":\"[商品列表]税率\",\"field\":\"tax_rate\",\"table\":\"stock_record01_data\"},{\"name\":\"[商品列表]备注\",\"field\":\"remark\",\"table\":\"stock_record01_data\"}]', NULL, NULL, 'all', '全体人员', NULL, 1, 3, '系统管理员', '赵云', 1582298786, 1603205183, NULL, 84, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (103, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据日期\"},{\"field\":\"category_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"费用类别\"},{\"field\":\"adjust_type\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"调整类型\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"制单人\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"customer_cost_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"列表\",\"fields\":[{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"费用金额\"},{\"field\":\"use_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"已用金额\"},{\"field\":\"remain_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"剩余金额\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582573601, 1602377336, NULL, 86, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (105, 'list', '列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"customer_cost\"},{\"name\":\"调整类型\",\"field\":\"adjust_type\",\"table\":\"customer_cost\"},{\"name\":\"单据日期\",\"field\":\"date\",\"table\":\"customer_cost\"},{\"name\":\"费用类别\",\"field\":\"category_id\",\"table\":\"customer_cost\"},{\"name\":\"备注\",\"field\":\"remark\",\"table\":\"customer_cost\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"customer_cost\"},{\"name\":\"[费用列表]所属客户\",\"field\":\"customer_id\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]费用金额\",\"field\":\"money\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]已用金额\",\"field\":\"use_money\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]剩余金额\",\"field\":\"remain_money\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]备注\",\"field\":\"remark\",\"table\":\"customer_cost_data\"}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582576425, 1602377340, NULL, 86, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (106, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据日期\"},{\"field\":\"category_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"费用类别\"},{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"制单人\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"customer_cost_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"列表\",\"fields\":[{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"费用金额\"},{\"field\":\"use_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"已用金额\"},{\"field\":\"remain_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"剩余金额\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582576764, 1602377357, NULL, 88, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (107, 'list', '列表', NULL, '[{\"table\":\"customer_cost\",\"field\":\"sn\",\"name\":\"单据编号\"},{\"table\":\"customer_cost\",\"field\":\"date\",\"name\":\"单据日期\"},{\"table\":\"customer_cost\",\"field\":\"status\",\"name\":\"状态\"},{\"table\":\"customer_cost\",\"field\":\"type_id\",\"name\":\"单据类型\"},{\"table\":\"customer_cost\",\"field\":\"adjust_type\",\"name\":\"调整类型\"},{\"table\":\"customer_cost\",\"field\":\"category_id\",\"name\":\"费用类别\"},{\"table\":\"customer_cost_data\",\"field\":\"customer_id\",\"name\":\"[费用列表]所属客户\"},{\"table\":\"customer_cost_data\",\"field\":\"tax_id\",\"name\":\"[费用列表]开票单位\"},{\"table\":\"customer_cost_data\",\"field\":\"money\",\"name\":\"[费用列表]费用金额\"},{\"table\":\"customer_cost_data\",\"field\":\"use_money\",\"name\":\"[费用列表]已用金额\"},{\"table\":\"customer_cost_data\",\"field\":\"remain_money\",\"name\":\"[费用列表]剩余金额\"},{\"table\":\"customer_cost\",\"field\":\"remark\",\"name\":\"备注\"}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582576803, 1603462725, NULL, 88, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (108, 'create,edit,show', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"date\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"单据日期\"},{\"field\":\"category_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"费用类别\"},{\"field\":\"status\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"状态\"},{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"3\",\"content\":\"\",\"name\":\"制单人\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_cost\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"customer_cost_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"费用列表\",\"fields\":[{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"费用金额\"},{\"field\":\"use_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"已用金额\"},{\"field\":\"remain_money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"剩余金额\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"customer_cost_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582659897, 1602377347, NULL, 87, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (109, 'list', '列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"customer_cost\"},{\"name\":\"单据日期\",\"field\":\"date\",\"table\":\"customer_cost\"},{\"name\":\"费用类别\",\"field\":\"category_id\",\"table\":\"customer_cost\"},{\"name\":\"备注\",\"field\":\"remark\",\"table\":\"customer_cost\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"customer_cost\"},{\"name\":\"[费用列表]所属客户\",\"field\":\"customer_id\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]费用金额\",\"field\":\"money\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]已用金额\",\"field\":\"use_money\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]剩余金额\",\"field\":\"remain_money\",\"table\":\"customer_cost_data\"},{\"name\":\"[费用列表]备注\",\"field\":\"remark\",\"table\":\"customer_cost_data\"}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1582659942, 1603462739, NULL, 87, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (110, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"customer_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"2198\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"所属客户\"},{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"2192\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"收货人姓名\"},{\"field\":\"zip_code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"2193\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"邮政编码\"},{\"field\":\"tel\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"2194\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"收货座机\"},{\"field\":\"phone\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"2195\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"联系电话\"},{\"field\":\"is_default\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"2196\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"6\",\"content\":\"\",\"name\":\"默认仓库\"},{\"field\":\"address\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"2197\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"收货地址\"}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1584631876, 1585094470, NULL, 89, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (111, 'list', '列表', NULL, '[{\"table\":\"customer_delivery_address\",\"field\":\"customer_id\",\"name\":\"所属客户\"},{\"table\":\"customer_delivery_address\",\"field\":\"name\",\"name\":\"收货人姓名\"},{\"table\":\"customer_delivery_address\",\"field\":\"phone\",\"name\":\"联系电话\"},{\"table\":\"customer_delivery_address\",\"field\":\"zip_code\",\"name\":\"邮政编码\"},{\"table\":\"customer_delivery_address\",\"field\":\"is_default\",\"name\":\"默认仓库\"},{\"table\":\"customer_delivery_address\",\"field\":\"tel\",\"name\":\"收货座机\"},{\"table\":\"customer_delivery_address\",\"field\":\"address\",\"name\":\"收货地址\"},{\"table\":\"customer_delivery_address\",\"field\":\"id\",\"name\":\"ID\"}]', NULL, NULL, 'all', '全体人员', NULL, 1, 3, '系统管理员', '赵云', 1584632295, 1603204909, NULL, 89, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (112, 'print', '随货单', NULL, '[{\"title\":null,\"border\":null,\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"stock_delivery\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据编号\"}]}]', NULL, 3, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1584657535, 1619900665, NULL, 43, NULL, NULL, 'html');
INSERT INTO `model_template` VALUES (113, 'print', '其他入库单', NULL, '[{\"title\":\"\",\"border\":\"0\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record08\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"invoice_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record08\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"入库日期\"},{\"field\":\"warehouse_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record08\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"仓库\"},{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record08\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"入库类别\"},{\"field\":\"department_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record08\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"入库部门\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record08\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"4\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"stock_record08_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"入库产品\",\"fields\":[{\"field\":\"product_code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record08_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record08_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record08_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record08_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record08_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"数量\"},{\"field\":\"batch_sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record08_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"生产批次\"},{\"field\":\"posname\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record08_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"0\",\"col\":\"12\",\"content\":\"\",\"name\":\"货位名称\"}]}]},{\"title\":\"\",\"border\":\"0\",\"type\":\"panel\",\"column\":\"2\",\"fields\":[{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"null\",\"title\":\"制单人\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"4\",\"content\":\"万海英\",\"name\":\"制单人\"},{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"null\",\"title\":\"交货人\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"4\",\"content\":\"\",\"name\":\"交货人\"}]}]', NULL, 1, 'all', '全体人员', '600', 1, 1, '系统管理员', '系统管理员', 1584897024, 1614508489, NULL, 61, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (114, 'list', '发货列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"stock_delivery\"},{\"name\":\"单据日期\",\"field\":\"created_at\",\"table\":\"stock_delivery\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"stock_delivery\"},{\"name\":\"发货日期\",\"field\":\"invoice_dt\",\"table\":\"stock_delivery\"},{\"name\":\"所属客户\",\"field\":\"customer_id\",\"table\":\"stock_delivery\"},{\"name\":\"发票名称\",\"field\":\"tax_id\",\"table\":\"stock_delivery\"},{\"name\":\"销售区域\",\"field\":\"region_id\",\"table\":\"stock_delivery\"},{\"name\":\"销售类型\",\"field\":\"type_id\",\"table\":\"stock_delivery\"},{\"name\":\"备注\",\"field\":\"remark\",\"table\":\"stock_delivery\"},{\"name\":\"物流公司\",\"field\":\"freight_logistics_id\",\"table\":\"stock_delivery\"},{\"name\":\"物流联系电话\",\"field\":\"freight_logistics_phone\",\"table\":\"stock_delivery\"},{\"name\":\"运输单号\",\"field\":\"freight_sn\",\"table\":\"stock_delivery\"},{\"name\":\"实发数量\",\"field\":\"freight_quantity\",\"table\":\"stock_delivery\"},{\"name\":\"配件重量(T)\",\"field\":\"freight_part_weight\",\"table\":\"stock_delivery\"},{\"name\":\"短途承运人\",\"field\":\"freight_short_logistics_id\",\"table\":\"stock_delivery\"},{\"name\":\"短途车牌号\",\"field\":\"freight_short_car\",\"table\":\"stock_delivery\"},{\"name\":\"运价(元\\/T)\",\"field\":\"freight_price\",\"table\":\"stock_delivery\"},{\"name\":\"短途运费(元)\",\"field\":\"freight_short_money\",\"table\":\"stock_delivery\"},{\"name\":\"发运方式\",\"field\":\"freight_type\",\"table\":\"stock_delivery\"},{\"name\":\"总运费金额\",\"field\":\"freight_money\",\"table\":\"stock_delivery\"},{\"name\":\"客户承担运费\",\"field\":\"freight_customer_money\",\"table\":\"stock_delivery\"},{\"name\":\"公司承担运费\",\"field\":\"freight_self_money\",\"table\":\"stock_delivery\"},{\"name\":\"运费付费方式\",\"field\":\"freight_pay_text\",\"table\":\"stock_delivery\"},{\"name\":\"预计到货日期\",\"field\":\"freight_arrival_date\",\"table\":\"stock_delivery\"},{\"name\":\"物流备注\",\"field\":\"freight_remark\",\"table\":\"stock_delivery\"}]', NULL, 1, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1585492254, 1609716227, NULL, 43, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (115, 'print', '其他出库单', NULL, '[{\"title\":\"\",\"border\":\"0\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record09\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"invoice_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record09\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"出库日期\"},{\"field\":\"warehouse_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record09\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"仓库\"},{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record09\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"出库类别\"},{\"field\":\"department_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record09\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"出库部门\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record09\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"备注\"}]},{\"title\":\"\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"2\",\"fields\":[{\"field\":\"stock_record09_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"出库产品\",\"fields\":[{\"field\":\"product_code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record09_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record09_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record09_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record09_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record09_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"数量\"},{\"field\":\"batch_sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record09_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"生产批次\"},{\"field\":\"posname\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record09_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"货位名称\"}]}]},{\"title\":\"\",\"border\":\"0\",\"type\":\"undefined\",\"column\":\"3\",\"fields\":[{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"null\",\"title\":\"制单人\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"4\",\"content\":\"张立英\",\"name\":\"制单人\"},{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"null\",\"title\":\"收货人\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"4\",\"content\":\"\",\"name\":\"收货人\"}]}]', NULL, 1, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1585928000, 1614508446, NULL, 63, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (116, 'list', '列表', NULL, '[{\"table\":\"sample_apply\",\"field\":\"sn\",\"name\":\"单据编号\"},{\"table\":\"sample_apply\",\"field\":\"status\",\"name\":\"状态\"},{\"table\":\"sample_apply\",\"field\":\"created_at\",\"name\":\"单据日期\"},{\"table\":\"sample_apply\",\"field\":\"department_id\",\"name\":\"部门\"},{\"table\":\"sample_apply\",\"field\":\"region_id\",\"name\":\"销售区域\"},{\"table\":\"sample_apply\",\"field\":\"freight_type\",\"name\":\"样品送达方式\"},{\"table\":\"sample_apply\",\"field\":\"customer_name\",\"name\":\"随货客户\"},{\"table\":\"sample_apply\",\"field\":\"freight_address\",\"name\":\"邮寄地址\"},{\"table\":\"sample_apply\",\"field\":\"contact\",\"name\":\"联系人\"},{\"table\":\"sample_apply\",\"field\":\"contact_phone\",\"name\":\"联系电话\"},{\"table\":\"sample_apply\",\"field\":\"purpose\",\"name\":\"样品用途\"},{\"table\":\"sample_apply\",\"field\":\"created_by\",\"name\":\"制单人\"},{\"table\":\"sample_apply\",\"field\":\"remark\",\"name\":\"备注\"}]', NULL, 1, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1586181332, 1619898675, NULL, 70, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (117, 'print', '产成品入库单', NULL, '[{\"title\":\"\",\"border\":\"0\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record10\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"invoice_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record10\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"入库日期\"},{\"field\":\"warehouse_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record10\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"仓库\"},{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record10\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"入库类别\"},{\"field\":\"department_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record10\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"部门\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record10\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"备注\"},{\"field\":\"stock_record10_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"入库产品\",\"fields\":[{\"field\":\"product_code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record10_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record10_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record10_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record10_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record10_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"数量\"},{\"field\":\"batch_sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record10_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"生产批号\"},{\"field\":\"posname\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_record10_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"货位名称\"}]}]},{\"title\":\"\",\"border\":\"0\",\"type\":\"undefined\",\"column\":\"2\",\"fields\":[{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_record10\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"制单人\"},{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"null\",\"title\":\"交货人\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"6\",\"content\":\"\",\"name\":\"交货人\"}]}]', NULL, 1, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1586228688, 1614508653, NULL, 59, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (118, 'print', '产成品调拨单', NULL, '[{\"title\":\"\",\"border\":\"0\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"invoice_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"单据日期\"},{\"field\":\"delivery_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"发货日期\"},{\"field\":\"in_warehouse_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"转入仓库\"},{\"field\":\"out_warehouse_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"8\",\"content\":\"\",\"name\":\"转出仓库\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]},{\"title\":\"\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"3\",\"fields\":[{\"field\":\"stock_allocation_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"调拨产品\",\"fields\":[{\"field\":\"product_code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_allocation_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_allocation_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_allocation_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_allocation_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_allocation_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"数量\"},{\"field\":\"batch_sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_allocation_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"生产批号\"},{\"field\":\"out_posname\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_allocation_data\",\"title\":\"货位\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"调出货位名称\"}]}]},{\"title\":\"\",\"border\":\"0\",\"type\":\"undefined\",\"column\":\"2\",\"fields\":[{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"制单人\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"3\",\"content\":\"\",\"name\":\"制单人\"},{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"null\",\"title\":\"会计\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"3\",\"content\":\"李彩\",\"name\":\"会计\"},{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"null\",\"title\":\"发货\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"3\",\"content\":\"\",\"name\":\"发货\"},{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"null\",\"title\":\"仓管\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"3\",\"content\":\"\",\"name\":\"仓管\"}]}]', NULL, 1, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1586243311, 1614508318, NULL, 67, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (119, 'print', '样品申请单', NULL, '[{\"title\":null,\"border\":\"1\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_at\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"department_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"部门\"},{\"field\":\"region_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"freight_type\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"样品送达方式\"},{\"field\":\"customer_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"随货客户\"},{\"field\":\"contact\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"联系人\"},{\"field\":\"contact_phone\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"联系电话\"},{\"field\":\"freight_address\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"邮寄地址\"},{\"field\":\"purpose\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"样品用途\"},{\"field\":\"sample_apply_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"样品产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"INT\",\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"产品编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"单价\"},{\"field\":\"money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"sample_apply_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"}]},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"sample_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]},{\"title\":null,\"border\":\"1\",\"type\":\"undefined\",\"column\":\"2\",\"fields\":[{\"field\":\"{flowlog}\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"null\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"1\",\"col\":\"12\",\"content\":null,\"name\":\"流程记录\"}]}]', NULL, 3, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1586309501, 1619898692, NULL, 70, NULL, 'web', 'html');
INSERT INTO `model_template` VALUES (120, 'print', '退货单', NULL, '[{\"title\":\"\",\"border\":\"0\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"tax_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"827\",\"title\":\"客户名称\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"客户名称\"},{\"field\":\"invoice_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"729\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"3\",\"content\":\"\",\"name\":\"退货日期\"},{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"822\",\"title\":\"退货类型\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"3\",\"content\":\"\",\"name\":\"销售类型\"},{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"382\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"426\",\"title\":\"备注信息\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"6\",\"content\":\"\",\"name\":\"备注\"}]},{\"title\":\"\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"3\",\"fields\":[{\"field\":\"stock_cancel_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"id\":\"48\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"退货产品\",\"fields\":[{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"831\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"类型\"},{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"417\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"418\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"420\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"422\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"数量\"},{\"field\":\"price\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"421\",\"title\":\"单价\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"423\",\"title\":\"金额\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"金额(元)\"},{\"field\":\"total_weight\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"840\",\"title\":\"重量\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"合计重量(kg)\"},{\"field\":\"batch_sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"id\":\"832\",\"title\":\"备注\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"生产批次\"}]}]},{\"title\":\"\",\"border\":\"0\",\"type\":\"undefined\",\"column\":\"2\",\"fields\":[{\"field\":\"created_by\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"384\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"3\",\"content\":\"\",\"name\":\"制单人\"},{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"0\",\"title\":\"财务\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"3\",\"content\":\"李彩\",\"name\":\"财务\"},{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"0\",\"title\":\"发货\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"3\",\"content\":\"\",\"name\":\"发货\"},{\"field\":\"{text}\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"id\":\"0\",\"title\":\"仓管\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"1\",\"col\":\"3\",\"content\":\"\",\"name\":\"仓管\"}]}]', NULL, 1, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1586349259, 1614538335, NULL, 47, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (121, 'print', '随货单', NULL, '[{\"title\":\"null\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_at\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"region_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_order\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"销售区域\"}]}]', NULL, 4, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1586351065, 1619898119, NULL, 23, NULL, 'web', 'html');
INSERT INTO `model_template` VALUES (122, 'create,edit', '新建', NULL, '[{\"title\":\"\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_class\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"名称\"},{\"field\":\"code\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_class\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"编码\"},{\"field\":\"parent_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"customer_class\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"上级\"}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1586803789, 1602377382, NULL, 91, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (123, 'list', '列表', NULL, '[{\"table\":\"approach_review\",\"field\":\"sn\",\"name\":\"单据编号\"},{\"table\":\"approach_review\",\"field\":\"apply_id\",\"name\":\"申请编号\"},{\"table\":\"approach_review\",\"field\":\"date\",\"name\":\"单据日期\"},{\"table\":\"approach_review\",\"field\":\"customer_id\",\"name\":\"所属客户\"},{\"table\":\"approach_review\",\"field\":\"status\",\"name\":\"状态\"},{\"table\":\"approach_review\",\"field\":\"region_id\",\"name\":\"销售区域\"},{\"table\":\"approach_review\",\"field\":\"fact_verification_cost\",\"name\":\"本次核销费用\"},{\"table\":\"approach_review\",\"field\":\"market_name\",\"name\":\"店名及家数\"},{\"table\":\"approach_review\",\"field\":\"pay_type\",\"name\":\"支付方式\"},{\"table\":\"approach_review\",\"field\":\"apply_money\",\"name\":\"公司批复支持费用\"},{\"table\":\"approach_review\",\"field\":\"verification_cost\",\"name\":\"实际核销支持费用\"},{\"table\":\"approach_review\",\"field\":\"created_by\",\"name\":\"制单人\"},{\"table\":\"approach_review\",\"field\":\"remark\",\"name\":\"备注\"}]', NULL, 1, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1587107747, 1614531483, NULL, 57, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (124, 'list', '列表', 'promotion_review_', '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"promotion_review\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"promotion_review\"},{\"name\":\"单据日期\",\"field\":\"date\",\"table\":\"promotion_review\"},{\"name\":\"申请编号\",\"field\":\"apply_id\",\"table\":\"promotion_review\"},{\"name\":\"所属客户\",\"field\":\"customer_id\",\"table\":\"promotion_review\"},{\"name\":\"销售区域\",\"field\":\"region_id\",\"table\":\"promotion_review\"},{\"name\":\"公司批复支持费用\",\"field\":\"area_money\",\"table\":\"promotion_review\"},{\"name\":\"实际核销支持费用\",\"field\":\"fact_verification_cost\",\"table\":\"promotion_review\"},{\"name\":\"支付方式\",\"field\":\"pay_type\",\"table\":\"promotion_review\"},{\"name\":\"备注\",\"field\":\"remark\",\"table\":\"promotion_review\"},{\"name\":\"开票名称\",\"field\":\"tax_id\",\"table\":\"promotion_review\"}]', NULL, 1, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1587107955, 1614509640, NULL, 55, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (125, 'print', '调拨发货单', NULL, '[{\"title\":\"\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"invoice_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"单据日期\"},{\"field\":\"in_warehouse_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"转入仓库\"},{\"field\":\"freight_remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_allocation\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"物流备注\"}]}]', NULL, 2, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1587203297, 1614508318, NULL, 67, NULL, NULL, NULL);
INSERT INTO `model_template` VALUES (126, 'print', '直营发货单', NULL, '[{\"title\":\"\",\"border\":\"0\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"tax_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"客户名称\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"5\",\"content\":\"\",\"name\":\"发票名称\"},{\"field\":\"sn\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"4\",\"content\":\"\",\"name\":\"单据编号\"},{\"field\":\"warehouse_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"3\",\"content\":\"\",\"name\":\"仓库\"},{\"field\":\"type_id\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"5\",\"content\":\"\",\"name\":\"销售类型\"},{\"field\":\"invoice_dt\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"7\",\"content\":\"\",\"name\":\"发货日期\"},{\"field\":\"remark\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"0\",\"table\":\"stock_direct\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"备注\"}]},{\"title\":\"\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"2\",\"fields\":[{\"field\":\"stock_direct_data\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"1\",\"table\":\"undefined\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"发货产品\",\"fields\":[{\"field\":\"product_name\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"单位\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"数量\"},{\"field\":\"price\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"金额(元)\"},{\"field\":\"total_weight\",\"css\":\"\",\"hidden\":\"0\",\"width\":\"\",\"readonly\":\"0\",\"hide_title\":\"\",\"type\":\"\",\"table\":\"stock_direct_data\",\"title\":\"重量(kg)\",\"role_id\":\"\",\"role_name\":\"\",\"custom\":\"\",\"col\":\"12\",\"content\":\"\",\"name\":\"重量合计(kg)\"}]}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1587546563, 1602377196, NULL, 65, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (127, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"1\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"invoice_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"出库日期\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"业务类型\"},{\"field\":\"department_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"部门\"},{\"field\":\"category_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"出库类别\"},{\"field\":\"warehouse_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"仓库\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"stock_record11_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"商品列表\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"商品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"商品编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"商品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"batch_sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"商品批号\"},{\"field\":\"batch_date\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"商品日期\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"单价\"},{\"field\":\"money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"金额\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1587585932, 1614507974, NULL, 93, NULL, 'web', 'html');
INSERT INTO `model_template` VALUES (128, 'list', '列表', NULL, '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"stock_record11\"},{\"table\":\"stock_record11\",\"field\":\"warehouse_id\",\"name\":\"仓库\"},{\"table\":\"stock_record11\",\"field\":\"type_id\",\"name\":\"业务类型\"},{\"name\":\"出库日期\",\"field\":\"invoice_dt\",\"table\":\"stock_record11\"},{\"name\":\"部门\",\"field\":\"department_id\",\"table\":\"stock_record11\"},{\"name\":\"出库类别\",\"field\":\"category_id\",\"table\":\"stock_record11\"},{\"name\":\"[商品列表]商品编码\",\"field\":\"product_code\",\"table\":\"stock_record11_data\"},{\"name\":\"[商品列表]商品名称\",\"field\":\"product_name\",\"table\":\"stock_record11_data\"},{\"name\":\"[商品列表]规格型号\",\"field\":\"product_spec\",\"table\":\"stock_record11_data\"},{\"name\":\"[商品列表]计量单位\",\"field\":\"product_unit\",\"table\":\"stock_record11_data\"},{\"name\":\"[商品列表]商品批号\",\"field\":\"batch_sn\",\"table\":\"stock_record11_data\"},{\"name\":\"[商品列表]数量\",\"field\":\"quantity\",\"table\":\"stock_record11_data\"},{\"name\":\"[商品列表]单价\",\"field\":\"price\",\"table\":\"stock_record11_data\"},{\"name\":\"[商品列表]金额\",\"field\":\"money\",\"table\":\"stock_record11_data\"},{\"name\":\"备注\",\"field\":\"remark\",\"table\":\"stock_record11\"}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1587586146, 1603205424, NULL, 93, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (129, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"1\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"客户名称\"},{\"field\":\"code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"客户编码\"},{\"field\":\"type_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"客户类型\"},{\"field\":\"region_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"head_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"法人\"},{\"field\":\"head_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"法人电话\"},{\"field\":\"manage_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"管理负责人\"},{\"field\":\"manage_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"管理负责人手机号\"},{\"field\":\"manage_weixin\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"管理负责人微信\"},{\"field\":\"finance_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"财务负责人\"},{\"field\":\"finance_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"财务负责人手机\"},{\"field\":\"cost_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"费用核销人\"},{\"field\":\"cost_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"费用核销人手机号\"},{\"field\":\"class_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"客户分类\"},{\"field\":\"class2_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"客户种类\"},{\"field\":\"department_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"销售部门\"},{\"field\":\"address\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"公司地址\"},{\"field\":\"warehouse_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"仓库手机号\"},{\"field\":\"warehouse_contact\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"仓库联系人\"},{\"field\":\"warehouse_tel\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"仓库座机\"},{\"field\":\"region\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"行政区域\"},{\"field\":\"warehouse_size\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"仓库面积(㎡)\"},{\"field\":\"warehouse_address\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"仓库地址\"},{\"field\":\"created_by\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]},{\"title\":\"开票信息\",\"border\":\"1\",\"type\":\"undefined\",\"column\":\"3\",\"fields\":[{\"field\":\"general_taxpayer\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"一般纳税人\"},{\"field\":\"tax_number\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"纳税识别号\"},{\"field\":\"bank_account\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"银行账户\"},{\"field\":\"bank_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"开户银行\"},{\"field\":\"bank_address\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"开户银行地址\"},{\"field\":\"attachment\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_apply\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"附件资料\"}]},{\"title\":null,\"border\":\"0\",\"type\":\"undefined\",\"column\":\"2\",\"fields\":[{\"field\":\"customer_apply_brand\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"主营品牌\",\"fields\":[{\"field\":\"brand_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_brand\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"品牌名称\"},{\"field\":\"sale_money\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_brand\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"年销售额\"},{\"field\":\"market_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_brand\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"超市数量\"},{\"field\":\"circulate_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_brand\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"流通数量\"},{\"field\":\"market_high\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_brand\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"市场操作亮点\"},{\"field\":\"brand_category\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_brand\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"品牌类别\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_brand\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]},{\"field\":\"customer_apply_category\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"味聚特品牌系列\",\"fields\":[{\"field\":\"category_id\",\"css\":\"null\",\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_category\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"类别ID\"},{\"field\":\"category_code\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_category\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"类别编码\"},{\"field\":\"category_name\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_category\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"类别名称\"},{\"field\":\"price_type\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_category\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"价格类型\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_category\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]},{\"field\":\"customer_apply_grid\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"网格销售描述\",\"fields\":[{\"field\":\"market_style\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_grid\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"超市型态\"},{\"field\":\"sale_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_grid\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"销售人数\"},{\"field\":\"guide_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_grid\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"专职导购数量\"},{\"field\":\"part_guide_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_grid\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"兼职导购数\"},{\"field\":\"channel_start_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_grid\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"渠道启动日期\"},{\"field\":\"channel_plan_reason\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_grid\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"渠道规划理由\"},{\"field\":\"scope\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_grid\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"覆盖范围\"},{\"field\":\"tally_quantity\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_grid\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"理货人数\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":null,\"table\":\"customer_apply_grid\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1587832055, 1620467792, NULL, 94, NULL, 'web', 'html');
INSERT INTO `model_template` VALUES (130, 'list', '列表', 'customer_apply_001', '[{\"name\":\"单据编号\",\"field\":\"sn\",\"table\":\"customer_apply\",\"role_id\":\"89\",\"role_name\":\"原辅料采购部副经理\"},{\"name\":\"状态\",\"field\":\"status\",\"table\":\"customer_apply\"},{\"name\":\"客户编码\",\"field\":\"code\",\"table\":\"customer_apply\",\"role_id\":\"95\",\"role_name\":\"客户联系人\"},{\"name\":\"客户名称\",\"field\":\"name\",\"table\":\"customer_apply\"},{\"name\":\"销售区域\",\"field\":\"region_id\",\"table\":\"customer_apply\"},{\"name\":\"客户类型\",\"field\":\"type_id\",\"table\":\"customer_apply\"},{\"name\":\"客户分类\",\"field\":\"class_id\",\"table\":\"customer_apply\"},{\"name\":\"销售部门\",\"field\":\"department_id\",\"table\":\"customer_apply\"},{\"table\":\"customer_apply_brand\",\"field\":\"brand_name\",\"name\":\"[主营品牌]品牌名称\"},{\"name\":\"省\",\"field\":\"province_id\",\"table\":\"customer_apply\"},{\"name\":\"市\",\"field\":\"city_id\",\"table\":\"customer_apply\"},{\"name\":\"县\",\"field\":\"county_id\",\"table\":\"customer_apply\"},{\"name\":\"法人\",\"field\":\"head_name\",\"table\":\"customer_apply\"},{\"name\":\"法人电话\",\"field\":\"head_phone\",\"table\":\"customer_apply\"},{\"name\":\"法人生日\",\"field\":\"head_birthday\",\"table\":\"customer_apply\"},{\"name\":\"管理负责人\",\"field\":\"manage_name\",\"table\":\"customer_apply\"},{\"name\":\"管理负责人手机号\",\"field\":\"manage_phone\",\"table\":\"customer_apply\"},{\"name\":\"一般纳税人\",\"field\":\"general_taxpayer\",\"table\":\"customer_apply\"},{\"name\":\"纳税识别号\",\"field\":\"tax_number\",\"table\":\"customer_apply\"},{\"name\":\"开户银行\",\"field\":\"bank_name\",\"table\":\"customer_apply\"},{\"name\":\"银行账户\",\"field\":\"bank_account\",\"table\":\"customer_apply\"},{\"name\":\"开户银行地址\",\"field\":\"bank_address\",\"table\":\"customer_apply\"},{\"name\":\"公司地址\",\"field\":\"address\",\"table\":\"customer_apply\"},{\"name\":\"仓库地址\",\"field\":\"warehouse_address\",\"table\":\"customer_apply\"},{\"name\":\"仓库联系人\",\"field\":\"warehouse_contact\",\"table\":\"customer_apply\"},{\"name\":\"仓库手机号\",\"field\":\"warehouse_phone\",\"table\":\"customer_apply\"},{\"name\":\"仓库座机\",\"field\":\"warehouse_tel\",\"table\":\"customer_apply\"},{\"name\":\"仓库面积(㎡)\",\"field\":\"warehouse_size\",\"table\":\"customer_apply\"},{\"name\":\"备注\",\"field\":\"remark\",\"table\":\"customer_apply\"}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1588330322, 1619902132, NULL, 94, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (131, 'create,edit,show', '新建', NULL, '[{\"title\":null,\"border\":\"1\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":\"96\",\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_dt\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"region_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"customer_id\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"客户名称\"},{\"field\":\"type\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"投诉类型\"},{\"field\":\"complainant\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"投诉人\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"attachment\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"附件\"},{\"field\":\"complainant_phone\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"投诉人电话\"},{\"field\":\"status\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"状态\"},{\"field\":\"content\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"投诉内容\"},{\"field\":\"suggest\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"建议改进措施\"},{\"field\":\"remark\",\"css\":\"null\",\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1588493117, 1619902341, NULL, 92, NULL, 'web', 'html');
INSERT INTO `model_template` VALUES (132, 'list', '列表', NULL, '[{\"table\":\"customer_complaint\",\"field\":\"sn\",\"name\":\"单据编号\"},{\"table\":\"customer_complaint\",\"field\":\"created_dt\",\"name\":\"单据日期\"},{\"table\":\"customer_complaint\",\"field\":\"status\",\"name\":\"状态\"},{\"table\":\"customer_complaint\",\"field\":\"region_id\",\"name\":\"销售区域\"},{\"table\":\"customer_complaint\",\"field\":\"complainant\",\"name\":\"投诉人\"},{\"table\":\"customer_complaint\",\"field\":\"customer_id\",\"name\":\"客户名称\"},{\"table\":\"customer_complaint\",\"field\":\"type\",\"name\":\"投诉类型\"},{\"table\":\"customer_complaint\",\"field\":\"suggest\",\"name\":\"建议改进措施\"},{\"table\":\"customer_complaint\",\"field\":\"complainant_phone\",\"name\":\"投诉人电话\"},{\"table\":\"customer_complaint\",\"field\":\"content\",\"name\":\"投诉内容\"},{\"table\":\"customer_complaint\",\"field\":\"created_by\",\"name\":\"制单人\"},{\"table\":\"customer_complaint\",\"field\":\"remark\",\"name\":\"备注\"}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1588493171, 1602377579, NULL, 92, NULL, 'web', NULL);
INSERT INTO `model_template` VALUES (133, 'print', '促销申请', NULL, '[{\"title\":null,\"border\":\"1\",\"type\":\"panel\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"促销编号\"},{\"field\":\"customer_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"所属客户\"},{\"field\":\"region_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"type_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"促销类别\"},{\"field\":\"start_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"开始日期\"},{\"field\":\"end_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"结束日期\"},{\"field\":\"actived_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"生效日期\"},{\"field\":\"created_at\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"制单时间\"},{\"field\":\"order_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"关联订单\"},{\"field\":\"created_by\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"制单人\"},{\"field\":\"phone\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"确认电话\"},{\"field\":\"fax\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"回复传真\"},{\"field\":\"category_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"促销类型\"},{\"field\":\"promoe_method\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"6\",\"content\":null,\"name\":\"促销方式\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"状态\"},{\"field\":\"promote_scope\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"0\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销范围\"},{\"field\":\"pro_method_desc\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销方法描述\"},{\"field\":\"pro_total_cost\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"预估总费用\"},{\"field\":\"apply_fee\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"申请费用\"},{\"field\":\"sale_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"预估销量(元)\"},{\"field\":\"customer_pro_head\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"经销商执行人员\"},{\"field\":\"customer_pro_phone\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"客户执行人电话\"},{\"field\":\"area_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"我司支持费用(元)\"},{\"field\":\"material_review\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"核销资料\"},{\"field\":\"reg_photo\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"3\",\"content\":null,\"name\":\"陈列照片(张)\"},{\"field\":\"reg_other_remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"9\",\"content\":null,\"name\":\"其他核销资料\"}]},{\"title\":null,\"border\":\"undefined\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"promotion_data\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"1\",\"table\":\"undefined\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"促销产品\",\"fields\":[{\"field\":\"product_id\",\"css\":null,\"hidden\":\"1\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品ID\"},{\"field\":\"product_code\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"存货编码\"},{\"field\":\"product_name\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品名称\"},{\"field\":\"product_spec\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"规格型号\"},{\"field\":\"product_barcode\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"产品条码\"},{\"field\":\"product_unit\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"计量单位\"},{\"field\":\"quantity\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"数量\"},{\"field\":\"price\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"单价(元)\"},{\"field\":\"money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"金额(元)\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":null,\"table\":\"promotion_data\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"12\",\"content\":null,\"name\":\"备注\"}]}]},{\"title\":\"审核意见\",\"border\":\"1\",\"type\":\"panel\",\"column\":\"3\",\"fields\":[{\"field\":\"undertake_money\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"公司承担金额(元)\"},{\"field\":\"undertake_ratio\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"公司承担比例(%)\"},{\"field\":\"need_review\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"是否需要核销\"},{\"field\":\"audit_market_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":null,\"col\":\"8\",\"content\":null,\"name\":\"市场助理意见\"},{\"field\":\"audit_market_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"市场助理时间\"},{\"field\":\"audit_province_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"8\",\"content\":null,\"name\":\"省区经理意见\"},{\"field\":\"audit_province_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"省区经理时间\"},{\"field\":\"audit_finance_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":\"0\",\"col\":\"8\",\"content\":null,\"name\":\"客服部负责人意见\"},{\"field\":\"audit_finance_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"客服部负责人时间\"},{\"field\":\"audit_cmo_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"8\",\"content\":null,\"name\":\"营销总监意见\"},{\"field\":\"audit_cmo_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"营销总监时间\"},{\"field\":\"audit_director_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":null,\"col\":\"8\",\"content\":null,\"name\":\"董事办意见\"},{\"field\":\"audit_director_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":\"2,82,83,84,85\",\"role_name\":null,\"custom\":null,\"col\":\"4\",\"content\":null,\"name\":\"董事办时间\"},{\"field\":\"audit_director2_text\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"8\",\"content\":null,\"name\":\"董事长意见\"},{\"field\":\"audit_director2_sign\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":\"1\",\"type\":\"0\",\"table\":\"promotion\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"0\",\"col\":\"4\",\"content\":null,\"name\":\"董事长时间\"}]}]', NULL, 2, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1589493073, 1619897764, NULL, 17, NULL, 'web', 'html');
INSERT INTO `model_template` VALUES (134, 'print', '客户投诉单', 'complaint01', '[{\"title\":null,\"border\":\"1\",\"type\":\"undefined\",\"column\":\"1\",\"fields\":[{\"field\":\"sn\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"单据编号\"},{\"field\":\"created_dt\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"单据日期\"},{\"field\":\"region_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"销售区域\"},{\"field\":\"customer_id\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"客户名称\"},{\"field\":\"status\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"状态\"},{\"field\":\"type\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"投诉类型\"},{\"field\":\"complainant\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"投诉人\"},{\"field\":\"complainant_phone\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"6\",\"content\":null,\"name\":\"投诉人电话\"},{\"field\":\"content\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"投诉内容\"},{\"field\":\"suggest\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"建议改进措施\"},{\"field\":\"remark\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":null,\"col\":\"12\",\"content\":null,\"name\":\"备注\"},{\"field\":\"{flowlog}\",\"css\":null,\"hidden\":\"0\",\"width\":null,\"readonly\":\"0\",\"hide_title\":null,\"type\":\"0\",\"table\":\"customer_complaint\",\"title\":null,\"role_id\":null,\"role_name\":null,\"custom\":\"1\",\"col\":\"12\",\"content\":null,\"name\":\"流程记录\"}]}]', NULL, NULL, 'all', '全体人员', NULL, 1, 1, '系统管理员', '系统管理员', 1589791578, 1619897992, NULL, 92, NULL, NULL, 'html');

-- ----------------------------
-- Table structure for option
-- ----------------------------
DROP TABLE IF EXISTS `option`;
CREATE TABLE `option`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NOT NULL COMMENT '父级编号',
  `lft` int(11) NULL DEFAULT NULL COMMENT '嵌套组左值',
  `rgt` int(11) NULL DEFAULT NULL COMMENT '嵌套组右值',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '菜单名字',
  `value` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '模块名称',
  `system` tinyint(4) NULL DEFAULT NULL COMMENT '菜单类型',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '描述',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_option_lft_rgt`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_option_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 185 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of option
-- ----------------------------
INSERT INTO `option` VALUES (1, 0, 0, 0, '客户联系人类型', 'contact.type', 0, '', 255, 1);
INSERT INTO `option` VALUES (2, 1, 0, 0, '鹰', '1', 0, '', 0, 0);
INSERT INTO `option` VALUES (3, 1, 0, 0, '铜鹰', '2', 0, '', 1, 0);
INSERT INTO `option` VALUES (4, 1, 0, 0, '银鹰', '3', 0, '', 2, 0);
INSERT INTO `option` VALUES (5, 1, 0, 0, '金鹰', '4', 0, '', 3, 0);
INSERT INTO `option` VALUES (6, 1, 0, 0, '鹰皇', '5', 0, '', 4, 0);
INSERT INTO `option` VALUES (25, 0, 0, 0, '性别', 'user.gender', 0, '', 255, 0);
INSERT INTO `option` VALUES (26, 25, 0, 0, '保密', '0', 0, '', 0, 0);
INSERT INTO `option` VALUES (27, 25, 0, 0, '男', '1', 0, '', 1, 0);
INSERT INTO `option` VALUES (28, 25, 0, 0, '女', '2', 0, '', 2, 0);
INSERT INTO `option` VALUES (32, 0, 0, 0, '新闻类别', 'article.category', 0, '', 255, 0);
INSERT INTO `option` VALUES (33, 32, 0, 0, '公告类别1', '1', 0, '', 0, 0);
INSERT INTO `option` VALUES (34, 32, 0, 0, '公告列别2', '2', 0, '', 1, 0);
INSERT INTO `option` VALUES (35, 32, 0, 0, '公告类别3', '3', 0, '', 2, 0);
INSERT INTO `option` VALUES (36, 0, 0, 0, '流程状态', 'flow.status', 0, '', 255, 0);
INSERT INTO `option` VALUES (37, 36, 0, 0, '退回', '-2', 0, '', 3, 0);
INSERT INTO `option` VALUES (38, 36, 0, 0, '草稿', '0', 0, '', 1, 0);
INSERT INTO `option` VALUES (39, 36, 0, 0, '执行中', '2', 0, '', 2, 0);
INSERT INTO `option` VALUES (40, 0, 0, 0, '客户联系人职位', 'contact.post', 0, '', 255, 0);
INSERT INTO `option` VALUES (41, 40, 0, 0, '销售经理', '1', 0, '', 0, 0);
INSERT INTO `option` VALUES (42, 40, 0, 0, 'K/A销售', '2', 0, '', 1, 0);
INSERT INTO `option` VALUES (43, 40, 0, 0, 'BC销售', '3', 0, '', 2, 0);
INSERT INTO `option` VALUES (44, 40, 0, 0, '农贸销售', '4', 0, '', 3, 0);
INSERT INTO `option` VALUES (53, 0, 0, 0, '任务状态', 'task.status', 0, '', 255, 0);
INSERT INTO `option` VALUES (54, 53, 0, 0, '未审核', '0', 0, '', 0, 0);
INSERT INTO `option` VALUES (55, 53, 0, 0, '已审核', '1', 0, '', 1, 0);
INSERT INTO `option` VALUES (56, 53, 0, 0, '已驳回', '2', 0, '', 2, 0);
INSERT INTO `option` VALUES (73, 0, 0, 0, '促销类别', 'promotion.type', 0, '', 255, 0);
INSERT INTO `option` VALUES (74, 73, 0, 0, '其他费用', '3', 0, '', 3, 0);
INSERT INTO `option` VALUES (75, 73, 0, 0, '赠品促销', '2', 0, '', 2, 0);
INSERT INTO `option` VALUES (76, 73, 0, 0, '物资促销', '1', 0, '', 1, 0);
INSERT INTO `option` VALUES (77, 0, 0, 0, '请假类型', 'leave.type', 0, '', 255, 0);
INSERT INTO `option` VALUES (78, 77, 0, 0, '事假', '1', 0, '', 255, 0);
INSERT INTO `option` VALUES (79, 77, 0, 0, '年假', '2', 0, '', 255, 0);
INSERT INTO `option` VALUES (80, 77, 0, 0, '病假', '3', 0, '', 255, 0);
INSERT INTO `option` VALUES (81, 77, 0, 0, '调休', '4', 0, '', 255, 0);
INSERT INTO `option` VALUES (82, 0, 0, 0, '用户职位', 'user.position', 0, '', 255, 0);
INSERT INTO `option` VALUES (83, 82, 0, 0, '总经理', '1', 0, '', 1, 0);
INSERT INTO `option` VALUES (84, 82, 0, 0, '员工', '3', 0, '', 3, 0);
INSERT INTO `option` VALUES (85, 82, 0, 0, '董事长', '4', 0, '', 0, 0);
INSERT INTO `option` VALUES (109, 0, 0, 0, '工作管理类别', 'manage.category', 0, '', 255, 0);
INSERT INTO `option` VALUES (110, 109, 0, 0, '采购供应商', '1', 0, '', 255, 0);
INSERT INTO `option` VALUES (111, 109, 0, 0, '营销经销商', '2', 0, '', 255, 0);
INSERT INTO `option` VALUES (112, 109, 0, 0, '物品管理', '3', 0, '', 255, 0);
INSERT INTO `option` VALUES (118, 109, 0, 0, '费用管理', '4', 0, '', 255, 0);
INSERT INTO `option` VALUES (120, 109, 0, 0, '目标计划', '5', 0, '', 255, 0);
INSERT INTO `option` VALUES (121, 109, 0, 0, '工作日', '6', 0, '', 255, 0);
INSERT INTO `option` VALUES (122, 109, 0, 0, '项目与执行', '7', 0, '', 255, 0);
INSERT INTO `option` VALUES (123, 109, 0, 0, '复盘与总结', '8', 0, '', 255, 0);
INSERT INTO `option` VALUES (124, 109, 0, 0, '人事与行为', '9', 0, '', 255, 0);
INSERT INTO `option` VALUES (125, 109, 0, 0, '产品与品质', '10', 0, '', 255, 0);
INSERT INTO `option` VALUES (126, 109, 0, 0, '问题与改善', '11', 0, '', 255, 0);
INSERT INTO `option` VALUES (127, 82, 0, 0, '经理', '2', 0, '', 2, 0);
INSERT INTO `option` VALUES (135, 0, 0, 0, '库存销售类型', 'stock.sale.type', 0, '', 255, 0);
INSERT INTO `option` VALUES (136, 135, 0, 0, '销售', '01', 0, '', 255, 0);
INSERT INTO `option` VALUES (137, 135, 0, 0, '陈列品销售', '05', 0, '', 255, 0);
INSERT INTO `option` VALUES (138, 135, 0, 0, '样品', '03', 0, '', 255, 0);
INSERT INTO `option` VALUES (139, 0, 0, 0, '重要等级', 'important.grade', 0, '', 255, 0);
INSERT INTO `option` VALUES (140, 139, 0, 0, '普通', '1', 0, '', 255, 0);
INSERT INTO `option` VALUES (141, 139, 0, 0, '重要', '2', 0, '', 255, 0);
INSERT INTO `option` VALUES (142, 139, 0, 0, '紧急', '3', 0, '', 255, 0);
INSERT INTO `option` VALUES (150, 0, 0, 0, '启用禁用', 'common.status', 0, '', 255, 0);
INSERT INTO `option` VALUES (151, 150, 0, 0, '启用', '1', 0, '', 255, 0);
INSERT INTO `option` VALUES (152, 150, 0, 0, '禁用', '0', 0, '', 255, 0);
INSERT INTO `option` VALUES (164, 36, 0, 0, '生效', '1', 0, '', 0, 0);
INSERT INTO `option` VALUES (165, 36, 0, 0, '撤回', '-1', 0, '', 4, 0);
INSERT INTO `option` VALUES (166, 36, 0, 0, '弃审', '-3', 0, '', 5, 0);
INSERT INTO `option` VALUES (167, 135, 0, 0, '销售退货', '04', 0, '', 255, 0);
INSERT INTO `option` VALUES (168, 135, 0, 0, '管理部门赠品', '02', 0, '', 255, 0);
INSERT INTO `option` VALUES (169, 135, 0, 0, '食堂领用', '06', 0, '', 255, 0);
INSERT INTO `option` VALUES (170, 0, 0, 0, '审核状态', 'audit.status', 0, '', 255, 0);
INSERT INTO `option` VALUES (171, 170, 0, 0, '草稿', '0', 0, '', 255, 0);
INSERT INTO `option` VALUES (172, 170, 0, 0, '生效', '1', 0, '', 255, 0);
INSERT INTO `option` VALUES (173, 36, NULL, NULL, '关闭', '-4', NULL, NULL, 6, 1);
INSERT INTO `option` VALUES (174, 0, NULL, NULL, '角色数据权限', 'role.access', NULL, NULL, NULL, NULL);
INSERT INTO `option` VALUES (175, 174, NULL, NULL, '本人', 'me', NULL, NULL, NULL, 1);
INSERT INTO `option` VALUES (176, 174, NULL, NULL, '本人和下属', 'me2', NULL, NULL, NULL, 1);
INSERT INTO `option` VALUES (177, 174, NULL, NULL, '本部门', 'dept', NULL, NULL, NULL, 1);
INSERT INTO `option` VALUES (178, 174, NULL, NULL, '本部门和下级部门', 'dept2', NULL, NULL, NULL, 1);
INSERT INTO `option` VALUES (179, 174, NULL, NULL, '本销售组', 'team', NULL, NULL, NULL, 1);
INSERT INTO `option` VALUES (180, 174, NULL, NULL, '本销售组和下级销售组', 'team2', NULL, NULL, NULL, 1);
INSERT INTO `option` VALUES (181, 174, NULL, NULL, '全部', 'all', NULL, NULL, NULL, 1);
INSERT INTO `option` VALUES (182, 0, NULL, NULL, '通用是否', 'common.yesno', NULL, NULL, NULL, 1);
INSERT INTO `option` VALUES (183, 182, NULL, NULL, '是', '1', NULL, NULL, NULL, 1);
INSERT INTO `option` VALUES (184, 182, NULL, NULL, '否', '0', NULL, NULL, NULL, 1);

-- ----------------------------
-- Table structure for produce_data
-- ----------------------------
DROP TABLE IF EXISTS `produce_data`;
CREATE TABLE `produce_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `product_id` int(11) NOT NULL COMMENT '产品编号',
  `quantity` decimal(18, 4) NULL DEFAULT NULL COMMENT '库存数量',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `date` date NULL DEFAULT NULL COMMENT '业务日期',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_produce_data_date`(`date`) USING BTREE,
  INDEX `idx_produce_data_product_id`(`product_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 716 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of produce_data
-- ----------------------------

-- ----------------------------
-- Table structure for produce_plan
-- ----------------------------
DROP TABLE IF EXISTS `produce_plan`;
CREATE TABLE `produce_plan`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `status` smallint(6) NOT NULL DEFAULT 0 COMMENT '状态',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `date` date NULL DEFAULT NULL COMMENT '业务日期',
  `type` tinyint(4) NULL DEFAULT NULL COMMENT '计划类型',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_produce_plan_date`(`date`) USING BTREE,
  INDEX `idx_produce_plan_sn`(`sn`) USING BTREE,
  INDEX `idx_produce_plan_type`(`type`) USING BTREE,
  INDEX `idx_produce_plan_status`(`status`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of produce_plan
-- ----------------------------

-- ----------------------------
-- Table structure for produce_plan_data
-- ----------------------------
DROP TABLE IF EXISTS `produce_plan_data`;
CREATE TABLE `produce_plan_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `plan_id` int(11) NOT NULL COMMENT '产品库存编号',
  `product_id` int(11) NOT NULL COMMENT '产品编号',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  `date` date NULL DEFAULT NULL COMMENT '业务日期',
  `stock_num` decimal(20, 2) NULL DEFAULT NULL COMMENT '当前库存',
  `dphz_num` decimal(20, 2) NULL DEFAULT NULL COMMENT '单品汇总',
  `xqzc_num` decimal(20, 2) NULL DEFAULT NULL COMMENT '需求总差',
  `dkzc_num` decimal(20, 2) NULL DEFAULT NULL COMMENT '打款差额',
  `waitin_num` decimal(10, 2) NULL DEFAULT NULL COMMENT '待入库',
  `fhjh_num` decimal(10, 2) NULL DEFAULT NULL COMMENT '发货计划',
  `yxjh_num` decimal(10, 2) NULL DEFAULT NULL COMMENT '后天营销',
  `plan_num` decimal(10, 2) NULL DEFAULT NULL COMMENT '后天计划',
  `plan_num1` decimal(10, 2) NULL DEFAULT NULL COMMENT '明天计划',
  `plan_num2` decimal(10, 2) NULL DEFAULT NULL COMMENT '今天计划',
  `yxjh_num1` decimal(10, 2) NULL DEFAULT NULL COMMENT '明天营销',
  `yxjh_num2` decimal(10, 2) NULL DEFAULT NULL COMMENT '今天营销',
  `bgh_num` decimal(10, 2) NULL DEFAULT NULL COMMENT '变更后数据',
  `ljrk_num` decimal(10, 2) NULL DEFAULT NULL COMMENT '月累计入库',
  `syfh_num` decimal(10, 2) NULL DEFAULT NULL COMMENT '上月发货量',
  `department_id` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '车间名称',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '外贸生产批号',
  `bg_num` decimal(10, 2) NULL DEFAULT NULL COMMENT '变更数据',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_produce_plan_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_produce_plan_data_plan_id`(`plan_id`) USING BTREE,
  INDEX `idx_produce_plan_data_department_id`(`department_id`) USING BTREE,
  INDEX `idx_produce_plan_data_batch_sn`(`batch_sn`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of produce_plan_data
-- ----------------------------

-- ----------------------------
-- Table structure for product
-- ----------------------------
DROP TABLE IF EXISTS `product`;
CREATE TABLE `product`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `category_id` int(11) NOT NULL COMMENT '产品类别',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '产品名称',
  `spec` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '产品规格',
  `price1` decimal(10, 4) NULL DEFAULT NULL COMMENT '内销价',
  `price2` decimal(10, 4) NULL DEFAULT NULL COMMENT '外贸价',
  `price3` decimal(10, 4) NULL DEFAULT NULL COMMENT '直营价',
  `price4` decimal(10, 4) NULL DEFAULT NULL COMMENT '销售(k/a)价格',
  `image` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '产品照片',
  `weight` decimal(10, 4) NULL DEFAULT NULL COMMENT '毛重(kg)',
  `barcode` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '产品条码',
  `code` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '存货编码',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '产品状态',
  `carton_size` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '外箱尺寸',
  `carton_barcode` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '外箱条码',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '添加时间',
  `net_weight` decimal(10, 4) NULL DEFAULT NULL COMMENT '净重(kg)',
  `unit_id` int(11) NULL DEFAULT NULL COMMENT '计量单位',
  `min_quantity` tinyint(4) NULL DEFAULT NULL COMMENT '最低库存',
  `freight_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '运费单价',
  `images` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '产品图片',
  `product_type` tinyint(4) NULL DEFAULT NULL COMMENT '是产成品',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `is_special` tinyint(4) NULL DEFAULT NULL COMMENT '特殊类型',
  `is_freight` tinyint(4) NULL DEFAULT NULL COMMENT '计算运费',
  `is_execute` tinyint(4) NULL DEFAULT NULL COMMENT '统计执行',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '生产车间',
  `price5` decimal(10, 4) NULL DEFAULT NULL COMMENT '帐期直营价',
  `price6` decimal(10, 4) NULL DEFAULT NULL COMMENT '现金直营价',
  `material_type` tinyint(4) NULL DEFAULT NULL COMMENT '物料类型',
  `scale_quantity` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '下单倍数',
  `mini_quantity` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '最低下单数',
  `is_sale` tinyint(4) NULL DEFAULT 0 COMMENT '销售',
  `is_purchase` tinyint(4) NULL DEFAULT NULL COMMENT '采购',
  `is_produce_plan` tinyint(4) NULL DEFAULT NULL COMMENT '生产计划',
  `purchase_price` decimal(20, 4) NULL DEFAULT NULL COMMENT '采购单价',
  `purchase_tax_rate` tinyint(3) NULL DEFAULT NULL COMMENT '采购税率',
  `is_export` tinyint(3) NULL DEFAULT NULL COMMENT '出口',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_product_department_id`(`department_id`) USING BTREE,
  INDEX `idx_product_status`(`status`) USING BTREE,
  INDEX `idx_product_name`(`name`) USING BTREE,
  INDEX `idx_product_category_id`(`category_id`) USING BTREE,
  INDEX `idx_product_product_type`(`product_type`) USING BTREE,
  INDEX `idx_product_material_type`(`material_type`) USING BTREE,
  INDEX `idx_product_code`(`code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20427 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品列表表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of product
-- ----------------------------
INSERT INTO `product` VALUES (1445, 20034, '爽口下饭菜', '270g*12瓶', 66.0000, 0.0000, 0.0000, 0.0000, NULL, 6.1200, '6937082282014', '105001', 0, 1, '', '', '系统管理员', 1620951294, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2021/03/20090156_srhu.png', 1, NULL, 0, 1, 1, 25, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, 0.0000, NULL, NULL);
INSERT INTO `product` VALUES (1446, 232, '学生下饭菜', '270g*12瓶', 66.0000, 0.0000, 0.0000, 0.0000, NULL, 6.1200, '6937082282021', '105002', 0, 1, '', '', '赖春萍', 1592270271, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/06/16091647_nxne.png', 1, NULL, 0, 1, 1, 25, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1447, 232, '香辣萝卜', '270g*12瓶', 62.4000, 0.0000, 0.0000, 0.0000, NULL, 6.1200, '6937082282038', '105003', 255, 0, NULL, NULL, '甘小艳', 1586140853, NULL, 0, 6.1200, 103, 0, 0.00, NULL, 1, NULL, 0, 1, 1, 25, 0.0000, 0.0000, 0, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1448, 232, '黄花什锦', '270g*12瓶', 66.0000, 0.0000, 0.0000, 0.0000, NULL, 6.1200, '6937082282045', '105004', 0, 1, '', '', '赖春萍', 1592270342, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/06/16091836_ewte.png', 1, NULL, 0, 1, 1, 25, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1449, 232, '香辣菜', '270g*12瓶', 62.4000, 0.0000, 0.0000, 0.0000, NULL, 6.1200, '6937082282052', '105005', 255, 0, NULL, NULL, '赖春萍', 1589953874, NULL, 0, 6.1200, 103, 0, 0.00, NULL, 1, NULL, 0, 1, 1, 25, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1450, 232, '四川泡菜', '270g*12瓶', 66.0000, 0.0000, 0.0000, 0.0000, NULL, 6.1200, '6937082282069', '105006', 0, 1, '', '', '赖春萍', 1592270422, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/06/16092001_nkq9.png', 1, NULL, 0, 1, 1, 25, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1451, 232, '脆豇豆', '270g*12瓶', 66.0000, 0.0000, 0.0000, 0.0000, NULL, 6.1200, '6937082282076', '105007', 0, 1, '', '', '赖春萍', 1592270489, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/06/16092056_k5c5.png', 1, NULL, 0, 1, 1, 25, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1539, 242, '学生榨菜丝', '93g*50袋', 75.0000, 0.0000, 0.0000, 0.0000, NULL, 5.2500, '6937082262023', '115001', 0, 1, '', '', '任亚芬', 1590478067, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/01/14103643_rvfm.png', 1, NULL, 0, 1, 1, 26, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1540, 242, '学生口口脆', '93g*50袋', 75.0000, 0.0000, 0.0000, 0.0000, NULL, 5.2500, '6937082262016', '115002', 0, 1, '', '', '任亚芬', 1590478078, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/01/14103627_cwj9.png', 1, NULL, 0, 1, 1, 26, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1541, 242, '学生下饭菜', '93g*50袋', 75.0000, 0.0000, 0.0000, 0.0000, NULL, 5.2500, '6937082262009', '115003', 0, 1, '', '', '任亚芬', 1590478088, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/01/14103635_iryw.png', 1, NULL, 0, 1, 1, 26, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1542, 242, '学生萝卜干', '93g*50袋', 75.0000, 0.0000, 0.0000, 0.0000, NULL, 5.2500, '6937082262047', '115004', 0, 1, '', '', '任亚芬', 1590478097, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/01/14103630_b1bm.png', 1, NULL, 0, 1, 1, 26, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1543, 242, '学生海带', '93g*50袋', 75.0000, 0.0000, 0.0000, 0.0000, NULL, 5.2500, '6937082262030', '115005', 0, 1, '', '', '任亚芬', 1590478107, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/01/14103624_mkqz.png', 1, NULL, 0, 1, 1, 25, 0.0000, 0.0000, 0, '10', '10', 1, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1600, 253, '下饭酱', '200g*20瓶', 130.0000, 0.0000, 0.0000, 0.0000, NULL, 8.7500, '6937082280218', '201002', 0, 1, '', '', '赖春萍', 1589953459, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/01/14112113_ablg.png', 1, NULL, 0, 1, 1, 0, 0.0000, 0.0000, 0, '10', '10', 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1601, 253, '风味豆豉', '210g*20瓶', 105.0000, 0.0000, 0.0000, 0.0000, NULL, 8.9500, '6937082280157', '201003', 0, 0, '', '', '1', 1578976568, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/01/14112012_rklb.png', 1, '', 0, 1, 1, 0, 0.0000, 0.0000, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1602, 253, '豆豉辣子鸡', '210g*20瓶', 110.0000, 0.0000, 0.0000, 0.0000, NULL, 8.8000, '6937082280164', '201004', 255, 0, NULL, NULL, '0', 0, NULL, 0, 8.8000, 103, 0, 0.00, '', 1, '', 0, 1, 1, 0, 0.0000, 0.0000, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1603, 253, '油辣子', '200g*20瓶', 110.0000, 0.0000, 0.0000, 0.0000, NULL, 8.6000, '6937082280201', '201005', 255, 0, NULL, NULL, '0', 0, NULL, 0, 8.6000, 103, 0, 0.00, '', 1, '', 0, 1, 1, 0, 0.0000, 0.0000, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1604, 253, '牛肉豆豉', '210g*20瓶', 110.0000, 0.0000, 0.0000, 0.0000, NULL, 8.9500, '6937082280171', '201006', 255, 0, NULL, NULL, '0', 0, NULL, 0, 8.9500, 103, 0, 0.00, '', 1, '', 0, 1, 1, 0, 0.0000, 0.0000, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (1605, 253, '牛肉酱', '210g*20瓶', 140.0000, 0.0000, 0.0000, 0.0000, NULL, 8.9500, '6937082280188', '201007', 0, 0, '', '', '1', 1578976549, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/01/14112016_ybxp.png', 1, '', 0, 1, 1, 0, 0.0000, 0.0000, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (2157, 225, '003 GX-大褂', '蓝色', 14.0000, 14.0000, 14.0000, 0.0000, NULL, 0.0000, NULL, '710003', 255, 0, NULL, NULL, '系统管理员', 1587452115, NULL, 0, 0.0000, 103, 0, 0.00, NULL, 0, NULL, 0, 1, 0, 0, 14.0000, 0.0000, 1, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (2164, 225, '010 TC-挂网', '10套（含KT板）/件', 19.0000, 19.0000, 19.0000, 0.0000, NULL, 0.0000, NULL, '710010', 255, 1, NULL, NULL, '赖春萍', 1587708349, NULL, 0, 0.0000, 109, 0, 0.00, NULL, 0, NULL, 0, 1, 0, 0, 19.0000, 0.0000, 1, '10', '10', 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (2166, 225, '012 TC-挂条', '50根/把', 0.5000, 0.5000, 0.5000, 0.0000, NULL, 0.0000, NULL, '710012', 255, 1, NULL, NULL, '赖春萍', 1587708388, NULL, 0, 0.0000, 107, 0, 0.00, NULL, 0, NULL, 0, 1, 0, 0, 0.5000, 0.0000, 1, '50', '50', 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (2195, 225, '041 GX-竹筷', '10双/桌', 0.0000, 0.0000, 0.0000, 0.0000, NULL, 0.0000, '', '710041', 255, 0, NULL, NULL, '0', 0, NULL, 0, 0.0000, 109, 0, 0.00, '', 0, '', 0, 1, 0, 0, 0.0000, 0.0000, 2, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20053, 225, '011 GX-标识扇子', '50把/捆', 0.0000, 0.0000, 0.0000, 0.0000, NULL, 0.0000, NULL, '710011', 255, 0, NULL, NULL, '赖春萍', 1589004216, NULL, 0, 0.0000, 112, 0, 0.00, NULL, 0, NULL, 0, 1, 0, 0, 0.0000, 0.0000, 2, '50', '50', 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20226, 20017, '折扣额', '', 0.0000, 0.0000, 0.0000, 0.0000, NULL, 0.0000, '', '99001', 0, 1, NULL, NULL, '1', 1579566657, NULL, 0, 0.0000, 20009, 0, 0.00, '', 0, '', 0, 0, 0, 0, 0.0000, 0.0000, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20290, 20023, '爽口下饭菜', '273g*12瓶', 62.4000, 0.0000, 0.0000, 0.0000, NULL, 6.1000, '6937082282847', '501001', 255, 0, NULL, NULL, '任亚芬', 1587031005, NULL, 0, 6.1000, 103, 0, 0.00, NULL, 1, NULL, 0, 1, 1, 0, 0.0000, 0.0000, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20291, 20023, '脆豇豆', '273g*12瓶', 62.4000, 0.0000, 0.0000, 0.0000, NULL, 6.1000, '6937082282854', '501002', 255, 0, NULL, NULL, '任亚芬', 1587030987, NULL, 0, 6.1000, 103, 0, 0.00, NULL, 1, NULL, 0, 1, 1, 25, 0.0000, 0.0000, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20338, 20023, '四川泡菜', '273g*12瓶', 62.4000, 0.0000, 0.0000, 0.0000, NULL, 6.1000, '6937082282984', '501003', 0, 0, NULL, NULL, '任亚芬', 1587030976, NULL, 0, 0.0000, 103, 0, 0.00, NULL, 1, NULL, 0, 1, 0, 0, 0.0000, 0.0000, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20339, 20017, '味聚特麻辣萝卜', '273g*12瓶', 62.4000, 0.0000, 0.0000, 0.0000, NULL, 6.1000, '6937082282977', '501004', 0, 0, NULL, NULL, '系统管理员', 1614446179, NULL, 0, 0.0000, 103, 0, 0.00, NULL, 1, NULL, 0, 1, 0, 0, 0.0000, 0.0000, 0, NULL, NULL, 1, 0, 1, 0.0000, NULL, 1);
INSERT INTO `product` VALUES (20361, 232, '木耳下饭菜', '270g*12瓶', 66.0000, 0.0000, 0.0000, 0.0000, NULL, 6.1200, '6937082283028', '105008', 0, 1, '', '', '系统管理员', 1615916900, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/06/16092206_11te.png', 1, NULL, 0, 1, 0, 25, 0.0000, 0.0000, 0, '10', '10', 0, NULL, NULL, 0.0000, NULL, NULL);
INSERT INTO `product` VALUES (20362, 232, '爽口开味菜', '270g*12瓶', 66.0000, 0.0000, 0.0000, 0.0000, NULL, 6.1200, '6937082283035', '105009', 0, 1, '', '', '赖春萍', 1592270602, NULL, 0, 0.0000, 103, 0, 0.00, 'media/2020/06/16092259_oqdp.png', 1, NULL, 0, 1, 0, 25, 0.0000, 0.0000, 0, '10', '10', 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20405, 20033, '牛肉酱', '208g*20瓶', 140.0000, NULL, NULL, NULL, NULL, 8.9500, '6937082280188', '209001', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 103, NULL, NULL, NULL, 1, NULL, 0, 1, 0, NULL, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20406, 20033, '风味豆豉', '208g*20瓶', 105.0000, NULL, NULL, NULL, NULL, 8.9500, '6937082280157', '209002', NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 103, NULL, NULL, NULL, 1, NULL, 0, 1, 0, NULL, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20409, 20034, '口口脆榨菜', '158g*40袋', 92.0000, 0.0000, 0.0000, NULL, NULL, 7.2000, '6937082283066', '158001', NULL, 1, NULL, NULL, '任亚芬', 1590476898, NULL, NULL, NULL, 103, NULL, 0.00, NULL, 1, NULL, 0, 1, 0, 26, 0.0000, NULL, 0, '10', '10', 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20410, 20034, '脆口榨菜', '158g*40袋', 92.0000, 0.0000, 0.0000, NULL, NULL, 7.2000, '6937082283165', '158002', NULL, 1, NULL, NULL, '任亚芬', 1590476911, NULL, NULL, NULL, 103, NULL, 0.00, NULL, 1, NULL, 0, 1, 0, 26, 0.0000, NULL, 0, '10', '10', 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20411, 20034, '脆口萝卜', '158g*40袋', 92.0000, 0.0000, 0.0000, NULL, NULL, 7.2000, '6937082283189', '158003', NULL, 1, NULL, NULL, '任亚芬', 1590476922, NULL, NULL, NULL, 103, NULL, 0.00, NULL, 1, NULL, 0, 1, 0, 26, 0.0000, NULL, 0, '10', '10', 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20425, 253, '香菇牛肉酱', '210g*12瓶', 102.0000, 0.0000, 0.0000, NULL, NULL, 5.3200, '6937082283240', '201009', NULL, 1, NULL, NULL, '赖春萍', 1591150561, '赖春萍', 1589428073, NULL, 103, NULL, 0.00, 'media/2020/05/22034030_c3zq.png\nmedia/2020/05/22034023_kk0i.png', 1, NULL, 0, 1, 1, 0, 0.0000, NULL, 0, '10', '10', 0, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `product` VALUES (20426, 253, '香辣牛肉酱', '210g*12瓶', 102.0000, 0.0000, 0.0000, NULL, NULL, 5.3200, '6937082283233', '201010', NULL, 1, NULL, NULL, '赖春萍', 1591150575, '赖春萍', 1589428368, NULL, 103, NULL, 0.00, 'media/2020/05/22034122_e5bx.png\nmedia/2020/05/22034111_8iwv.png', 1, NULL, 0, 1, 1, 0, 0.0000, NULL, 0, '10', '10', 0, NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for product_category
-- ----------------------------
DROP TABLE IF EXISTS `product_category`;
CREATE TABLE `product_category`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NOT NULL COMMENT '父类编号',
  `lft` int(11) NULL DEFAULT NULL COMMENT '嵌套组左值',
  `rgt` int(11) NULL DEFAULT NULL COMMENT '嵌套组右值',
  `type` tinyint(4) NULL DEFAULT NULL COMMENT '列别类型',
  `code` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '分类代码',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '分类名称',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `path` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '路径',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_id` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_product_category_lft_rgt`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_product_category_parent_id`(`parent_id`) USING BTREE,
  INDEX `idx_product_category_name`(`name`) USING BTREE,
  INDEX `idx_product_category_type`(`type`) USING BTREE,
  INDEX `idx_product_category_code`(`code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20035 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of product_category
-- ----------------------------
INSERT INTO `product_category` VALUES (1, 0, 1, 32, 1, '0', '存货分类', NULL, 1, NULL, NULL, NULL, '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (173, 1, 10, 25, 2, '03', '包装物', 2, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (174, 173, 11, 12, 2, '0301', '包装袋', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (194, 173, 13, 16, 2, '0302', '纸箱', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (195, 194, 14, 15, 2, '030201', '60克系列', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (218, 173, 17, 18, 2, '0303', '玻瓶', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (219, 173, 19, 20, 2, '0304', '瓶盖', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (220, 173, 21, 22, 2, '0305', '标签', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (221, 173, 23, 24, 2, '0306', '胶粘带', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (224, 1, 26, 29, 0, '07', '低值易耗品', 255, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (225, 224, 27, 28, 1, '0710', '宣传品', 254, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (226, 1, 2, 9, 1, '10', '产成品', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (253, 226, 5, 6, 1, '100201', '210克辣酱系列', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (20017, 1, 30, 31, 1, '99', '其他', 255, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (20023, 226, 7, 8, 1, '100501', '淘乡甜系列', 1, 1, NULL, 0, '0', '系统管理员', 1613463762, NULL, 1);
INSERT INTO `product_category` VALUES (20034, 226, 3, 4, 1, '100133', '158充氮系列', NULL, 1, NULL, NULL, NULL, '系统管理员', 1613463762, NULL, 1);

-- ----------------------------
-- Table structure for product_formula
-- ----------------------------
DROP TABLE IF EXISTS `product_formula`;
CREATE TABLE `product_formula`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `product_id` int(11) NULL DEFAULT NULL,
  `material_id` int(11) NULL DEFAULT NULL,
  `quantity` decimal(18, 2) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL,
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `ratio` decimal(18, 3) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL,
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_product_formula_product_id`(`product_id`) USING BTREE,
  INDEX `idx_product_formula_material_id`(`material_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1098 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of product_formula
-- ----------------------------
INSERT INTO `product_formula` VALUES (1, 1433, 15, 5.70, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (2, 1433, 30, 0.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (4, 1434, 15, 5.80, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (5, 1434, 30, 0.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (7, 1436, 15, 5.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (9, 1436, 30, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (15, 1551, 1, 2.40, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (16, 1555, 1, 0.95, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (17, 1556, 1, 5.05, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (18, 1554, 1, 2.21, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (19, 1566, 1, 2.35, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (20, 1569, 1, 0.93, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (22, 1568, 1, 2.16, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (23, 1544, 1, 2.00, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (24, 1545, 1, 2.30, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (25, 20038, 1, 0.91, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (26, 1547, 1, 2.84, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (27, 1549, 1, 5.05, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (28, 1548, 1, 2.14, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (31, 1521, 1, 3.00, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (32, 20237, 1, 3.00, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (45, 1539, 2, 4.50, 1, NULL, 0.560, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (55, 1477, 26, 0.07, 1, NULL, 0.000, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (56, 1486, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (59, 20013, 5, 4.50, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (60, 20034, 5, 4.50, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (61, 20033, 2, 4.50, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (62, 20012, 2, 4.50, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (67, 20014, 18, 0.31, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (68, 20035, 18, 0.31, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (71, 20015, 12, 3.95, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (72, 20036, 12, 3.95, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (73, 20223, 1, 2.90, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (74, 20223, 10, 1.65, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (75, 20223, 18, 0.47, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (76, 20223, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (78, 1475, 3, 5.44, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (79, 1484, 3, 2.72, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (80, 20219, 3, 5.44, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (81, 20174, 3, 5.44, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (82, 20222, 11, 5.22, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (83, 1480, 11, 5.22, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (84, 1489, 11, 2.61, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (85, 20186, 11, 5.22, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (86, 1480, 26, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (87, 1489, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (88, 20222, 26, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (89, 20186, 26, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (94, 1655, 3, 3.10, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (95, 1666, 3, 6.20, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (96, 1490, 3, 6.20, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (97, 1503, 3, 3.10, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (98, 20045, 3, 6.20, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (99, 20236, 3, 6.20, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (100, 20249, 3, 6.20, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (101, 1516, 3, 6.20, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (102, 20019, 3, 6.20, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (103, 1544, 10, 1.86, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (104, 1545, 10, 1.96, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (105, 1547, 10, 1.72, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (106, 1548, 10, 1.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (107, 20038, 16, 3.19, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (108, 20038, 18, 0.46, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (109, 1544, 18, 0.37, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (110, 1545, 18, 0.49, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (111, 1546, 19, 4.66, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (112, 1797, 21, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (113, 1683, 21, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (114, 1677, 21, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (115, 1631, 21, 0.15, 1, NULL, 0.000, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (116, 20242, 21, 0.16, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (117, 20241, 21, 0.16, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (118, 20017, 21, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (119, 1566, 21, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (120, 1559, 21, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (121, 1551, 21, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (122, 1545, 21, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (123, 1469, 21, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (124, 1448, 21, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (125, 1455, 21, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (126, 1460, 21, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (127, 1464, 21, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (128, 1551, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (129, 1545, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (130, 1559, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (131, 1566, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (132, 20017, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (133, 1683, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (134, 1797, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (135, 1631, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (136, 1559, 18, 0.51, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (137, 1551, 18, 0.51, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (138, 1566, 18, 0.50, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (139, 20017, 18, 0.50, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (140, 1631, 18, 0.51, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (141, 1683, 18, 0.50, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (142, 1797, 18, 0.49, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (143, 1551, 10, 2.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (144, 1559, 10, 2.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (145, 1566, 10, 2.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (146, 20017, 10, 2.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (147, 1631, 10, 2.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (148, 1683, 10, 2.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (149, 1797, 10, 1.96, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (150, 1558, 1, 2.53, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (151, 1550, 1, 2.53, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (152, 20016, 1, 2.50, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (153, 1636, 1, 2.53, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (154, 1684, 1, 2.50, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (155, 1544, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (156, 1550, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (157, 1558, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (158, 1565, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (159, 20016, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (160, 1636, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (161, 1684, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (162, 1550, 18, 0.39, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (163, 1558, 18, 0.39, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (164, 1565, 18, 0.38, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (165, 20016, 18, 0.38, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (166, 1636, 18, 0.39, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (167, 1684, 18, 0.38, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (168, 1550, 10, 1.94, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (169, 1558, 10, 1.94, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (170, 1565, 10, 1.92, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (171, 20016, 10, 1.92, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (172, 1636, 10, 1.94, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (173, 1684, 10, 1.92, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (174, 1552, 19, 4.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (175, 1560, 19, 4.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (176, 1567, 19, 4.80, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (177, 20018, 19, 4.80, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (178, 1633, 19, 4.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (179, 1681, 19, 4.80, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (180, 20255, 19, 4.66, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (181, 1552, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (182, 1560, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (183, 1567, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (184, 20018, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (185, 1633, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (186, 1681, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (187, 20255, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (188, 1546, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (189, 20257, 1, 2.84, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (190, 20257, 10, 1.72, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (191, 1547, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (192, 20257, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (193, 1634, 1, 0.95, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (194, 1685, 1, 0.93, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (195, 20259, 1, 0.91, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (196, 1555, 16, 3.33, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (197, 1569, 16, 3.26, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (198, 1634, 16, 3.33, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (199, 1685, 16, 3.26, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (200, 20259, 16, 3.19, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (201, 1555, 18, 0.48, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (202, 1569, 18, 0.47, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (203, 1634, 18, 0.48, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (204, 1685, 18, 0.47, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (205, 20259, 18, 0.46, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (206, 20038, 26, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (207, 1555, 26, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (208, 1569, 26, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (209, 1634, 26, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (210, 1685, 26, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (211, 20259, 26, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (212, 20038, 28, 0.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (213, 1555, 28, 0.19, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (214, 1569, 28, 0.19, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (215, 1634, 28, 0.19, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (216, 1685, 28, 0.19, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (217, 20259, 28, 0.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (218, 20038, 32, 0.46, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (219, 1555, 32, 0.48, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (220, 1569, 32, 0.47, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (221, 1634, 32, 0.48, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (222, 1685, 32, 0.47, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (223, 20259, 32, 0.46, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (224, 20038, 35, 0.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (225, 1555, 35, 0.19, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (226, 1569, 35, 0.19, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (227, 1634, 35, 0.19, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (228, 1685, 35, 0.19, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (229, 20259, 35, 0.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (230, 1562, 1, 2.21, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (231, 1632, 1, 2.21, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (232, 1682, 1, 2.16, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (233, 20256, 1, 2.14, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (234, 1554, 10, 1.96, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (235, 1562, 10, 1.96, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (236, 1568, 10, 1.92, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (237, 1632, 10, 1.96, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (238, 1682, 10, 1.92, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (239, 20256, 10, 1.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (240, 20256, 20, 0.71, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (241, 1682, 20, 0.72, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (242, 1632, 20, 0.74, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (243, 1568, 20, 0.72, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (244, 1562, 20, 0.74, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (245, 1554, 20, 0.74, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (246, 1548, 20, 0.71, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (247, 1548, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (248, 1554, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (249, 1562, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (250, 1568, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (251, 1632, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (252, 1682, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (253, 20256, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (254, 20255, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (255, 1681, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (256, 1633, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (257, 20018, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (258, 1567, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (259, 1560, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (260, 1552, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (261, 1546, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (262, 1563, 1, 5.05, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (263, 20046, 1, 5.05, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (264, 1637, 1, 5.05, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (265, 20258, 1, 5.05, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (266, 1549, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (267, 1556, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (268, 1563, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (269, 20046, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (270, 1637, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (271, 20258, 26, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (272, 1553, 9, 5.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (273, 1561, 9, 5.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (274, 1635, 9, 5.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (275, 1553, 26, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (276, 1561, 26, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (277, 1635, 26, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (278, 1570, 1, 2.67, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (279, 1686, 1, 2.67, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (280, 1570, 10, 1.70, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (281, 1686, 10, 1.70, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (282, 1570, 18, 0.49, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (283, 1686, 18, 0.49, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (284, 1686, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (285, 1570, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (286, 1570, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (287, 1686, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (288, 1549, 35, 0.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (289, 1556, 35, 0.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (290, 1563, 35, 0.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (291, 20046, 35, 0.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (292, 1637, 35, 0.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (293, 20258, 35, 0.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (294, 1544, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (295, 1550, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (296, 1558, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (297, 1565, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (298, 20016, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (299, 1636, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (300, 1684, 35, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (307, 1449, 16, 0.90, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (311, 1574, 24, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (312, 1574, 35, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (313, 1449, 13, 0.00, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (314, 1456, 13, 0.00, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (315, 1465, 13, 0.00, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (316, 1470, 13, 0.00, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (317, 1449, 18, 0.23, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (318, 1456, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (319, 1465, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (320, 1470, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (321, 1449, 32, 0.23, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (322, 1456, 32, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (323, 1465, 32, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (324, 1470, 32, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (325, 1438, 15, 5.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (326, 1442, 15, 5.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (327, 20048, 15, 5.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (328, 20050, 15, 5.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (329, 1437, 15, 4.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (330, 1443, 15, 4.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (331, 20049, 15, 4.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (332, 1671, 15, 5.80, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (333, 1672, 15, 5.70, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (334, 1673, 15, 6.30, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (435, 1437, 25, 0.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (436, 1443, 25, 0.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (437, 20049, 25, 0.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (438, 1436, 25, 0.31, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (439, 1438, 25, 0.31, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (440, 1442, 25, 0.31, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (441, 20048, 25, 0.31, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (442, 20050, 25, 0.31, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (443, 1433, 25, 0.34, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (444, 1434, 25, 0.35, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (445, 1671, 25, 0.35, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (446, 1672, 25, 0.34, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (447, 1673, 25, 0.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (448, 1437, 27, 0.78, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (449, 1443, 27, 0.78, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (450, 20049, 27, 0.78, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (451, 1436, 27, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (452, 1438, 27, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (453, 1442, 27, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (454, 20048, 27, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (455, 20050, 27, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (456, 1433, 27, 0.91, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (457, 1434, 27, 0.93, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (458, 1671, 27, 0.93, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (459, 1672, 27, 0.91, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (460, 1673, 27, 1.01, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (461, 1438, 30, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (462, 1442, 30, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (463, 20048, 30, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (464, 20050, 30, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (465, 1437, 30, 0.49, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (466, 1443, 30, 0.49, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (467, 20049, 30, 0.49, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (468, 1671, 30, 0.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (469, 1672, 30, 0.29, 1, NULL, 0.000, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (470, 1673, 30, 0.47, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (471, 1436, 24, 0.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (472, 1438, 24, 0.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (473, 1442, 24, 0.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (474, 20048, 24, 0.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (475, 20050, 24, 0.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (476, 1437, 24, 0.17, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (477, 1443, 24, 0.17, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (478, 20049, 24, 0.17, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (479, 1433, 24, 0.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (480, 1672, 24, 0.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (481, 1671, 24, 0.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (482, 1434, 24, 0.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (483, 1478, 20, 5.30, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (484, 20040, 20, 4.74, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (485, 1487, 20, 2.65, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (486, 20041, 20, 2.37, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (487, 1498, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (488, 1499, 20, 5.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (489, 20057, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (490, 1511, 20, 3.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (491, 1512, 20, 2.69, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (492, 20058, 20, 3.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (493, 1522, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (494, 1523, 20, 5.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (495, 20030, 20, 8.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (496, 20031, 20, 7.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (497, 20177, 20, 5.30, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (498, 20239, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (499, 20184, 20, 4.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (500, 1623, 20, 8.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (501, 1624, 20, 7.18, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (502, 1628, 20, 8.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (503, 1629, 20, 8.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (504, 1630, 20, 6.40, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (505, 20187, 20, 7.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (506, 1646, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (507, 20252, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (508, 20254, 20, 5.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (509, 1648, 20, 3.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (510, 1653, 20, 2.69, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (511, 1664, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (512, 1665, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (513, 1668, 20, 5.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (514, 1669, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (515, 20224, 20, 5.30, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (516, 20225, 20, 4.74, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (517, 20245, 20, 6.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (518, 20040, 26, 0.05, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (519, 20041, 26, 0.03, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (520, 1499, 26, 0.06, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (521, 1512, 26, 0.03, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (522, 1523, 26, 0.06, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (523, 20031, 26, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (524, 1624, 26, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (525, 1646, 26, 0.06, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (526, 20254, 26, 0.06, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (527, 1653, 26, 0.03, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (528, 1668, 26, 0.06, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (529, 20225, 26, 0.05, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (530, 20040, 28, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (531, 20041, 28, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (532, 1499, 28, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (533, 1512, 28, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (534, 1523, 28, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (535, 20031, 28, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (536, 1624, 28, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (537, 1646, 28, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (538, 20254, 28, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (539, 1653, 28, 0.04, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (540, 1668, 28, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (541, 20225, 28, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (542, 20040, 24, 0.52, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (543, 20041, 24, 0.26, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (544, 1499, 24, 0.59, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (545, 1512, 24, 0.30, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (546, 1523, 24, 0.59, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (547, 20031, 24, 0.78, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (548, 1624, 24, 0.78, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (549, 1646, 24, 0.59, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (550, 20254, 24, 0.59, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (551, 1653, 24, 0.30, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (552, 1668, 24, 0.59, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (553, 20225, 24, 0.52, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (557, 1532, 11, 7.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (558, 20185, 11, 3.95, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (560, 1619, 11, 7.90, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (565, 1497, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (566, 1510, 26, 0.05, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (567, 1520, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (568, 1532, 26, 0.12, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (569, 20238, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (570, 20185, 26, 0.06, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (571, 1619, 26, 0.12, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (572, 20251, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (573, 1647, 26, 0.05, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (574, 1659, 26, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (575, 1626, 3, 8.24, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (576, 20178, 3, 4.12, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (577, 1524, 3, 8.24, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (578, 1476, 7, 4.86, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (579, 1485, 7, 2.43, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (580, 1493, 7, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (581, 1495, 7, 5.54, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (582, 1506, 7, 3.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (583, 1508, 7, 2.77, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (584, 1518, 7, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (585, 1519, 7, 5.54, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (586, 1527, 7, 8.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (587, 1529, 7, 7.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (588, 20044, 7, 5.54, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (589, 20181, 7, 4.12, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (590, 20183, 7, 3.69, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (591, 1616, 7, 7.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (592, 1617, 7, 8.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (593, 20253, 7, 5.54, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (594, 1649, 7, 2.77, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (595, 1650, 7, 3.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (596, 1662, 7, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (597, 1670, 7, 5.54, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (598, 20221, 7, 4.86, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (599, 1476, 22, 0.54, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (600, 1485, 22, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (601, 1495, 22, 0.62, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (602, 1508, 22, 0.31, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (603, 1519, 22, 0.62, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (604, 1529, 22, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (605, 20044, 22, 0.62, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (606, 20183, 22, 0.41, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (607, 20172, 22, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (608, 1616, 22, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (609, 1625, 22, 3.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (610, 1630, 22, 0.80, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (611, 20253, 22, 0.62, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (612, 1649, 22, 0.31, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (613, 1651, 22, 0.30, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (614, 1652, 22, 2.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (615, 1660, 22, 4.48, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (616, 1670, 22, 0.62, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (617, 20221, 22, 0.54, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (621, 20182, 2, 4.12, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (622, 1621, 2, 8.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (623, 1657, 2, 3.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (625, 1474, 2, 5.44, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (626, 1483, 2, 2.72, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (627, 20175, 2, 2.72, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (628, 1492, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (629, 1505, 2, 3.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (630, 1517, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (631, 1526, 2, 8.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (632, 1591, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (633, 20043, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (634, 20051, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (635, 20173, 2, 5.44, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (636, 20235, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (637, 20260, 2, 5.44, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (638, 20180, 2, 4.12, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (639, 20020, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (640, 1620, 2, 8.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (641, 20248, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (642, 1656, 2, 3.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (643, 1663, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (645, 1494, 2, 6.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (646, 1507, 2, 3.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (647, 1528, 2, 8.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (648, 1477, 1, 2.90, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (649, 1486, 1, 1.45, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (652, 20250, 1, 2.90, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (654, 1521, 10, 1.70, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (655, 20237, 10, 1.70, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (656, 20250, 10, 1.70, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (657, 1521, 18, 0.05, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (658, 20237, 18, 0.05, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (659, 20250, 18, 0.39, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (660, 20237, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (661, 1521, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (662, 20250, 26, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (663, 20250, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (664, 20237, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (665, 1521, 35, 0.27, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (666, 1557, 6, 7.50, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (667, 20054, 6, 7.50, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (668, 1638, 6, 7.50, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (669, 1557, 35, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (670, 20054, 35, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (671, 1638, 35, 0.15, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (678, 1451, 17, 1.37, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (679, 1452, 17, 1.37, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (680, 1458, 17, 1.37, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (681, 1462, 17, 1.37, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (682, 1467, 17, 1.37, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (683, 1675, 17, 1.37, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (684, 1451, 35, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (685, 1452, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (686, 1458, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (687, 1462, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (688, 1467, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (689, 1675, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (690, 1451, 36, 0.03, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (691, 1452, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (692, 1458, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (693, 1462, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (694, 1467, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (695, 1675, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (696, 1451, 37, 0.07, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (697, 1452, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (698, 1458, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (699, 1462, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (700, 1467, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (701, 1675, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (702, 1450, 4, 1.13, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (703, 20210, 4, 1.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (704, 20243, 4, 2.76, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (708, 1450, 30, 0.07, 1, NULL, 0.000, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (709, 20210, 30, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (710, 20243, 30, 0.16, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (711, 1450, 24, 0.07, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (712, 20210, 24, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (713, 20243, 24, 0.16, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (714, 1450, 33, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (715, 20210, 33, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (716, 20243, 33, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (717, 1450, 36, 0.03, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (718, 20210, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (719, 20243, 36, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (723, 20243, 37, 0.16, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (724, 1450, 37, 0.07, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (725, 20210, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (726, 1447, 8, 2.25, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (727, 1447, 35, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (728, 1447, 36, 0.03, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (748, 1445, 18, 0.23, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (749, 1453, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (750, 1459, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (751, 1463, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (752, 1468, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (753, 20169, 18, 0.55, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (754, 20170, 18, 0.55, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (755, 20229, 18, 0.55, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (756, 20230, 18, 0.55, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (757, 1674, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (758, 1453, 32, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (759, 1459, 32, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (760, 1463, 32, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (761, 1468, 32, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (762, 20169, 32, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (763, 20170, 32, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (764, 20229, 32, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (765, 20230, 32, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (766, 1674, 32, 0.14, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (767, 1445, 35, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (768, 1453, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (769, 1459, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (770, 1463, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (771, 1468, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (772, 20169, 35, 0.22, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (773, 20170, 35, 0.22, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (774, 20229, 35, 0.22, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (775, 20230, 35, 0.22, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (776, 1674, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (777, 1445, 36, 0.03, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (778, 1453, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (779, 1459, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (780, 1463, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (781, 1468, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (782, 20169, 36, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (783, 20170, 36, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (784, 20229, 36, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (785, 20230, 36, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (786, 1674, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (787, 20230, 37, 0.16, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (788, 20169, 37, 0.16, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (789, 20170, 37, 0.16, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (790, 20229, 37, 0.16, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (791, 1674, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (792, 1445, 37, 0.07, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (793, 1453, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (794, 1459, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (795, 1463, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (796, 1468, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (813, 1448, 18, 0.23, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (814, 1455, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (815, 1460, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (816, 1464, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (817, 1469, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (818, 20241, 18, 0.56, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (819, 20242, 18, 0.56, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (820, 1677, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (821, 1448, 35, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (822, 1455, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (823, 1460, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (824, 1464, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (825, 1469, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (826, 20241, 35, 0.22, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (827, 20242, 35, 0.22, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (828, 1677, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (829, 1448, 36, 0.07, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (830, 1455, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (831, 1460, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (832, 1464, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (833, 1469, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (834, 20241, 36, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (835, 20242, 36, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (836, 1677, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (837, 1448, 37, 0.09, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (838, 1455, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (839, 1460, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (840, 1464, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (841, 1469, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (842, 20241, 37, 0.16, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (843, 20242, 37, 0.16, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (844, 1677, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (848, 1676, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (849, 1454, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (850, 1454, 32, 0.41, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (851, 1676, 32, 0.41, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (852, 1454, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (853, 1676, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (854, 1454, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (855, 1676, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (856, 1454, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (857, 1676, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (858, 1461, 8, 2.75, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (859, 1457, 8, 2.75, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (860, 1466, 8, 2.75, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (861, 1471, 8, 2.75, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (862, 1680, 8, 2.75, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (863, 1457, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (864, 1461, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (865, 1466, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (866, 1471, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (867, 1680, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (868, 1457, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (869, 1461, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (870, 1466, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (871, 1471, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (872, 1680, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (874, 1679, 35, 0.11, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (875, 1679, 36, 0.04, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (876, 1679, 37, 0.08, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (879, 1446, 18, 0.23, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (880, 1446, 32, 0.34, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (881, 1446, 35, 0.09, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (882, 1446, 36, 0.03, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (883, 1446, 37, 0.07, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (897, 1574, 40, 3.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (898, 1574, 41, 4.50, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (899, 1565, 1, 2.50, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (900, 20017, 1, 2.35, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (902, 1683, 1, 2.35, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (907, 1451, 42, 0.83, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (908, 1452, 42, 0.83, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (909, 1458, 42, 0.83, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (910, 1462, 42, 0.83, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (911, 1467, 42, 0.83, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (912, 1675, 42, 0.83, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (913, 1445, 42, 1.01, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (914, 1446, 42, 1.13, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (915, 1453, 42, 1.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (916, 1459, 42, 1.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (917, 1463, 42, 1.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (918, 1468, 42, 1.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (919, 20170, 42, 2.48, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (920, 20229, 42, 2.48, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (921, 20230, 42, 2.48, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (922, 1674, 42, 1.24, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (923, 1448, 42, 1.06, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (924, 1455, 42, 1.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (925, 1460, 42, 1.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (926, 1464, 42, 1.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (927, 1469, 42, 1.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (928, 20241, 42, 2.58, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (929, 20242, 42, 2.58, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (930, 1677, 42, 1.29, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (931, 1454, 42, 1.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (932, 1676, 42, 1.38, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (933, 1470, 42, 0.55, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (934, 1465, 42, 0.55, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (935, 1456, 42, 0.55, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (936, 1449, 42, 0.45, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (937, 1679, 42, 2.72, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (938, 20014, 43, 0.96, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (939, 1541, 43, 0.96, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (940, 20035, 43, 0.96, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (941, 1459, 43, 1.10, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (942, 1460, 43, 1.10, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (943, 20229, 43, 2.20, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (944, 20230, 43, 2.20, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (945, 20241, 43, 2.20, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (946, 20242, 43, 2.20, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (947, 1445, 43, 0.90, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (948, 1448, 43, 0.90, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (949, 1446, 43, 0.56, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (950, 1453, 43, 1.10, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (951, 1454, 43, 0.96, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (952, 1455, 43, 1.10, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (953, 1468, 43, 1.10, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (954, 1469, 43, 1.10, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (955, 1463, 43, 1.10, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (956, 1464, 43, 1.10, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (973, 1543, 46, 4.40, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (974, 20011, 46, 4.40, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (975, 20037, 46, 4.40, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (976, 1540, 5, 4.50, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (977, 1542, 12, 3.95, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (978, 1486, 10, 0.83, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (979, 1477, 10, 1.65, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (980, 1477, 18, 0.06, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (981, 1541, 18, 0.31, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (985, 1450, 47, 1.01, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (986, 20210, 47, 1.24, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (987, 20243, 47, 2.48, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (988, 20193, 1, 5.22, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (989, 20194, 1, 4.60, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (990, 20196, 1, 2.61, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (991, 20197, 1, 2.30, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (992, 20199, 1, 5.20, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (993, 20200, 1, 5.10, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (994, 20204, 1, 6.80, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (995, 20205, 1, 6.80, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (996, 20244, 1, 6.80, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (997, 20170, 43, 2.20, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1005, 1497, 11, 5.95, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1006, 1510, 11, 2.98, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1007, 1520, 11, 5.95, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1008, 20238, 11, 5.95, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1009, 1647, 11, 2.98, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1010, 1659, 11, 5.95, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1011, 20251, 11, 5.95, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1012, 1541, 42, 1.93, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1013, 20014, 42, 1.93, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1014, 20035, 42, 1.93, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1015, 1660, 7, 1.12, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1016, 1652, 7, 0.56, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1017, 1652, 24, 0.23, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1018, 1660, 24, 0.45, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1019, 20172, 7, 7.38, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1020, 1630, 2, 0.80, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1021, 1651, 20, 2.40, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1023, 1651, 2, 0.30, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1024, 1625, 7, 1.50, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1025, 1625, 24, 0.60, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1026, 1473, 49, 5.45, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1027, 1482, 49, 2.73, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1028, 20247, 49, 5.45, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1029, 20220, 49, 5.45, 1, NULL, NULL, 785, '赵霞', NULL);
INSERT INTO `product_formula` VALUES (1030, 20192, 3, 5.44, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1031, 20195, 3, 2.72, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1032, 20228, 3, 6.20, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1033, 20189, 3, 8.24, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1035, 1678, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1036, 20032, 18, 0.28, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1037, 1678, 13, 0.00, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1038, 1678, 1, 0.00, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1039, 20032, 1, 1.24, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1040, 20032, 10, 1.10, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1041, 1486, 18, 0.03, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1043, 20287, 51, 8.24, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1044, 20288, 51, 8.24, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1045, 20284, 22, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1046, 20172, 22, 0.82, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1047, 1574, 30, 0.08, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1048, 20310, 42, 2.48, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1049, 20311, 42, 2.48, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1050, 20312, 42, 2.58, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1051, 20312, 43, 2.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1052, 20311, 43, 2.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1053, 20310, 43, 2.20, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1054, 20312, 18, 0.56, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1055, 20311, 18, 0.55, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1056, 20310, 18, 0.55, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1057, 20310, 32, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1058, 20311, 32, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1059, 20312, 21, 0.12, 1, NULL, 0.000, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1060, 20313, 4, 2.76, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1061, 20313, 47, 2.48, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1062, 20313, 33, 0.28, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1063, 20337, 52, 5.70, 1, NULL, 0.500, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1065, 20317, 51, 5.66, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1068, 20361, 53, 0.38, 1, '', 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1069, 20363, 53, 0.45, 1, '', 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1070, 20361, 12, 0.40, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1071, 20363, 12, 0.40, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1072, 20361, 1, 1.39, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1073, 20363, 1, 1.39, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1074, 20353, 20, 8.00, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1075, 20349, 20, 5.30, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1076, 1444, 15, 5.70, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1077, 20380, 2, 5.44, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1078, 20293, 51, 8.24, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1079, 20294, 51, 8.24, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1080, 20327, 16, 3.26, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1081, 20327, 18, 0.47, 1, NULL, 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1082, 20356, 19, 4.66, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1083, 20385, 12, 8.49, 1, NULL, NULL, 10002, '甘小艳', NULL);
INSERT INTO `product_formula` VALUES (1084, 20410, 54, 2.75, 1, '', 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1085, 20362, 54, 2.25, 1, '', 0.000, 10002, '甘小艳', 0);
INSERT INTO `product_formula` VALUES (1087, 20409, 3, 6.32, 1, NULL, 0.000, 2079, '甘小艳', 1586326241);
INSERT INTO `product_formula` VALUES (1088, 20410, 3, 6.32, 1, NULL, 0.000, 2079, '甘小艳', 1586326241);
INSERT INTO `product_formula` VALUES (1089, 20411, 14, 6.32, 1, NULL, NULL, 2079, '甘小艳', 1586326267);
INSERT INTO `product_formula` VALUES (1090, 20404, 51, 8.24, 1, NULL, NULL, 2079, '甘小艳', 1591948637);
INSERT INTO `product_formula` VALUES (1091, 1456, 37, 0.08, 1, NULL, NULL, 2079, '甘小艳', 1593501060);
INSERT INTO `product_formula` VALUES (1092, 1465, 37, 0.08, 1, NULL, NULL, 2079, '甘小艳', 1593501061);
INSERT INTO `product_formula` VALUES (1093, 1456, 36, 0.04, 1, NULL, NULL, 2079, '甘小艳', 1593501092);
INSERT INTO `product_formula` VALUES (1094, 1465, 36, 0.04, 1, NULL, NULL, 2079, '甘小艳', 1593501092);
INSERT INTO `product_formula` VALUES (1095, 1465, 18, 0.28, 1, NULL, NULL, 2079, '甘小艳', 1593501184);
INSERT INTO `product_formula` VALUES (1096, 1456, 18, 0.28, 1, NULL, NULL, 2079, '甘小艳', 1593501184);
INSERT INTO `product_formula` VALUES (1097, 20410, 54, NULL, NULL, NULL, NULL, 1, '系统管理员', 1624571443);

-- ----------------------------
-- Table structure for product_material
-- ----------------------------
DROP TABLE IF EXISTS `product_material`;
CREATE TABLE `product_material`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `category` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '品种',
  `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL,
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_at` int(11) NULL DEFAULT NULL,
  `remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `ratio` decimal(10, 2) NULL DEFAULT NULL COMMENT '出品率',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 55 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of product_material
-- ----------------------------
INSERT INTO `product_material` VALUES (1, '榨菜', '101', '干丝', 1, 10002, '甘小艳', NULL, NULL, 0.32);
INSERT INTO `product_material` VALUES (2, '榨菜', '102', '湿丝', 1, 785, '赵霞', NULL, NULL, 0.56);
INSERT INTO `product_material` VALUES (3, '榨菜', '103', '15*15', 1, 10002, '甘小艳', NULL, NULL, 0.60);
INSERT INTO `product_material` VALUES (4, '榨菜', '104', '12*12', 1, 10002, '甘小艳', NULL, NULL, 0.32);
INSERT INTO `product_material` VALUES (5, '榨菜', '105', '丁（精）', 1, 10002, '甘小艳', NULL, NULL, 0.40);
INSERT INTO `product_material` VALUES (6, '榨菜', '106', '菜心', 1, 10002, '甘小艳', NULL, NULL, 0.60);
INSERT INTO `product_material` VALUES (7, '榨菜', '107', '片', 1, 10002, '甘小艳', NULL, NULL, 0.60);
INSERT INTO `product_material` VALUES (8, '萝卜', '201', '干丝（瓶）', 1, 10002, '甘小艳', NULL, NULL, 0.26);
INSERT INTO `product_material` VALUES (9, '萝卜', '202', '干丝（圆）', 1, 10002, '甘小艳', NULL, NULL, 0.27);
INSERT INTO `product_material` VALUES (10, '萝卜', '203', '干丝（杂烩）', 1, 10002, '甘小艳', NULL, NULL, 0.27);
INSERT INTO `product_material` VALUES (11, '萝卜', '204', '湿丝（圆）', 1, 10002, '甘小艳', NULL, NULL, 0.27);
INSERT INTO `product_material` VALUES (12, '萝卜', '205', '片（圆）', 1, 10002, '甘小艳', NULL, NULL, 0.27);
INSERT INTO `product_material` VALUES (13, '萝卜', '206', '12*12（圆）', 1, 10002, '甘小艳', NULL, NULL, 0.26);
INSERT INTO `product_material` VALUES (14, '萝卜', '207', '15*15（圆）', 1, 10002, '甘小艳', NULL, NULL, 0.26);
INSERT INTO `product_material` VALUES (15, '青菜', '301', '佐料', 1, 10002, '甘小艳', NULL, NULL, 0.65);
INSERT INTO `product_material` VALUES (16, '青菜', '302', '盐菜', 1, 10002, '甘小艳', NULL, NULL, 0.33);
INSERT INTO `product_material` VALUES (17, '豇豆', '401', '瓶、粒', 1, 10002, '甘小艳', NULL, NULL, 0.70);
INSERT INTO `product_material` VALUES (18, '豇豆', '402', '杂烩', 1, 10002, '甘小艳', NULL, NULL, 0.70);
INSERT INTO `product_material` VALUES (19, '豇豆', '403', '单品', 1, 10002, '甘小艳', NULL, NULL, 0.70);
INSERT INTO `product_material` VALUES (20, '干海带', '501', '干海带', 1, 10002, '甘小艳', NULL, NULL, 4.00);
INSERT INTO `product_material` VALUES (21, '干黄花', '601', '干黄花', 1, 10002, '甘小艳', NULL, NULL, 2.50);
INSERT INTO `product_material` VALUES (22, '干木耳', '701', '干木耳', 1, 10002, '甘小艳', NULL, NULL, 4.50);
INSERT INTO `product_material` VALUES (23, '大头菜', '801', '大头菜', 1, 10002, '甘小艳', NULL, NULL, 0.42);
INSERT INTO `product_material` VALUES (24, '云南小米椒', '901', '云南小米椒', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (25, '盐蒜', '1001', '粒', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (26, '盐蒜', '1002', '末', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (27, '盐姜', '1101', '丝', 1, 785, '赵霞', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (28, '盐姜', '1102', '末', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (29, '青椒（粒）', '1201', '青椒（粒）', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (30, '小米椒', '1301', '粒（红）', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (31, '小米椒', '1302', '粒（青）', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (32, '黄豆', '1401', '黄豆', 1, 10002, '甘小艳', NULL, NULL, 2.10);
INSERT INTO `product_material` VALUES (33, '花生', '1501', '花生', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (35, '剁红椒', '1701', '剁红椒', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (36, '鲜蒜粒', '1801', '鲜蒜粒', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (37, '鲜姜粒', '1901', '鲜姜粒', 1, 10002, '甘小艳', NULL, NULL, 1.00);
INSERT INTO `product_material` VALUES (40, '青菜2', '302-1', '盐菜2', 1, 10002, '甘小艳', NULL, NULL, 0.33);
INSERT INTO `product_material` VALUES (41, '榨菜2', '101-2', '干丝2', 1, 10002, '甘小艳', NULL, NULL, 0.60);
INSERT INTO `product_material` VALUES (42, '榨菜2', '101-1', '干丝-2', 1, 10002, '甘小艳', NULL, NULL, 0.30);
INSERT INTO `product_material` VALUES (43, '萝卜', '203-2', '干丝（杂烩）2', 1, 10002, '甘小艳', NULL, NULL, 0.26);
INSERT INTO `product_material` VALUES (46, '干海带', '501-1', '干海带', 1, 10002, '甘小艳', NULL, NULL, 4.00);
INSERT INTO `product_material` VALUES (47, '萝卜', '206-2', '12*12（圆）2', 1, 10002, '甘小艳', NULL, NULL, 0.26);
INSERT INTO `product_material` VALUES (48, '萝卜', '204-2', '湿丝（圆）2', 1, 10002, '甘小艳', NULL, NULL, 0.27);
INSERT INTO `product_material` VALUES (49, '榨菜', '102-2', '湿丝2', 1, 785, '赵霞', NULL, NULL, 0.60);
INSERT INTO `product_material` VALUES (50, '榨菜', '103-2', '15*15-2', 1, 10002, '甘小艳', NULL, NULL, 0.45);
INSERT INTO `product_material` VALUES (51, '豇豆', '1031', '丁', 1, 10002, '甘小艳', NULL, NULL, 0.70);
INSERT INTO `product_material` VALUES (52, '青菜', '301-1', '青菜丝', 1, 10002, '甘小艳', NULL, NULL, 0.50);
INSERT INTO `product_material` VALUES (53, '大木耳', '2001', '新木耳', 1, 10002, '甘小艳', NULL, NULL, 4.50);
INSERT INTO `product_material` VALUES (54, '青菜', '301-1', '包包青', 1, 10002, '甘小艳', NULL, NULL, 0.42);

-- ----------------------------
-- Table structure for product_unit
-- ----------------------------
DROP TABLE IF EXISTS `product_unit`;
CREATE TABLE `product_unit`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '科目名称',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '说明',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_product_unit_code`(`code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20010 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of product_unit
-- ----------------------------
INSERT INTO `product_unit` VALUES (103, '件', 1, NULL, 1, 0, '0', 1615917055, '系统管理员', '01', NULL, 1);
INSERT INTO `product_unit` VALUES (104, '公斤', 1, NULL, 1, 0, '0', 0, '0', '02', NULL, NULL);
INSERT INTO `product_unit` VALUES (105, '台', 1, NULL, 1, 0, '0', 0, '0', '03', NULL, NULL);
INSERT INTO `product_unit` VALUES (106, '个', 1, NULL, 1, 0, '0', 1615916988, '系统管理员', '04', NULL, 1);
INSERT INTO `product_unit` VALUES (107, '根', 1, NULL, 1, 0, '0', 1603464323, '系统管理员', '05', NULL, 1);
INSERT INTO `product_unit` VALUES (108, '米', 1, NULL, 1, 0, '0', 0, '0', '06', NULL, NULL);
INSERT INTO `product_unit` VALUES (109, '套', 1, NULL, 1, 0, '0', 0, '0', '07', NULL, NULL);
INSERT INTO `product_unit` VALUES (110, '双', 1, NULL, 1, 0, '0', 0, '0', '08', NULL, NULL);
INSERT INTO `product_unit` VALUES (111, '本', 1, NULL, 1, 0, '0', 0, '0', '09', NULL, NULL);
INSERT INTO `product_unit` VALUES (112, '把', 1, NULL, 1, 0, '0', 0, '0', '10', NULL, NULL);
INSERT INTO `product_unit` VALUES (113, '圈', 1, NULL, 1, 0, '0', 0, '0', '11', NULL, NULL);
INSERT INTO `product_unit` VALUES (114, '张', 1, NULL, 1, 0, '0', 0, '0', '12', NULL, NULL);
INSERT INTO `product_unit` VALUES (115, '捆', 1, NULL, 1, 0, '0', 0, '0', '13', NULL, NULL);
INSERT INTO `product_unit` VALUES (116, '条', 1, NULL, 1, 0, '0', 0, '0', '14', NULL, NULL);
INSERT INTO `product_unit` VALUES (117, '顶', 1, NULL, 1, 0, '0', 0, '0', '15', NULL, NULL);
INSERT INTO `product_unit` VALUES (118, '盒', 1, NULL, 1, 0, '0', 0, '0', '16', NULL, NULL);
INSERT INTO `product_unit` VALUES (119, '包', 1, NULL, 1, 0, '0', 0, '0', '17', NULL, NULL);
INSERT INTO `product_unit` VALUES (120, '卷', 1, NULL, 1, 0, '0', 0, '0', '18', NULL, NULL);
INSERT INTO `product_unit` VALUES (121, '支', 1, NULL, 1, 0, '0', 0, '0', '19', NULL, NULL);
INSERT INTO `product_unit` VALUES (122, '片', 1, NULL, 1, 0, '0', 0, '0', '20', NULL, NULL);
INSERT INTO `product_unit` VALUES (123, '瓶', 1, NULL, 1, 0, '0', 0, '0', '21', NULL, NULL);
INSERT INTO `product_unit` VALUES (124, '床', 1, NULL, 1, 0, '0', 0, '0', '22', NULL, NULL);
INSERT INTO `product_unit` VALUES (125, '桶', 1, NULL, 1, 0, '0', 0, '0', '23', NULL, NULL);
INSERT INTO `product_unit` VALUES (126, '卷/100米', 1, NULL, 1, 0, '0', 0, '0', '24', NULL, NULL);
INSERT INTO `product_unit` VALUES (127, '只', 1, NULL, 1, 0, '0', 0, '0', '25', NULL, NULL);
INSERT INTO `product_unit` VALUES (128, '方', 1, NULL, 1, 0, '0', 0, '0', '26', NULL, NULL);
INSERT INTO `product_unit` VALUES (129, '袋', 1, NULL, 1, 0, '0', 0, '0', '27', NULL, NULL);
INSERT INTO `product_unit` VALUES (130, '车', 1, NULL, 1, 0, '0', 0, '0', '28', NULL, NULL);
INSERT INTO `product_unit` VALUES (131, '匹', 1, NULL, 1, 0, '0', 0, '0', '29', NULL, NULL);
INSERT INTO `product_unit` VALUES (132, '扇', 1, NULL, 1, 0, '0', 0, '0', '30', NULL, NULL);
INSERT INTO `product_unit` VALUES (133, '付', 1, NULL, 1, 0, '0', 0, '0', '31', NULL, NULL);
INSERT INTO `product_unit` VALUES (134, '元', 1, NULL, 1, 0, '0', 0, '0', '32', NULL, NULL);
INSERT INTO `product_unit` VALUES (135, '升', 1, NULL, 1, 0, '0', 0, '0', '33', NULL, NULL);
INSERT INTO `product_unit` VALUES (136, '盏', 1, NULL, 1, 0, '0', 0, '0', '34', NULL, NULL);
INSERT INTO `product_unit` VALUES (137, '平方米', 1, NULL, 1, 0, '0', 0, '0', '35', NULL, NULL);
INSERT INTO `product_unit` VALUES (138, '辆', 1, NULL, 1, 0, '0', 0, '0', '36', NULL, NULL);
INSERT INTO `product_unit` VALUES (139, '筒', 1, NULL, 1, 0, '0', 0, '0', '37', NULL, NULL);
INSERT INTO `product_unit` VALUES (140, '组', 1, NULL, 1, 0, '0', 0, '0', '38', NULL, NULL);
INSERT INTO `product_unit` VALUES (141, '份', 1, NULL, 1, 0, '0', 0, '0', '39', NULL, NULL);
INSERT INTO `product_unit` VALUES (142, '批', 1, NULL, 1, 0, '0', 0, '0', '40', NULL, NULL);
INSERT INTO `product_unit` VALUES (143, '枚', 1, NULL, 1, 0, '0', 0, '0', '41', NULL, NULL);
INSERT INTO `product_unit` VALUES (20001, '皮', 1, NULL, 1, 0, '0', 0, '0', '42', NULL, NULL);
INSERT INTO `product_unit` VALUES (20002, '块', 1, NULL, 1, 0, '0', 0, '0', '43', NULL, NULL);
INSERT INTO `product_unit` VALUES (20003, '副', 1, NULL, 1, 0, '0', 0, '0', '44', NULL, NULL);
INSERT INTO `product_unit` VALUES (20004, '具', 1, NULL, 1, 0, '0', 0, '0', '45', NULL, NULL);
INSERT INTO `product_unit` VALUES (20005, '罐', 1, NULL, 1, 0, '0', 0, '0', '46', NULL, NULL);
INSERT INTO `product_unit` VALUES (20006, '箱', 1, NULL, 1, 0, '0', 0, '0', '47', NULL, NULL);
INSERT INTO `product_unit` VALUES (20007, '枚', 1, NULL, 1, 0, '0', 0, '0', '48', NULL, NULL);
INSERT INTO `product_unit` VALUES (20008, '立方米', 1, NULL, 1, 0, '0', 0, '0', '49', NULL, NULL);
INSERT INTO `product_unit` VALUES (20009, '元', 1, NULL, 1, 0, '0', 0, '0', '32', NULL, NULL);

-- ----------------------------
-- Table structure for project
-- ----------------------------
DROP TABLE IF EXISTS `project`;
CREATE TABLE `project`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `user_id` int(11) NOT NULL COMMENT '执行者',
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运营经理审批(意见)',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT '订单状态',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `permission` tinyint(4) NULL DEFAULT NULL COMMENT '项目权限: 0公开，1私有',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_project_user_id`(`user_id`) USING BTREE,
  INDEX `idx_status`(`status`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project
-- ----------------------------
INSERT INTO `project` VALUES (19, 1, '演示项目流程甘特图', '豆瓣酱系列新品计划', 255, 1, 1623610503, '系统管理员', '278', 0, 1530951979, 1, 1);
INSERT INTO `project` VALUES (23, 3, '好机会', '订单分成', NULL, 1, 1623573986, '系统管理员', '系统管理员', 1, 1602515099, 1, 1);
INSERT INTO `project` VALUES (24, 1, '新项目测试', '新项目测试', NULL, 1, 1623574011, '系统管理员', '系统管理员', 1, 1616270653, 1, 1);

-- ----------------------------
-- Table structure for project_task
-- ----------------------------
DROP TABLE IF EXISTS `project_task`;
CREATE TABLE `project_task`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `project_id` int(11) NOT NULL COMMENT '项目编号',
  `parent_id` int(11) NOT NULL DEFAULT 0 COMMENT '父级编号',
  `user_id` int(11) NOT NULL DEFAULT 0 COMMENT '执行者',
  `type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `progress` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '百分比',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `start_at` int(10) NULL DEFAULT NULL COMMENT '结束时间',
  `end_at` int(10) NULL DEFAULT NULL COMMENT '开始时间',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '附件',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运营经理审批(意见)',
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '运营经理审批(时间)',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '订单状态',
  `sort` smallint(6) NULL DEFAULT NULL,
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新账户编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '新建用户编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_project_task_user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 304 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_task
-- ----------------------------
INSERT INTO `project_task` VALUES (221, 19, 0, 0, 'item', '0', '', 0, 0, '', '1.产品计划', '', 0, 0, 1530951995, 1616270411, '系统管理员', '278', 1, NULL);
INSERT INTO `project_task` VALUES (222, 19, 221, 1, 'task', '1', '', 1532448000, 1532534400, '19,21', '1.1产品品名计划', '', 0, 0, 1530952028, 1616272549, '系统管理员', '278', 1, NULL);
INSERT INTO `project_task` VALUES (223, 19, 0, 0, 'item', '', '', 0, 0, '', '2.包装计划', '', 0, 0, 1530952044, 1533095884, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (224, 19, 0, 0, 'item', '', '', 0, 0, '', '3.生产计划', '', 0, 0, 1530952085, 1533095934, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (225, 19, 0, 0, 'item', '0', '', 0, 0, '', '销售计划', '', 0, 0, 1530952095, 0, '0', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (226, 19, 223, 278, 'task', '1', '7月23日完成', 1532308860, 1532361600, '', '2.1包装样板设计【袋子】', '', 0, 0, 1530952159, 1533095893, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (227, 19, 223, 5672, 'task', '1', '', 1532308860, 1532361600, '', '2.2包装样板确认', '', 0, 0, 1530952205, 1544472565, '1', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (228, 19, 221, 1387, 'task', '1', '', 1532448000, 1532534400, '', '1.2产品品名确认', '', 0, 0, 1530952253, 1533095858, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (229, 19, 223, 278, 'task', '', '', 1532448000, 1532966400, '', '2.3系列包装设计', '', 0, 0, 1530952290, 1533095911, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (230, 19, 221, 1, 'task', NULL, '乳房sea', 1532534400, 1532966400, '3427', '1.3产品配方', '', 0, 0, 1597331713, 1603465290, '系统管理员', '278', 1, NULL);
INSERT INTO `project_task` VALUES (231, 19, 223, 1387, 'task', '', '', 1533052800, 1533225600, '', '2.4系列包装确认', '', 0, 0, 1530952385, 1533095916, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (232, 19, 225, 278, 'task', '0', '', 1532620800, 1532707200, '', '内部销售操作方案及公告', '', 0, 0, 1530952430, 1532308401, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (233, 19, 225, 299, 'task', '', '', 1532707200, 1532793600, '', '销售商经销商公告及系统建立', '', 0, 0, 1530952471, 1532308405, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (234, 19, 224, 1153, 'task', '', '', 1532966400, 1533225600, '', '1.确定供应商及价格', '', 0, 0, 1530952502, 1533095939, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (235, 19, 224, 1016, 'task', '0', '', 1533225600, 1533312000, '', '向包装供应商订单', '', 0, 0, 1530952562, 1532308386, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (236, 19, 224, 940, 'task', '0', '', 1533312000, 1533657600, '', '生产试样生产', '', 0, 0, 1530952592, 1532308392, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (237, 19, 224, 1016, 'task', NULL, '', 1532275200, 1533657600, '', '供应商交付包装物', '', 0, 0, 1530952713, 1601682207, '系统管理员', '278', 1, NULL);
INSERT INTO `project_task` VALUES (238, 19, 224, 940, 'task', '0', '', 1533398400, 1533484800, '', '首批订单生产', '', 0, 0, 1530952768, 1530952776, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (239, 19, 225, 834, 'task', '0', '', 1533484800, 1533571200, '', '经销商下订单', '', 0, 0, 1530952802, 1532308410, '278', '278', NULL, NULL);
INSERT INTO `project_task` VALUES (286, 23, 298, 1, 'task', '0', '212', 1614355200, 1614441600, NULL, '发生大幅杀跌', NULL, NULL, NULL, 1614208453, 1623575671, '赵云', '系统管理员', 3, 1);
INSERT INTO `project_task` VALUES (287, 23, 298, 3, 'task', '0', '没有', 1614208440, 1614441600, '17', '测试任务', NULL, NULL, NULL, 1614208493, 1623575678, '赵云', '系统管理员', 3, 1);
INSERT INTO `project_task` VALUES (288, 23, 287, 1, 'subtask', '1', '212', 1616252340, 1615305600, NULL, 'hahah', NULL, NULL, NULL, 1616252409, 1623575510, '赵云', '系统管理员', 3, 1);
INSERT INTO `project_task` VALUES (290, 24, 0, 0, 'item', '0', NULL, 0, 0, NULL, '需求', NULL, NULL, NULL, 1616271432, 1616271446, '系统管理员', '系统管理员', 1, 1);
INSERT INTO `project_task` VALUES (291, 24, 0, 0, 'item', NULL, NULL, 0, 0, NULL, '合同', NULL, NULL, NULL, 1616271449, NULL, NULL, '系统管理员', NULL, 1);
INSERT INTO `project_task` VALUES (292, 24, 0, 0, 'item', '0', NULL, 0, 0, NULL, '测试', NULL, NULL, NULL, 1616271455, 1623575315, '系统管理员', '系统管理员', 1, 1);
INSERT INTO `project_task` VALUES (293, 24, 0, 0, 'item', NULL, NULL, 0, 0, NULL, '完成', NULL, NULL, NULL, 1616271460, NULL, NULL, '系统管理员', NULL, 1);
INSERT INTO `project_task` VALUES (294, 24, 293, 1, 'task', '0', '123', 1623574200, 1623686400, NULL, '大润发', NULL, NULL, NULL, 1623574237, 1623953918, '系统管理员', '系统管理员', 1, 1);
INSERT INTO `project_task` VALUES (295, 24, 0, 0, 'item', '0', '21212', 0, 0, NULL, '222', NULL, NULL, NULL, 1623575306, 1623953911, '系统管理员', '系统管理员', 1, 1);
INSERT INTO `project_task` VALUES (298, 23, 0, 0, 'item', NULL, '56456', 1623575665, 0, NULL, '55', NULL, NULL, NULL, 1623575665, NULL, NULL, '赵云', NULL, 3);
INSERT INTO `project_task` VALUES (299, 23, 0, 0, 'item', '0', 'gfdg', 0, 0, NULL, 'gfdg', NULL, NULL, NULL, 1623575690, 1623575784, '赵云', '赵云', 3, 3);
INSERT INTO `project_task` VALUES (300, 23, 0, 0, 'item', NULL, '21212', 1623575790, 0, NULL, '2121', NULL, NULL, NULL, 1623575790, NULL, NULL, '赵云', NULL, 3);
INSERT INTO `project_task` VALUES (301, 23, 0, 0, 'item', '0', 'gfd', 0, 0, NULL, 'gfdgfd', NULL, NULL, NULL, 1623575802, 1623575868, '赵云', '赵云', 3, 3);
INSERT INTO `project_task` VALUES (302, 23, 301, 3, 'task', '0', '212', 1623513600, 1624377600, NULL, '21212', NULL, NULL, NULL, 1623575819, 1623602029, '赵云', '赵云', 3, 3);

-- ----------------------------
-- Table structure for project_task_log
-- ----------------------------
DROP TABLE IF EXISTS `project_task_log`;
CREATE TABLE `project_task_log`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `task_id` int(11) NOT NULL COMMENT '上级任务',
  `type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '活动类型',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '附件',
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '运营经理审批(时间)',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '订单状态',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新账户编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '新建用户编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_project_task_log_task_id`(`task_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 33 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_task_log
-- ----------------------------
INSERT INTO `project_task_log` VALUES (9, 3, 'comment', '', '哈市地方撒，我是测试啊', 0, 0, '0', 1508787690, '12', NULL, 1);
INSERT INTO `project_task_log` VALUES (26, 230, 'comment', '', '发射点发', 0, 0, '0', 1544472134, '132', NULL, 1);
INSERT INTO `project_task_log` VALUES (27, 230, 'comment', '', 'fasdfasd', 0, 0, '0', 1544472333, '1323', NULL, 1);
INSERT INTO `project_task_log` VALUES (29, 237, 'comment', NULL, '哈哈哈', 0, NULL, NULL, 1601682249, '系统管理员', NULL, 1);
INSERT INTO `project_task_log` VALUES (30, 222, 'comment', NULL, '广泛大使馆', 0, NULL, NULL, 1601682266, '系统管理员', NULL, 1);
INSERT INTO `project_task_log` VALUES (32, 288, 'comment', 'Array', '防守打法三大', NULL, NULL, NULL, 1616274085, '系统管理员', NULL, 1);

-- ----------------------------
-- Table structure for project_task_user
-- ----------------------------
DROP TABLE IF EXISTS `project_task_user`;
CREATE TABLE `project_task_user`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `task_id` int(11) NOT NULL COMMENT '任务ID',
  `user_id` int(11) NOT NULL COMMENT '用户ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_project_task_user_task_id`(`task_id`) USING BTREE,
  INDEX `idx_project_task_user_user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 195 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of project_task_user
-- ----------------------------
INSERT INTO `project_task_user` VALUES (12, 2, 278);
INSERT INTO `project_task_user` VALUES (13, 2, 299);
INSERT INTO `project_task_user` VALUES (19, 7, 291);
INSERT INTO `project_task_user` VALUES (20, 7, 300);
INSERT INTO `project_task_user` VALUES (187, 226, 283);
INSERT INTO `project_task_user` VALUES (188, 229, 283);
INSERT INTO `project_task_user` VALUES (189, 226, 634);
INSERT INTO `project_task_user` VALUES (190, 229, 634);
INSERT INTO `project_task_user` VALUES (191, 239, 299);
INSERT INTO `project_task_user` VALUES (193, 279, 1);
INSERT INTO `project_task_user` VALUES (194, 280, 5671);

-- ----------------------------
-- Table structure for promotion
-- ----------------------------
DROP TABLE IF EXISTS `promotion`;
CREATE TABLE `promotion`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type_id` tinyint(4) NULL DEFAULT NULL COMMENT '促销类别',
  `customer_id` int(11) NOT NULL COMMENT '所属客户',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `start_dt` date NULL DEFAULT NULL COMMENT '开始时间',
  `end_dt` date NULL DEFAULT NULL COMMENT '结束时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '相关文件',
  `region_id` int(11) NULL DEFAULT NULL COMMENT '销售区域',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '所属部门',
  `sn` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销编号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `is_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  `promote_scope` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销范围(连锁超市要注明家数)',
  `pro_bg` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销背景说明',
  `pro_method_desc` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销方法描述',
  `pro_total_cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '预估总费用',
  `sale_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '预估销量(元)',
  `customer_pro_head` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '经销商执行人员',
  `customer_pro_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户执行人电话',
  `note_review` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '该渠道历史促销回顾',
  `apply_fee` decimal(10, 2) NULL DEFAULT NULL COMMENT '申请费用',
  `use_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '已用兑现金额',
  `actived_dt` date NULL DEFAULT NULL COMMENT '生效日期',
  `fax` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '回复传真',
  `phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '确认电话',
  `order_id` int(11) NULL DEFAULT NULL COMMENT '关联订单',
  `area_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '区域经理支持费用(元)',
  `reg_photo` int(11) NULL DEFAULT NULL COMMENT '陈列照片(张)',
  `reg_other_remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '其他核销资料',
  `audit_market_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场助理审核签名',
  `audit_province_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '省区经理意见',
  `audit_province_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '省区经理时间',
  `audit_finance_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客服部负责人意见',
  `audit_finance_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客服部负责人时间',
  `audit_director_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '董事办意见',
  `audit_director_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '董事办时间',
  `audit_cmo_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '营销总监意见',
  `audit_cmo_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '营销总监时间',
  `audit_market_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场助理意见',
  `is_chairman_audit` tinyint(4) NULL DEFAULT NULL COMMENT '是否董事长审核',
  `undertake_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担金额(元)',
  `undertake_ratio` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担比例(%)',
  `need_review` tinyint(4) NULL DEFAULT NULL COMMENT '是否需要核销',
  `pro_before_date` date NULL DEFAULT NULL COMMENT '促销前跟踪预计日期',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人ID',
  `field021` tinyint(4) NULL DEFAULT NULL COMMENT '特价',
  `field022` tinyint(4) NULL DEFAULT NULL COMMENT '消费买赠',
  `field023` tinyint(4) NULL DEFAULT NULL COMMENT '免品',
  `field024` tinyint(4) NULL DEFAULT NULL COMMENT '渠道赠送奖励',
  `field025` tinyint(4) NULL DEFAULT NULL COMMENT '形象陈列宣传',
  `field026` tinyint(4) NULL DEFAULT NULL COMMENT '人员激励',
  `field027` tinyint(4) NULL DEFAULT NULL COMMENT '消费主题',
  `field028` tinyint(4) NULL DEFAULT NULL COMMENT '推广',
  `field029` tinyint(4) NULL DEFAULT NULL COMMENT '其他',
  `field010` tinyint(4) NULL DEFAULT NULL COMMENT '批复复印件',
  `field011` tinyint(4) NULL DEFAULT NULL COMMENT '陈列协议',
  `field012` tinyint(4) NULL DEFAULT NULL COMMENT '特价购物小票',
  `field014` tinyint(4) NULL DEFAULT NULL COMMENT '超市盖章特价验收单',
  `field015` tinyint(4) NULL DEFAULT NULL COMMENT '超市出具给贵司的全额票据复印件',
  `field016` tinyint(4) NULL DEFAULT NULL COMMENT '贵司出具给我司承担部分发票原件',
  `field013` tinyint(4) NULL DEFAULT NULL COMMENT 'DM原件',
  `category_id` tinyint(4) NULL DEFAULT NULL COMMENT '促销类型',
  `audit_director2_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '董事长意见',
  `audit_director2_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '董事长时间',
  `tax_id` int(11) NULL DEFAULT NULL COMMENT '开票名称',
  `tax_type` tinyint(4) NULL DEFAULT NULL COMMENT '开票类型',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_promotion_created_by`(`created_by`) USING BTREE,
  INDEX `idx_promotion_category_id`(`category_id`) USING BTREE,
  INDEX `idx_promotion_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_promotion_department_id`(`department_id`) USING BTREE,
  INDEX `idx_promotion_start_dt`(`start_dt`) USING BTREE,
  INDEX `idx_promotion_is_chairman_audit`(`is_chairman_audit`) USING BTREE,
  INDEX `idx_promotion_is_close`(`is_close`) USING BTREE,
  INDEX `idx_promotion_order_id`(`order_id`) USING BTREE,
  INDEX `idx_promotion_region_id`(`region_id`) USING BTREE,
  INDEX `idx_promotion_updated_by`(`updated_by`) USING BTREE,
  INDEX `idx_promotion_tax_id`(`tax_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of promotion
-- ----------------------------
INSERT INTO `promotion` VALUES (1, 1, 1, 1, '2020-10-19', '2020-10-20', 1577838780, '系统管理员', 1619900390, '系统管理员', NULL, NULL, NULL, 'CXSQ20200001', NULL, 0, '21', NULL, '12', 10.00, 1000.00, '100', '123', '1', 1000.00, NULL, NULL, '1', '2', 0, 1000.00, 0, '1000', '系统管理员 2021-03-12 08:17', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '212', 0, 1000.00, 100.00, 1, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, NULL, NULL, NULL, NULL);
INSERT INTO `promotion` VALUES (2, 1, 1, 1, '2020-10-23', '2020-10-29', 1603460700, '系统管理员', 1603460784, '系统管理员', NULL, NULL, NULL, 'CXSQ20200002', NULL, NULL, '几个开放的几句话', NULL, '购房贷款计划', 0.00, 0.00, NULL, NULL, '1', 0.00, NULL, '2020-10-23', '028-3815263', '13547652321', 0, 10.00, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 10.00, 100.00, 1, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for promotion_data
-- ----------------------------
DROP TABLE IF EXISTS `promotion_data`;
CREATE TABLE `promotion_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `promotion_id` int(11) NOT NULL COMMENT '促销兑现ID',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销兑现备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建人ID',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额(元)',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '促销数量',
  `use_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '已使用数量',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '单价(元)',
  `use_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '新建人ID',
  `updated_id` int(11) NULL DEFAULT NULL,
  `sale_id` int(11) NULL DEFAULT NULL COMMENT '订单id',
  `sale_data_id` int(11) NULL DEFAULT NULL COMMENT '订单id',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_promotion_data_promotion_id`(`promotion_id`) USING BTREE,
  INDEX `idx_promotion_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_promotion_data_use_close`(`use_close`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of promotion_data
-- ----------------------------
INSERT INTO `promotion_data` VALUES (1, 1, NULL, 1603102979, '系统管理员', '系统管理员', 1619900390, 920.00, 20410, 10.00, 0.00, 92.00, 0, 1, 1, NULL, NULL);
INSERT INTO `promotion_data` VALUES (2, 2, NULL, 1603460784, '系统管理员', '系统管理员', 1603460784, 0.00, 20158, 2.00, NULL, 0.00, NULL, 1, 1, NULL, NULL);

-- ----------------------------
-- Table structure for promotion_material
-- ----------------------------
DROP TABLE IF EXISTS `promotion_material`;
CREATE TABLE `promotion_material`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `promotion_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件名称',
  `location` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '位置',
  `lng` float NULL DEFAULT NULL COMMENT '位置纬度',
  `lat` float NULL DEFAULT NULL COMMENT '位置经度',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '核销状态',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_promotion_material_promotion_id`(`promotion_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of promotion_material
-- ----------------------------

-- ----------------------------
-- Table structure for promotion_material_file
-- ----------------------------
DROP TABLE IF EXISTS `promotion_material_file`;
CREATE TABLE `promotion_material_file`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件路径',
  `type` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件类型',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件名称',
  `size` int(11) NULL DEFAULT NULL COMMENT '文件字节',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '附件状态',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `material_id` int(11) NULL DEFAULT NULL COMMENT '素材ID',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_promotion_material_file_material_id`(`material_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of promotion_material_file
-- ----------------------------

-- ----------------------------
-- Table structure for promotion_review
-- ----------------------------
DROP TABLE IF EXISTS `promotion_review`;
CREATE TABLE `promotion_review`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type_id` tinyint(4) NULL DEFAULT NULL COMMENT '促销类型',
  `customer_id` int(11) NOT NULL COMMENT '所属客户',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `start_dt` date NULL DEFAULT NULL COMMENT '开始时间',
  `end_dt` date NULL DEFAULT NULL COMMENT '结束时间',
  `date` date NULL DEFAULT NULL COMMENT '单据日期',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `attachment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '相关文件',
  `region_id` int(11) NULL DEFAULT NULL COMMENT '销售区域',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '所属部门',
  `sn` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销编号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `is_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  `promote_scope` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销范围(连锁超市要注明家数)',
  `pro_bg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销背景说明',
  `pro_method_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销方法描述',
  `pro_total_cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '预估总费用',
  `sale_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '预估销量(元)',
  `customer_pro_head` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '经销商执行人员',
  `customer_pro_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户执行人电话',
  `note_review` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '该渠道历史促销回顾',
  `apply_fee` decimal(10, 2) NULL DEFAULT NULL COMMENT '申请费用',
  `use_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '已用兑现金额',
  `actived_dt` date NULL DEFAULT NULL COMMENT '生效日期',
  `fax` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '回复传真',
  `phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '确认电话',
  `link_order_id` int(11) NULL DEFAULT NULL COMMENT '关联订单',
  `area_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司批复支持费用',
  `reg_photo` int(11) NULL DEFAULT NULL COMMENT '陈列照片(张)',
  `reg_other_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '其他约定',
  `audit_market_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场助理审核签名',
  `audit_province_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '省区经理意见',
  `audit_province_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '省区经理时间',
  `audit_fee_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场费用专员意见',
  `audit_fee_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场费用专员时间',
  `audit_market2_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场部经理意见',
  `audit_market2_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '市场部经理时间',
  `audit_cmo_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '营销总监意见',
  `audit_cmo_sign` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '营销总监时间',
  `is_chairman_audit` tinyint(4) NULL DEFAULT NULL COMMENT '是否董事长审核',
  `fact_verification_cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '实际核销支持费用',
  `undertake_ratio` tinyint(4) NULL DEFAULT NULL COMMENT '公司承担比例(%)',
  `need_review` tinyint(4) NULL DEFAULT NULL COMMENT '需要核销',
  `pro_before_date` date NULL DEFAULT NULL COMMENT '促销前跟踪预计日期',
  `apply_id` int(11) NULL DEFAULT NULL COMMENT '批复编号',
  `over_due_day` tinyint(4) NULL DEFAULT NULL COMMENT '超期天数',
  `verification_cost` decimal(10, 2) NULL DEFAULT NULL COMMENT '本次核销费用',
  `pay_type` tinyint(4) NULL DEFAULT NULL COMMENT '支付方式',
  `use_order` tinyint(4) NULL DEFAULT NULL COMMENT '是否使用',
  `reply_content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '批复内容',
  `execute_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销执行情况',
  `apply_change` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销变更申请',
  `res_analyze` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '促销结果分析',
  `improvement` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '改进措施',
  `other_text` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '其他',
  `demand` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '批复要求',
  `attachment_ditail` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '附件明细',
  `apply_start_dt` date NULL DEFAULT NULL COMMENT '开始时间',
  `apply_created_at` date NULL DEFAULT NULL COMMENT '申请时间',
  `apply_scope` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销范围',
  `apply_end_dt` date NULL DEFAULT NULL COMMENT '结束日期',
  `deduction_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '扣减金额',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人ID',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `apply_dt` date NULL DEFAULT NULL COMMENT '申请时间',
  `apply_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '申请费用',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_promotion_review_created_by`(`created_by`) USING BTREE,
  INDEX `idx_promotion_review_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_promotion_review_department_id`(`department_id`) USING BTREE,
  INDEX `idx_promotion_review_start_dt`(`start_dt`) USING BTREE,
  INDEX `idx_promotion_review_is_chairman_audit`(`is_chairman_audit`) USING BTREE,
  INDEX `idx_promotion_review_is_close`(`is_close`) USING BTREE,
  INDEX `idx_promotion_review_link_order_id`(`link_order_id`) USING BTREE,
  INDEX `idx_promotion_review_pay_type`(`pay_type`) USING BTREE,
  INDEX `idx_promotion_review_apply_id`(`apply_id`) USING BTREE,
  INDEX `idx_promotion_review_region_id`(`region_id`) USING BTREE,
  INDEX `idx_promotion_review_use_order`(`use_order`) USING BTREE,
  INDEX `idx_promotion_review_updated_by`(`updated_by`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of promotion_review
-- ----------------------------
INSERT INTO `promotion_review` VALUES (1, NULL, 1, 0, NULL, NULL, '2020-10-23', '系统管理员', 1603462376, '系统管理员', NULL, NULL, NULL, 'CXBX20200001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10.00, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 10.00, NULL, NULL, NULL, 2, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-10-23', NULL, '几个开放的几句话', '2020-10-29', NULL, 1, 1, 1603462376, '2020-10-23', 0.00);
INSERT INTO `promotion_review` VALUES (2, NULL, 1, 0, NULL, NULL, '2021-05-02', NULL, NULL, '系统管理员', NULL, NULL, NULL, 'CXBX20210001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1000.00, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1000.00, NULL, NULL, NULL, 1, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2020-10-19', NULL, '21', '2020-10-20', NULL, 1, NULL, 1619900606, '2021-05-02', 1000.00);

-- ----------------------------
-- Table structure for promotion_review_data
-- ----------------------------
DROP TABLE IF EXISTS `promotion_review_data`;
CREATE TABLE `promotion_review_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `review_id` int(11) NOT NULL COMMENT '促销兑现ID',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '促销兑现备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建人ID',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `discount_rate` smallint(6) NULL DEFAULT NULL COMMENT '折扣率',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额(元)',
  `product_spec` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '产品规格',
  `product_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '产品名称',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '促销数量',
  `use_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '已使用数量',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '默认价格',
  `use_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  `bill_id` int(11) NULL DEFAULT NULL COMMENT '单据ID',
  `bill_data_id` int(11) NULL DEFAULT NULL COMMENT '单据明细ID',
  `bill_type_id` int(11) NULL DEFAULT NULL COMMENT '单据类型',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_promotion_review_data_bill_data_id`(`bill_data_id`) USING BTREE,
  INDEX `idx_promotion_review_data_bill_id`(`bill_id`) USING BTREE,
  INDEX `idx_promotion_review_data_bill_type_id`(`bill_type_id`) USING BTREE,
  INDEX `idx_promotion_review_data_review_id`(`review_id`) USING BTREE,
  INDEX `idx_promotion_review_data_use_close`(`use_close`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '客户联系人' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of promotion_review_data
-- ----------------------------
INSERT INTO `promotion_review_data` VALUES (1, 1, NULL, 1603460784, '系统管理员', '系统管理员', 1603460784, NULL, 0.00, '1000根/把', '006 GX-竹签', 20158, 2.00, 0.00, 0.00, 0, NULL, NULL, NULL);
INSERT INTO `promotion_review_data` VALUES (2, 2, NULL, 1603102979, '系统管理员', '系统管理员', 1619900390, NULL, 920.00, '158g*40袋', '脆口榨菜', 20410, 10.00, 0.00, 92.00, 0, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for purchase_order
-- ----------------------------
DROP TABLE IF EXISTS `purchase_order`;
CREATE TABLE `purchase_order`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_id` int(11) NULL DEFAULT NULL,
  `sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `supplier_id` int(11) NULL DEFAULT NULL COMMENT '供应商',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '单据日期',
  `plan_arrive_dt` date NULL DEFAULT NULL COMMENT '计划到货日期',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '业务类型',
  `category_id` int(11) NULL DEFAULT NULL COMMENT '采购类别',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '部门',
  `tax_rate` smallint(6) NULL DEFAULT NULL COMMENT '税率',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_purchase_order_code`(`code`) USING BTREE,
  INDEX `idx_purchase_order_status`(`status`) USING BTREE,
  INDEX `idx_purchase_order_sn`(`sn`) USING BTREE,
  INDEX `idx_purchase_order_supplier_id`(`supplier_id`) USING BTREE,
  INDEX `idx_purchase_order_invoice_dt`(`invoice_dt`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of purchase_order
-- ----------------------------
INSERT INTO `purchase_order` VALUES (1, NULL, NULL, NULL, NULL, 1603204793, '系统管理员', '系统管理员', 1603204793, NULL, 1, 1, 'CGDD202010200001', NULL, '2020-10-20', NULL, 1, 1, 0, NULL);
INSERT INTO `purchase_order` VALUES (2, NULL, NULL, '测试', NULL, 1614191674, '系统管理员', '系统管理员', 1614191719, 0, 1, 1, 'CGDD202102240001', NULL, '2021-02-24', NULL, 1, 1, 3, NULL);

-- ----------------------------
-- Table structure for purchase_order_data
-- ----------------------------
DROP TABLE IF EXISTS `purchase_order_data`;
CREATE TABLE `purchase_order_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `order_id` int(11) NOT NULL COMMENT '仓库',
  `code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_id` int(11) NULL DEFAULT NULL,
  `product_id` int(11) NULL DEFAULT NULL COMMENT '商品ID',
  `apply_quantity` decimal(20, 2) NULL DEFAULT NULL COMMENT '申请数量',
  `quantity` decimal(20, 2) NULL DEFAULT NULL COMMENT '采购数量',
  `tax_price` decimal(20, 5) NULL DEFAULT NULL COMMENT '含税单价',
  `tax_money` decimal(20, 2) NULL DEFAULT NULL COMMENT '价税合计',
  `tax_rate` smallint(6) NULL DEFAULT NULL COMMENT '税率',
  `tax_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '税额',
  `plan_arrive_dt` date NULL DEFAULT NULL COMMENT '计划到货日期',
  `supplier_id` int(11) NULL DEFAULT NULL COMMENT '供应商',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_purchase_order_data_code`(`code`) USING BTREE,
  INDEX `idx_purchase_order_data_status`(`status`) USING BTREE,
  INDEX `idx_purchase_order_data_order_id`(`order_id`) USING BTREE,
  INDEX `idx_purchase_order_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_purchase_order_data_supplier_id`(`supplier_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of purchase_order_data
-- ----------------------------
INSERT INTO `purchase_order_data` VALUES (1, 1, NULL, NULL, NULL, NULL, 1603204793, '系统管理员', '系统管理员', 1603204793, NULL, 1, 1, 1437, 2.00, 2.00, NULL, 0.00, NULL, 0.00, NULL, NULL);
INSERT INTO `purchase_order_data` VALUES (2, 2, NULL, NULL, NULL, NULL, 1614191674, '系统管理员', '系统管理员', 1614191719, NULL, 1, 1, 20409, 100.00, 100.00, 0.00000, 0.00, NULL, 0.00, NULL, NULL);
INSERT INTO `purchase_order_data` VALUES (3, 2, NULL, NULL, NULL, NULL, 1614191719, '系统管理员', NULL, NULL, NULL, 1, NULL, 1600, 200.00, 200.00, NULL, 0.00, NULL, 0.00, NULL, NULL);

-- ----------------------------
-- Table structure for region
-- ----------------------------
DROP TABLE IF EXISTS `region`;
CREATE TABLE `region`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NOT NULL DEFAULT 0 COMMENT '上级',
  `name` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `code` int(11) NULL DEFAULT NULL,
  `layer` tinyint(4) NULL DEFAULT NULL,
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者名称',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_region_code`(`code`) USING BTREE,
  INDEX `idx_region_layer`(`layer`) USING BTREE,
  INDEX `idx_region_parent_id`(`parent_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3196 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of region
-- ----------------------------
INSERT INTO `region` VALUES (1, 0, '北京市', 110000, 1, '0', 0, 1573255163, '系统管理员', 0, 1);
INSERT INTO `region` VALUES (2, 1, '北京市', 110000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3, 2, '东城区', 110101, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (4, 2, '西城区', 110102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (5, 2, '朝阳区', 110105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (6, 2, '丰台区', 110106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (7, 2, '石景山区', 110107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (8, 2, '海淀区', 110108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (9, 2, '门头沟区', 110109, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (10, 2, '房山区', 110111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (11, 2, '通州区', 110112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (12, 2, '顺义区', 110113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (13, 2, '昌平区', 110114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (14, 2, '大兴区', 110115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (15, 2, '怀柔区', 110116, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (16, 2, '平谷区', 110117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (17, 2, '密云区', 110118, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (18, 2, '延庆区', 110119, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (19, 0, '天津市', 120000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (20, 19, '天津市', 120000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (21, 20, '和平区', 120101, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (22, 20, '河东区', 120102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (23, 20, '河西区', 120103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (24, 20, '南开区', 120104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (25, 20, '河北区', 120105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (26, 20, '红桥区', 120106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (27, 20, '东丽区', 120110, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (28, 20, '西青区', 120111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (29, 20, '津南区', 120112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (30, 20, '北辰区', 120113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (31, 20, '武清区', 120114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (32, 20, '宝坻区', 120115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (33, 20, '滨海新区', 120116, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (34, 20, '宁河区', 120117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (35, 20, '静海区', 120118, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (36, 20, '蓟州区', 120119, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (37, 0, '河北省', 130000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (38, 37, '石家庄市', 130100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (39, 38, '长安区', 130102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (40, 38, '桥西区', 130104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (41, 38, '新华区', 130105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (42, 38, '井陉矿区', 130107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (43, 38, '裕华区', 130108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (44, 38, '藁城区', 130109, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (45, 38, '鹿泉区', 130110, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (46, 38, '栾城区', 130111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (47, 38, '井陉县', 130121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (48, 38, '正定县', 130123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (49, 38, '行唐县', 130125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (50, 38, '灵寿县', 130126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (51, 38, '高邑县', 130127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (52, 38, '深泽县', 130128, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (53, 38, '赞皇县', 130129, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (54, 38, '无极县', 130130, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (55, 38, '平山县', 130131, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (56, 38, '元氏县', 130132, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (57, 38, '赵县', 130133, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (58, 38, '辛集市', 130181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (59, 38, '晋州市', 130183, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (60, 38, '新乐市', 130184, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (61, 37, '唐山市', 130200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (62, 61, '路南区', 130202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (63, 61, '路北区', 130203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (64, 61, '古冶区', 130204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (65, 61, '开平区', 130205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (66, 61, '丰南区', 130207, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (67, 61, '丰润区', 130208, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (68, 61, '曹妃甸区', 130209, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (69, 61, '滦南县', 130224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (70, 61, '乐亭县', 130225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (71, 61, '迁西县', 130227, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (72, 61, '玉田县', 130229, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (73, 61, '遵化市', 130281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (74, 61, '迁安市', 130283, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (75, 61, '滦州市', 130284, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (76, 37, '秦皇岛市', 130300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (77, 76, '海港区', 130302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (78, 76, '山海关区', 130303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (79, 76, '北戴河区', 130304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (80, 76, '抚宁区', 130306, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (81, 76, '青龙满族自治县', 130321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (82, 76, '昌黎县', 130322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (83, 76, '卢龙县', 130324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (84, 37, '邯郸市', 130400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (85, 84, '邯山区', 130402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (86, 84, '丛台区', 130403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (87, 84, '复兴区', 130404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (88, 84, '峰峰矿区', 130406, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (89, 84, '肥乡区', 130407, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (90, 84, '永年区', 130408, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (91, 84, '临漳县', 130423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (92, 84, '成安县', 130424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (93, 84, '大名县', 130425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (94, 84, '涉县', 130426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (95, 84, '磁县', 130427, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (96, 84, '邱县', 130430, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (97, 84, '鸡泽县', 130431, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (98, 84, '广平县', 130432, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (99, 84, '馆陶县', 130433, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (100, 84, '魏县', 130434, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (101, 84, '曲周县', 130435, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (102, 84, '武安市', 130481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (103, 37, '邢台市', 130500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (104, 103, '桥东区', 130502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (105, 103, '桥西区', 130503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (106, 103, '邢台县', 130521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (107, 103, '临城县', 130522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (108, 103, '内丘县', 130523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (109, 103, '柏乡县', 130524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (110, 103, '隆尧县', 130525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (111, 103, '任县', 130526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (112, 103, '南和县', 130527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (113, 103, '宁晋县', 130528, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (114, 103, '巨鹿县', 130529, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (115, 103, '新河县', 130530, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (116, 103, '广宗县', 130531, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (117, 103, '平乡县', 130532, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (118, 103, '威县', 130533, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (119, 103, '清河县', 130534, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (120, 103, '临西县', 130535, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (121, 103, '南宫市', 130581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (122, 103, '沙河市', 130582, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (123, 37, '保定市', 130600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (124, 123, '竞秀区', 130602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (125, 123, '莲池区', 130606, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (126, 123, '满城区', 130607, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (127, 123, '清苑区', 130608, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (128, 123, '徐水区', 130609, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (129, 123, '涞水县', 130623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (130, 123, '阜平县', 130624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (131, 123, '定兴县', 130626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (132, 123, '唐县', 130627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (133, 123, '高阳县', 130628, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (134, 123, '容城县', 130629, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (135, 123, '涞源县', 130630, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (136, 123, '望都县', 130631, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (137, 123, '安新县', 130632, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (138, 123, '易县', 130633, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (139, 123, '曲阳县', 130634, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (140, 123, '蠡县', 130635, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (141, 123, '顺平县', 130636, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (142, 123, '博野县', 130637, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (143, 123, '雄县', 130638, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (144, 123, '涿州市', 130681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (145, 123, '定州市', 130682, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (146, 123, '安国市', 130683, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (147, 123, '高碑店市', 130684, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (148, 37, '张家口市', 130700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (149, 148, '桥东区', 130702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (150, 148, '桥西区', 130703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (151, 148, '宣化区', 130705, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (152, 148, '下花园区', 130706, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (153, 148, '万全区', 130708, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (154, 148, '崇礼区', 130709, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (155, 148, '张北县', 130722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (156, 148, '康保县', 130723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (157, 148, '沽源县', 130724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (158, 148, '尚义县', 130725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (159, 148, '蔚县', 130726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (160, 148, '阳原县', 130727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (161, 148, '怀安县', 130728, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (162, 148, '怀来县', 130730, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (163, 148, '涿鹿县', 130731, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (164, 148, '赤城县', 130732, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (165, 37, '承德市', 130800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (166, 165, '双桥区', 130802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (167, 165, '双滦区', 130803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (168, 165, '鹰手营子矿区', 130804, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (169, 165, '承德县', 130821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (170, 165, '兴隆县', 130822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (171, 165, '滦平县', 130824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (172, 165, '隆化县', 130825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (173, 165, '丰宁满族自治县', 130826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (174, 165, '宽城满族自治县', 130827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (175, 165, '围场满族蒙古族自治县', 130828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (176, 165, '平泉市', 130881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (177, 37, '沧州市', 130900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (178, 177, '新华区', 130902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (179, 177, '运河区', 130903, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (180, 177, '沧县', 130921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (181, 177, '青县', 130922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (182, 177, '东光县', 130923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (183, 177, '海兴县', 130924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (184, 177, '盐山县', 130925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (185, 177, '肃宁县', 130926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (186, 177, '南皮县', 130927, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (187, 177, '吴桥县', 130928, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (188, 177, '献县', 130929, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (189, 177, '孟村回族自治县', 130930, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (190, 177, '泊头市', 130981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (191, 177, '任丘市', 130982, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (192, 177, '黄骅市', 130983, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (193, 177, '河间市', 130984, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (194, 37, '廊坊市', 131000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (195, 194, '安次区', 131002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (196, 194, '广阳区', 131003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (197, 194, '固安县', 131022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (198, 194, '永清县', 131023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (199, 194, '香河县', 131024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (200, 194, '大城县', 131025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (201, 194, '文安县', 131026, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (202, 194, '大厂回族自治县', 131028, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (203, 194, '霸州市', 131081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (204, 194, '三河市', 131082, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (205, 37, '衡水市', 131100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (206, 205, '桃城区', 131102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (207, 205, '冀州区', 131103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (208, 205, '枣强县', 131121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (209, 205, '武邑县', 131122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (210, 205, '武强县', 131123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (211, 205, '饶阳县', 131124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (212, 205, '安平县', 131125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (213, 205, '故城县', 131126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (214, 205, '景县', 131127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (215, 205, '阜城县', 131128, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (216, 205, '深州市', 131182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (217, 0, '山西省', 140000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (218, 217, '太原市', 140100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (219, 218, '小店区', 140105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (220, 218, '迎泽区', 140106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (221, 218, '杏花岭区', 140107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (222, 218, '尖草坪区', 140108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (223, 218, '万柏林区', 140109, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (224, 218, '晋源区', 140110, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (225, 218, '清徐县', 140121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (226, 218, '阳曲县', 140122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (227, 218, '娄烦县', 140123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (228, 218, '古交市', 140181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (229, 217, '大同市', 140200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (230, 229, '新荣区', 140212, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (231, 229, '平城区', 140213, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (232, 229, '云冈区', 140214, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (233, 229, '云州区', 140215, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (234, 229, '阳高县', 140221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (235, 229, '天镇县', 140222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (236, 229, '广灵县', 140223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (237, 229, '灵丘县', 140224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (238, 229, '浑源县', 140225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (239, 229, '左云县', 140226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (240, 217, '阳泉市', 140300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (241, 240, '城区', 140302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (242, 240, '矿区', 140303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (243, 240, '郊区', 140311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (244, 240, '平定县', 140321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (245, 240, '盂县', 140322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (246, 217, '长治市', 140400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (247, 246, '潞州区', 140403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (248, 246, '上党区', 140404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (249, 246, '屯留区', 140405, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (250, 246, '潞城区', 140406, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (251, 246, '襄垣县', 140423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (252, 246, '平顺县', 140425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (253, 246, '黎城县', 140426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (254, 246, '壶关县', 140427, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (255, 246, '长子县', 140428, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (256, 246, '武乡县', 140429, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (257, 246, '沁县', 140430, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (258, 246, '沁源县', 140431, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (259, 217, '晋城市', 140500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (260, 259, '城区', 140502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (261, 259, '沁水县', 140521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (262, 259, '阳城县', 140522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (263, 259, '陵川县', 140524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (264, 259, '泽州县', 140525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (265, 259, '高平市', 140581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (266, 217, '朔州市', 140600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (267, 266, '朔城区', 140602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (268, 266, '平鲁区', 140603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (269, 266, '山阴县', 140621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (270, 266, '应县', 140622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (271, 266, '右玉县', 140623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (272, 266, '怀仁市', 140681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (273, 217, '晋中市', 140700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (274, 273, '榆次区', 140702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (275, 273, '榆社县', 140721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (276, 273, '左权县', 140722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (277, 273, '和顺县', 140723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (278, 273, '昔阳县', 140724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (279, 273, '寿阳县', 140725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (280, 273, '太谷县', 140726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (281, 273, '祁县', 140727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (282, 273, '平遥县', 140728, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (283, 273, '灵石县', 140729, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (284, 273, '介休市', 140781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (285, 217, '运城市', 140800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (286, 285, '盐湖区', 140802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (287, 285, '临猗县', 140821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (288, 285, '万荣县', 140822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (289, 285, '闻喜县', 140823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (290, 285, '稷山县', 140824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (291, 285, '新绛县', 140825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (292, 285, '绛县', 140826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (293, 285, '垣曲县', 140827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (294, 285, '夏县', 140828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (295, 285, '平陆县', 140829, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (296, 285, '芮城县', 140830, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (297, 285, '永济市', 140881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (298, 285, '河津市', 140882, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (299, 217, '忻州市', 140900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (300, 299, '忻府区', 140902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (301, 299, '定襄县', 140921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (302, 299, '五台县', 140922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (303, 299, '代县', 140923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (304, 299, '繁峙县', 140924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (305, 299, '宁武县', 140925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (306, 299, '静乐县', 140926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (307, 299, '神池县', 140927, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (308, 299, '五寨县', 140928, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (309, 299, '岢岚县', 140929, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (310, 299, '河曲县', 140930, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (311, 299, '保德县', 140931, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (312, 299, '偏关县', 140932, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (313, 299, '原平市', 140981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (314, 217, '临汾市', 141000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (315, 314, '尧都区', 141002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (316, 314, '曲沃县', 141021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (317, 314, '翼城县', 141022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (318, 314, '襄汾县', 141023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (319, 314, '洪洞县', 141024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (320, 314, '古县', 141025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (321, 314, '安泽县', 141026, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (322, 314, '浮山县', 141027, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (323, 314, '吉县', 141028, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (324, 314, '乡宁县', 141029, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (325, 314, '大宁县', 141030, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (326, 314, '隰县', 141031, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (327, 314, '永和县', 141032, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (328, 314, '蒲县', 141033, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (329, 314, '汾西县', 141034, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (330, 314, '侯马市', 141081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (331, 314, '霍州市', 141082, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (332, 217, '吕梁市', 141100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (333, 332, '离石区', 141102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (334, 332, '文水县', 141121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (335, 332, '交城县', 141122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (336, 332, '兴县', 141123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (337, 332, '临县', 141124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (338, 332, '柳林县', 141125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (339, 332, '石楼县', 141126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (340, 332, '岚县', 141127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (341, 332, '方山县', 141128, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (342, 332, '中阳县', 141129, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (343, 332, '交口县', 141130, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (344, 332, '孝义市', 141181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (345, 332, '汾阳市', 141182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (346, 0, '内蒙古自治区', 150000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (347, 346, '呼和浩特市', 150100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (348, 347, '新城区', 150102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (349, 347, '回民区', 150103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (350, 347, '玉泉区', 150104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (351, 347, '赛罕区', 150105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (352, 347, '土默特左旗', 150121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (353, 347, '托克托县', 150122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (354, 347, '和林格尔县', 150123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (355, 347, '清水河县', 150124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (356, 347, '武川县', 150125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (357, 346, '包头市', 150200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (358, 357, '东河区', 150202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (359, 357, '昆都仑区', 150203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (360, 357, '青山区', 150204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (361, 357, '石拐区', 150205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (362, 357, '白云鄂博矿区', 150206, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (363, 357, '九原区', 150207, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (364, 357, '土默特右旗', 150221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (365, 357, '固阳县', 150222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (366, 357, '达尔罕茂明安联合旗', 150223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (367, 346, '乌海市', 150300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (368, 367, '海勃湾区', 150302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (369, 367, '海南区', 150303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (370, 367, '乌达区', 150304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (371, 346, '赤峰市', 150400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (372, 371, '红山区', 150402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (373, 371, '元宝山区', 150403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (374, 371, '松山区', 150404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (375, 371, '阿鲁科尔沁旗', 150421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (376, 371, '巴林左旗', 150422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (377, 371, '巴林右旗', 150423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (378, 371, '林西县', 150424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (379, 371, '克什克腾旗', 150425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (380, 371, '翁牛特旗', 150426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (381, 371, '喀喇沁旗', 150428, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (382, 371, '宁城县', 150429, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (383, 371, '敖汉旗', 150430, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (384, 346, '通辽市', 150500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (385, 384, '科尔沁区', 150502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (386, 384, '科尔沁左翼中旗', 150521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (387, 384, '科尔沁左翼后旗', 150522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (388, 384, '开鲁县', 150523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (389, 384, '库伦旗', 150524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (390, 384, '奈曼旗', 150525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (391, 384, '扎鲁特旗', 150526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (392, 384, '霍林郭勒市', 150581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (393, 346, '鄂尔多斯市', 150600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (394, 393, '东胜区', 150602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (395, 393, '康巴什区', 150603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (396, 393, '达拉特旗', 150621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (397, 393, '准格尔旗', 150622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (398, 393, '鄂托克前旗', 150623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (399, 393, '鄂托克旗', 150624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (400, 393, '杭锦旗', 150625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (401, 393, '乌审旗', 150626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (402, 393, '伊金霍洛旗', 150627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (403, 346, '呼伦贝尔市', 150700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (404, 403, '海拉尔区', 150702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (405, 403, '扎赉诺尔区', 150703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (406, 403, '阿荣旗', 150721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (407, 403, '莫力达瓦达斡尔族自治旗', 150722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (408, 403, '鄂伦春自治旗', 150723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (409, 403, '鄂温克族自治旗', 150724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (410, 403, '陈巴尔虎旗', 150725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (411, 403, '新巴尔虎左旗', 150726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (412, 403, '新巴尔虎右旗', 150727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (413, 403, '满洲里市', 150781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (414, 403, '牙克石市', 150782, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (415, 403, '扎兰屯市', 150783, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (416, 403, '额尔古纳市', 150784, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (417, 403, '根河市', 150785, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (418, 346, '巴彦淖尔市', 150800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (419, 418, '临河区', 150802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (420, 418, '五原县', 150821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (421, 418, '磴口县', 150822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (422, 418, '乌拉特前旗', 150823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (423, 418, '乌拉特中旗', 150824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (424, 418, '乌拉特后旗', 150825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (425, 418, '杭锦后旗', 150826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (426, 346, '乌兰察布市', 150900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (427, 426, '集宁区', 150902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (428, 426, '卓资县', 150921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (429, 426, '化德县', 150922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (430, 426, '商都县', 150923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (431, 426, '兴和县', 150924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (432, 426, '凉城县', 150925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (433, 426, '察哈尔右翼前旗', 150926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (434, 426, '察哈尔右翼中旗', 150927, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (435, 426, '察哈尔右翼后旗', 150928, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (436, 426, '四子王旗', 150929, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (437, 426, '丰镇市', 150981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (438, 346, '兴安盟', 152200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (439, 438, '乌兰浩特市', 152201, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (440, 438, '阿尔山市', 152202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (441, 438, '科尔沁右翼前旗', 152221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (442, 438, '科尔沁右翼中旗', 152222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (443, 438, '扎赉特旗', 152223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (444, 438, '突泉县', 152224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (445, 346, '锡林郭勒盟', 152500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (446, 445, '二连浩特市', 152501, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (447, 445, '锡林浩特市', 152502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (448, 445, '阿巴嘎旗', 152522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (449, 445, '苏尼特左旗', 152523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (450, 445, '苏尼特右旗', 152524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (451, 445, '东乌珠穆沁旗', 152525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (452, 445, '西乌珠穆沁旗', 152526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (453, 445, '太仆寺旗', 152527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (454, 445, '镶黄旗', 152528, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (455, 445, '正镶白旗', 152529, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (456, 445, '正蓝旗', 152530, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (457, 445, '多伦县', 152531, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (458, 346, '阿拉善盟', 152900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (459, 458, '阿拉善左旗', 152921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (460, 458, '阿拉善右旗', 152922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (461, 458, '额济纳旗', 152923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (462, 0, '辽宁省', 210000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (463, 462, '沈阳市', 210100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (464, 463, '和平区', 210102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (465, 463, '沈河区', 210103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (466, 463, '大东区', 210104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (467, 463, '皇姑区', 210105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (468, 463, '铁西区', 210106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (469, 463, '苏家屯区', 210111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (470, 463, '浑南区', 210112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (471, 463, '沈北新区', 210113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (472, 463, '于洪区', 210114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (473, 463, '辽中区', 210115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (474, 463, '康平县', 210123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (475, 463, '法库县', 210124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (476, 463, '新民市', 210181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (477, 462, '大连市', 210200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (478, 477, '中山区', 210202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (479, 477, '西岗区', 210203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (480, 477, '沙河口区', 210204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (481, 477, '甘井子区', 210211, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (482, 477, '旅顺口区', 210212, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (483, 477, '金州区', 210213, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (484, 477, '普兰店区', 210214, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (485, 477, '长海县', 210224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (486, 477, '瓦房店市', 210281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (487, 477, '庄河市', 210283, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (488, 462, '鞍山市', 210300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (489, 488, '铁东区', 210302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (490, 488, '铁西区', 210303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (491, 488, '立山区', 210304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (492, 488, '千山区', 210311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (493, 488, '台安县', 210321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (494, 488, '岫岩满族自治县', 210323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (495, 488, '海城市', 210381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (496, 462, '抚顺市', 210400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (497, 496, '新抚区', 210402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (498, 496, '东洲区', 210403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (499, 496, '望花区', 210404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (500, 496, '顺城区', 210411, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (501, 496, '抚顺县', 210421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (502, 496, '新宾满族自治县', 210422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (503, 496, '清原满族自治县', 210423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (504, 462, '本溪市', 210500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (505, 504, '平山区', 210502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (506, 504, '溪湖区', 210503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (507, 504, '明山区', 210504, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (508, 504, '南芬区', 210505, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (509, 504, '本溪满族自治县', 210521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (510, 504, '桓仁满族自治县', 210522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (511, 462, '丹东市', 210600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (512, 511, '元宝区', 210602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (513, 511, '振兴区', 210603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (514, 511, '振安区', 210604, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (515, 511, '宽甸满族自治县', 210624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (516, 511, '东港市', 210681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (517, 511, '凤城市', 210682, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (518, 462, '锦州市', 210700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (519, 518, '古塔区', 210702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (520, 518, '凌河区', 210703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (521, 518, '太和区', 210711, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (522, 518, '黑山县', 210726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (523, 518, '义县', 210727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (524, 518, '凌海市', 210781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (525, 518, '北镇市', 210782, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (526, 462, '营口市', 210800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (527, 526, '站前区', 210802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (528, 526, '西市区', 210803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (529, 526, '鲅鱼圈区', 210804, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (530, 526, '老边区', 210811, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (531, 526, '盖州市', 210881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (532, 526, '大石桥市', 210882, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (533, 462, '阜新市', 210900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (534, 533, '海州区', 210902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (535, 533, '新邱区', 210903, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (536, 533, '太平区', 210904, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (537, 533, '清河门区', 210905, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (538, 533, '细河区', 210911, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (539, 533, '阜新蒙古族自治县', 210921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (540, 533, '彰武县', 210922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (541, 462, '辽阳市', 211000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (542, 541, '白塔区', 211002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (543, 541, '文圣区', 211003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (544, 541, '宏伟区', 211004, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (545, 541, '弓长岭区', 211005, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (546, 541, '太子河区', 211011, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (547, 541, '辽阳县', 211021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (548, 541, '灯塔市', 211081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (549, 462, '盘锦市', 211100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (550, 549, '双台子区', 211102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (551, 549, '兴隆台区', 211103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (552, 549, '大洼区', 211104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (553, 549, '盘山县', 211122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (554, 462, '铁岭市', 211200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (555, 554, '银州区', 211202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (556, 554, '清河区', 211204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (557, 554, '铁岭县', 211221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (558, 554, '西丰县', 211223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (559, 554, '昌图县', 211224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (560, 554, '调兵山市', 211281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (561, 554, '开原市', 211282, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (562, 462, '朝阳市', 211300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (563, 562, '双塔区', 211302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (564, 562, '龙城区', 211303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (565, 562, '朝阳县', 211321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (566, 562, '建平县', 211322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (567, 562, '喀喇沁左翼蒙古族自治县', 211324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (568, 562, '北票市', 211381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (569, 562, '凌源市', 211382, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (570, 462, '葫芦岛市', 211400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (571, 570, '连山区', 211402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (572, 570, '龙港区', 211403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (573, 570, '南票区', 211404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (574, 570, '绥中县', 211421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (575, 570, '建昌县', 211422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (576, 570, '兴城市', 211481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (577, 0, '吉林省', 220000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (578, 577, '长春市', 220100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (579, 578, '南关区', 220102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (580, 578, '宽城区', 220103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (581, 578, '朝阳区', 220104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (582, 578, '二道区', 220105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (583, 578, '绿园区', 220106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (584, 578, '双阳区', 220112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (585, 578, '九台区', 220113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (586, 578, '农安县', 220122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (587, 578, '榆树市', 220182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (588, 578, '德惠市', 220183, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (589, 577, '吉林市', 220200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (590, 589, '昌邑区', 220202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (591, 589, '龙潭区', 220203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (592, 589, '船营区', 220204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (593, 589, '丰满区', 220211, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (594, 589, '永吉县', 220221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (595, 589, '蛟河市', 220281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (596, 589, '桦甸市', 220282, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (597, 589, '舒兰市', 220283, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (598, 589, '磐石市', 220284, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (599, 577, '四平市', 220300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (600, 599, '铁西区', 220302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (601, 599, '铁东区', 220303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (602, 599, '梨树县', 220322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (603, 599, '伊通满族自治县', 220323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (604, 599, '公主岭市', 220381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (605, 599, '双辽市', 220382, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (606, 577, '辽源市', 220400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (607, 606, '龙山区', 220402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (608, 606, '西安区', 220403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (609, 606, '东丰县', 220421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (610, 606, '东辽县', 220422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (611, 577, '通化市', 220500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (612, 611, '东昌区', 220502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (613, 611, '二道江区', 220503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (614, 611, '通化县', 220521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (615, 611, '辉南县', 220523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (616, 611, '柳河县', 220524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (617, 611, '梅河口市', 220581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (618, 611, '集安市', 220582, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (619, 577, '白山市', 220600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (620, 619, '浑江区', 220602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (621, 619, '江源区', 220605, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (622, 619, '抚松县', 220621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (623, 619, '靖宇县', 220622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (624, 619, '长白朝鲜族自治县', 220623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (625, 619, '临江市', 220681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (626, 577, '松原市', 220700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (627, 626, '宁江区', 220702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (628, 626, '前郭尔罗斯蒙古族自治县', 220721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (629, 626, '长岭县', 220722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (630, 626, '乾安县', 220723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (631, 626, '扶余市', 220781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (632, 577, '白城市', 220800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (633, 632, '洮北区', 220802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (634, 632, '镇赉县', 220821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (635, 632, '通榆县', 220822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (636, 632, '洮南市', 220881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (637, 632, '大安市', 220882, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (638, 577, '延边朝鲜族自治州', 222400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (639, 638, '延吉市', 222401, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (640, 638, '图们市', 222402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (641, 638, '敦化市', 222403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (642, 638, '珲春市', 222404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (643, 638, '龙井市', 222405, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (644, 638, '和龙市', 222406, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (645, 638, '汪清县', 222424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (646, 638, '安图县', 222426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (647, 0, '黑龙江省', 230000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (648, 647, '哈尔滨市', 230100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (649, 648, '道里区', 230102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (650, 648, '南岗区', 230103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (651, 648, '道外区', 230104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (652, 648, '平房区', 230108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (653, 648, '松北区', 230109, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (654, 648, '香坊区', 230110, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (655, 648, '呼兰区', 230111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (656, 648, '阿城区', 230112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (657, 648, '双城区', 230113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (658, 648, '依兰县', 230123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (659, 648, '方正县', 230124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (660, 648, '宾县', 230125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (661, 648, '巴彦县', 230126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (662, 648, '木兰县', 230127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (663, 648, '通河县', 230128, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (664, 648, '延寿县', 230129, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (665, 648, '尚志市', 230183, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (666, 648, '五常市', 230184, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (667, 647, '齐齐哈尔市', 230200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (668, 667, '龙沙区', 230202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (669, 667, '建华区', 230203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (670, 667, '铁锋区', 230204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (671, 667, '昂昂溪区', 230205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (672, 667, '富拉尔基区', 230206, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (673, 667, '碾子山区', 230207, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (674, 667, '梅里斯达斡尔族区', 230208, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (675, 667, '龙江县', 230221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (676, 667, '依安县', 230223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (677, 667, '泰来县', 230224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (678, 667, '甘南县', 230225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (679, 667, '富裕县', 230227, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (680, 667, '克山县', 230229, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (681, 667, '克东县', 230230, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (682, 667, '拜泉县', 230231, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (683, 667, '讷河市', 230281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (684, 647, '鸡西市', 230300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (685, 684, '鸡冠区', 230302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (686, 684, '恒山区', 230303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (687, 684, '滴道区', 230304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (688, 684, '梨树区', 230305, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (689, 684, '城子河区', 230306, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (690, 684, '麻山区', 230307, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (691, 684, '鸡东县', 230321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (692, 684, '虎林市', 230381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (693, 684, '密山市', 230382, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (694, 647, '鹤岗市', 230400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (695, 694, '向阳区', 230402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (696, 694, '工农区', 230403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (697, 694, '南山区', 230404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (698, 694, '兴安区', 230405, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (699, 694, '东山区', 230406, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (700, 694, '兴山区', 230407, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (701, 694, '萝北县', 230421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (702, 694, '绥滨县', 230422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (703, 647, '双鸭山市', 230500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (704, 703, '尖山区', 230502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (705, 703, '岭东区', 230503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (706, 703, '四方台区', 230505, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (707, 703, '宝山区', 230506, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (708, 703, '集贤县', 230521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (709, 703, '友谊县', 230522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (710, 703, '宝清县', 230523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (711, 703, '饶河县', 230524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (712, 647, '大庆市', 230600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (713, 712, '萨尔图区', 230602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (714, 712, '龙凤区', 230603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (715, 712, '让胡路区', 230604, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (716, 712, '红岗区', 230605, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (717, 712, '大同区', 230606, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (718, 712, '肇州县', 230621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (719, 712, '肇源县', 230622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (720, 712, '林甸县', 230623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (721, 712, '杜尔伯特蒙古族自治县', 230624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (722, 647, '伊春市', 230700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (723, 722, '伊春区', 230702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (724, 722, '南岔区', 230703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (725, 722, '友好区', 230704, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (726, 722, '西林区', 230705, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (727, 722, '翠峦区', 230706, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (728, 722, '新青区', 230707, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (729, 722, '美溪区', 230708, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (730, 722, '金山屯区', 230709, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (731, 722, '五营区', 230710, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (732, 722, '乌马河区', 230711, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (733, 722, '汤旺河区', 230712, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (734, 722, '带岭区', 230713, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (735, 722, '乌伊岭区', 230714, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (736, 722, '红星区', 230715, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (737, 722, '上甘岭区', 230716, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (738, 722, '嘉荫县', 230722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (739, 722, '铁力市', 230781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (740, 647, '佳木斯市', 230800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (741, 740, '向阳区', 230803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (742, 740, '前进区', 230804, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (743, 740, '东风区', 230805, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (744, 740, '郊区', 230811, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (745, 740, '桦南县', 230822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (746, 740, '桦川县', 230826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (747, 740, '汤原县', 230828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (748, 740, '同江市', 230881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (749, 740, '富锦市', 230882, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (750, 740, '抚远市', 230883, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (751, 647, '七台河市', 230900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (752, 751, '新兴区', 230902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (753, 751, '桃山区', 230903, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (754, 751, '茄子河区', 230904, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (755, 751, '勃利县', 230921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (756, 647, '牡丹江市', 231000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (757, 756, '东安区', 231002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (758, 756, '阳明区', 231003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (759, 756, '爱民区', 231004, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (760, 756, '西安区', 231005, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (761, 756, '林口县', 231025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (762, 756, '绥芬河市', 231081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (763, 756, '海林市', 231083, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (764, 756, '宁安市', 231084, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (765, 756, '穆棱市', 231085, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (766, 756, '东宁市', 231086, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (767, 647, '黑河市', 231100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (768, 767, '爱辉区', 231102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (769, 767, '嫩江县', 231121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (770, 767, '逊克县', 231123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (771, 767, '孙吴县', 231124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (772, 767, '北安市', 231181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (773, 767, '五大连池市', 231182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (774, 647, '绥化市', 231200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (775, 774, '北林区', 231202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (776, 774, '望奎县', 231221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (777, 774, '兰西县', 231222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (778, 774, '青冈县', 231223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (779, 774, '庆安县', 231224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (780, 774, '明水县', 231225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (781, 774, '绥棱县', 231226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (782, 774, '安达市', 231281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (783, 774, '肇东市', 231282, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (784, 774, '海伦市', 231283, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (785, 647, '大兴安岭地区', 232700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (786, 785, '漠河市', 232701, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (787, 785, '呼玛县', 232721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (788, 785, '塔河县', 232722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (789, 0, '上海市', 310000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (790, 789, '上海市', 310000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (791, 790, '黄浦区', 310101, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (792, 790, '徐汇区', 310104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (793, 790, '长宁区', 310105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (794, 790, '静安区', 310106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (795, 790, '普陀区', 310107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (796, 790, '虹口区', 310109, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (797, 790, '杨浦区', 310110, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (798, 790, '闵行区', 310112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (799, 790, '宝山区', 310113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (800, 790, '嘉定区', 310114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (801, 790, '浦东新区', 310115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (802, 790, '金山区', 310116, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (803, 790, '松江区', 310117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (804, 790, '青浦区', 310118, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (805, 790, '奉贤区', 310120, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (806, 790, '崇明区', 310151, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (807, 0, '江苏省', 320000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (808, 807, '南京市', 320100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (809, 808, '玄武区', 320102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (810, 808, '秦淮区', 320104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (811, 808, '建邺区', 320105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (812, 808, '鼓楼区', 320106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (813, 808, '浦口区', 320111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (814, 808, '栖霞区', 320113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (815, 808, '雨花台区', 320114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (816, 808, '江宁区', 320115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (817, 808, '六合区', 320116, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (818, 808, '溧水区', 320117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (819, 808, '高淳区', 320118, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (820, 807, '无锡市', 320200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (821, 820, '锡山区', 320205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (822, 820, '惠山区', 320206, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (823, 820, '滨湖区', 320211, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (824, 820, '梁溪区', 320213, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (825, 820, '新吴区', 320214, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (826, 820, '江阴市', 320281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (827, 820, '宜兴市', 320282, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (828, 807, '徐州市', 320300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (829, 828, '鼓楼区', 320302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (830, 828, '云龙区', 320303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (831, 828, '贾汪区', 320305, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (832, 828, '泉山区', 320311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (833, 828, '铜山区', 320312, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (834, 828, '丰县', 320321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (835, 828, '沛县', 320322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (836, 828, '睢宁县', 320324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (837, 828, '新沂市', 320381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (838, 828, '邳州市', 320382, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (839, 807, '常州市', 320400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (840, 839, '天宁区', 320402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (841, 839, '钟楼区', 320404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (842, 839, '新北区', 320411, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (843, 839, '武进区', 320412, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (844, 839, '金坛区', 320413, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (845, 839, '溧阳市', 320481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (846, 807, '苏州市', 320500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (847, 846, '虎丘区', 320505, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (848, 846, '吴中区', 320506, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (849, 846, '相城区', 320507, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (850, 846, '姑苏区', 320508, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (851, 846, '吴江区', 320509, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (852, 846, '常熟市', 320581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (853, 846, '张家港市', 320582, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (854, 846, '昆山市', 320583, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (855, 846, '太仓市', 320585, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (856, 807, '南通市', 320600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (857, 856, '崇川区', 320602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (858, 856, '港闸区', 320611, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (859, 856, '通州区', 320612, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (860, 856, '如东县', 320623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (861, 856, '启东市', 320681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (862, 856, '如皋市', 320682, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (863, 856, '海门市', 320684, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (864, 856, '海安市', 320685, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (865, 807, '连云港市', 320700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (866, 865, '连云区', 320703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (867, 865, '海州区', 320706, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (868, 865, '赣榆区', 320707, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (869, 865, '东海县', 320722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (870, 865, '灌云县', 320723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (871, 865, '灌南县', 320724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (872, 807, '淮安市', 320800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (873, 872, '淮安区', 320803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (874, 872, '淮阴区', 320804, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (875, 872, '清江浦区', 320812, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (876, 872, '洪泽区', 320813, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (877, 872, '涟水县', 320826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (878, 872, '盱眙县', 320830, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (879, 872, '金湖县', 320831, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (880, 807, '盐城市', 320900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (881, 880, '亭湖区', 320902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (882, 880, '盐都区', 320903, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (883, 880, '大丰区', 320904, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (884, 880, '响水县', 320921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (885, 880, '滨海县', 320922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (886, 880, '阜宁县', 320923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (887, 880, '射阳县', 320924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (888, 880, '建湖县', 320925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (889, 880, '东台市', 320981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (890, 807, '扬州市', 321000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (891, 890, '广陵区', 321002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (892, 890, '邗江区', 321003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (893, 890, '江都区', 321012, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (894, 890, '宝应县', 321023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (895, 890, '仪征市', 321081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (896, 890, '高邮市', 321084, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (897, 807, '镇江市', 321100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (898, 897, '京口区', 321102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (899, 897, '润州区', 321111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (900, 897, '丹徒区', 321112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (901, 897, '丹阳市', 321181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (902, 897, '扬中市', 321182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (903, 897, '句容市', 321183, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (904, 807, '泰州市', 321200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (905, 904, '海陵区', 321202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (906, 904, '高港区', 321203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (907, 904, '姜堰区', 321204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (908, 904, '兴化市', 321281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (909, 904, '靖江市', 321282, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (910, 904, '泰兴市', 321283, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (911, 807, '宿迁市', 321300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (912, 911, '宿城区', 321302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (913, 911, '宿豫区', 321311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (914, 911, '沭阳县', 321322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (915, 911, '泗阳县', 321323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (916, 911, '泗洪县', 321324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (917, 0, '浙江省', 330000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (918, 917, '杭州市', 330100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (919, 918, '上城区', 330102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (920, 918, '下城区', 330103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (921, 918, '江干区', 330104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (922, 918, '拱墅区', 330105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (923, 918, '西湖区', 330106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (924, 918, '滨江区', 330108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (925, 918, '萧山区', 330109, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (926, 918, '余杭区', 330110, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (927, 918, '富阳区', 330111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (928, 918, '临安区', 330112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (929, 918, '桐庐县', 330122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (930, 918, '淳安县', 330127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (931, 918, '建德市', 330182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (932, 917, '宁波市', 330200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (933, 932, '海曙区', 330203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (934, 932, '江北区', 330205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (935, 932, '北仑区', 330206, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (936, 932, '镇海区', 330211, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (937, 932, '鄞州区', 330212, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (938, 932, '奉化区', 330213, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (939, 932, '象山县', 330225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (940, 932, '宁海县', 330226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (941, 932, '余姚市', 330281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (942, 932, '慈溪市', 330282, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (943, 917, '温州市', 330300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (944, 943, '鹿城区', 330302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (945, 943, '龙湾区', 330303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (946, 943, '瓯海区', 330304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (947, 943, '洞头区', 330305, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (948, 943, '永嘉县', 330324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (949, 943, '平阳县', 330326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (950, 943, '苍南县', 330327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (951, 943, '文成县', 330328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (952, 943, '泰顺县', 330329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (953, 943, '瑞安市', 330381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (954, 943, '乐清市', 330382, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (955, 917, '嘉兴市', 330400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (956, 955, '南湖区', 330402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (957, 955, '秀洲区', 330411, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (958, 955, '嘉善县', 330421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (959, 955, '海盐县', 330424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (960, 955, '海宁市', 330481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (961, 955, '平湖市', 330482, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (962, 955, '桐乡市', 330483, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (963, 917, '湖州市', 330500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (964, 963, '吴兴区', 330502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (965, 963, '南浔区', 330503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (966, 963, '德清县', 330521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (967, 963, '长兴县', 330522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (968, 963, '安吉县', 330523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (969, 917, '绍兴市', 330600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (970, 969, '越城区', 330602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (971, 969, '柯桥区', 330603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (972, 969, '上虞区', 330604, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (973, 969, '新昌县', 330624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (974, 969, '诸暨市', 330681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (975, 969, '嵊州市', 330683, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (976, 917, '金华市', 330700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (977, 976, '婺城区', 330702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (978, 976, '金东区', 330703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (979, 976, '武义县', 330723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (980, 976, '浦江县', 330726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (981, 976, '磐安县', 330727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (982, 976, '兰溪市', 330781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (983, 976, '义乌市', 330782, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (984, 976, '东阳市', 330783, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (985, 976, '永康市', 330784, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (986, 917, '衢州市', 330800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (987, 986, '柯城区', 330802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (988, 986, '衢江区', 330803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (989, 986, '常山县', 330822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (990, 986, '开化县', 330824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (991, 986, '龙游县', 330825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (992, 986, '江山市', 330881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (993, 917, '舟山市', 330900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (994, 993, '定海区', 330902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (995, 993, '普陀区', 330903, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (996, 993, '岱山县', 330921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (997, 993, '嵊泗县', 330922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (998, 917, '台州市', 331000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (999, 998, '椒江区', 331002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1000, 998, '黄岩区', 331003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1001, 998, '路桥区', 331004, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1002, 998, '三门县', 331022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1003, 998, '天台县', 331023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1004, 998, '仙居县', 331024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1005, 998, '温岭市', 331081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1006, 998, '临海市', 331082, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1007, 998, '玉环市', 331083, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1008, 917, '丽水市', 331100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1009, 1008, '莲都区', 331102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1010, 1008, '青田县', 331121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1011, 1008, '缙云县', 331122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1012, 1008, '遂昌县', 331123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1013, 1008, '松阳县', 331124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1014, 1008, '云和县', 331125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1015, 1008, '庆元县', 331126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1016, 1008, '景宁畲族自治县', 331127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1017, 1008, '龙泉市', 331181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1018, 0, '安徽省', 340000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1019, 1018, '合肥市', 340100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1020, 1019, '瑶海区', 340102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1021, 1019, '庐阳区', 340103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1022, 1019, '蜀山区', 340104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1023, 1019, '包河区', 340111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1024, 1019, '长丰县', 340121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1025, 1019, '肥东县', 340122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1026, 1019, '肥西县', 340123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1027, 1019, '庐江县', 340124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1028, 1019, '巢湖市', 340181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1029, 1018, '芜湖市', 340200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1030, 1029, '镜湖区', 340202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1031, 1029, '弋江区', 340203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1032, 1029, '鸠江区', 340207, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1033, 1029, '三山区', 340208, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1034, 1029, '芜湖县', 340221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1035, 1029, '繁昌县', 340222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1036, 1029, '南陵县', 340223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1037, 1029, '无为县', 340225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1038, 1018, '蚌埠市', 340300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1039, 1038, '龙子湖区', 340302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1040, 1038, '蚌山区', 340303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1041, 1038, '禹会区', 340304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1042, 1038, '淮上区', 340311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1043, 1038, '怀远县', 340321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1044, 1038, '五河县', 340322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1045, 1038, '固镇县', 340323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1046, 1018, '淮南市', 340400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1047, 1046, '大通区', 340402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1048, 1046, '田家庵区', 340403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1049, 1046, '谢家集区', 340404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1050, 1046, '八公山区', 340405, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1051, 1046, '潘集区', 340406, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1052, 1046, '凤台县', 340421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1053, 1046, '寿县', 340422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1054, 1018, '马鞍山市', 340500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1055, 1054, '花山区', 340503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1056, 1054, '雨山区', 340504, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1057, 1054, '博望区', 340506, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1058, 1054, '当涂县', 340521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1059, 1054, '含山县', 340522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1060, 1054, '和县', 340523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1061, 1018, '淮北市', 340600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1062, 1061, '杜集区', 340602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1063, 1061, '相山区', 340603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1064, 1061, '烈山区', 340604, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1065, 1061, '濉溪县', 340621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1066, 1018, '铜陵市', 340700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1067, 1066, '铜官区', 340705, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1068, 1066, '义安区', 340706, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1069, 1066, '郊区', 340711, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1070, 1066, '枞阳县', 340722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1071, 1018, '安庆市', 340800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1072, 1071, '迎江区', 340802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1073, 1071, '大观区', 340803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1074, 1071, '宜秀区', 340811, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1075, 1071, '怀宁县', 340822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1076, 1071, '太湖县', 340825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1077, 1071, '宿松县', 340826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1078, 1071, '望江县', 340827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1079, 1071, '岳西县', 340828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1080, 1071, '桐城市', 340881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1081, 1071, '潜山市', 340882, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1082, 1018, '黄山市', 341000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1083, 1082, '屯溪区', 341002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1084, 1082, '黄山区', 341003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1085, 1082, '徽州区', 341004, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1086, 1082, '歙县', 341021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1087, 1082, '休宁县', 341022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1088, 1082, '黟县', 341023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1089, 1082, '祁门县', 341024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1090, 1018, '滁州市', 341100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1091, 1090, '琅琊区', 341102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1092, 1090, '南谯区', 341103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1093, 1090, '来安县', 341122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1094, 1090, '全椒县', 341124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1095, 1090, '定远县', 341125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1096, 1090, '凤阳县', 341126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1097, 1090, '天长市', 341181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1098, 1090, '明光市', 341182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1099, 1018, '阜阳市', 341200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1100, 1099, '颍州区', 341202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1101, 1099, '颍东区', 341203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1102, 1099, '颍泉区', 341204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1103, 1099, '临泉县', 341221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1104, 1099, '太和县', 341222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1105, 1099, '阜南县', 341225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1106, 1099, '颍上县', 341226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1107, 1099, '界首市', 341282, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1108, 1018, '宿州市', 341300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1109, 1108, '埇桥区', 341302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1110, 1108, '砀山县', 341321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1111, 1108, '萧县', 341322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1112, 1108, '灵璧县', 341323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1113, 1108, '泗县', 341324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1114, 1018, '六安市', 341500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1115, 1114, '金安区', 341502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1116, 1114, '裕安区', 341503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1117, 1114, '叶集区', 341504, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1118, 1114, '霍邱县', 341522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1119, 1114, '舒城县', 341523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1120, 1114, '金寨县', 341524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1121, 1114, '霍山县', 341525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1122, 1018, '亳州市', 341600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1123, 1122, '谯城区', 341602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1124, 1122, '涡阳县', 341621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1125, 1122, '蒙城县', 341622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1126, 1122, '利辛县', 341623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1127, 1018, '池州市', 341700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1128, 1127, '贵池区', 341702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1129, 1127, '东至县', 341721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1130, 1127, '石台县', 341722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1131, 1127, '青阳县', 341723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1132, 1018, '宣城市', 341800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1133, 1132, '宣州区', 341802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1134, 1132, '郎溪县', 341821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1135, 1132, '广德县', 341822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1136, 1132, '泾县', 341823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1137, 1132, '绩溪县', 341824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1138, 1132, '旌德县', 341825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1139, 1132, '宁国市', 341881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1140, 0, '福建省', 350000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1141, 1140, '福州市', 350100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1142, 1141, '鼓楼区', 350102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1143, 1141, '台江区', 350103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1144, 1141, '仓山区', 350104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1145, 1141, '马尾区', 350105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1146, 1141, '晋安区', 350111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1147, 1141, '长乐区', 350112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1148, 1141, '闽侯县', 350121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1149, 1141, '连江县', 350122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1150, 1141, '罗源县', 350123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1151, 1141, '闽清县', 350124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1152, 1141, '永泰县', 350125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1153, 1141, '平潭县', 350128, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1154, 1141, '福清市', 350181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1155, 1140, '厦门市', 350200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1156, 1155, '思明区', 350203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1157, 1155, '海沧区', 350205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1158, 1155, '湖里区', 350206, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1159, 1155, '集美区', 350211, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1160, 1155, '同安区', 350212, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1161, 1155, '翔安区', 350213, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1162, 1140, '莆田市', 350300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1163, 1162, '城厢区', 350302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1164, 1162, '涵江区', 350303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1165, 1162, '荔城区', 350304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1166, 1162, '秀屿区', 350305, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1167, 1162, '仙游县', 350322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1168, 1140, '三明市', 350400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1169, 1168, '梅列区', 350402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1170, 1168, '三元区', 350403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1171, 1168, '明溪县', 350421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1172, 1168, '清流县', 350423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1173, 1168, '宁化县', 350424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1174, 1168, '大田县', 350425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1175, 1168, '尤溪县', 350426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1176, 1168, '沙县', 350427, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1177, 1168, '将乐县', 350428, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1178, 1168, '泰宁县', 350429, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1179, 1168, '建宁县', 350430, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1180, 1168, '永安市', 350481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1181, 1140, '泉州市', 350500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1182, 1181, '鲤城区', 350502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1183, 1181, '丰泽区', 350503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1184, 1181, '洛江区', 350504, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1185, 1181, '泉港区', 350505, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1186, 1181, '惠安县', 350521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1187, 1181, '安溪县', 350524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1188, 1181, '永春县', 350525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1189, 1181, '德化县', 350526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1190, 1181, '金门县', 350527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1191, 1181, '石狮市', 350581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1192, 1181, '晋江市', 350582, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1193, 1181, '南安市', 350583, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1194, 1140, '漳州市', 350600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1195, 1194, '芗城区', 350602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1196, 1194, '龙文区', 350603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1197, 1194, '云霄县', 350622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1198, 1194, '漳浦县', 350623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1199, 1194, '诏安县', 350624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1200, 1194, '长泰县', 350625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1201, 1194, '东山县', 350626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1202, 1194, '南靖县', 350627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1203, 1194, '平和县', 350628, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1204, 1194, '华安县', 350629, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1205, 1194, '龙海市', 350681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1206, 1140, '南平市', 350700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1207, 1206, '延平区', 350702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1208, 1206, '建阳区', 350703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1209, 1206, '顺昌县', 350721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1210, 1206, '浦城县', 350722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1211, 1206, '光泽县', 350723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1212, 1206, '松溪县', 350724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1213, 1206, '政和县', 350725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1214, 1206, '邵武市', 350781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1215, 1206, '武夷山市', 350782, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1216, 1206, '建瓯市', 350783, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1217, 1140, '龙岩市', 350800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1218, 1217, '新罗区', 350802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1219, 1217, '永定区', 350803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1220, 1217, '长汀县', 350821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1221, 1217, '上杭县', 350823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1222, 1217, '武平县', 350824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1223, 1217, '连城县', 350825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1224, 1217, '漳平市', 350881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1225, 1140, '宁德市', 350900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1226, 1225, '蕉城区', 350902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1227, 1225, '霞浦县', 350921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1228, 1225, '古田县', 350922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1229, 1225, '屏南县', 350923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1230, 1225, '寿宁县', 350924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1231, 1225, '周宁县', 350925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1232, 1225, '柘荣县', 350926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1233, 1225, '福安市', 350981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1234, 1225, '福鼎市', 350982, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1235, 0, '江西省', 360000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1236, 1235, '南昌市', 360100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1237, 1236, '东湖区', 360102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1238, 1236, '西湖区', 360103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1239, 1236, '青云谱区', 360104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1240, 1236, '湾里区', 360105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1241, 1236, '青山湖区', 360111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1242, 1236, '新建区', 360112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1243, 1236, '南昌县', 360121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1244, 1236, '安义县', 360123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1245, 1236, '进贤县', 360124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1246, 1235, '景德镇市', 360200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1247, 1246, '昌江区', 360202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1248, 1246, '珠山区', 360203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1249, 1246, '浮梁县', 360222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1250, 1246, '乐平市', 360281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1251, 1235, '萍乡市', 360300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1252, 1251, '安源区', 360302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1253, 1251, '湘东区', 360313, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1254, 1251, '莲花县', 360321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1255, 1251, '上栗县', 360322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1256, 1251, '芦溪县', 360323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1257, 1235, '九江市', 360400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1258, 1257, '濂溪区', 360402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1259, 1257, '浔阳区', 360403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1260, 1257, '柴桑区', 360404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1261, 1257, '武宁县', 360423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1262, 1257, '修水县', 360424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1263, 1257, '永修县', 360425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1264, 1257, '德安县', 360426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1265, 1257, '都昌县', 360428, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1266, 1257, '湖口县', 360429, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1267, 1257, '彭泽县', 360430, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1268, 1257, '瑞昌市', 360481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1269, 1257, '共青城市', 360482, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1270, 1257, '庐山市', 360483, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1271, 1235, '新余市', 360500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1272, 1271, '渝水区', 360502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1273, 1271, '分宜县', 360521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1274, 1235, '鹰潭市', 360600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1275, 1274, '月湖区', 360602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1276, 1274, '余江区', 360603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1277, 1274, '贵溪市', 360681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1278, 1235, '赣州市', 360700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1279, 1278, '章贡区', 360702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1280, 1278, '南康区', 360703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1281, 1278, '赣县区', 360704, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1282, 1278, '信丰县', 360722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1283, 1278, '大余县', 360723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1284, 1278, '上犹县', 360724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1285, 1278, '崇义县', 360725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1286, 1278, '安远县', 360726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1287, 1278, '龙南县', 360727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1288, 1278, '定南县', 360728, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1289, 1278, '全南县', 360729, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1290, 1278, '宁都县', 360730, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1291, 1278, '于都县', 360731, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1292, 1278, '兴国县', 360732, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1293, 1278, '会昌县', 360733, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1294, 1278, '寻乌县', 360734, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1295, 1278, '石城县', 360735, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1296, 1278, '瑞金市', 360781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1297, 1235, '吉安市', 360800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1298, 1297, '吉州区', 360802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1299, 1297, '青原区', 360803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1300, 1297, '吉安县', 360821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1301, 1297, '吉水县', 360822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1302, 1297, '峡江县', 360823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1303, 1297, '新干县', 360824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1304, 1297, '永丰县', 360825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1305, 1297, '泰和县', 360826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1306, 1297, '遂川县', 360827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1307, 1297, '万安县', 360828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1308, 1297, '安福县', 360829, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1309, 1297, '永新县', 360830, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1310, 1297, '井冈山市', 360881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1311, 1235, '宜春市', 360900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1312, 1311, '袁州区', 360902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1313, 1311, '奉新县', 360921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1314, 1311, '万载县', 360922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1315, 1311, '上高县', 360923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1316, 1311, '宜丰县', 360924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1317, 1311, '靖安县', 360925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1318, 1311, '铜鼓县', 360926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1319, 1311, '丰城市', 360981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1320, 1311, '樟树市', 360982, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1321, 1311, '高安市', 360983, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1322, 1235, '抚州市', 361000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1323, 1322, '临川区', 361002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1324, 1322, '东乡区', 361003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1325, 1322, '南城县', 361021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1326, 1322, '黎川县', 361022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1327, 1322, '南丰县', 361023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1328, 1322, '崇仁县', 361024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1329, 1322, '乐安县', 361025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1330, 1322, '宜黄县', 361026, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1331, 1322, '金溪县', 361027, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1332, 1322, '资溪县', 361028, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1333, 1322, '广昌县', 361030, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1334, 1235, '上饶市', 361100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1335, 1334, '信州区', 361102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1336, 1334, '广丰区', 361103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1337, 1334, '上饶县', 361121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1338, 1334, '玉山县', 361123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1339, 1334, '铅山县', 361124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1340, 1334, '横峰县', 361125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1341, 1334, '弋阳县', 361126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1342, 1334, '余干县', 361127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1343, 1334, '鄱阳县', 361128, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1344, 1334, '万年县', 361129, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1345, 1334, '婺源县', 361130, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1346, 1334, '德兴市', 361181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1347, 0, '山东省', 370000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1348, 1347, '济南市', 370100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1349, 1348, '历下区', 370102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1350, 1348, '市中区', 370103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1351, 1348, '槐荫区', 370104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1352, 1348, '天桥区', 370105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1353, 1348, '历城区', 370112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1354, 1348, '长清区', 370113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1355, 1348, '章丘区', 370114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1356, 1348, '济阳区', 370115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1357, 1348, '莱芜区', 370116, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1358, 1348, '钢城区', 370117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1359, 1348, '平阴县', 370124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1360, 1348, '商河县', 370126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1361, 1347, '青岛市', 370200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1362, 1361, '市南区', 370202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1363, 1361, '市北区', 370203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1364, 1361, '黄岛区', 370211, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1365, 1361, '崂山区', 370212, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1366, 1361, '李沧区', 370213, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1367, 1361, '城阳区', 370214, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1368, 1361, '即墨区', 370215, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1369, 1361, '胶州市', 370281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1370, 1361, '平度市', 370283, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1371, 1361, '莱西市', 370285, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1372, 1347, '淄博市', 370300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1373, 1372, '淄川区', 370302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1374, 1372, '张店区', 370303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1375, 1372, '博山区', 370304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1376, 1372, '临淄区', 370305, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1377, 1372, '周村区', 370306, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1378, 1372, '桓台县', 370321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1379, 1372, '高青县', 370322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1380, 1372, '沂源县', 370323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1381, 1347, '枣庄市', 370400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1382, 1381, '市中区', 370402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1383, 1381, '薛城区', 370403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1384, 1381, '峄城区', 370404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1385, 1381, '台儿庄区', 370405, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1386, 1381, '山亭区', 370406, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1387, 1381, '滕州市', 370481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1388, 1347, '东营市', 370500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1389, 1388, '东营区', 370502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1390, 1388, '河口区', 370503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1391, 1388, '垦利区', 370505, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1392, 1388, '利津县', 370522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1393, 1388, '广饶县', 370523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1394, 1347, '烟台市', 370600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1395, 1394, '芝罘区', 370602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1396, 1394, '福山区', 370611, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1397, 1394, '牟平区', 370612, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1398, 1394, '莱山区', 370613, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1399, 1394, '长岛县', 370634, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1400, 1394, '龙口市', 370681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1401, 1394, '莱阳市', 370682, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1402, 1394, '莱州市', 370683, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1403, 1394, '蓬莱市', 370684, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1404, 1394, '招远市', 370685, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1405, 1394, '栖霞市', 370686, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1406, 1394, '海阳市', 370687, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1407, 1347, '潍坊市', 370700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1408, 1407, '潍城区', 370702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1409, 1407, '寒亭区', 370703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1410, 1407, '坊子区', 370704, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1411, 1407, '奎文区', 370705, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1412, 1407, '临朐县', 370724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1413, 1407, '昌乐县', 370725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1414, 1407, '青州市', 370781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1415, 1407, '诸城市', 370782, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1416, 1407, '寿光市', 370783, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1417, 1407, '安丘市', 370784, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1418, 1407, '高密市', 370785, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1419, 1407, '昌邑市', 370786, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1420, 1347, '济宁市', 370800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1421, 1420, '任城区', 370811, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1422, 1420, '兖州区', 370812, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1423, 1420, '微山县', 370826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1424, 1420, '鱼台县', 370827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1425, 1420, '金乡县', 370828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1426, 1420, '嘉祥县', 370829, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1427, 1420, '汶上县', 370830, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1428, 1420, '泗水县', 370831, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1429, 1420, '梁山县', 370832, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1430, 1420, '曲阜市', 370881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1431, 1420, '邹城市', 370883, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1432, 1347, '泰安市', 370900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1433, 1432, '泰山区', 370902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1434, 1432, '岱岳区', 370911, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1435, 1432, '宁阳县', 370921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1436, 1432, '东平县', 370923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1437, 1432, '新泰市', 370982, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1438, 1432, '肥城市', 370983, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1439, 1347, '威海市', 371000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1440, 1439, '环翠区', 371002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1441, 1439, '文登区', 371003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1442, 1439, '荣成市', 371082, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1443, 1439, '乳山市', 371083, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1444, 1347, '日照市', 371100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1445, 1444, '东港区', 371102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1446, 1444, '岚山区', 371103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1447, 1444, '五莲县', 371121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1448, 1444, '莒县', 371122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1449, 1347, '临沂市', 371300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1450, 1449, '兰山区', 371302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1451, 1449, '罗庄区', 371311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1452, 1449, '河东区', 371312, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1453, 1449, '沂南县', 371321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1454, 1449, '郯城县', 371322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1455, 1449, '沂水县', 371323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1456, 1449, '兰陵县', 371324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1457, 1449, '费县', 371325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1458, 1449, '平邑县', 371326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1459, 1449, '莒南县', 371327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1460, 1449, '蒙阴县', 371328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1461, 1449, '临沭县', 371329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1462, 1347, '德州市', 371400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1463, 1462, '德城区', 371402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1464, 1462, '陵城区', 371403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1465, 1462, '宁津县', 371422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1466, 1462, '庆云县', 371423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1467, 1462, '临邑县', 371424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1468, 1462, '齐河县', 371425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1469, 1462, '平原县', 371426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1470, 1462, '夏津县', 371427, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1471, 1462, '武城县', 371428, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1472, 1462, '乐陵市', 371481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1473, 1462, '禹城市', 371482, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1474, 1347, '聊城市', 371500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1475, 1474, '东昌府区', 371502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1476, 1474, '阳谷县', 371521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1477, 1474, '莘县', 371522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1478, 1474, '茌平县', 371523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1479, 1474, '东阿县', 371524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1480, 1474, '冠县', 371525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1481, 1474, '高唐县', 371526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1482, 1474, '临清市', 371581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1483, 1347, '滨州市', 371600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1484, 1483, '滨城区', 371602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1485, 1483, '沾化区', 371603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1486, 1483, '惠民县', 371621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1487, 1483, '阳信县', 371622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1488, 1483, '无棣县', 371623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1489, 1483, '博兴县', 371625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1490, 1483, '邹平市', 371681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1491, 1347, '菏泽市', 371700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1492, 1491, '牡丹区', 371702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1493, 1491, '定陶区', 371703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1494, 1491, '曹县', 371721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1495, 1491, '单县', 371722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1496, 1491, '成武县', 371723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1497, 1491, '巨野县', 371724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1498, 1491, '郓城县', 371725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1499, 1491, '鄄城县', 371726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1500, 1491, '东明县', 371728, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1501, 0, '河南省', 410000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1502, 1501, '郑州市', 410100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1503, 1502, '中原区', 410102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1504, 1502, '二七区', 410103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1505, 1502, '管城回族区', 410104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1506, 1502, '金水区', 410105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1507, 1502, '上街区', 410106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1508, 1502, '惠济区', 410108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1509, 1502, '中牟县', 410122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1510, 1502, '巩义市', 410181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1511, 1502, '荥阳市', 410182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1512, 1502, '新密市', 410183, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1513, 1502, '新郑市', 410184, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1514, 1502, '登封市', 410185, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1515, 1501, '开封市', 410200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1516, 1515, '龙亭区', 410202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1517, 1515, '顺河回族区', 410203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1518, 1515, '鼓楼区', 410204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1519, 1515, '禹王台区', 410205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1520, 1515, '祥符区', 410212, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1521, 1515, '杞县', 410221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1522, 1515, '通许县', 410222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1523, 1515, '尉氏县', 410223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1524, 1515, '兰考县', 410225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1525, 1501, '洛阳市', 410300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1526, 1525, '老城区', 410302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1527, 1525, '西工区', 410303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1528, 1525, '瀍河回族区', 410304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1529, 1525, '涧西区', 410305, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1530, 1525, '吉利区', 410306, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1531, 1525, '洛龙区', 410311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1532, 1525, '孟津县', 410322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1533, 1525, '新安县', 410323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1534, 1525, '栾川县', 410324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1535, 1525, '嵩县', 410325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1536, 1525, '汝阳县', 410326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1537, 1525, '宜阳县', 410327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1538, 1525, '洛宁县', 410328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1539, 1525, '伊川县', 410329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1540, 1525, '偃师市', 410381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1541, 1501, '平顶山市', 410400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1542, 1541, '新华区', 410402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1543, 1541, '卫东区', 410403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1544, 1541, '石龙区', 410404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1545, 1541, '湛河区', 410411, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1546, 1541, '宝丰县', 410421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1547, 1541, '叶县', 410422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1548, 1541, '鲁山县', 410423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1549, 1541, '郏县', 410425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1550, 1541, '舞钢市', 410481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1551, 1541, '汝州市', 410482, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1552, 1501, '安阳市', 410500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1553, 1552, '文峰区', 410502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1554, 1552, '北关区', 410503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1555, 1552, '殷都区', 410505, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1556, 1552, '龙安区', 410506, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1557, 1552, '安阳县', 410522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1558, 1552, '汤阴县', 410523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1559, 1552, '滑县', 410526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1560, 1552, '内黄县', 410527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1561, 1552, '林州市', 410581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1562, 1501, '鹤壁市', 410600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1563, 1562, '鹤山区', 410602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1564, 1562, '山城区', 410603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1565, 1562, '淇滨区', 410611, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1566, 1562, '浚县', 410621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1567, 1562, '淇县', 410622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1568, 1501, '新乡市', 410700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1569, 1568, '红旗区', 410702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1570, 1568, '卫滨区', 410703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1571, 1568, '凤泉区', 410704, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1572, 1568, '牧野区', 410711, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1573, 1568, '新乡县', 410721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1574, 1568, '获嘉县', 410724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1575, 1568, '原阳县', 410725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1576, 1568, '延津县', 410726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1577, 1568, '封丘县', 410727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1578, 1568, '长垣县', 410728, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1579, 1568, '卫辉市', 410781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1580, 1568, '辉县市', 410782, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1581, 1501, '焦作市', 410800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1582, 1581, '解放区', 410802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1583, 1581, '中站区', 410803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1584, 1581, '马村区', 410804, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1585, 1581, '山阳区', 410811, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1586, 1581, '修武县', 410821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1587, 1581, '博爱县', 410822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1588, 1581, '武陟县', 410823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1589, 1581, '温县', 410825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1590, 1581, '沁阳市', 410882, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1591, 1581, '孟州市', 410883, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1592, 1501, '濮阳市', 410900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1593, 1592, '华龙区', 410902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1594, 1592, '清丰县', 410922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1595, 1592, '南乐县', 410923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1596, 1592, '范县', 410926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1597, 1592, '台前县', 410927, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1598, 1592, '濮阳县', 410928, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1599, 1501, '许昌市', 411000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1600, 1599, '魏都区', 411002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1601, 1599, '建安区', 411003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1602, 1599, '鄢陵县', 411024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1603, 1599, '襄城县', 411025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1604, 1599, '禹州市', 411081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1605, 1599, '长葛市', 411082, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1606, 1501, '漯河市', 411100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1607, 1606, '源汇区', 411102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1608, 1606, '郾城区', 411103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1609, 1606, '召陵区', 411104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1610, 1606, '舞阳县', 411121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1611, 1606, '临颍县', 411122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1612, 1501, '三门峡市', 411200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1613, 1612, '湖滨区', 411202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1614, 1612, '陕州区', 411203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1615, 1612, '渑池县', 411221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1616, 1612, '卢氏县', 411224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1617, 1612, '义马市', 411281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1618, 1612, '灵宝市', 411282, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1619, 1501, '南阳市', 411300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1620, 1619, '宛城区', 411302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1621, 1619, '卧龙区', 411303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1622, 1619, '南召县', 411321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1623, 1619, '方城县', 411322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1624, 1619, '西峡县', 411323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1625, 1619, '镇平县', 411324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1626, 1619, '内乡县', 411325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1627, 1619, '淅川县', 411326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1628, 1619, '社旗县', 411327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1629, 1619, '唐河县', 411328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1630, 1619, '新野县', 411329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1631, 1619, '桐柏县', 411330, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1632, 1619, '邓州市', 411381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1633, 1501, '商丘市', 411400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1634, 1633, '梁园区', 411402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1635, 1633, '睢阳区', 411403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1636, 1633, '民权县', 411421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1637, 1633, '睢县', 411422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1638, 1633, '宁陵县', 411423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1639, 1633, '柘城县', 411424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1640, 1633, '虞城县', 411425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1641, 1633, '夏邑县', 411426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1642, 1633, '永城市', 411481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1643, 1501, '信阳市', 411500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1644, 1643, '浉河区', 411502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1645, 1643, '平桥区', 411503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1646, 1643, '罗山县', 411521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1647, 1643, '光山县', 411522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1648, 1643, '新县', 411523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1649, 1643, '商城县', 411524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1650, 1643, '固始县', 411525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1651, 1643, '潢川县', 411526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1652, 1643, '淮滨县', 411527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1653, 1643, '息县', 411528, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1654, 1501, '周口市', 411600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1655, 1654, '川汇区', 411602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1656, 1654, '扶沟县', 411621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1657, 1654, '西华县', 411622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1658, 1654, '商水县', 411623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1659, 1654, '沈丘县', 411624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1660, 1654, '郸城县', 411625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1661, 1654, '淮阳县', 411626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1662, 1654, '太康县', 411627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1663, 1654, '鹿邑县', 411628, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1664, 1654, '项城市', 411681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1665, 1501, '驻马店市', 411700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1666, 1665, '驿城区', 411702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1667, 1665, '西平县', 411721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1668, 1665, '上蔡县', 411722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1669, 1665, '平舆县', 411723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1670, 1665, '正阳县', 411724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1671, 1665, '确山县', 411725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1672, 1665, '泌阳县', 411726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1673, 1665, '汝南县', 411727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1674, 1665, '遂平县', 411728, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1675, 1665, '新蔡县', 411729, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1676, 0, '湖北省', 420000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1677, 1676, '武汉市', 420100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1678, 1677, '江岸区', 420102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1679, 1677, '江汉区', 420103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1680, 1677, '硚口区', 420104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1681, 1677, '汉阳区', 420105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1682, 1677, '武昌区', 420106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1683, 1677, '青山区', 420107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1684, 1677, '洪山区', 420111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1685, 1677, '东西湖区', 420112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1686, 1677, '汉南区', 420113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1687, 1677, '蔡甸区', 420114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1688, 1677, '江夏区', 420115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1689, 1677, '黄陂区', 420116, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1690, 1677, '新洲区', 420117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1691, 1676, '黄石市', 420200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1692, 1691, '黄石港区', 420202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1693, 1691, '西塞山区', 420203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1694, 1691, '下陆区', 420204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1695, 1691, '铁山区', 420205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1696, 1691, '阳新县', 420222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1697, 1691, '大冶市', 420281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1698, 1676, '十堰市', 420300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1699, 1698, '茅箭区', 420302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1700, 1698, '张湾区', 420303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1701, 1698, '郧阳区', 420304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1702, 1698, '郧西县', 420322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1703, 1698, '竹山县', 420323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1704, 1698, '竹溪县', 420324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1705, 1698, '房县', 420325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1706, 1698, '丹江口市', 420381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1707, 1676, '宜昌市', 420500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1708, 1707, '西陵区', 420502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1709, 1707, '伍家岗区', 420503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1710, 1707, '点军区', 420504, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1711, 1707, '猇亭区', 420505, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1712, 1707, '夷陵区', 420506, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1713, 1707, '远安县', 420525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1714, 1707, '兴山县', 420526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1715, 1707, '秭归县', 420527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1716, 1707, '长阳土家族自治县', 420528, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1717, 1707, '五峰土家族自治县', 420529, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1718, 1707, '宜都市', 420581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1719, 1707, '当阳市', 420582, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1720, 1707, '枝江市', 420583, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1721, 1676, '襄阳市', 420600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1722, 1721, '襄城区', 420602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1723, 1721, '樊城区', 420606, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1724, 1721, '襄州区', 420607, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1725, 1721, '南漳县', 420624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1726, 1721, '谷城县', 420625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1727, 1721, '保康县', 420626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1728, 1721, '老河口市', 420682, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1729, 1721, '枣阳市', 420683, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1730, 1721, '宜城市', 420684, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1731, 1676, '鄂州市', 420700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1732, 1731, '梁子湖区', 420702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1733, 1731, '华容区', 420703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1734, 1731, '鄂城区', 420704, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1735, 1676, '荆门市', 420800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1736, 1735, '东宝区', 420802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1737, 1735, '掇刀区', 420804, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1738, 1735, '沙洋县', 420822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1739, 1735, '钟祥市', 420881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1740, 1735, '京山市', 420882, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1741, 1676, '孝感市', 420900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1742, 1741, '孝南区', 420902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1743, 1741, '孝昌县', 420921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1744, 1741, '大悟县', 420922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1745, 1741, '云梦县', 420923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1746, 1741, '应城市', 420981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1747, 1741, '安陆市', 420982, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1748, 1741, '汉川市', 420984, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1749, 1676, '荆州市', 421000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1750, 1749, '沙市区', 421002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1751, 1749, '荆州区', 421003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1752, 1749, '公安县', 421022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1753, 1749, '监利县', 421023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1754, 1749, '江陵县', 421024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1755, 1749, '石首市', 421081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1756, 1749, '洪湖市', 421083, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1757, 1749, '松滋市', 421087, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1758, 1676, '黄冈市', 421100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1759, 1758, '黄州区', 421102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1760, 1758, '团风县', 421121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1761, 1758, '红安县', 421122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1762, 1758, '罗田县', 421123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1763, 1758, '英山县', 421124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1764, 1758, '浠水县', 421125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1765, 1758, '蕲春县', 421126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1766, 1758, '黄梅县', 421127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1767, 1758, '麻城市', 421181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1768, 1758, '武穴市', 421182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1769, 1676, '咸宁市', 421200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1770, 1769, '咸安区', 421202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1771, 1769, '嘉鱼县', 421221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1772, 1769, '通城县', 421222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1773, 1769, '崇阳县', 421223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1774, 1769, '通山县', 421224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1775, 1769, '赤壁市', 421281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1776, 1676, '随州市', 421300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1777, 1776, '曾都区', 421303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1778, 1776, '随县', 421321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1779, 1776, '广水市', 421381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1780, 1676, '恩施土家族苗族自治州', 422800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1781, 1780, '恩施市', 422801, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1782, 1780, '利川市', 422802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1783, 1780, '建始县', 422822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1784, 1780, '巴东县', 422823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1785, 1780, '宣恩县', 422825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1786, 1780, '咸丰县', 422826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1787, 1780, '来凤县', 422827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1788, 1780, '鹤峰县', 422828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1789, 0, '湖南省', 430000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1790, 1789, '长沙市', 430100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1791, 1790, '芙蓉区', 430102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1792, 1790, '天心区', 430103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1793, 1790, '岳麓区', 430104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1794, 1790, '开福区', 430105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1795, 1790, '雨花区', 430111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1796, 1790, '望城区', 430112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1797, 1790, '长沙县', 430121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1798, 1790, '浏阳市', 430181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1799, 1790, '宁乡市', 430182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1800, 1789, '株洲市', 430200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1801, 1800, '荷塘区', 430202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1802, 1800, '芦淞区', 430203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1803, 1800, '石峰区', 430204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1804, 1800, '天元区', 430211, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1805, 1800, '渌口区', 430212, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1806, 1800, '攸县', 430223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1807, 1800, '茶陵县', 430224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1808, 1800, '炎陵县', 430225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1809, 1800, '醴陵市', 430281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1810, 1789, '湘潭市', 430300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1811, 1810, '雨湖区', 430302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1812, 1810, '岳塘区', 430304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1813, 1810, '湘潭县', 430321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1814, 1810, '湘乡市', 430381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1815, 1810, '韶山市', 430382, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1816, 1789, '衡阳市', 430400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1817, 1816, '珠晖区', 430405, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1818, 1816, '雁峰区', 430406, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1819, 1816, '石鼓区', 430407, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1820, 1816, '蒸湘区', 430408, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1821, 1816, '南岳区', 430412, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1822, 1816, '衡阳县', 430421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1823, 1816, '衡南县', 430422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1824, 1816, '衡山县', 430423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1825, 1816, '衡东县', 430424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1826, 1816, '祁东县', 430426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1827, 1816, '耒阳市', 430481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1828, 1816, '常宁市', 430482, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1829, 1789, '邵阳市', 430500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1830, 1829, '双清区', 430502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1831, 1829, '大祥区', 430503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1832, 1829, '北塔区', 430511, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1833, 1829, '邵东县', 430521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1834, 1829, '新邵县', 430522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1835, 1829, '邵阳县', 430523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1836, 1829, '隆回县', 430524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1837, 1829, '洞口县', 430525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1838, 1829, '绥宁县', 430527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1839, 1829, '新宁县', 430528, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1840, 1829, '城步苗族自治县', 430529, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1841, 1829, '武冈市', 430581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1842, 1789, '岳阳市', 430600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1843, 1842, '岳阳楼区', 430602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1844, 1842, '云溪区', 430603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1845, 1842, '君山区', 430611, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1846, 1842, '岳阳县', 430621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1847, 1842, '华容县', 430623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1848, 1842, '湘阴县', 430624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1849, 1842, '平江县', 430626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1850, 1842, '汨罗市', 430681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1851, 1842, '临湘市', 430682, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1852, 1789, '常德市', 430700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1853, 1852, '武陵区', 430702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1854, 1852, '鼎城区', 430703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1855, 1852, '安乡县', 430721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1856, 1852, '汉寿县', 430722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1857, 1852, '澧县', 430723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1858, 1852, '临澧县', 430724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1859, 1852, '桃源县', 430725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1860, 1852, '石门县', 430726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1861, 1852, '津市市', 430781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1862, 1789, '张家界市', 430800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1863, 1862, '永定区', 430802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1864, 1862, '武陵源区', 430811, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1865, 1862, '慈利县', 430821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1866, 1862, '桑植县', 430822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1867, 1789, '益阳市', 430900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1868, 1867, '资阳区', 430902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1869, 1867, '赫山区', 430903, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1870, 1867, '南县', 430921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1871, 1867, '桃江县', 430922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1872, 1867, '安化县', 430923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1873, 1867, '沅江市', 430981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1874, 1789, '郴州市', 431000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1875, 1874, '北湖区', 431002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1876, 1874, '苏仙区', 431003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1877, 1874, '桂阳县', 431021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1878, 1874, '宜章县', 431022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1879, 1874, '永兴县', 431023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1880, 1874, '嘉禾县', 431024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1881, 1874, '临武县', 431025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1882, 1874, '汝城县', 431026, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1883, 1874, '桂东县', 431027, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1884, 1874, '安仁县', 431028, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1885, 1874, '资兴市', 431081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1886, 1789, '永州市', 431100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1887, 1886, '零陵区', 431102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1888, 1886, '冷水滩区', 431103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1889, 1886, '祁阳县', 431121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1890, 1886, '东安县', 431122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1891, 1886, '双牌县', 431123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1892, 1886, '道县', 431124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1893, 1886, '江永县', 431125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1894, 1886, '宁远县', 431126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1895, 1886, '蓝山县', 431127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1896, 1886, '新田县', 431128, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1897, 1886, '江华瑶族自治县', 431129, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1898, 1789, '怀化市', 431200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1899, 1898, '鹤城区', 431202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1900, 1898, '中方县', 431221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1901, 1898, '沅陵县', 431222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1902, 1898, '辰溪县', 431223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1903, 1898, '溆浦县', 431224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1904, 1898, '会同县', 431225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1905, 1898, '麻阳苗族自治县', 431226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1906, 1898, '新晃侗族自治县', 431227, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1907, 1898, '芷江侗族自治县', 431228, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1908, 1898, '靖州苗族侗族自治县', 431229, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1909, 1898, '通道侗族自治县', 431230, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1910, 1898, '洪江市', 431281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1911, 1789, '娄底市', 431300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1912, 1911, '娄星区', 431302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1913, 1911, '双峰县', 431321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1914, 1911, '新化县', 431322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1915, 1911, '冷水江市', 431381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1916, 1911, '涟源市', 431382, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1917, 1789, '湘西土家族苗族自治州', 433100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1918, 1917, '吉首市', 433101, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1919, 1917, '泸溪县', 433122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1920, 1917, '凤凰县', 433123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1921, 1917, '花垣县', 433124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1922, 1917, '保靖县', 433125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1923, 1917, '古丈县', 433126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1924, 1917, '永顺县', 433127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1925, 1917, '龙山县', 433130, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1926, 0, '广东省', 440000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1927, 1926, '广州市', 440100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1928, 1927, '荔湾区', 440103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1929, 1927, '越秀区', 440104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1930, 1927, '海珠区', 440105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1931, 1927, '天河区', 440106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1932, 1927, '白云区', 440111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1933, 1927, '黄埔区', 440112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1934, 1927, '番禺区', 440113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1935, 1927, '花都区', 440114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1936, 1927, '南沙区', 440115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1937, 1927, '从化区', 440117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1938, 1927, '增城区', 440118, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1939, 1926, '韶关市', 440200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1940, 1939, '武江区', 440203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1941, 1939, '浈江区', 440204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1942, 1939, '曲江区', 440205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1943, 1939, '始兴县', 440222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1944, 1939, '仁化县', 440224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1945, 1939, '翁源县', 440229, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1946, 1939, '乳源瑶族自治县', 440232, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1947, 1939, '新丰县', 440233, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1948, 1939, '乐昌市', 440281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1949, 1939, '南雄市', 440282, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1950, 1926, '深圳市', 440300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1951, 1950, '罗湖区', 440303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1952, 1950, '福田区', 440304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1953, 1950, '南山区', 440305, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1954, 1950, '宝安区', 440306, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1955, 1950, '龙岗区', 440307, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1956, 1950, '盐田区', 440308, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1957, 1950, '龙华区', 440309, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1958, 1950, '坪山区', 440310, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1959, 1950, '光明区', 440311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1960, 1926, '珠海市', 440400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1961, 1960, '香洲区', 440402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1962, 1960, '斗门区', 440403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1963, 1960, '金湾区', 440404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1964, 1926, '汕头市', 440500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1965, 1964, '龙湖区', 440507, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1966, 1964, '金平区', 440511, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1967, 1964, '濠江区', 440512, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1968, 1964, '潮阳区', 440513, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1969, 1964, '潮南区', 440514, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1970, 1964, '澄海区', 440515, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1971, 1964, '南澳县', 440523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1972, 1926, '佛山市', 440600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1973, 1972, '禅城区', 440604, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1974, 1972, '南海区', 440605, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1975, 1972, '顺德区', 440606, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1976, 1972, '三水区', 440607, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1977, 1972, '高明区', 440608, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1978, 1926, '江门市', 440700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1979, 1978, '蓬江区', 440703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1980, 1978, '江海区', 440704, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1981, 1978, '新会区', 440705, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1982, 1978, '台山市', 440781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1983, 1978, '开平市', 440783, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1984, 1978, '鹤山市', 440784, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1985, 1978, '恩平市', 440785, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1986, 1926, '湛江市', 440800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1987, 1986, '赤坎区', 440802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1988, 1986, '霞山区', 440803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1989, 1986, '坡头区', 440804, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1990, 1986, '麻章区', 440811, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1991, 1986, '遂溪县', 440823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1992, 1986, '徐闻县', 440825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1993, 1986, '廉江市', 440881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1994, 1986, '雷州市', 440882, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1995, 1986, '吴川市', 440883, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1996, 1926, '茂名市', 440900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1997, 1996, '茂南区', 440902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1998, 1996, '电白区', 440904, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (1999, 1996, '高州市', 440981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2000, 1996, '化州市', 440982, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2001, 1996, '信宜市', 440983, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2002, 1926, '肇庆市', 441200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2003, 2002, '端州区', 441202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2004, 2002, '鼎湖区', 441203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2005, 2002, '高要区', 441204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2006, 2002, '广宁县', 441223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2007, 2002, '怀集县', 441224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2008, 2002, '封开县', 441225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2009, 2002, '德庆县', 441226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2010, 2002, '四会市', 441284, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2011, 1926, '惠州市', 441300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2012, 2011, '惠城区', 441302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2013, 2011, '惠阳区', 441303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2014, 2011, '博罗县', 441322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2015, 2011, '惠东县', 441323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2016, 2011, '龙门县', 441324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2017, 1926, '梅州市', 441400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2018, 2017, '梅江区', 441402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2019, 2017, '梅县区', 441403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2020, 2017, '大埔县', 441422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2021, 2017, '丰顺县', 441423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2022, 2017, '五华县', 441424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2023, 2017, '平远县', 441426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2024, 2017, '蕉岭县', 441427, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2025, 2017, '兴宁市', 441481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2026, 1926, '汕尾市', 441500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2027, 2026, '城区', 441502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2028, 2026, '海丰县', 441521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2029, 2026, '陆河县', 441523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2030, 2026, '陆丰市', 441581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2031, 1926, '河源市', 441600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2032, 2031, '源城区', 441602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2033, 2031, '紫金县', 441621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2034, 2031, '龙川县', 441622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2035, 2031, '连平县', 441623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2036, 2031, '和平县', 441624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2037, 2031, '东源县', 441625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2038, 1926, '阳江市', 441700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2039, 2038, '江城区', 441702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2040, 2038, '阳东区', 441704, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2041, 2038, '阳西县', 441721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2042, 2038, '阳春市', 441781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2043, 1926, '清远市', 441800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2044, 2043, '清城区', 441802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2045, 2043, '清新区', 441803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2046, 2043, '佛冈县', 441821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2047, 2043, '阳山县', 441823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2048, 2043, '连山壮族瑶族自治县', 441825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2049, 2043, '连南瑶族自治县', 441826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2050, 2043, '英德市', 441881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2051, 2043, '连州市', 441882, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2052, 1926, '东莞市', 441900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2053, 1926, '中山市', 442000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2054, 1926, '潮州市', 445100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2055, 2054, '湘桥区', 445102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2056, 2054, '潮安区', 445103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2057, 2054, '饶平县', 445122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2058, 1926, '揭阳市', 445200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2059, 2058, '榕城区', 445202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2060, 2058, '揭东区', 445203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2061, 2058, '揭西县', 445222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2062, 2058, '惠来县', 445224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2063, 2058, '普宁市', 445281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2064, 1926, '云浮市', 445300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2065, 2064, '云城区', 445302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2066, 2064, '云安区', 445303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2067, 2064, '新兴县', 445321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2068, 2064, '郁南县', 445322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2069, 2064, '罗定市', 445381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2070, 0, '广西壮族自治区', 450000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2071, 2070, '南宁市', 450100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2072, 2071, '兴宁区', 450102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2073, 2071, '青秀区', 450103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2074, 2071, '江南区', 450105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2075, 2071, '西乡塘区', 450107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2076, 2071, '良庆区', 450108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2077, 2071, '邕宁区', 450109, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2078, 2071, '武鸣区', 450110, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2079, 2071, '隆安县', 450123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2080, 2071, '马山县', 450124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2081, 2071, '上林县', 450125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2082, 2071, '宾阳县', 450126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2083, 2071, '横县', 450127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2084, 2070, '柳州市', 450200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2085, 2084, '城中区', 450202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2086, 2084, '鱼峰区', 450203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2087, 2084, '柳南区', 450204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2088, 2084, '柳北区', 450205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2089, 2084, '柳江区', 450206, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2090, 2084, '柳城县', 450222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2091, 2084, '鹿寨县', 450223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2092, 2084, '融安县', 450224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2093, 2084, '融水苗族自治县', 450225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2094, 2084, '三江侗族自治县', 450226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2095, 2070, '桂林市', 450300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2096, 2095, '秀峰区', 450302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2097, 2095, '叠彩区', 450303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2098, 2095, '象山区', 450304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2099, 2095, '七星区', 450305, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2100, 2095, '雁山区', 450311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2101, 2095, '临桂区', 450312, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2102, 2095, '阳朔县', 450321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2103, 2095, '灵川县', 450323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2104, 2095, '全州县', 450324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2105, 2095, '兴安县', 450325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2106, 2095, '永福县', 450326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2107, 2095, '灌阳县', 450327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2108, 2095, '龙胜各族自治县', 450328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2109, 2095, '资源县', 450329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2110, 2095, '平乐县', 450330, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2111, 2095, '荔浦市', 450381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2112, 2095, '恭城瑶族自治县', 450332, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2113, 2070, '梧州市', 450400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2114, 2113, '万秀区', 450403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2115, 2113, '长洲区', 450405, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2116, 2113, '龙圩区', 450406, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2117, 2113, '苍梧县', 450421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2118, 2113, '藤县', 450422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2119, 2113, '蒙山县', 450423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2120, 2113, '岑溪市', 450481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2121, 2070, '北海市', 450500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2122, 2121, '海城区', 450502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2123, 2121, '银海区', 450503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2124, 2121, '铁山港区', 450512, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2125, 2121, '合浦县', 450521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2126, 2070, '防城港市', 450600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2127, 2126, '港口区', 450602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2128, 2126, '防城区', 450603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2129, 2126, '上思县', 450621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2130, 2126, '东兴市', 450681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2131, 2070, '钦州市', 450700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2132, 2131, '钦南区', 450702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2133, 2131, '钦北区', 450703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2134, 2131, '灵山县', 450721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2135, 2131, '浦北县', 450722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2136, 2070, '贵港市', 450800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2137, 2136, '港北区', 450802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2138, 2136, '港南区', 450803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2139, 2136, '覃塘区', 450804, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2140, 2136, '平南县', 450821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2141, 2136, '桂平市', 450881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2142, 2070, '玉林市', 450900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2143, 2142, '玉州区', 450902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2144, 2142, '福绵区', 450903, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2145, 2142, '容县', 450921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2146, 2142, '陆川县', 450922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2147, 2142, '博白县', 450923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2148, 2142, '兴业县', 450924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2149, 2142, '北流市', 450981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2150, 2070, '百色市', 451000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2151, 2150, '右江区', 451002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2152, 2150, '田阳县', 451021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2153, 2150, '田东县', 451022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2154, 2150, '平果县', 451023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2155, 2150, '德保县', 451024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2156, 2150, '那坡县', 451026, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2157, 2150, '凌云县', 451027, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2158, 2150, '乐业县', 451028, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2159, 2150, '田林县', 451029, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2160, 2150, '西林县', 451030, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2161, 2150, '隆林各族自治县', 451031, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2162, 2150, '靖西市', 451081, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2163, 2070, '贺州市', 451100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2164, 2163, '八步区', 451102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2165, 2163, '平桂区', 451103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2166, 2163, '昭平县', 451121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2167, 2163, '钟山县', 451122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2168, 2163, '富川瑶族自治县', 451123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2169, 2070, '河池市', 451200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2170, 2169, '金城江区', 451202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2171, 2169, '宜州区', 451203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2172, 2169, '南丹县', 451221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2173, 2169, '天峨县', 451222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2174, 2169, '凤山县', 451223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2175, 2169, '东兰县', 451224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2176, 2169, '罗城仫佬族自治县', 451225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2177, 2169, '环江毛南族自治县', 451226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2178, 2169, '巴马瑶族自治县', 451227, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2179, 2169, '都安瑶族自治县', 451228, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2180, 2169, '大化瑶族自治县', 451229, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2181, 2070, '来宾市', 451300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2182, 2181, '兴宾区', 451302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2183, 2181, '忻城县', 451321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2184, 2181, '象州县', 451322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2185, 2181, '武宣县', 451323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2186, 2181, '金秀瑶族自治县', 451324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2187, 2181, '合山市', 451381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2188, 2070, '崇左市', 451400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2189, 2188, '江州区', 451402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2190, 2188, '扶绥县', 451421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2191, 2188, '宁明县', 451422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2192, 2188, '龙州县', 451423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2193, 2188, '大新县', 451424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2194, 2188, '天等县', 451425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2195, 2188, '凭祥市', 451481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2196, 0, '海南省', 460000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2197, 2196, '海口市', 460100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2198, 2197, '秀英区', 460105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2199, 2197, '龙华区', 460106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2200, 2197, '琼山区', 460107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2201, 2197, '美兰区', 460108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2202, 2196, '三亚市', 460200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2203, 2202, '海棠区', 460202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2204, 2202, '吉阳区', 460203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2205, 2202, '天涯区', 460204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2206, 2202, '崖州区', 460205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2207, 2196, '三沙市', 460300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2208, 2196, '儋州市', 460400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2209, 0, '重庆市', 500000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2210, 2209, '重庆市', 500000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2211, 2210, '万州区', 500101, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2212, 2210, '涪陵区', 500102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2213, 2210, '渝中区', 500103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2214, 2210, '大渡口区', 500104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2215, 2210, '江北区', 500105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2216, 2210, '沙坪坝区', 500106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2217, 2210, '九龙坡区', 500107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2218, 2210, '南岸区', 500108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2219, 2210, '北碚区', 500109, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2220, 2210, '綦江区', 500110, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2221, 2210, '大足区', 500111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2222, 2210, '渝北区', 500112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2223, 2210, '巴南区', 500113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2224, 2210, '黔江区', 500114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2225, 2210, '长寿区', 500115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2226, 2210, '江津区', 500116, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2227, 2210, '合川区', 500117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2228, 2210, '永川区', 500118, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2229, 2210, '南川区', 500119, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2230, 2210, '璧山区', 500120, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2231, 2210, '铜梁区', 500151, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2232, 2210, '潼南区', 500152, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2233, 2210, '荣昌区', 500153, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2234, 2210, '开州区', 500154, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2235, 2210, '梁平区', 500155, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2236, 2210, '武隆区', 500156, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2237, 2210, '城口县', 500229, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2238, 2210, '丰都县', 500230, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2239, 2210, '垫江县', 500231, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2240, 2210, '忠县', 500233, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2241, 2210, '云阳县', 500235, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2242, 2210, '奉节县', 500236, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2243, 2210, '巫山县', 500237, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2244, 2210, '巫溪县', 500238, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2245, 2210, '石柱土家族自治县', 500240, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2246, 2210, '秀山土家族苗族自治县', 500241, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2247, 2210, '酉阳土家族苗族自治县', 500242, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2248, 2210, '彭水苗族土家族自治县', 500243, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2249, 0, '四川省', 510000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2250, 2249, '成都市', 510100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2251, 2250, '锦江区', 510104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2252, 2250, '青羊区', 510105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2253, 2250, '金牛区', 510106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2254, 2250, '武侯区', 510107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2255, 2250, '成华区', 510108, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2256, 2250, '龙泉驿区', 510112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2257, 2250, '青白江区', 510113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2258, 2250, '新都区', 510114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2259, 2250, '温江区', 510115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2260, 2250, '双流区', 510116, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2261, 2250, '郫都区', 510117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2262, 2250, '金堂县', 510121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2263, 2250, '大邑县', 510129, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2264, 2250, '蒲江县', 510131, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2265, 2250, '新津县', 510132, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2266, 2250, '都江堰市', 510181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2267, 2250, '彭州市', 510182, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2268, 2250, '邛崃市', 510183, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2269, 2250, '崇州市', 510184, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2270, 2250, '简阳市', 510185, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2271, 2249, '自贡市', 510300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2272, 2271, '自流井区', 510302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2273, 2271, '贡井区', 510303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2274, 2271, '大安区', 510304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2275, 2271, '沿滩区', 510311, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2276, 2271, '荣县', 510321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2277, 2271, '富顺县', 510322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2278, 2249, '攀枝花市', 510400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2279, 2278, '东区', 510402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2280, 2278, '西区', 510403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2281, 2278, '仁和区', 510411, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2282, 2278, '米易县', 510421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2283, 2278, '盐边县', 510422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2284, 2249, '泸州市', 510500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2285, 2284, '江阳区', 510502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2286, 2284, '纳溪区', 510503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2287, 2284, '龙马潭区', 510504, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2288, 2284, '泸县', 510521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2289, 2284, '合江县', 510522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2290, 2284, '叙永县', 510524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2291, 2284, '古蔺县', 510525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2292, 2249, '德阳市', 510600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2293, 2292, '旌阳区', 510603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2294, 2292, '罗江区', 510604, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2295, 2292, '中江县', 510623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2296, 2292, '广汉市', 510681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2297, 2292, '什邡市', 510682, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2298, 2292, '绵竹市', 510683, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2299, 2249, '绵阳市', 510700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2300, 2299, '涪城区', 510703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2301, 2299, '游仙区', 510704, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2302, 2299, '安州区', 510705, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2303, 2299, '三台县', 510722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2304, 2299, '盐亭县', 510723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2305, 2299, '梓潼县', 510725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2306, 2299, '北川羌族自治县', 510726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2307, 2299, '平武县', 510727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2308, 2299, '江油市', 510781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2309, 2249, '广元市', 510800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2310, 2309, '利州区', 510802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2311, 2309, '昭化区', 510811, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2312, 2309, '朝天区', 510812, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2313, 2309, '旺苍县', 510821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2314, 2309, '青川县', 510822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2315, 2309, '剑阁县', 510823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2316, 2309, '苍溪县', 510824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2317, 2249, '遂宁市', 510900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2318, 2317, '船山区', 510903, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2319, 2317, '安居区', 510904, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2320, 2317, '蓬溪县', 510921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2321, 2317, '射洪县', 510922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2322, 2317, '大英县', 510923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2323, 2249, '内江市', 511000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2324, 2323, '市中区', 511002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2325, 2323, '东兴区', 511011, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2326, 2323, '威远县', 511024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2327, 2323, '资中县', 511025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2328, 2323, '隆昌市', 511083, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2329, 2249, '乐山市', 511100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2330, 2329, '市中区', 511102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2331, 2329, '沙湾区', 511111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2332, 2329, '五通桥区', 511112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2333, 2329, '金口河区', 511113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2334, 2329, '犍为县', 511123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2335, 2329, '井研县', 511124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2336, 2329, '夹江县', 511126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2337, 2329, '沐川县', 511129, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2338, 2329, '峨边彝族自治县', 511132, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2339, 2329, '马边彝族自治县', 511133, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2340, 2329, '峨眉山市', 511181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2341, 2249, '南充市', 511300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2342, 2341, '顺庆区', 511302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2343, 2341, '高坪区', 511303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2344, 2341, '嘉陵区', 511304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2345, 2341, '南部县', 511321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2346, 2341, '营山县', 511322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2347, 2341, '蓬安县', 511323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2348, 2341, '仪陇县', 511324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2349, 2341, '西充县', 511325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2350, 2341, '阆中市', 511381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2351, 2249, '眉山市', 511400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2352, 2351, '东坡区', 511402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2353, 2351, '彭山区', 511403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2354, 2351, '仁寿县', 511421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2355, 2351, '洪雅县', 511423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2356, 2351, '丹棱县', 511424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2357, 2351, '青神县', 511425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2358, 2249, '宜宾市', 511500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2359, 2358, '翠屏区', 511502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2360, 2358, '南溪区', 511503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2361, 2358, '叙州区', 511504, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2362, 2358, '江安县', 511523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2363, 2358, '长宁县', 511524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2364, 2358, '高县', 511525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2365, 2358, '珙县', 511526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2366, 2358, '筠连县', 511527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2367, 2358, '兴文县', 511528, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2368, 2358, '屏山县', 511529, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2369, 2249, '广安市', 511600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2370, 2369, '广安区', 511602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2371, 2369, '前锋区', 511603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2372, 2369, '岳池县', 511621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2373, 2369, '武胜县', 511622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2374, 2369, '邻水县', 511623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2375, 2369, '华蓥市', 511681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2376, 2249, '达州市', 511700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2377, 2376, '通川区', 511702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2378, 2376, '达川区', 511703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2379, 2376, '宣汉县', 511722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2380, 2376, '开江县', 511723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2381, 2376, '大竹县', 511724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2382, 2376, '渠县', 511725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2383, 2376, '万源市', 511781, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2384, 2249, '雅安市', 511800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2385, 2384, '雨城区', 511802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2386, 2384, '名山区', 511803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2387, 2384, '荥经县', 511822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2388, 2384, '汉源县', 511823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2389, 2384, '石棉县', 511824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2390, 2384, '天全县', 511825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2391, 2384, '芦山县', 511826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2392, 2384, '宝兴县', 511827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2393, 2249, '巴中市', 511900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2394, 2393, '巴州区', 511902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2395, 2393, '恩阳区', 511903, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2396, 2393, '通江县', 511921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2397, 2393, '南江县', 511922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2398, 2393, '平昌县', 511923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2399, 2249, '资阳市', 512000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2400, 2399, '雁江区', 512002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2401, 2399, '安岳县', 512021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2402, 2399, '乐至县', 512022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2403, 2249, '阿坝藏族羌族自治州', 513200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2404, 2403, '马尔康市', 513201, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2405, 2403, '汶川县', 513221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2406, 2403, '理县', 513222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2407, 2403, '茂县', 513223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2408, 2403, '松潘县', 513224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2409, 2403, '九寨沟县', 513225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2410, 2403, '金川县', 513226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2411, 2403, '小金县', 513227, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2412, 2403, '黑水县', 513228, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2413, 2403, '壤塘县', 513230, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2414, 2403, '阿坝县', 513231, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2415, 2403, '若尔盖县', 513232, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2416, 2403, '红原县', 513233, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2417, 2249, '甘孜藏族自治州', 513300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2418, 2417, '康定市', 513301, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2419, 2417, '泸定县', 513322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2420, 2417, '丹巴县', 513323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2421, 2417, '九龙县', 513324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2422, 2417, '雅江县', 513325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2423, 2417, '道孚县', 513326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2424, 2417, '炉霍县', 513327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2425, 2417, '甘孜县', 513328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2426, 2417, '新龙县', 513329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2427, 2417, '德格县', 513330, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2428, 2417, '白玉县', 513331, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2429, 2417, '石渠县', 513332, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2430, 2417, '色达县', 513333, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2431, 2417, '理塘县', 513334, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2432, 2417, '巴塘县', 513335, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2433, 2417, '乡城县', 513336, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2434, 2417, '稻城县', 513337, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2435, 2417, '得荣县', 513338, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2436, 2249, '凉山彝族自治州', 513400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2437, 2436, '西昌市', 513401, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2438, 2436, '木里藏族自治县', 513422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2439, 2436, '盐源县', 513423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2440, 2436, '德昌县', 513424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2441, 2436, '会理县', 513425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2442, 2436, '会东县', 513426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2443, 2436, '宁南县', 513427, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2444, 2436, '普格县', 513428, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2445, 2436, '布拖县', 513429, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2446, 2436, '金阳县', 513430, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2447, 2436, '昭觉县', 513431, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2448, 2436, '喜德县', 513432, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2449, 2436, '冕宁县', 513433, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2450, 2436, '越西县', 513434, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2451, 2436, '甘洛县', 513435, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2452, 2436, '美姑县', 513436, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2453, 2436, '雷波县', 513437, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2454, 0, '贵州省', 520000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2455, 2454, '贵阳市', 520100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2456, 2455, '南明区', 520102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2457, 2455, '云岩区', 520103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2458, 2455, '花溪区', 520111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2459, 2455, '乌当区', 520112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2460, 2455, '白云区', 520113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2461, 2455, '观山湖区', 520115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2462, 2455, '开阳县', 520121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2463, 2455, '息烽县', 520122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2464, 2455, '修文县', 520123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2465, 2455, '清镇市', 520181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2466, 2454, '六盘水市', 520200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2467, 2466, '钟山区', 520201, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2468, 2466, '六枝特区', 520203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2469, 2466, '水城县', 520221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2470, 2466, '盘州市', 520281, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2471, 2454, '遵义市', 520300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2472, 2471, '红花岗区', 520302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2473, 2471, '汇川区', 520303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2474, 2471, '播州区', 520304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2475, 2471, '桐梓县', 520322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2476, 2471, '绥阳县', 520323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2477, 2471, '正安县', 520324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2478, 2471, '道真仡佬族苗族自治县', 520325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2479, 2471, '务川仡佬族苗族自治县', 520326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2480, 2471, '凤冈县', 520327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2481, 2471, '湄潭县', 520328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2482, 2471, '余庆县', 520329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2483, 2471, '习水县', 520330, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2484, 2471, '赤水市', 520381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2485, 2471, '仁怀市', 520382, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2486, 2454, '安顺市', 520400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2487, 2486, '西秀区', 520402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2488, 2486, '平坝区', 520403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2489, 2486, '普定县', 520422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2490, 2486, '镇宁布依族苗族自治县', 520423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2491, 2486, '关岭布依族苗族自治县', 520424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2492, 2486, '紫云苗族布依族自治县', 520425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2493, 2454, '毕节市', 520500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2494, 2493, '七星关区', 520502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2495, 2493, '大方县', 520521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2496, 2493, '黔西县', 520522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2497, 2493, '金沙县', 520523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2498, 2493, '织金县', 520524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2499, 2493, '纳雍县', 520525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2500, 2493, '威宁彝族回族苗族自治县', 520526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2501, 2493, '赫章县', 520527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2502, 2454, '铜仁市', 520600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2503, 2502, '碧江区', 520602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2504, 2502, '万山区', 520603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2505, 2502, '江口县', 520621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2506, 2502, '玉屏侗族自治县', 520622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2507, 2502, '石阡县', 520623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2508, 2502, '思南县', 520624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2509, 2502, '印江土家族苗族自治县', 520625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2510, 2502, '德江县', 520626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2511, 2502, '沿河土家族自治县', 520627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2512, 2502, '松桃苗族自治县', 520628, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2513, 2454, '黔西南布依族苗族自治州', 522300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2514, 2513, '兴义市', 522301, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2515, 2513, '兴仁市', 522302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2516, 2513, '普安县', 522323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2517, 2513, '晴隆县', 522324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2518, 2513, '贞丰县', 522325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2519, 2513, '望谟县', 522326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2520, 2513, '册亨县', 522327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2521, 2513, '安龙县', 522328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2522, 2454, '黔东南苗族侗族自治州', 522600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2523, 2522, '凯里市', 522601, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2524, 2522, '黄平县', 522622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2525, 2522, '施秉县', 522623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2526, 2522, '三穗县', 522624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2527, 2522, '镇远县', 522625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2528, 2522, '岑巩县', 522626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2529, 2522, '天柱县', 522627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2530, 2522, '锦屏县', 522628, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2531, 2522, '剑河县', 522629, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2532, 2522, '台江县', 522630, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2533, 2522, '黎平县', 522631, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2534, 2522, '榕江县', 522632, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2535, 2522, '从江县', 522633, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2536, 2522, '雷山县', 522634, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2537, 2522, '麻江县', 522635, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2538, 2522, '丹寨县', 522636, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2539, 2454, '黔南布依族苗族自治州', 522700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2540, 2539, '都匀市', 522701, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2541, 2539, '福泉市', 522702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2542, 2539, '荔波县', 522722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2543, 2539, '贵定县', 522723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2544, 2539, '瓮安县', 522725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2545, 2539, '独山县', 522726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2546, 2539, '平塘县', 522727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2547, 2539, '罗甸县', 522728, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2548, 2539, '长顺县', 522729, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2549, 2539, '龙里县', 522730, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2550, 2539, '惠水县', 522731, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2551, 2539, '三都水族自治县', 522732, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2552, 0, '云南省', 530000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2553, 2552, '昆明市', 530100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2554, 2553, '五华区', 530102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2555, 2553, '盘龙区', 530103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2556, 2553, '官渡区', 530111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2557, 2553, '西山区', 530112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2558, 2553, '东川区', 530113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2559, 2553, '呈贡区', 530114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2560, 2553, '晋宁区', 530115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2561, 2553, '富民县', 530124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2562, 2553, '宜良县', 530125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2563, 2553, '石林彝族自治县', 530126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2564, 2553, '嵩明县', 530127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2565, 2553, '禄劝彝族苗族自治县', 530128, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2566, 2553, '寻甸回族彝族自治县', 530129, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2567, 2553, '安宁市', 530181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2568, 2552, '曲靖市', 530300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2569, 2568, '麒麟区', 530302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2570, 2568, '沾益区', 530303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2571, 2568, '马龙区', 530304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2572, 2568, '陆良县', 530322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2573, 2568, '师宗县', 530323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2574, 2568, '罗平县', 530324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2575, 2568, '富源县', 530325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2576, 2568, '会泽县', 530326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2577, 2568, '宣威市', 530381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2578, 2552, '玉溪市', 530400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2579, 2578, '红塔区', 530402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2580, 2578, '江川区', 530403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2581, 2578, '澄江县', 530422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2582, 2578, '通海县', 530423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2583, 2578, '华宁县', 530424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2584, 2578, '易门县', 530425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2585, 2578, '峨山彝族自治县', 530426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2586, 2578, '新平彝族傣族自治县', 530427, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2587, 2578, '元江哈尼族彝族傣族自治县', 530428, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2588, 2552, '保山市', 530500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2589, 2588, '隆阳区', 530502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2590, 2588, '施甸县', 530521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2591, 2588, '龙陵县', 530523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2592, 2588, '昌宁县', 530524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2593, 2588, '腾冲市', 530581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2594, 2552, '昭通市', 530600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2595, 2594, '昭阳区', 530602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2596, 2594, '鲁甸县', 530621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2597, 2594, '巧家县', 530622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2598, 2594, '盐津县', 530623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2599, 2594, '大关县', 530624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2600, 2594, '永善县', 530625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2601, 2594, '绥江县', 530626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2602, 2594, '镇雄县', 530627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2603, 2594, '彝良县', 530628, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2604, 2594, '威信县', 530629, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2605, 2594, '水富市', 530681, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2606, 2552, '丽江市', 530700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2607, 2606, '古城区', 530702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2608, 2606, '玉龙纳西族自治县', 530721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2609, 2606, '永胜县', 530722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2610, 2606, '华坪县', 530723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2611, 2606, '宁蒗彝族自治县', 530724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2612, 2552, '普洱市', 530800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2613, 2612, '思茅区', 530802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2614, 2612, '宁洱哈尼族彝族自治县', 530821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2615, 2612, '墨江哈尼族自治县', 530822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2616, 2612, '景东彝族自治县', 530823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2617, 2612, '景谷傣族彝族自治县', 530824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2618, 2612, '镇沅彝族哈尼族拉祜族自治县', 530825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2619, 2612, '江城哈尼族彝族自治县', 530826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2620, 2612, '孟连傣族拉祜族佤族自治县', 530827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2621, 2612, '澜沧拉祜族自治县', 530828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2622, 2612, '西盟佤族自治县', 530829, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2623, 2552, '临沧市', 530900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2624, 2623, '临翔区', 530902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2625, 2623, '凤庆县', 530921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2626, 2623, '云县', 530922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2627, 2623, '永德县', 530923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2628, 2623, '镇康县', 530924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2629, 2623, '双江拉祜族佤族布朗族傣族自治县', 530925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2630, 2623, '耿马傣族佤族自治县', 530926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2631, 2623, '沧源佤族自治县', 530927, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2632, 2552, '楚雄彝族自治州', 532300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2633, 2632, '楚雄市', 532301, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2634, 2632, '双柏县', 532322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2635, 2632, '牟定县', 532323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2636, 2632, '南华县', 532324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2637, 2632, '姚安县', 532325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2638, 2632, '大姚县', 532326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2639, 2632, '永仁县', 532327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2640, 2632, '元谋县', 532328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2641, 2632, '武定县', 532329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2642, 2632, '禄丰县', 532331, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2643, 2552, '红河哈尼族彝族自治州', 532500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2644, 2643, '个旧市', 532501, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2645, 2643, '开远市', 532502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2646, 2643, '蒙自市', 532503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2647, 2643, '弥勒市', 532504, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2648, 2643, '屏边苗族自治县', 532523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2649, 2643, '建水县', 532524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2650, 2643, '石屏县', 532525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2651, 2643, '泸西县', 532527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2652, 2643, '元阳县', 532528, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2653, 2643, '红河县', 532529, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2654, 2643, '金平苗族瑶族傣族自治县', 532530, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2655, 2643, '绿春县', 532531, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2656, 2643, '河口瑶族自治县', 532532, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2657, 2552, '文山壮族苗族自治州', 532600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2658, 2657, '文山市', 532601, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2659, 2657, '砚山县', 532622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2660, 2657, '西畴县', 532623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2661, 2657, '麻栗坡县', 532624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2662, 2657, '马关县', 532625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2663, 2657, '丘北县', 532626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2664, 2657, '广南县', 532627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2665, 2657, '富宁县', 532628, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2666, 2552, '西双版纳傣族自治州', 532800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2667, 2666, '景洪市', 532801, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2668, 2666, '勐海县', 532822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2669, 2666, '勐腊县', 532823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2670, 2552, '大理白族自治州', 532900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2671, 2670, '大理市', 532901, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2672, 2670, '漾濞彝族自治县', 532922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2673, 2670, '祥云县', 532923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2674, 2670, '宾川县', 532924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2675, 2670, '弥渡县', 532925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2676, 2670, '南涧彝族自治县', 532926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2677, 2670, '巍山彝族回族自治县', 532927, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2678, 2670, '永平县', 532928, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2679, 2670, '云龙县', 532929, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2680, 2670, '洱源县', 532930, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2681, 2670, '剑川县', 532931, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2682, 2670, '鹤庆县', 532932, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2683, 2552, '德宏傣族景颇族自治州', 533100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2684, 2683, '瑞丽市', 533102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2685, 2683, '芒市', 533103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2686, 2683, '梁河县', 533122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2687, 2683, '盈江县', 533123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2688, 2683, '陇川县', 533124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2689, 2552, '怒江傈僳族自治州', 533300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2690, 2689, '泸水市', 533301, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2691, 2689, '福贡县', 533323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2692, 2689, '贡山独龙族怒族自治县', 533324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2693, 2689, '兰坪白族普米族自治县', 533325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2694, 2552, '迪庆藏族自治州', 533400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2695, 2694, '香格里拉市', 533401, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2696, 2694, '德钦县', 533422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2697, 2694, '维西傈僳族自治县', 533423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2698, 0, '西藏自治区', 540000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2699, 2698, '拉萨市', 540100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2700, 2699, '城关区', 540102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2701, 2699, '堆龙德庆区', 540103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2702, 2699, '达孜区', 540104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2703, 2699, '林周县', 540121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2704, 2699, '当雄县', 540122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2705, 2699, '尼木县', 540123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2706, 2699, '曲水县', 540124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2707, 2699, '墨竹工卡县', 540127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2708, 2698, '日喀则市', 540200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2709, 2708, '桑珠孜区', 540202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2710, 2708, '南木林县', 540221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2711, 2708, '江孜县', 540222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2712, 2708, '定日县', 540223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2713, 2708, '萨迦县', 540224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2714, 2708, '拉孜县', 540225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2715, 2708, '昂仁县', 540226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2716, 2708, '谢通门县', 540227, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2717, 2708, '白朗县', 540228, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2718, 2708, '仁布县', 540229, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2719, 2708, '康马县', 540230, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2720, 2708, '定结县', 540231, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2721, 2708, '仲巴县', 540232, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2722, 2708, '亚东县', 540233, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2723, 2708, '吉隆县', 540234, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2724, 2708, '聂拉木县', 540235, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2725, 2708, '萨嘎县', 540236, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2726, 2708, '岗巴县', 540237, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2727, 2698, '昌都市', 540300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2728, 2727, '卡若区', 540302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2729, 2727, '江达县', 540321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2730, 2727, '贡觉县', 540322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2731, 2727, '类乌齐县', 540323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2732, 2727, '丁青县', 540324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2733, 2727, '察雅县', 540325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2734, 2727, '八宿县', 540326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2735, 2727, '左贡县', 540327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2736, 2727, '芒康县', 540328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2737, 2727, '洛隆县', 540329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2738, 2727, '边坝县', 540330, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2739, 2698, '林芝市', 540400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2740, 2739, '巴宜区', 540402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2741, 2739, '工布江达县', 540421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2742, 2739, '米林县', 540422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2743, 2739, '墨脱县', 540423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2744, 2739, '波密县', 540424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2745, 2739, '察隅县', 540425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2746, 2739, '朗县', 540426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2747, 2698, '山南市', 540500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2748, 2747, '乃东区', 540502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2749, 2747, '扎囊县', 540521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2750, 2747, '贡嘎县', 540522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2751, 2747, '桑日县', 540523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2752, 2747, '琼结县', 540524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2753, 2747, '曲松县', 540525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2754, 2747, '措美县', 540526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2755, 2747, '洛扎县', 540527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2756, 2747, '加查县', 540528, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2757, 2747, '隆子县', 540529, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2758, 2747, '错那县', 540530, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2759, 2747, '浪卡子县', 540531, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2760, 2698, '那曲市', 540600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2761, 2760, '色尼区', 540602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2762, 2760, '嘉黎县', 540621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2763, 2760, '比如县', 540622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2764, 2760, '聂荣县', 540623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2765, 2760, '安多县', 540624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2766, 2760, '申扎县', 540625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2767, 2760, '索县', 540626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2768, 2760, '班戈县', 540627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2769, 2760, '巴青县', 540628, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2770, 2760, '尼玛县', 540629, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2771, 2760, '双湖县', 540630, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2772, 2698, '阿里地区', 542500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2773, 2772, '普兰县', 542521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2774, 2772, '札达县', 542522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2775, 2772, '噶尔县', 542523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2776, 2772, '日土县', 542524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2777, 2772, '革吉县', 542525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2778, 2772, '改则县', 542526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2779, 2772, '措勤县', 542527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2780, 0, '陕西省', 610000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2781, 2780, '西安市', 610100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2782, 2781, '新城区', 610102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2783, 2781, '碑林区', 610103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2784, 2781, '莲湖区', 610104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2785, 2781, '灞桥区', 610111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2786, 2781, '未央区', 610112, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2787, 2781, '雁塔区', 610113, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2788, 2781, '阎良区', 610114, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2789, 2781, '临潼区', 610115, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2790, 2781, '长安区', 610116, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2791, 2781, '高陵区', 610117, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2792, 2781, '鄠邑区', 610118, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2793, 2781, '蓝田县', 610122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2794, 2781, '周至县', 610124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2795, 2780, '铜川市', 610200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2796, 2795, '王益区', 610202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2797, 2795, '印台区', 610203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2798, 2795, '耀州区', 610204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2799, 2795, '宜君县', 610222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2800, 2780, '宝鸡市', 610300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2801, 2800, '渭滨区', 610302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2802, 2800, '金台区', 610303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2803, 2800, '陈仓区', 610304, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2804, 2800, '凤翔县', 610322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2805, 2800, '岐山县', 610323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2806, 2800, '扶风县', 610324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2807, 2800, '眉县', 610326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2808, 2800, '陇县', 610327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2809, 2800, '千阳县', 610328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2810, 2800, '麟游县', 610329, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2811, 2800, '凤县', 610330, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2812, 2800, '太白县', 610331, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2813, 2780, '咸阳市', 610400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2814, 2813, '秦都区', 610402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2815, 2813, '杨陵区', 610403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2816, 2813, '渭城区', 610404, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2817, 2813, '三原县', 610422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2818, 2813, '泾阳县', 610423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2819, 2813, '乾县', 610424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2820, 2813, '礼泉县', 610425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2821, 2813, '永寿县', 610426, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2822, 2813, '长武县', 610428, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2823, 2813, '旬邑县', 610429, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2824, 2813, '淳化县', 610430, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2825, 2813, '武功县', 610431, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2826, 2813, '兴平市', 610481, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2827, 2813, '彬州市', 610482, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2828, 2780, '渭南市', 610500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2829, 2828, '临渭区', 610502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2830, 2828, '华州区', 610503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2831, 2828, '潼关县', 610522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2832, 2828, '大荔县', 610523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2833, 2828, '合阳县', 610524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2834, 2828, '澄城县', 610525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2835, 2828, '蒲城县', 610526, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2836, 2828, '白水县', 610527, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2837, 2828, '富平县', 610528, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2838, 2828, '韩城市', 610581, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2839, 2828, '华阴市', 610582, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2840, 2780, '延安市', 610600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2841, 2840, '宝塔区', 610602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2842, 2840, '安塞区', 610603, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2843, 2840, '延长县', 610621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2844, 2840, '延川县', 610622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2845, 2840, '子长县', 610623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2846, 2840, '志丹县', 610625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2847, 2840, '吴起县', 610626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2848, 2840, '甘泉县', 610627, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2849, 2840, '富县', 610628, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2850, 2840, '洛川县', 610629, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2851, 2840, '宜川县', 610630, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2852, 2840, '黄龙县', 610631, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2853, 2840, '黄陵县', 610632, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2854, 2780, '汉中市', 610700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2855, 2854, '汉台区', 610702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2856, 2854, '南郑区', 610703, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2857, 2854, '城固县', 610722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2858, 2854, '洋县', 610723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2859, 2854, '西乡县', 610724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2860, 2854, '勉县', 610725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2861, 2854, '宁强县', 610726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2862, 2854, '略阳县', 610727, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2863, 2854, '镇巴县', 610728, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2864, 2854, '留坝县', 610729, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2865, 2854, '佛坪县', 610730, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2866, 2780, '榆林市', 610800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2867, 2866, '榆阳区', 610802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2868, 2866, '横山区', 610803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2869, 2866, '府谷县', 610822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2870, 2866, '靖边县', 610824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2871, 2866, '定边县', 610825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2872, 2866, '绥德县', 610826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2873, 2866, '米脂县', 610827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2874, 2866, '佳县', 610828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2875, 2866, '吴堡县', 610829, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2876, 2866, '清涧县', 610830, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2877, 2866, '子洲县', 610831, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2878, 2866, '神木市', 610881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2879, 2780, '安康市', 610900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2880, 2879, '汉滨区', 610902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2881, 2879, '汉阴县', 610921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2882, 2879, '石泉县', 610922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2883, 2879, '宁陕县', 610923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2884, 2879, '紫阳县', 610924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2885, 2879, '岚皋县', 610925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2886, 2879, '平利县', 610926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2887, 2879, '镇坪县', 610927, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2888, 2879, '旬阳县', 610928, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2889, 2879, '白河县', 610929, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2890, 2780, '商洛市', 611000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2891, 2890, '商州区', 611002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2892, 2890, '洛南县', 611021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2893, 2890, '丹凤县', 611022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2894, 2890, '商南县', 611023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2895, 2890, '山阳县', 611024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2896, 2890, '镇安县', 611025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2897, 2890, '柞水县', 611026, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2898, 0, '甘肃省', 620000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2899, 2898, '兰州市', 620100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2900, 2899, '城关区', 620102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2901, 2899, '七里河区', 620103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2902, 2899, '西固区', 620104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2903, 2899, '安宁区', 620105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2904, 2899, '红古区', 620111, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2905, 2899, '永登县', 620121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2906, 2899, '皋兰县', 620122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2907, 2899, '榆中县', 620123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2908, 2898, '嘉峪关市', 620200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2909, 2898, '金昌市', 620300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2910, 2909, '金川区', 620302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2911, 2909, '永昌县', 620321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2912, 2898, '白银市', 620400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2913, 2912, '白银区', 620402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2914, 2912, '平川区', 620403, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2915, 2912, '靖远县', 620421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2916, 2912, '会宁县', 620422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2917, 2912, '景泰县', 620423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2918, 2898, '天水市', 620500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2919, 2918, '秦州区', 620502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2920, 2918, '麦积区', 620503, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2921, 2918, '清水县', 620521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2922, 2918, '秦安县', 620522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2923, 2918, '甘谷县', 620523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2924, 2918, '武山县', 620524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2925, 2918, '张家川回族自治县', 620525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2926, 2898, '武威市', 620600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2927, 2926, '凉州区', 620602, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2928, 2926, '民勤县', 620621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2929, 2926, '古浪县', 620622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2930, 2926, '天祝藏族自治县', 620623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2931, 2898, '张掖市', 620700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2932, 2931, '甘州区', 620702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2933, 2931, '肃南裕固族自治县', 620721, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2934, 2931, '民乐县', 620722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2935, 2931, '临泽县', 620723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2936, 2931, '高台县', 620724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2937, 2931, '山丹县', 620725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2938, 2898, '平凉市', 620800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2939, 2938, '崆峒区', 620802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2940, 2938, '泾川县', 620821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2941, 2938, '灵台县', 620822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2942, 2938, '崇信县', 620823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2943, 2938, '庄浪县', 620825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2944, 2938, '静宁县', 620826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2945, 2938, '华亭市', 620881, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2946, 2898, '酒泉市', 620900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2947, 2946, '肃州区', 620902, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2948, 2946, '金塔县', 620921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2949, 2946, '瓜州县', 620922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2950, 2946, '肃北蒙古族自治县', 620923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2951, 2946, '阿克塞哈萨克族自治县', 620924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2952, 2946, '玉门市', 620981, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2953, 2946, '敦煌市', 620982, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2954, 2898, '庆阳市', 621000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2955, 2954, '西峰区', 621002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2956, 2954, '庆城县', 621021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2957, 2954, '环县', 621022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2958, 2954, '华池县', 621023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2959, 2954, '合水县', 621024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2960, 2954, '正宁县', 621025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2961, 2954, '宁县', 621026, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2962, 2954, '镇原县', 621027, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2963, 2898, '定西市', 621100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2964, 2963, '安定区', 621102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2965, 2963, '通渭县', 621121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2966, 2963, '陇西县', 621122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2967, 2963, '渭源县', 621123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2968, 2963, '临洮县', 621124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2969, 2963, '漳县', 621125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2970, 2963, '岷县', 621126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2971, 2898, '陇南市', 621200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2972, 2971, '武都区', 621202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2973, 2971, '成县', 621221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2974, 2971, '文县', 621222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2975, 2971, '宕昌县', 621223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2976, 2971, '康县', 621224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2977, 2971, '西和县', 621225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2978, 2971, '礼县', 621226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2979, 2971, '徽县', 621227, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2980, 2971, '两当县', 621228, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2981, 2898, '临夏回族自治州', 622900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2982, 2981, '临夏市', 622901, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2983, 2981, '临夏县', 622921, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2984, 2981, '康乐县', 622922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2985, 2981, '永靖县', 622923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2986, 2981, '广河县', 622924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2987, 2981, '和政县', 622925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2988, 2981, '东乡族自治县', 622926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2989, 2981, '积石山保安族东乡族撒拉族自治县', 622927, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2990, 2898, '甘南藏族自治州', 623000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2991, 2990, '合作市', 623001, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2992, 2990, '临潭县', 623021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2993, 2990, '卓尼县', 623022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2994, 2990, '舟曲县', 623023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2995, 2990, '迭部县', 623024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2996, 2990, '玛曲县', 623025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2997, 2990, '碌曲县', 623026, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2998, 2990, '夏河县', 623027, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (2999, 0, '青海省', 630000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3000, 2999, '西宁市', 630100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3001, 3000, '城东区', 630102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3002, 3000, '城中区', 630103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3003, 3000, '城西区', 630104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3004, 3000, '城北区', 630105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3005, 3000, '大通回族土族自治县', 630121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3006, 3000, '湟中县', 630122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3007, 3000, '湟源县', 630123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3008, 2999, '海东市', 630200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3009, 3008, '乐都区', 630202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3010, 3008, '平安区', 630203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3011, 3008, '民和回族土族自治县', 630222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3012, 3008, '互助土族自治县', 630223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3013, 3008, '化隆回族自治县', 630224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3014, 3008, '循化撒拉族自治县', 630225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3015, 2999, '海北藏族自治州', 632200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3016, 3015, '门源回族自治县', 632221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3017, 3015, '祁连县', 632222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3018, 3015, '海晏县', 632223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3019, 3015, '刚察县', 632224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3020, 2999, '黄南藏族自治州', 632300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3021, 3020, '同仁县', 632321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3022, 3020, '尖扎县', 632322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3023, 3020, '泽库县', 632323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3024, 3020, '河南蒙古族自治县', 632324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3025, 2999, '海南藏族自治州', 632500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3026, 3025, '共和县', 632521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3027, 3025, '同德县', 632522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3028, 3025, '贵德县', 632523, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3029, 3025, '兴海县', 632524, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3030, 3025, '贵南县', 632525, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3031, 2999, '果洛藏族自治州', 632600, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3032, 3031, '玛沁县', 632621, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3033, 3031, '班玛县', 632622, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3034, 3031, '甘德县', 632623, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3035, 3031, '达日县', 632624, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3036, 3031, '久治县', 632625, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3037, 3031, '玛多县', 632626, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3038, 2999, '玉树藏族自治州', 632700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3039, 3038, '玉树市', 632701, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3040, 3038, '杂多县', 632722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3041, 3038, '称多县', 632723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3042, 3038, '治多县', 632724, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3043, 3038, '囊谦县', 632725, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3044, 3038, '曲麻莱县', 632726, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3045, 2999, '海西蒙古族藏族自治州', 632800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3046, 3045, '格尔木市', 632801, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3047, 3045, '德令哈市', 632802, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3048, 3045, '茫崖市', 632803, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3049, 3045, '乌兰县', 632821, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3050, 3045, '都兰县', 632822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3051, 3045, '天峻县', 632823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3052, 0, '宁夏回族自治区', 640000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3053, 3052, '银川市', 640100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3054, 3053, '兴庆区', 640104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3055, 3053, '西夏区', 640105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3056, 3053, '金凤区', 640106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3057, 3053, '永宁县', 640121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3058, 3053, '贺兰县', 640122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3059, 3053, '灵武市', 640181, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3060, 3052, '石嘴山市', 640200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3061, 3060, '大武口区', 640202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3062, 3060, '惠农区', 640205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3063, 3060, '平罗县', 640221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3064, 3052, '吴忠市', 640300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3065, 3064, '利通区', 640302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3066, 3064, '红寺堡区', 640303, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3067, 3064, '盐池县', 640323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3068, 3064, '同心县', 640324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3069, 3064, '青铜峡市', 640381, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3070, 3052, '固原市', 640400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3071, 3070, '原州区', 640402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3072, 3070, '西吉县', 640422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3073, 3070, '隆德县', 640423, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3074, 3070, '泾源县', 640424, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3075, 3070, '彭阳县', 640425, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3076, 3052, '中卫市', 640500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3077, 3076, '沙坡头区', 640502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3078, 3076, '中宁县', 640521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3079, 3076, '海原县', 640522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3080, 0, '新疆维吾尔自治区', 650000, 1, '0', 0, 1580837749, '系统管理员', 0, 1);
INSERT INTO `region` VALUES (3081, 3080, '乌鲁木齐市', 650100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3082, 3081, '天山区', 650102, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3083, 3081, '沙依巴克区', 650103, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3084, 3081, '新市区', 650104, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3085, 3081, '水磨沟区', 650105, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3086, 3081, '头屯河区', 650106, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3087, 3081, '达坂城区', 650107, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3088, 3081, '米东区', 650109, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3089, 3081, '乌鲁木齐县', 650121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3090, 3080, '克拉玛依市', 650200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3091, 3090, '独山子区', 650202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3092, 3090, '克拉玛依区', 650203, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3093, 3090, '白碱滩区', 650204, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3094, 3090, '乌尔禾区', 650205, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3095, 3080, '吐鲁番市', 650400, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3096, 3095, '高昌区', 650402, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3097, 3095, '鄯善县', 650421, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3098, 3095, '托克逊县', 650422, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3099, 3080, '哈密市', 650500, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3100, 3099, '伊州区', 650502, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3101, 3099, '巴里坤哈萨克自治县', 650521, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3102, 3099, '伊吾县', 650522, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3103, 3080, '昌吉回族自治州', 652300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3104, 3103, '昌吉市', 652301, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3105, 3103, '阜康市', 652302, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3106, 3103, '呼图壁县', 652323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3107, 3103, '玛纳斯县', 652324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3108, 3103, '奇台县', 652325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3109, 3103, '吉木萨尔县', 652327, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3110, 3103, '木垒哈萨克自治县', 652328, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3111, 3080, '博尔塔拉蒙古自治州', 652700, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3112, 3111, '博乐市', 652701, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3113, 3111, '阿拉山口市', 652702, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3114, 3111, '精河县', 652722, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3115, 3111, '温泉县', 652723, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3116, 3080, '巴音郭楞蒙古自治州', 652800, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3117, 3116, '库尔勒市', 652801, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3118, 3116, '轮台县', 652822, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3119, 3116, '尉犁县', 652823, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3120, 3116, '若羌县', 652824, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3121, 3116, '且末县', 652825, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3122, 3116, '焉耆回族自治县', 652826, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3123, 3116, '和静县', 652827, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3124, 3116, '和硕县', 652828, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3125, 3116, '博湖县', 652829, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3126, 3080, '阿克苏地区', 652900, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3127, 3126, '阿克苏市', 652901, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3128, 3126, '温宿县', 652922, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3129, 3126, '库车县', 652923, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3130, 3126, '沙雅县', 652924, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3131, 3126, '新和县', 652925, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3132, 3126, '拜城县', 652926, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3133, 3126, '乌什县', 652927, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3134, 3126, '阿瓦提县', 652928, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3135, 3126, '柯坪县', 652929, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3136, 3080, '克孜勒苏柯尔克孜自治州', 653000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3137, 3136, '阿图什市', 653001, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3138, 3136, '阿克陶县', 653022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3139, 3136, '阿合奇县', 653023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3140, 3136, '乌恰县', 653024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3141, 3080, '喀什地区', 653100, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3142, 3141, '喀什市', 653101, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3143, 3141, '疏附县', 653121, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3144, 3141, '疏勒县', 653122, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3145, 3141, '英吉沙县', 653123, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3146, 3141, '泽普县', 653124, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3147, 3141, '莎车县', 653125, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3148, 3141, '叶城县', 653126, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3149, 3141, '麦盖提县', 653127, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3150, 3141, '岳普湖县', 653128, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3151, 3141, '伽师县', 653129, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3152, 3141, '巴楚县', 653130, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3153, 3141, '塔什库尔干塔吉克自治县', 653131, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3154, 3080, '和田地区', 653200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3155, 3154, '和田市', 653201, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3156, 3154, '和田县', 653221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3157, 3154, '墨玉县', 653222, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3158, 3154, '皮山县', 653223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3159, 3154, '洛浦县', 653224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3160, 3154, '策勒县', 653225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3161, 3154, '于田县', 653226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3162, 3154, '民丰县', 653227, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3163, 3080, '伊犁哈萨克自治州', 654000, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3164, 3163, '伊宁市', 654002, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3165, 3163, '奎屯市', 654003, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3166, 3163, '霍尔果斯市', 654004, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3167, 3163, '伊宁县', 654021, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3168, 3163, '察布查尔锡伯自治县', 654022, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3169, 3163, '霍城县', 654023, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3170, 3163, '巩留县', 654024, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3171, 3163, '新源县', 654025, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3172, 3163, '昭苏县', 654026, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3173, 3163, '特克斯县', 654027, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3174, 3163, '尼勒克县', 654028, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3175, 3080, '塔城地区', 654200, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3176, 3175, '塔城市', 654201, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3177, 3175, '乌苏市', 654202, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3178, 3175, '额敏县', 654221, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3179, 3175, '沙湾县', 654223, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3180, 3175, '托里县', 654224, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3181, 3175, '裕民县', 654225, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3182, 3175, '和布克赛尔蒙古自治县', 654226, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3183, 3080, '阿勒泰地区', 654300, 2, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3184, 3183, '阿勒泰市', 654301, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3185, 3183, '布尔津县', 654321, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3186, 3183, '富蕴县', 654322, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3187, 3183, '福海县', 654323, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3188, 3183, '哈巴河县', 654324, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3189, 3183, '青河县', 654325, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3190, 3183, '吉木乃县', 654326, 3, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3191, 0, '台湾省', 710000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3192, 0, '香港特别行政区', 810000, 1, '0', 0, 0, '0', 0, 0);
INSERT INTO `region` VALUES (3193, 0, '澳门特别行政区', 820000, 1, '0', 0, 0, '0', 0, 0);

-- ----------------------------
-- Table structure for role
-- ----------------------------
DROP TABLE IF EXISTS `role`;
CREATE TABLE `role`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NULL DEFAULT NULL COMMENT '父级编号',
  `system` tinyint(4) NULL DEFAULT NULL COMMENT '角色类型',
  `lft` int(11) NULL DEFAULT NULL COMMENT '嵌套组左值',
  `rgt` int(11) NULL DEFAULT NULL COMMENT '嵌套组右值',
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编号',
  `access` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '数据权限',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_role_code`(`code`) USING BTREE,
  INDEX `idx_role_lft_rgt`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_role_parent_id`(`parent_id`) USING BTREE,
  INDEX `idx_access`(`access`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 96 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of role
-- ----------------------------
INSERT INTO `role` VALUES (1, 0, 1, 25, 26, '系统管理员', 255, 0, '0', '系统管理员', 1614508100, '', '', 'all', 1);
INSERT INTO `role` VALUES (2, 0, 1, 23, 24, '客户', 255, 0, '0', '系统管理员', 1614508100, '', '', 'me', 1);
INSERT INTO `role` VALUES (7, NULL, 0, 5, 6, '董事长', 255, 1577110398, '1', '系统管理员', 1614412918, NULL, NULL, 'all', 1);
INSERT INTO `role` VALUES (8, 0, 0, 21, 22, '执行董事', 255, 1577110398, '1', '系统管理员', 1614508100, '', '', 'all', 1);
INSERT INTO `role` VALUES (9, 0, 0, 19, 20, '董事', 255, 1577110398, '1', '系统管理员', 1614508100, '', '', 'all', 1);
INSERT INTO `role` VALUES (41, 0, 0, 17, 18, '贸易部经理', 255, 1577110398, '1', '系统管理员', 1614508100, '', '', 'dept', 1);
INSERT INTO `role` VALUES (58, 0, 0, 15, 16, 'HR经理', 255, 1577110398, '1', '系统管理员', 1614508100, '', '', 'dept2', 1);
INSERT INTO `role` VALUES (59, 0, 0, 13, 14, 'HR主管', 255, 1577110398, '1', '系统管理员', 1614508100, '', '', 'dept', 1);
INSERT INTO `role` VALUES (62, 0, 0, 11, 12, '设备管理经理', 255, 1577110398, '1', '系统管理员', 1614508100, '', '', 'dept', 1);
INSERT INTO `role` VALUES (63, 0, 0, 9, 10, '审计部经理', 255, 1577110398, '1', '系统管理员', 1614508100, '', '', 'dept', 1);
INSERT INTO `role` VALUES (65, 0, 0, 7, 8, '生产部经理', 255, 1577110398, '1', '系统管理员', 1614508100, '', '', 'dept2', 1);
INSERT INTO `role` VALUES (83, 0, 0, 5, 6, '销售经理', 255, 1577110398, '1', '系统管理员', 1614508100, '', '', 'team2', 1);
INSERT INTO `role` VALUES (84, 0, 0, 3, 4, '销售助理', 255, 1577110398, '1', '系统管理员', 1614508100, NULL, '', 'team2', 1);
INSERT INTO `role` VALUES (95, 0, NULL, 1, 2, '客户联系人', 0, 1592673713, '系统管理员', '系统管理员', 1614508100, NULL, '', 'me', 1);

-- ----------------------------
-- Table structure for role_resource
-- ----------------------------
DROP TABLE IF EXISTS `role_resource`;
CREATE TABLE `role_resource`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '模块名称\n',
  `rules` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '模块规则',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_user_asset_name`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 47 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of role_resource
-- ----------------------------
INSERT INTO `role_resource` VALUES (3, 'order', '{\"order.index\":{\"17\":\"4\",\"32\":\"1\",\"47\":\"1\",\"56\":\"1\",\"117\":\"1\",\"153\":\"4\",\"100\":\"4\",\"134\":\"1\",\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"31\":\"4\",\"64\":\"4\",\"11\":\"4\",\"35\":\"1\",\"42\":\"5\",\"10\":\"4\",\"34\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"18\":\"2\",\"23\":\"4\",\"28\":\"1\",\"33\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"95\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"plan.produce\":{\"17\":\"1\",\"117\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"69\":\"1\",\"11\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"93\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"28\":\"1\",\"33\":\"1\",\"66\":\"1\",\"63\":\"1\",\"19\":\"1\",\"94\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"order.show\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"order.audit\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"18\":\"1\",\"66\":\"1\",\"2\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"84\":\"1\",\"83\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"cancel.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"31\":\"4\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"34\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"cancel.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"order.recall\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"84\":\"1\",\"83\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"plan.produce_save\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.produce_submit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"order.delivery\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"35\":\"4\",\"42\":\"5\",\"10\":\"4\",\"34\":\"4\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"23\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"65\":\"1\",\"1\":\"1\"},\"order.detail\":{\"1\":\"1\"},\"order.deliveryPlan\":{\"1\":\"1\"},\"order.abort\":{\"1\":\"1\"},\"order.create\":{\"1\":\"1\"},\"order.edit\":{\"1\":\"1\"},\"order.print\":{\"1\":\"1\"},\"order.return\":{\"1\":\"1\"},\"order.delete\":{\"1\":\"1\"},\"order.logisticsPlan\":{\"1\":\"1\"},\"order.deliveryEdit\":{\"1\":\"1\"},\"order.closeRow\":{\"1\":\"1\"},\"order.closeAllRow\":{\"1\":\"1\"},\"order.batchEdit\":{\"1\":\"1\"},\"cancel.audit\":{\"1\":\"1\"},\"cancel.recall\":{\"1\":\"1\"},\"cancel.abort\":{\"1\":\"1\"},\"cancel.create\":{\"1\":\"1\"},\"cancel.edit\":{\"1\":\"1\"},\"cancel.print\":{\"1\":\"1\"},\"cancel.delete\":{\"1\":\"1\"},\"sampleApply.index\":{\"1\":\"1\"},\"sampleApply.detail\":{\"1\":\"1\"},\"sampleApply.audit\":{\"1\":\"1\"},\"sampleApply.recall\":{\"1\":\"1\"},\"sampleApply.abort\":{\"1\":\"1\"},\"sampleApply.show\":{\"1\":\"1\"},\"sampleApply.create\":{\"1\":\"1\"},\"sampleApply.edit\":{\"1\":\"1\"},\"sampleApply.close\":{\"1\":\"1\"},\"sampleApply.print\":{\"1\":\"1\"},\"sampleApply.delete\":{\"1\":\"1\"},\"plan.index\":{\"1\":\"1\"},\"plan.export_sale\":{\"1\":\"1\"},\"type.index\":{\"1\":\"1\"},\"type.create\":{\"1\":\"1\"},\"type.edit\":{\"1\":\"1\"},\"type.delete\":{\"1\":\"1\"},\"logistics.index\":{\"1\":\"1\"},\"logistics.create\":{\"1\":\"1\"},\"logistics.edit\":{\"1\":\"1\"},\"logistics.show\":{\"1\":\"1\"},\"logistics.delete\":{\"1\":\"1\"},\"report.index\":{\"1\":\"1\"},\"report.category\":{\"1\":\"1\"},\"report.single\":{\"1\":\"1\"},\"report.increase\":{\"1\":\"1\"},\"report.clientsort\":{\"1\":\"1\"},\"report.city\":{\"1\":\"1\"},\"report.citydata\":{\"1\":\"1\"},\"report.client\":{\"1\":\"1\"},\"report.clientdata\":{\"1\":\"1\"},\"report.ranking\":{\"1\":\"1\"},\"report.promotion\":{\"1\":\"1\"},\"report.clienttype\":{\"1\":\"1\"},\"report.newclient\":{\"1\":\"1\"},\"report.receivable\":{\"1\":\"1\"},\"report.billingtype\":{\"1\":\"1\"},\"report.stockmonth\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (4, 'calendar', '{\"calendar.index\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"calendar.calendar\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"calendar.add\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"calendar.delete\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"calendar.active\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"calendar.help\":{\"17\":\"1\",\"47\":\"1\",\"52\":\"1\",\"55\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"event.index\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"event.view\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"event.add\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"event.edit\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"event.delete\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"event.move\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"event.resize\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"calendar.view\":{\"17\":\"1\",\"55\":\"1\",\"38\":\"1\",\"52\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (5, 'message', '{\"message.index\":{\"17\":\"1\",\"26\":\"1\",\"27\":\"1\",\"52\":\"1\",\"16\":\"1\",\"33\":\"1\",\"51\":\"1\",\"24\":\"1\",\"53\":\"1\",\"19\":\"1\",\"47\":\"1\",\"32\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"30\":\"1\",\"28\":\"1\",\"43\":\"1\",\"44\":\"1\",\"37\":\"1\",\"42\":\"1\",\"29\":\"1\",\"45\":\"1\",\"25\":\"1\",\"38\":\"1\",\"46\":\"1\",\"39\":\"1\",\"50\":\"1\",\"31\":\"1\",\"49\":\"1\",\"40\":\"1\",\"34\":\"1\",\"48\":\"1\",\"35\":\"1\",\"36\":\"1\",\"56\":\"1\",\"60\":\"1\",\"54\":\"1\",\"82\":\"1\",\"83\":\"1\",\"84\":\"1\",\"18\":\"1\",\"69\":\"1\",\"2\":\"1\",\"41\":\"1\"},\"message.view\":{\"16\":\"1\",\"17\":\"1\",\"19\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"26\":\"1\",\"27\":\"1\",\"28\":\"1\",\"29\":\"1\",\"30\":\"1\",\"31\":\"1\",\"32\":\"1\",\"33\":\"1\",\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"42\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"46\":\"1\",\"47\":\"1\",\"48\":\"1\",\"49\":\"1\",\"50\":\"1\",\"52\":\"1\",\"53\":\"1\",\"51\":\"1\",\"56\":\"1\",\"60\":\"1\",\"54\":\"1\",\"18\":\"1\",\"69\":\"1\",\"2\":\"1\",\"41\":\"1\"},\"message.add\":{\"17\":\"1\",\"26\":\"1\",\"27\":\"1\",\"52\":\"1\",\"16\":\"1\",\"33\":\"1\",\"51\":\"1\",\"24\":\"1\",\"53\":\"1\",\"19\":\"1\",\"47\":\"1\",\"32\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"30\":\"1\",\"28\":\"1\",\"43\":\"1\",\"44\":\"1\",\"37\":\"1\",\"42\":\"1\",\"29\":\"1\",\"45\":\"1\",\"25\":\"1\",\"38\":\"1\",\"46\":\"1\",\"39\":\"1\",\"50\":\"1\",\"31\":\"1\",\"49\":\"1\",\"40\":\"1\",\"34\":\"1\",\"48\":\"1\",\"35\":\"1\",\"36\":\"1\",\"56\":\"1\",\"60\":\"1\",\"54\":\"1\",\"18\":\"1\",\"69\":\"1\",\"41\":\"1\"},\"message.delete\":{\"17\":\"1\",\"26\":\"1\",\"27\":\"1\",\"52\":\"1\",\"33\":\"1\",\"51\":\"1\",\"24\":\"1\",\"53\":\"1\",\"19\":\"1\",\"47\":\"1\",\"32\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"30\":\"1\",\"28\":\"1\",\"43\":\"1\",\"44\":\"1\",\"37\":\"1\",\"42\":\"1\",\"16\":\"1\",\"29\":\"1\",\"45\":\"1\",\"25\":\"1\",\"38\":\"1\",\"46\":\"1\",\"39\":\"1\",\"50\":\"1\",\"31\":\"1\",\"49\":\"1\",\"40\":\"1\",\"34\":\"1\",\"48\":\"1\",\"35\":\"1\",\"36\":\"1\",\"56\":\"1\",\"60\":\"1\",\"54\":\"1\",\"82\":\"1\",\"83\":\"1\",\"84\":\"1\",\"18\":\"1\",\"69\":\"1\",\"41\":\"1\"}}');
INSERT INTO `role_resource` VALUES (6, 'forum', '{\"post.index\":{\"17\":\"4\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"4\",\"61\":\"4\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"35\":\"1\",\"50\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"3\",\"63\":\"1\",\"2\":\"1\",\"58\":\"1\",\"75\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"post.view\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"35\":\"1\",\"50\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"58\":\"1\",\"75\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"post.add\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"35\":\"1\",\"50\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"58\":\"1\",\"75\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"post.delete\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"48\":\"1\",\"51\":\"1\",\"56\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"35\":\"1\",\"50\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"2\":\"1\",\"75\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"category.index\":{\"17\":\"1\",\"52\":\"1\",\"55\":\"1\",\"61\":\"1\",\"37\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"34\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"category.add\":{\"17\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"34\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"category.delete\":{\"17\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"category.view\":{\"17\":\"1\",\"52\":\"1\",\"55\":\"1\",\"61\":\"1\",\"37\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"34\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"post.category\":{\"17\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"30\":\"1\",\"27\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"post.reply\":{\"17\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"63\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (7, 'workflow', '{\"workflow.index\":{\"17\":\"1\",\"26\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"53\":\"1\",\"54\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"88\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"workflow.view\":{\"17\":\"1\",\"26\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"53\":\"1\",\"54\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"88\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"workflow.add\":{\"17\":\"1\",\"26\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"53\":\"1\",\"54\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"88\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"workflow.edit\":{\"17\":\"1\",\"26\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"53\":\"1\",\"54\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"88\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"workflow.delete\":{\"17\":\"1\",\"38\":\"1\",\"53\":\"1\",\"54\":\"1\",\"26\":\"1\",\"51\":\"1\",\"47\":\"1\",\"32\":\"1\",\"43\":\"1\",\"44\":\"1\",\"37\":\"1\",\"29\":\"1\",\"45\":\"1\",\"39\":\"1\",\"40\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"55\":\"1\",\"52\":\"1\",\"61\":\"1\",\"88\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"workflow.list\":{\"17\":\"1\",\"26\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"53\":\"1\",\"54\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"88\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"workflow.trash\":{\"17\":\"4\",\"26\":\"1\",\"29\":\"3\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"3\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"53\":\"1\",\"54\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"88\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"4\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"4\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"4\",\"86\":\"1\",\"70\":\"4\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"4\",\"18\":\"1\",\"20\":\"1\",\"21\":\"4\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"4\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"4\",\"65\":\"1\",\"1\":\"1\"},\"workflow.query\":{\"17\":\"1\",\"52\":\"4\",\"55\":\"3\",\"61\":\"4\",\"37\":\"3\",\"44\":\"4\",\"29\":\"3\",\"39\":\"3\",\"117\":\"1\",\"88\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"4\",\"87\":\"1\",\"81\":\"1\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"1\",\"31\":\"1\",\"69\":\"1\",\"11\":\"4\",\"42\":\"1\",\"10\":\"4\",\"34\":\"3\",\"82\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"59\":\"1\",\"91\":\"3\",\"92\":\"4\",\"21\":\"4\",\"28\":\"3\",\"33\":\"3\",\"30\":\"3\",\"66\":\"1\",\"27\":\"3\",\"63\":\"1\",\"73\":\"1\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"1\",\"65\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (11, 'promotion', '{\"promotion.index\":{\"17\":\"4\",\"40\":\"4\",\"56\":\"2\",\"134\":\"1\",\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"18\":\"2\",\"21\":\"4\",\"63\":\"4\",\"95\":\"5\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"1\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"89\":\"4\",\"\":\"me\",\"1\":\"1\"},\"promotion.delete\":{\"17\":\"1\",\"56\":\"1\",\"134\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"18\":\"1\",\"21\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"promotion.show\":{\"17\":\"1\",\"40\":\"1\",\"56\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"64\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"21\":\"1\",\"63\":\"1\",\"95\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"promotion.create\":{\"17\":\"1\",\"56\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"18\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"material.index\":{\"17\":\"4\",\"56\":\"2\",\"87\":\"5\",\"81\":\"5\",\"9\":\"4\",\"42\":\"5\",\"82\":\"5\",\"41\":\"5\",\"8\":\"4\",\"70\":\"4\",\"18\":\"2\",\"21\":\"4\",\"95\":\"5\",\"2\":\"1\",\"73\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"\":\"me\",\"1\":\"1\"},\"material.show\":{\"17\":\"1\",\"56\":\"1\",\"87\":\"1\",\"81\":\"1\",\"9\":\"1\",\"42\":\"1\",\"82\":\"1\",\"41\":\"1\",\"8\":\"1\",\"70\":\"1\",\"18\":\"1\",\"21\":\"1\",\"95\":\"1\",\"2\":\"1\",\"73\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"material.audit\":{\"17\":\"1\",\"70\":\"1\",\"21\":\"1\",\"73\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"material.delete\":{\"17\":\"1\",\"21\":\"1\",\"2\":\"1\",\"73\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"\":\"me\",\"1\":\"1\"},\"promotion.edit\":{\"17\":\"1\",\"56\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"promotion.print\":{\"17\":\"1\",\"40\":\"1\",\"56\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"promotion.audit\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"promotion.recall\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"promotion.abort\":{\"134\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"1\":\"1\"},\"review.index\":{\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"1\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"1\":\"1\"},\"review.show\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.create\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.edit\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.audit\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.recall\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.abort\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"1\":\"1\"},\"review.print\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"promotion.close\":{\"73\":\"1\",\"76\":\"1\",\"1\":\"1\"},\"promotion.batchEdit\":{\"73\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"review.batchEdit\":{\"72\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (15, 'product', '{\"product.index\":{\"17\":\"1\",\"56\":\"1\",\"36\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"37\":\"1\",\"117\":\"1\",\"88\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"23\":\"1\",\"24\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"product.delete\":{\"17\":\"1\",\"117\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"category.index\":{\"17\":\"1\",\"56\":\"1\",\"36\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"37\":\"1\",\"117\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"66\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"1\":\"1\"},\"category.delete\":{\"17\":\"1\",\"117\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"product.import\":{\"1\":\"1\"},\"category.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"category.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"product.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"product.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"unit.index\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"66\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"unit.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"unit.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"unit.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"material.index\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"material.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"material.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"material.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (16, 'file', '{\"certificate.index\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"33\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"certificate.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"33\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"certificate.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"certificate.download\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"33\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"94\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"certificate.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"inspectReport.index\":{\"1\":\"1\"},\"inspectReport.show\":{\"1\":\"1\"},\"inspectReport.create\":{\"1\":\"1\"},\"inspectReport.download\":{\"1\":\"1\"},\"inspectReport.delete\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (17, 'user', '{\"user.index\":{\"17\":\"1\",\"26\":\"1\",\"29\":\"1\",\"38\":\"1\",\"52\":\"1\",\"16\":\"1\",\"\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"28\":\"1\",\"33\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"user.delete\":{\"17\":\"1\",\"52\":\"1\",\"\":\"1\",\"77\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"user.secret\":{\"17\":\"1\",\"52\":\"1\",\"\":\"1\",\"77\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"group.index\":{\"17\":\"1\",\"16\":\"1\",\"\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"group.delete\":{\"17\":\"1\",\"\":\"1\",\"77\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"position.index\":{\"17\":\"1\",\"16\":\"1\",\"\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"position.delete\":{\"17\":\"1\",\"\":\"1\",\"77\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"role.index\":{\"17\":\"1\",\"16\":\"1\",\"\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"role.config\":{\"17\":\"1\",\"\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"70\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"department.index\":{\"17\":\"1\",\"16\":\"1\",\"\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"department.delete\":{\"17\":\"1\",\"\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"70\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"role.delete\":{\"17\":\"1\",\"\":\"1\",\"77\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"position.create\":{\"\":\"1\",\"77\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"position.edit\":{\"\":\"1\",\"77\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"group.create\":{\"\":\"1\",\"77\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"group.edit\":{\"\":\"1\",\"77\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"user.show\":{\"16\":\"1\",\"\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"user.create\":{\"\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"user.edit\":{\"\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"department.show\":{\"16\":\"1\",\"\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"department.create\":{\"\":\"1\",\"11\":\"1\",\"10\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"department.edit\":{\"\":\"1\",\"11\":\"1\",\"10\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"role.show\":{\"16\":\"1\",\"\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"role.create\":{\"\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"role.edit\":{\"\":\"1\",\"60\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"user.import\":{\"\":\"1\",\"72\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (18, 'model', '{\"model.index\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"model.delete\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"field.index\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"field.type\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"field.delete\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.index\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.delete\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"model.create\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"field.create\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.create\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.edit\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.save\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"template.index\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"template.create\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.condition\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"template.delete\":{\"1\":\"1\"},\"step.move\":{\"1\":\"1\"},\"module.index\":{\"1\":\"1\"},\"module.create\":{\"1\":\"1\"},\"module.edit\":{\"1\":\"1\"},\"module.save\":{\"1\":\"1\"},\"module.delete\":{\"1\":\"1\"},\"bill.index\":{\"1\":\"1\"},\"bill.create\":{\"1\":\"1\"},\"bill.show\":{\"1\":\"1\"},\"bill.delete\":{\"\":\"me\",\"1\":\"1\"},\"bill.edit\":{\"1\":\"1\"},\"model.edit\":{\"1\":\"1\"},\"template.edit\":{\"1\":\"1\"},\"field.edit\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (19, 'access', '{\"role.index\":{\"1\":1,\"17\":1},\"role.add\":{\"1\":1},\"role.config\":{\"1\":1,\"17\":1},\"department.index\":{\"1\":1,\"17\":1},\"department.add\":{\"1\":1,\"17\":1},\"department.delete\":{\"1\":1,\"17\":1}}');
INSERT INTO `role_resource` VALUES (20, 'setting', '{\"setting.base\":{\"1\":\"1\",\"17\":\"1\"},\"setting.mail\":{\"1\":\"1\",\"17\":\"1\"},\"setting.im\":{\"1\":\"1\",\"17\":\"1\"},\"setting.upload\":{\"1\":\"1\"},\"setting.image\":{\"1\":\"1\",\"17\":\"1\"},\"setting.sms\":{\"1\":\"1\",\"17\":\"1\"},\"setting.security\":[],\"setting.add\":{\"1\":1},\"cron.index\":{\"1\":\"1\",\"17\":\"1\"},\"cron.add\":{\"1\":\"1\",\"17\":\"1\"},\"cron.run\":{\"1\":\"1\",\"17\":\"1\"},\"cron.delete\":{\"1\":\"1\",\"17\":\"1\"},\"menu.index\":{\"1\":\"1\",\"17\":\"1\"},\"menu.add\":{\"1\":\"1\"},\"menu.delete\":{\"1\":\"1\",\"17\":\"1\"},\"dropdown.index\":{\"1\":1},\"dropdown.add\":{\"1\":1},\"dropdown.delete\":{\"1\":1},\"setting.mail_test\":{\"1\":\"1\",\"17\":\"1\"},\"setting.datetime\":[],\"setting.store\":{\"1\":\"1\",\"17\":\"1\"},\"dictionary.index\":{\"1\":\"1\",\"17\":\"1\"},\"dictionary.create\":{\"1\":\"1\",\"17\":\"1\"},\"dictionary.delete\":{\"1\":\"1\",\"17\":\"1\"},\"setting.index\":{\"1\":\"1\"},\"dict.index\":{\"1\":\"1\",\"17\":\"1\"},\"dict.create\":{\"1\":\"1\",\"17\":\"1\"},\"dict.delete\":{\"1\":\"1\",\"17\":\"1\"},\"widget.index\":{\"17\":\"1\",\"1\":\"1\"},\"widget.create\":{\"17\":\"1\",\"1\":\"1\"},\"widget.delete\":{\"17\":\"1\",\"1\":\"1\"},\"mail.index\":{\"1\":\"1\"},\"mail.create\":{\"1\":\"1\"},\"mail.delete\":{\"1\":\"1\"},\"menu.create\":{\"1\":\"1\",\"17\":\"1\"},\"option.index\":{\"1\":\"1\",\"17\":\"1\"},\"option.create\":{\"1\":\"1\",\"17\":\"1\"},\"option.delete\":{\"1\":\"1\",\"17\":\"1\"},\"mail.add\":{\"1\":\"1\"},\"mail.edit\":{\"1\":\"1\"},\"mail.store\":{\"1\":\"1\"},\"sms.index\":{\"1\":\"1\"},\"sms.add\":{\"1\":\"1\"},\"sms.edit\":{\"1\":\"1\"},\"sms.store\":{\"1\":\"1\"},\"sms.delete\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (22, 'article', '{\"article.index\":{\"17\":\"4\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"3\",\"38\":\"4\",\"39\":\"3\",\"40\":\"3\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"4\",\"54\":\"1\",\"56\":\"1\",\"55\":\"4\",\"53\":\"1\",\"26\":\"1\",\"61\":\"4\",\"68\":\"4\",\"117\":\"3\",\"88\":\"4\",\"119\":\"1\",\"153\":\"1\",\"100\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"134\":\"1\",\"16\":\"3\",\"87\":\"1\",\"81\":\"1\",\"15\":\"3\",\"14\":\"3\",\"9\":\"1\",\"78\":\"3\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"11\":\"3\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"3\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"77\":\"4\",\"71\":\"3\",\"8\":\"1\",\"86\":\"3\",\"70\":\"4\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"4\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"3\",\"72\":\"3\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"article.create\":{\"1\":\"1\"},\"article.edit\":{\"1\":\"1\"},\"article.show\":{\"1\":\"1\"},\"article.reader\":{\"1\":\"1\"},\"article.delete\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (23, 'task', '{\"task.index\":{\"17\":\"4\",\"52\":\"1\",\"19\":\"1\",\"29\":\"1\",\"33\":\"3\",\"51\":\"1\",\"24\":\"1\",\"27\":\"4\",\"26\":\"1\",\"53\":\"1\",\"55\":\"1\",\"47\":\"1\",\"32\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"30\":\"1\",\"28\":\"1\",\"43\":\"1\",\"44\":\"1\",\"37\":\"1\",\"41\":\"1\",\"42\":\"1\",\"16\":\"1\",\"45\":\"1\",\"38\":\"1\",\"46\":\"1\",\"39\":\"1\",\"50\":\"1\",\"40\":\"1\",\"2\":\"1\",\"34\":\"1\",\"48\":\"1\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"18\":\"1\",\"56\":\"1\",\"58\":\"1\",\"60\":\"1\",\"64\":\"1\",\"61\":\"1\",\"65\":\"1\",\"31\":\"3\",\"66\":\"1\"},\"task.receive\":{\"1\":\"1\",\"2\":\"1\",\"16\":\"1\",\"17\":\"4\",\"18\":\"1\",\"19\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"27\":\"1\",\"28\":\"1\",\"29\":\"1\",\"30\":\"1\",\"31\":\"1\",\"32\":\"1\",\"33\":\"1\",\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"41\":\"1\",\"42\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"46\":\"1\",\"47\":\"1\",\"48\":\"1\",\"49\":\"1\",\"50\":\"1\",\"52\":\"1\",\"56\":\"1\"},\"task.analysis\":{\"17\":\"1\",\"40\":\"1\",\"52\":\"1\",\"19\":\"1\",\"27\":\"1\",\"55\":\"1\",\"58\":\"1\",\"64\":\"1\",\"61\":\"1\",\"33\":\"1\",\"66\":\"1\"},\"task.view\":{\"2\":\"1\",\"16\":\"1\",\"17\":\"1\",\"18\":\"1\",\"19\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"27\":\"1\",\"28\":\"1\",\"29\":\"1\",\"30\":\"1\",\"31\":\"1\",\"32\":\"1\",\"33\":\"1\",\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"41\":\"1\",\"42\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"46\":\"1\",\"47\":\"1\",\"48\":\"1\",\"49\":\"1\",\"50\":\"1\",\"52\":\"1\",\"56\":\"1\",\"51\":\"1\",\"26\":\"1\",\"53\":\"1\",\"55\":\"1\",\"58\":\"1\",\"60\":\"1\",\"64\":\"1\",\"61\":\"1\",\"65\":\"1\",\"66\":\"1\"},\"task.add\":{\"17\":\"1\",\"52\":\"1\",\"19\":\"1\",\"27\":\"1\",\"55\":\"1\",\"58\":\"1\",\"64\":\"1\",\"61\":\"1\",\"33\":\"1\"},\"task.delete\":{\"17\":\"1\",\"52\":\"1\",\"27\":\"1\",\"55\":\"1\",\"58\":\"1\",\"64\":\"1\",\"61\":\"1\"},\"task.audit\":{\"17\":\"1\",\"52\":\"1\",\"27\":\"1\",\"55\":\"1\",\"58\":\"1\",\"64\":\"1\",\"61\":\"1\",\"33\":\"1\"},\"task.comment\":{\"2\":\"1\",\"16\":\"1\",\"17\":\"1\",\"18\":\"1\",\"19\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"27\":\"1\",\"28\":\"1\",\"29\":\"1\",\"30\":\"1\",\"31\":\"1\",\"32\":\"1\",\"33\":\"1\",\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"41\":\"1\",\"42\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"46\":\"1\",\"47\":\"1\",\"48\":\"1\",\"49\":\"1\",\"50\":\"1\",\"52\":\"1\",\"56\":\"1\",\"26\":\"1\",\"53\":\"1\",\"55\":\"1\",\"58\":\"1\",\"60\":\"1\",\"64\":\"1\",\"61\":\"1\",\"65\":\"1\",\"66\":\"1\"}}');
INSERT INTO `role_resource` VALUES (26, 'customer', '{\"complaint.index\":{\"10\":\"4\",\"34\":\"4\",\"46\":\"4\",\"82\":\"5\",\"49\":\"4\",\"70\":\"4\",\"33\":\"4\",\"72\":\"4\",\"83\":\"5\",\"65\":\"1\",\"1\":\"1\"},\"complaint.audit\":{\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"83\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"complaint.recall\":{\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"83\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"complaint.show\":{\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"83\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"complaint.create\":{\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"83\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"complaint.edit\":{\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"83\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"customer.index\":{\"1\":\"1\"},\"customer.show\":{\"1\":\"1\"},\"customer.create\":{\"1\":\"1\"},\"customer.edit\":{\"1\":\"1\"},\"customer.batchEdit\":{\"1\":\"1\"},\"customer.priceEdit\":{\"1\":\"1\"},\"customer.delete\":{\"1\":\"1\"},\"customer.import\":{\"1\":\"1\"},\"type.index\":{\"1\":\"1\"},\"type.create\":{\"1\":\"1\"},\"type.edit\":{\"1\":\"1\"},\"type.delete\":{\"1\":\"1\"},\"customerClass.index\":{\"1\":\"1\"},\"customerClass.create\":{\"1\":\"1\"},\"customerClass.edit\":{\"1\":\"1\"},\"customerClass.delete\":{\"1\":\"1\"},\"region.index\":{\"1\":\"1\"},\"region.show\":{\"1\":\"1\"},\"region.create\":{\"1\":\"1\"},\"region.edit\":{\"1\":\"1\"},\"region.delete\":{\"1\":\"1\"},\"tax.index\":{\"1\":\"1\"},\"tax.create\":{\"1\":\"1\"},\"tax.edit\":{\"1\":\"1\"},\"tax.show\":{\"1\":\"1\"},\"tax.audit\":{\"1\":\"1\"},\"tax.abort\":{\"1\":\"1\"},\"tax.delete\":{\"1\":\"1\"},\"tax.batchEdit\":{\"1\":\"1\"},\"contact.index\":{\"1\":\"1\"},\"contact.show\":{\"1\":\"1\"},\"contact.create\":{\"1\":\"1\"},\"contact.edit\":{\"1\":\"1\"},\"contact.delete\":{\"1\":\"1\"},\"task.index\":{\"1\":\"1\"},\"task.show\":{\"1\":\"1\"},\"task.create\":{\"1\":\"1\"},\"task.edit\":{\"1\":\"1\"},\"task.audit\":{\"1\":\"1\"},\"task.abort\":{\"1\":\"1\"},\"task.delete\":{\"1\":\"1\"},\"task.progress\":{\"1\":\"1\"},\"regionTask.index\":{\"1\":\"1\"},\"regionTask.show\":{\"1\":\"1\"},\"regionTask.create\":{\"1\":\"1\"},\"regionTask.edit\":{\"1\":\"1\"},\"regionTask.audit\":{\"1\":\"1\"},\"regionTask.abort\":{\"1\":\"1\"},\"regionTask.delete\":{\"1\":\"1\"},\"regionTask.progress\":{\"1\":\"1\"},\"business.index\":{\"1\":\"1\"},\"business.create\":{\"1\":\"1\"},\"business.show\":{\"1\":\"1\"},\"business.sms\":{\"1\":\"1\"},\"business.destroy\":{\"1\":\"1\"},\"price.index\":{\"1\":\"1\"},\"price.show\":{\"1\":\"1\"},\"price.create\":{\"1\":\"1\"},\"price.edit\":{\"1\":\"1\"},\"price.import\":{\"1\":\"1\"},\"price.delete\":{\"1\":\"1\"},\"customerApply.index\":{\"1\":\"1\"},\"customerApply.show\":{\"1\":\"1\"},\"customerApply.create\":{\"1\":\"1\"},\"customerApply.edit\":{\"1\":\"1\"},\"customerApply.delete\":{\"1\":\"1\"},\"customerApply.audit\":{\"1\":\"1\"},\"customerApply.recall\":{\"1\":\"1\"},\"customerApply.abort\":{\"1\":\"1\"},\"complaint.abort\":{\"1\":\"1\"},\"complaint.print\":{\"1\":\"1\"},\"complaint.delete\":{\"1\":\"1\"},\"deliveryAddress.index\":{\"1\":\"1\"},\"deliveryAddress.show\":{\"1\":\"1\"},\"deliveryAddress.create\":{\"1\":\"1\"},\"deliveryAddress.edit\":{\"1\":\"1\"},\"deliveryAddress.delete\":{\"1\":\"1\"},\"accountReport.index\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (29, 'supplier', '{\"supplier.index\":{\"17\":\"4\",\"34\":\"4\",\"31\":\"4\",\"54\":\"1\",\"49\":\"4\",\"27\":\"4\",\"52\":\"1\",\"37\":\"4\",\"64\":\"4\",\"45\":\"4\"},\"supplier.search\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"27\":\"1\",\"52\":\"1\",\"49\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"supplier.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"54\":\"1\",\"49\":\"1\",\"27\":\"1\",\"52\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"supplier.create\":{\"17\":\"1\",\"49\":\"1\",\"31\":\"1\"},\"supplier.delete\":{\"17\":\"1\"},\"contact.index\":{\"17\":\"4\",\"34\":\"4\",\"31\":\"4\",\"54\":\"1\",\"27\":\"4\",\"49\":\"1\",\"37\":\"4\",\"64\":\"4\"},\"contact.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"54\":\"1\",\"27\":\"1\",\"49\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"contact.delete\":{\"17\":\"1\"},\"order.index\":{\"17\":\"4\",\"34\":\"4\",\"31\":\"4\",\"48\":\"4\",\"54\":\"1\",\"25\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"order.create\":{\"17\":\"1\",\"48\":\"1\",\"25\":\"1\"},\"order.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"48\":\"1\",\"54\":\"1\",\"25\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"order.delete\":{\"17\":\"1\",\"34\":\"1\",\"48\":\"1\",\"25\":\"1\"},\"goods.index\":{\"1\":\"1\",\"17\":\"1\"},\"goods.create\":{\"1\":\"1\",\"17\":\"1\"},\"goods.show\":{\"1\":\"1\",\"17\":\"1\"},\"goods.delete\":{\"1\":\"1\",\"17\":\"1\"},\"product.index\":{\"17\":\"4\",\"34\":\"4\",\"31\":\"4\",\"48\":\"4\",\"54\":\"1\",\"49\":\"4\",\"27\":\"4\",\"37\":\"1\",\"64\":\"4\",\"29\":\"4\"},\"product.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"48\":\"1\",\"54\":\"1\",\"49\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\",\"29\":\"1\"},\"product.create\":{\"31\":\"1\",\"17\":\"1\"},\"product.delete\":{\"17\":\"1\",\"31\":\"1\"},\"product-category.index\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"48\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"product-category.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"48\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"product-category.create\":{\"17\":\"1\",\"31\":\"1\"},\"product-category.delete\":{\"17\":\"1\"},\"contact.create\":{\"17\":\"1\",\"49\":\"1\",\"31\":\"1\"},\"order.edit\":{\"1\":\"1\",\"34\":\"1\",\"48\":\"1\",\"17\":\"1\"},\"goods.edit\":{\"1\":\"1\"},\"plan.index\":{\"34\":\"4\",\"17\":\"4\",\"31\":\"4\",\"41\":\"4\",\"48\":\"4\",\"54\":\"1\",\"25\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"plan.create\":{\"34\":\"1\",\"17\":\"1\"},\"plan.show\":{\"34\":\"1\",\"17\":\"1\",\"31\":\"1\",\"41\":\"1\",\"48\":\"1\",\"54\":\"1\",\"25\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"plan.edit\":{\"1\":\"1\",\"34\":\"1\",\"17\":\"1\",\"41\":\"1\"},\"plan.delete\":{\"34\":\"1\",\"17\":\"1\"},\"stock.index\":{\"34\":\"4\",\"17\":\"4\",\"31\":\"4\",\"48\":\"4\",\"54\":\"1\",\"25\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"stock.create\":{\"17\":\"1\",\"25\":\"1\"},\"stock.show\":{\"34\":\"1\",\"17\":\"1\",\"31\":\"1\",\"48\":\"1\",\"54\":\"1\",\"25\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"stock.edit\":{\"1\":\"1\",\"34\":\"1\",\"17\":\"1\"},\"stock.delete\":{\"34\":\"1\",\"17\":\"1\"},\"stock.report\":{\"17\":\"4\",\"31\":\"1\",\"48\":\"4\",\"34\":\"1\",\"25\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"quality.index\":{\"54\":\"1\",\"17\":\"4\",\"34\":\"4\",\"25\":\"4\",\"45\":\"4\",\"29\":\"4\",\"31\":\"4\",\"41\":\"4\",\"49\":\"4\",\"27\":\"4\",\"52\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"quality.show\":{\"54\":\"1\",\"17\":\"1\",\"34\":\"1\",\"25\":\"1\",\"45\":\"1\",\"29\":\"1\",\"31\":\"1\",\"41\":\"1\",\"49\":\"1\",\"27\":\"1\",\"52\":\"1\",\"64\":\"1\"},\"quality.report\":{\"17\":\"4\",\"34\":\"4\",\"45\":\"4\",\"29\":\"4\",\"31\":\"4\",\"41\":\"4\",\"49\":\"4\",\"27\":\"4\",\"52\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"quality.create\":{\"34\":\"1\",\"45\":\"1\",\"29\":\"1\",\"31\":\"1\",\"17\":\"1\"},\"quality.delete\":{\"17\":\"1\",\"34\":\"1\",\"45\":\"1\",\"29\":\"1\"},\"inventory.index\":{\"54\":\"1\",\"34\":\"4\",\"17\":\"4\",\"27\":\"4\"},\"inventory.create\":{\"54\":\"1\",\"17\":\"1\"},\"inventory.show\":{\"54\":\"1\",\"34\":\"1\",\"17\":\"1\",\"27\":\"1\"},\"inventory.delete\":{\"34\":\"1\",\"17\":\"1\",\"54\":\"1\"},\"quality.edit\":{\"54\":\"1\",\"17\":\"1\",\"29\":\"1\",\"31\":\"1\",\"41\":\"1\",\"45\":\"1\"},\"order.count\":{\"34\":\"1\",\"17\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"order.count_show\":{\"34\":\"1\",\"17\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"plan.status\":{\"34\":\"1\",\"17\":\"1\",\"27\":\"1\"},\"order.status\":{\"34\":\"1\",\"17\":\"1\",\"27\":\"1\"},\"budget.index\":{\"34\":\"4\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"17\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"budget.create\":{\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"17\":\"1\"},\"budget.summary\":{\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"17\":\"1\",\"27\":\"1\"},\"budget.show\":{\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"17\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"budget.delete\":{\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"17\":\"1\"},\"product.import\":{\"17\":\"1\"},\"inventory.report\":{\"17\":\"4\",\"27\":\"4\"},\"price.index\":{\"17\":\"4\",\"49\":\"4\",\"31\":\"4\",\"27\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"price.show\":{\"17\":\"1\",\"49\":\"1\",\"31\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"price.create\":{\"17\":\"1\",\"49\":\"1\"},\"price.delete\":{\"17\":\"1\",\"49\":\"1\",\"31\":\"1\"},\"settlement.index\":{\"49\":\"4\",\"17\":\"4\",\"31\":\"4\",\"54\":\"1\",\"27\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"settlement.show\":{\"49\":\"1\",\"17\":\"1\",\"31\":\"1\",\"54\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"settlement.create\":{\"17\":\"1\",\"31\":\"1\",\"49\":\"1\"},\"settlement.delete\":{\"17\":\"1\"},\"purchase.index\":{\"1\":\"1\",\"31\":\"1\",\"49\":\"1\",\"17\":\"1\"},\"purchase.create\":{\"1\":\"1\",\"31\":\"1\",\"17\":\"1\"},\"purchase.show\":{\"1\":\"1\",\"31\":\"1\",\"49\":\"1\",\"17\":\"1\"},\"purchase.delete\":{\"1\":\"1\",\"31\":\"1\",\"17\":\"1\"},\"order.overtime\":{\"17\":\"1\",\"34\":\"1\",\"48\":\"1\",\"25\":\"1\"},\"purchase-plan.index\":[],\"purchase-plan.create\":[],\"purchase-plan.order\":[],\"purchase-plan.show\":[],\"purchase-plan.status\":[],\"purchase-plan.delete\":[],\"purchase-order.index\":[],\"purchase-order.create\":[],\"purchase-order.show\":[],\"purchase-order.status\":[],\"purchase-order.delete\":[],\"price.edit\":{\"49\":\"1\",\"31\":\"1\",\"17\":\"1\"},\"settlement.count\":{\"54\":\"1\",\"31\":\"4\",\"49\":\"4\",\"64\":\"4\",\"17\":\"4\"},\"report.deliver\":{\"17\":\"4\",\"54\":\"1\",\"49\":\"4\",\"31\":\"4\",\"34\":\"4\",\"37\":\"1\",\"25\":\"4\"},\"report.years\":{\"17\":\"4\",\"54\":\"1\",\"49\":\"4\",\"31\":\"4\",\"41\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"product.print\":{\"17\":\"1\"}}');
INSERT INTO `role_resource` VALUES (31, 'pickle', '{\"contract.index\":{\"17\":\"1\",\"31\":\"1\",\"39\":\"1\",\"49\":\"1\",\"50\":\"1\",\"37\":\"1\",\"27\":\"1\",\"40\":\"1\",\"64\":\"1\"},\"contract.show\":{\"17\":\"1\",\"31\":\"1\",\"39\":\"1\",\"49\":\"1\",\"50\":\"1\",\"37\":\"1\",\"27\":\"1\",\"40\":\"1\",\"64\":\"1\"},\"contract.create\":{\"17\":\"1\",\"31\":\"1\",\"49\":\"1\"},\"contract.import\":{\"17\":\"1\",\"31\":\"1\"},\"contract.delete\":{\"17\":\"1\",\"31\":\"1\"},\"stock.index\":{\"17\":\"1\",\"31\":\"1\",\"39\":\"1\",\"50\":\"1\",\"49\":\"1\",\"41\":\"1\",\"37\":\"1\",\"27\":\"1\",\"40\":\"1\",\"64\":\"1\"},\"stock.report\":{\"17\":\"1\",\"31\":\"1\",\"39\":\"1\",\"49\":\"1\",\"50\":\"1\",\"41\":\"1\",\"37\":\"1\",\"27\":\"1\",\"40\":\"1\",\"64\":\"1\"},\"stock.delete\":{\"17\":\"1\",\"31\":\"1\"},\"stock.analysis\":{\"31\":\"1\",\"17\":\"1\",\"49\":\"1\",\"50\":\"1\",\"39\":\"1\",\"41\":\"1\",\"37\":\"1\",\"27\":\"1\",\"40\":\"1\",\"64\":\"1\"},\"stock.analysisData\":{\"31\":\"1\",\"17\":\"1\",\"49\":\"1\",\"50\":\"1\",\"39\":\"1\",\"41\":\"1\",\"37\":\"1\",\"27\":\"1\"},\"stock.status\":{\"31\":\"1\",\"49\":\"1\",\"41\":\"1\",\"37\":\"1\",\"17\":\"1\"},\"contract.sms\":{\"49\":\"1\",\"31\":\"1\"},\"stock.print\":{\"31\":\"1\",\"49\":\"1\",\"41\":\"1\",\"37\":\"1\",\"17\":\"1\"},\"stock.summary\":{\"37\":\"1\",\"41\":\"1\",\"49\":\"1\",\"17\":\"1\",\"40\":\"1\"},\"price.index\":{\"37\":\"1\",\"31\":\"1\",\"34\":\"1\",\"49\":\"1\",\"17\":\"1\",\"41\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"price.show\":{\"37\":\"1\",\"31\":\"1\",\"34\":\"1\",\"49\":\"1\",\"17\":\"1\",\"41\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"price.create\":{\"37\":\"1\",\"49\":\"1\",\"31\":\"1\"},\"price.delete\":{\"37\":\"1\"}}');
INSERT INTO `role_resource` VALUES (33, 'attendence', '{\"rule.index\":[],\"rule.show\":[],\"rule.create\":[],\"rule.edit\":[],\"rule.delete\":[],\"leave.index\":[],\"leave.show\":[],\"leave.create\":[],\"leave.edit\":[],\"leave.delete\":[],\"out.index\":[],\"out.show\":[],\"out.create\":[],\"out.edit\":[],\"out.delete\":[],\"overtime.index\":[],\"overtime.show\":[],\"overtime.create\":[],\"overtime.edit\":[],\"overtime.delete\":[]}');
INSERT INTO `role_resource` VALUES (34, 'approach', '{\"approach.index\":{\"56\":\"2\",\"17\":\"4\",\"53\":\"4\",\"47\":\"4\",\"117\":\"1\",\"134\":\"1\",\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"18\":\"2\",\"63\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"7\":\"1\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"approach.show\":{\"56\":\"1\",\"17\":\"1\",\"53\":\"1\",\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"64\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"approach.create\":{\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"approach.edit\":{\"56\":\"1\",\"17\":\"1\",\"53\":\"1\",\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"approach.print\":{\"56\":\"1\",\"17\":\"1\",\"53\":\"1\",\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"89\":\"1\",\"\":\"me\",\"1\":\"1\"},\"approach.delete\":{\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"19\":\"1\",\"72\":\"1\",\"84\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"market.index\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"82\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"83\":\"5\",\"\":\"me\",\"1\":\"1\"},\"market.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"market.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"market.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"approach.audit\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"approach.recall\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"1\":\"1\"},\"approach.abort\":{\"134\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"review.index\":{\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"1\":\"1\"},\"review.show\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"review.edit\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.audit\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.recall\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.abort\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"review.print\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"review.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"approach.close\":{\"73\":\"1\",\"76\":\"1\",\"1\":\"1\"},\"approach.batchEdit\":{\"72\":\"1\",\"1\":\"1\"},\"review.batchEdit\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (35, 'purchase', '{\"order.index\":{\"57\":\"1\",\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"92\":\"4\",\"20\":\"4\",\"21\":\"4\",\"22\":\"4\",\"30\":\"4\",\"27\":\"1\",\"63\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"1\":\"1\"},\"order.create\":{\"57\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"27\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"order.show\":{\"57\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"order.delete\":{\"57\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"27\":\"1\",\"19\":\"1\",\"72\":\"1\",\"\":\"me\",\"1\":\"1\"},\"supplier.index\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"92\":\"4\",\"20\":\"4\",\"22\":\"4\",\"30\":\"4\",\"27\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"1\":\"1\"},\"supplier.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"30\":\"1\",\"27\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"supplier.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"30\":\"1\",\"27\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"supplier.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"30\":\"1\",\"27\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"order.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"order.audit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"order.recall\":{\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"7\":\"1\",\"1\":\"1\"},\"order.abort\":{\"1\":\"1\"},\"supplier.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (36, 'flow', '{\"app.index\":{\"1\":\"1\"},\"app.create\":{\"1\":\"1\"},\"app.show\":{\"1\":\"1\"},\"app.delete\":{\"1\":\"1\"},\"model.index\":{\"1\":\"1\"},\"model.create\":{\"1\":\"1\"},\"model.view\":{\"1\":\"1\"},\"model.delete\":{\"1\":\"1\"},\"template.index\":{\"1\":\"1\"},\"template.create\":{\"1\":\"1\"},\"template.delete\":{\"1\":\"1\"},\"field.index\":{\"1\":\"1\"},\"field.create\":{\"1\":\"1\"},\"field.type\":{\"1\":\"1\"},\"field.delete\":{\"1\":\"1\"},\"action.index\":{\"1\":\"1\"},\"action.create\":{\"1\":\"1\"},\"action.delete\":{\"1\":\"1\"},\"step.index\":{\"1\":\"1\"},\"step.create\":{\"1\":\"1\"},\"step.edit\":{\"1\":\"1\"},\"step.save\":{\"1\":\"1\"},\"step.condition\":{\"1\":\"1\"},\"step.delete\":{\"1\":\"1\"},\"step.move\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (37, 'project', '{\"project.index\":{\"17\":\"4\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"3\",\"37\":\"3\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"3\",\"45\":\"1\",\"38\":\"3\",\"39\":\"3\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"3\",\"15\":\"3\",\"14\":\"3\",\"9\":\"4\",\"78\":\"3\",\"31\":\"1\",\"64\":\"1\",\"69\":\"4\",\"11\":\"3\",\"35\":\"1\",\"50\":\"1\",\"10\":\"3\",\"34\":\"3\",\"46\":\"1\",\"49\":\"1\",\"71\":\"3\",\"8\":\"4\",\"86\":\"3\",\"70\":\"4\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"3\",\"33\":\"3\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"3\",\"7\":\"4\",\"58\":\"3\",\"72\":\"3\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"project.edit\":{\"17\":\"4\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"3\",\"15\":\"3\",\"14\":\"3\",\"78\":\"3\",\"31\":\"1\",\"64\":\"1\",\"69\":\"4\",\"11\":\"3\",\"35\":\"1\",\"50\":\"1\",\"10\":\"3\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"3\",\"86\":\"3\",\"70\":\"4\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"3\",\"58\":\"1\",\"72\":\"3\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"project.show\":{\"17\":\"1\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"project.delete\":{\"17\":\"4\",\"26\":\"1\",\"16\":\"3\",\"15\":\"3\",\"14\":\"3\",\"78\":\"3\",\"69\":\"4\",\"11\":\"3\",\"10\":\"3\",\"71\":\"3\",\"86\":\"3\",\"70\":\"4\",\"23\":\"1\",\"73\":\"1\",\"19\":\"3\",\"58\":\"1\",\"72\":\"3\",\"76\":\"1\",\"1\":\"1\"},\"task.index\":{\"17\":\"1\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"task.show\":{\"17\":\"1\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"task.delete\":{\"17\":\"1\",\"26\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"69\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"23\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"1\":\"1\"},\"project.add\":{\"17\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"1\":\"1\"},\"task.add\":{\"17\":\"1\",\"53\":\"1\",\"40\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"52\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"task.edit\":{\"17\":\"1\",\"48\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"33\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"1\":\"1\"},\"comment.add\":{\"17\":\"1\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"comment.edit\":{\"17\":\"1\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"comment.delete\":{\"17\":\"1\",\"26\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"69\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"23\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (39, 'system', '{\"setting.index\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"setting.store\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"mail.index\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"mail.edit\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"mail.store\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"mail.delete\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"sms.index\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"sms.edit\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"sms.store\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"sms.delete\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"menu.index\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"menu.create\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"menu.delete\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"region.index\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"region.create\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"region.edit\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"region.delete\":{\"\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"widget.index\":{\"1\":\"1\"},\"widget.delete\":{\"1\":\"1\"},\"option.index\":{\"1\":\"1\"},\"option.create\":{\"1\":\"1\"},\"option.delete\":{\"1\":\"1\"},\"setting.create\":{\"1\":\"1\"},\"setting.edit\":{\"1\":\"1\"},\"setting.delete\":{\"1\":\"1\"},\"mail.create\":{\"1\":\"1\"},\"sms.create\":{\"1\":\"1\"},\"option.edit\":{\"1\":\"1\"},\"log.index\":{\"1\":\"1\"},\"log.delete\":{\"1\":\"1\"},\"widget.edit\":{\"1\":\"1\"},\"menu.edit\":{\"1\":\"1\"},\"smsLog.index\":{\"1\":\"1\"},\"smsLog.delete\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (40, 'market', '{\"cost.index\":{\"\":\"1\",\"79\":\"1\",\"2\":\"1\",\"82\":\"5\",\"83\":\"5\",\"84\":\"5\",\"78\":\"5\",\"81\":\"5\",\"41\":\"5\",\"72\":\"4\",\"70\":\"4\",\"1\":\"1\"},\"cost.show\":{\"\":\"1\",\"79\":\"1\",\"2\":\"1\",\"82\":\"1\",\"83\":\"1\",\"84\":\"1\",\"78\":\"1\",\"81\":\"1\",\"41\":\"1\",\"72\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"cost.create\":{\"\":\"1\",\"72\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"cost.edit\":{\"\":\"1\",\"72\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"cost.print\":{\"70\":\"1\"},\"cost.delete\":{\"\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"cost.close\":{\"\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"cost.audit\":{\"\":\"1\",\"72\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"cost.abort\":{\"\":\"1\",\"72\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (41, 'stock', '{\"record08.index\":{\"9\":\"4\",\"31\":\"4\",\"11\":\"4\",\"10\":\"4\",\"34\":\"4\",\"8\":\"4\",\"70\":\"4\",\"91\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"73\":\"4\",\"7\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"65\":\"1\",\"1\":\"1\"},\"record08.show\":{\"9\":\"1\",\"31\":\"1\",\"11\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"49\":\"1\",\"8\":\"1\",\"70\":\"1\",\"91\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"73\":\"1\",\"7\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"record09.index\":{\"9\":\"4\",\"31\":\"4\",\"11\":\"4\",\"10\":\"4\",\"34\":\"4\",\"8\":\"4\",\"70\":\"4\",\"91\":\"4\",\"23\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"65\":\"1\",\"1\":\"1\"},\"record09.show\":{\"9\":\"1\",\"31\":\"1\",\"11\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"8\":\"1\",\"70\":\"1\",\"91\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"delivery.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"31\":\"4\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"34\":\"4\",\"82\":\"5\",\"49\":\"1\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"23\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"delivery.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"11\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"\":\"me\",\"65\":\"1\",\"1\":\"1\"},\"direct.index\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"31\":\"4\",\"11\":\"4\",\"10\":\"4\",\"34\":\"4\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"23\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"65\":\"1\",\"1\":\"1\"},\"direct.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"record10.index\":{\"9\":\"4\",\"31\":\"4\",\"69\":\"4\",\"11\":\"4\",\"10\":\"4\",\"34\":\"4\",\"8\":\"4\",\"70\":\"4\",\"91\":\"4\",\"23\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"73\":\"4\",\"7\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"65\":\"1\",\"1\":\"1\"},\"record10.show\":{\"9\":\"1\",\"31\":\"1\",\"69\":\"1\",\"11\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"49\":\"1\",\"8\":\"1\",\"70\":\"1\",\"91\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"73\":\"1\",\"7\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"cancel.index\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"31\":\"4\",\"11\":\"4\",\"10\":\"4\",\"34\":\"4\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"76\":\"4\",\"74\":\"4\",\"65\":\"1\",\"1\":\"1\"},\"cancel.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"allocation.index\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"31\":\"4\",\"11\":\"4\",\"10\":\"4\",\"34\":\"4\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"91\":\"4\",\"23\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"65\":\"1\",\"1\":\"1\"},\"allocation.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"91\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"allocation.print\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"91\":\"1\",\"23\":\"1\",\"33\":\"1\",\"66\":\"1\",\"27\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"record01.index\":{\"9\":\"4\",\"11\":\"4\",\"10\":\"4\",\"34\":\"4\",\"8\":\"4\",\"70\":\"4\",\"92\":\"4\",\"23\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"63\":\"4\",\"73\":\"4\",\"7\":\"4\",\"76\":\"4\",\"74\":\"4\",\"65\":\"1\",\"1\":\"1\"},\"record01.print\":{\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"70\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"7\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"record01.show\":{\"9\":\"1\",\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"8\":\"1\",\"70\":\"1\",\"92\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"63\":\"1\",\"73\":\"1\",\"7\":\"1\",\"76\":\"1\",\"74\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"delivery.detail\":{\"1\":\"1\"},\"delivery.create\":{\"1\":\"1\"},\"delivery.edit\":{\"1\":\"1\"},\"delivery.audit\":{\"1\":\"1\"},\"delivery.recall\":{\"1\":\"1\"},\"delivery.abort\":{\"1\":\"1\"},\"delivery.print\":{\"1\":\"1\"},\"delivery.delete\":{\"1\":\"1\"},\"delivery.batchEdit\":{\"1\":\"1\"},\"direct.create\":{\"1\":\"1\"},\"direct.edit\":{\"1\":\"1\"},\"direct.audit\":{\"1\":\"1\"},\"direct.recall\":{\"1\":\"1\"},\"direct.abort\":{\"1\":\"1\"},\"direct.print\":{\"1\":\"1\"},\"direct.delete\":{\"1\":\"1\"},\"allocation.create\":{\"1\":\"1\"},\"allocation.edit\":{\"1\":\"1\"},\"allocation.audit\":{\"1\":\"1\"},\"allocation.recall\":{\"1\":\"1\"},\"allocation.abort\":{\"1\":\"1\"},\"allocation.delete\":{\"1\":\"1\"},\"cancel.create\":{\"1\":\"1\"},\"cancel.edit\":{\"1\":\"1\"},\"cancel.audit\":{\"1\":\"1\"},\"cancel.recall\":{\"1\":\"1\"},\"cancel.abort\":{\"1\":\"1\"},\"cancel.print\":{\"1\":\"1\"},\"cancel.delete\":{\"1\":\"1\"},\"cancel.batchEdit\":{\"1\":\"1\"},\"record01.create\":{\"1\":\"1\"},\"record01.edit\":{\"1\":\"1\"},\"record01.audit\":{\"1\":\"1\"},\"record01.recall\":{\"1\":\"1\"},\"record01.abort\":{\"1\":\"1\"},\"record01.delete\":{\"1\":\"1\"},\"record10.create\":{\"1\":\"1\"},\"record10.edit\":{\"1\":\"1\"},\"record10.audit\":{\"1\":\"1\"},\"record10.recall\":{\"1\":\"1\"},\"record10.abort\":{\"1\":\"1\"},\"record10.print\":{\"1\":\"1\"},\"record10.delete\":{\"1\":\"1\"},\"record08.create\":{\"1\":\"1\"},\"record08.edit\":{\"1\":\"1\"},\"record08.audit\":{\"1\":\"1\"},\"record08.recall\":{\"1\":\"1\"},\"record08.abort\":{\"1\":\"1\"},\"record08.print\":{\"1\":\"1\"},\"record08.delete\":{\"1\":\"1\"},\"record09.create\":{\"1\":\"1\"},\"record09.edit\":{\"1\":\"1\"},\"record09.audit\":{\"1\":\"1\"},\"record09.recall\":{\"1\":\"1\"},\"record09.abort\":{\"1\":\"1\"},\"record09.print\":{\"1\":\"1\"},\"record09.delete\":{\"1\":\"1\"},\"record11.index\":{\"1\":\"1\"},\"record11.show\":{\"1\":\"1\"},\"record11.create\":{\"1\":\"1\"},\"record11.edit\":{\"1\":\"1\"},\"record11.audit\":{\"1\":\"1\"},\"record11.recall\":{\"1\":\"1\"},\"record11.abort\":{\"1\":\"1\"},\"record11.print\":{\"1\":\"1\"},\"record11.delete\":{\"1\":\"1\"},\"warehouse.index\":{\"1\":\"1\"},\"warehouse.create\":{\"1\":\"1\"},\"warehouse.edit\":{\"1\":\"1\"},\"warehouse.delete\":{\"1\":\"1\"},\"location.index\":{\"1\":\"1\"},\"location.create\":{\"1\":\"1\"},\"location.edit\":{\"1\":\"1\"},\"location.delete\":{\"1\":\"1\"},\"type.index\":{\"1\":\"1\"},\"type.create\":{\"1\":\"1\"},\"type.edit\":{\"1\":\"1\"},\"type.delete\":{\"1\":\"1\"},\"category.index\":{\"1\":\"1\"},\"category.create\":{\"1\":\"1\"},\"category.edit\":{\"1\":\"1\"},\"category.delete\":{\"1\":\"1\"},\"report.stockDetail\":{\"1\":\"1\"},\"report.stockTotal\":{\"1\":\"1\"},\"report.stockInOut\":{\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (42, 'produce', '{\"material.index\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"20\":\"4\",\"22\":\"4\",\"66\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"89\":\"4\",\"65\":\"1\",\"1\":\"1\"},\"material.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"66\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"material.create\":{\"66\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"material.edit\":{\"66\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"material.delete\":{\"66\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.index\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"23\":\"1\",\"66\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"74\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.count\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"23\":\"1\",\"66\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"74\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.audit\":{\"9\":\"1\",\"8\":\"1\",\"66\":\"1\",\"7\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.recall\":{\"66\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.abort\":{\"66\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"66\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"74\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.create\":{\"66\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.edit\":{\"66\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.print\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"66\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.delete\":{\"66\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"material.plan\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"11\":\"1\",\"10\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"66\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\"},\"plan.planExport\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"23\":\"1\",\"66\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"74\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (43, 'customerCost', '{\"cost.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"34\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"33\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"1\":\"1\"},\"cost.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"33\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"cost.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"cost.close\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"cost.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"cost.audit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"cost.abort\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"cost.print\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"33\":\"1\",\"19\":\"1\",\"72\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"cost.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"category.index\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"category.show\":{\"9\":\"1\",\"8\":\"1\",\"70\":\"1\",\"7\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"category.create\":{\"1\":\"1\"},\"category.edit\":{\"1\":\"1\"},\"category.delete\":{\"1\":\"1\"},\"adjust.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"82\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"1\":\"1\"},\"adjust.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"adjust.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"adjust.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"adjust.audit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"adjust.abort\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"adjust.print\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"adjust.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"compen.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"82\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"1\":\"1\"},\"compen.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"compen.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"compen.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"compen.audit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"compen.abort\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"compen.print\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"compen.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"rebate.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"82\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"7\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"84\":\"5\",\"85\":\"5\",\"83\":\"5\",\"1\":\"1\"},\"rebate.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"7\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"84\":\"1\",\"85\":\"1\",\"83\":\"1\",\"1\":\"1\"},\"rebate.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"rebate.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"rebate.audit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"rebate.abort\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"rebate.print\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"rebate.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"86\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"report.saleOrderDetail\":{\"19\":\"4\",\"1\":\"1\"},\"cost.batchEdit\":{\"72\":\"1\",\"1\":\"1\"}}');
INSERT INTO `role_resource` VALUES (46, 'wechat', '{\"config.menu\":{\"1\":\"1\"},\"config.config\":{\"1\":\"1\"}}');

-- ----------------------------
-- Table structure for sale_type
-- ----------------------------
DROP TABLE IF EXISTS `sale_type`;
CREATE TABLE `sale_type`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `parent_id` int(11) NULL DEFAULT NULL,
  `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `grade` tinyint(4) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人编号',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sale_type
-- ----------------------------
INSERT INTO `sale_type` VALUES (1, 0, '01', '销售', 0, 1, '', 1, 0, NULL, 0, NULL, 0, 0);
INSERT INTO `sale_type` VALUES (2, 0, '05', '陈列品销售', 0, 1, '', 1, 0, NULL, 0, NULL, 0, 0);
INSERT INTO `sale_type` VALUES (4, 0, '03', '样品', 0, 1, '', 1, 0, NULL, 1580838514, '系统管理员', 0, 1);
INSERT INTO `sale_type` VALUES (5, 0, '04', '销售退货', 0, 1, '', 1, 0, NULL, 1580838473, '系统管理员', 0, 1);
INSERT INTO `sale_type` VALUES (6, 0, '02', '管理部门赠品', 0, 1, '', 1, 0, NULL, 1603464349, '系统管理员', 0, 1);
INSERT INTO `sale_type` VALUES (7, 0, '06', '食堂领用', 0, 1, '', 1, 0, NULL, 0, NULL, 0, 0);

-- ----------------------------
-- Table structure for sample_apply
-- ----------------------------
DROP TABLE IF EXISTS `sample_apply`;
CREATE TABLE `sample_apply`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '库存类型',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `status` smallint(6) NULL DEFAULT NULL COMMENT '状态',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '入库部门',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `freight_type` tinyint(4) NULL DEFAULT NULL COMMENT '样品送达方式',
  `customer_name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '随货客户',
  `freight_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '邮寄地址',
  `contact` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '联系人',
  `contact_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '联系电话',
  `purpose` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '样品用途',
  `region_id` int(11) NULL DEFAULT NULL COMMENT '销售区域',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_sample_apply_department_id`(`department_id`) USING BTREE,
  INDEX `idx_sample_apply_freight_type`(`freight_type`) USING BTREE,
  INDEX `idx_sample_apply_region_id`(`region_id`) USING BTREE,
  INDEX `idx_sample_apply_sn`(`sn`) USING BTREE,
  INDEX `idx_sample_apply_type_id`(`type_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sample_apply
-- ----------------------------
INSERT INTO `sample_apply` VALUES (1, NULL, 'YPCQ202105020001', NULL, 1, '111', 1619898600, '系统管理员', 1, NULL, NULL, NULL, 1, '11', '11', '1', '11', '11', 44);

-- ----------------------------
-- Table structure for sample_apply_data
-- ----------------------------
DROP TABLE IF EXISTS `sample_apply_data`;
CREATE TABLE `sample_apply_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `sample_id` int(11) NOT NULL COMMENT '库存类型',
  `batch_sn` int(11) NULL DEFAULT NULL COMMENT '生成批次',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '数量',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '单价',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额(元)',
  `use_close` tinyint(4) NULL DEFAULT NULL COMMENT '关闭',
  `use_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '使用数量',
  `bill_type_id` tinyint(4) NULL DEFAULT NULL COMMENT '单据类型',
  `bill_sn` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `bill_id` int(11) NULL DEFAULT NULL COMMENT '单据ID',
  `bill_data_id` int(11) NULL DEFAULT NULL COMMENT '单据明细ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_sample_apply_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_sample_apply_data_bill_data_id`(`bill_data_id`) USING BTREE,
  INDEX `idx_sample_apply_data_bill_id`(`bill_id`) USING BTREE,
  INDEX `idx_sample_apply_data_bill_type_id`(`bill_type_id`) USING BTREE,
  INDEX `idx_sample_apply_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_sample_apply_data_sample_id`(`sample_id`) USING BTREE,
  INDEX `idx_sample_apply_data_use_close`(`use_close`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sample_apply_data
-- ----------------------------
INSERT INTO `sample_apply_data` VALUES (1, 1, NULL, 20411, NULL, 10.00, 1619898657, '系统管理员', 1, NULL, NULL, NULL, 92.00, 920.00, NULL, NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for setting
-- ----------------------------
DROP TABLE IF EXISTS `setting`;
CREATE TABLE `setting`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '配置名称',
  `key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '设置Key',
  `value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '配置值',
  `type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '分类',
  `remark` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 35 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '配置表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of setting
-- ----------------------------
INSERT INTO `setting` VALUES (1, '系统状态', 'status', '1', 'system', NULL);
INSERT INTO `setting` VALUES (2, '安装日期', 'setup_dt', '2020-10-10', 'system', NULL);
INSERT INTO `setting` VALUES (3, '系统名称', 'title', 'Gdoo', 'system', NULL);
INSERT INTO `setting` VALUES (4, '日期格式', 'date_format', 'Y-m-d', 'system', NULL);
INSERT INTO `setting` VALUES (5, '时间格式', 'time_format', 'H:i', 'system', NULL);
INSERT INTO `setting` VALUES (6, '日期时间格式', 'datetime_format', 'Y-m-d H:i', 'system', NULL);
INSERT INTO `setting` VALUES (7, '文件上传限制', 'upload_max', '100', 'system', NULL);
INSERT INTO `setting` VALUES (8, '文件上传格式', 'upload_type', 'jpeg,jpg,gif,png,zip,rar,pdf,doc,docx,xls,xlsx,7z,ppt,pptx', 'system', NULL);
INSERT INTO `setting` VALUES (9, '金额小数位数', 'money_decimal', '2', 'system', NULL);
INSERT INTO `setting` VALUES (10, '动态密钥限制', 'totp_limit', '50', 'system', NULL);
INSERT INTO `setting` VALUES (11, '验证KEY', 'auth_key', 'kzGhIMk1Q0JmVmz6y2IoHwBPaKIRTi3Z', 'system', NULL);
INSERT INTO `setting` VALUES (12, '登录尝试次数(次)', 'login_try', '9', 'system', NULL);
INSERT INTO `setting` VALUES (13, '登录失败后锁定(秒)', 'login_lock', '3600', 'system', NULL);
INSERT INTO `setting` VALUES (14, '登录失败显示验证码(次)', 'login_captcha', '5', 'system', NULL);
INSERT INTO `setting` VALUES (22, '上传基础路径', 'upload_path', '/uploads', 'system', NULL);
INSERT INTO `setting` VALUES (23, '图片上传格式', 'image_upload_type', 'jpeg,jpg,gif,png', 'system', NULL);
INSERT INTO `setting` VALUES (24, '图片上传限制', 'image_upload_max', '2', 'system', NULL);
INSERT INTO `setting` VALUES (25, '数量小数位数', 'quantity_decimal', '2', 'system', NULL);
INSERT INTO `setting` VALUES (26, '打印名称', 'print_title', '演示有限公司', 'system', '打印时显示的前缀');
INSERT INTO `setting` VALUES (27, '微信公众号AppId', 'wechat_appid', 'wx71c8888431f54102', 'wechat', NULL);
INSERT INTO `setting` VALUES (28, '微信公众号AppSecret', 'wechat_secret', 'f38ba08194767501657f6aef80a242e7', 'wechat', NULL);
INSERT INTO `setting` VALUES (30, '微信公众号Token', 'wechat_token', 'wjtwxToken', 'wechat', NULL);
INSERT INTO `setting` VALUES (31, '微公众号AesKey', 'wechat_aeskey', 'UdDw4SCHoSzs5rhJmOoEuS7kXTi5AXESlmtwf53wvkx', 'wechat', NULL);
INSERT INTO `setting` VALUES (32, '微信公众号状态', 'wechat_status', '1', 'wechat', NULL);
INSERT INTO `setting` VALUES (33, '微信公众号菜单', 'wechat_menu', '[{\"name\":\"商务管理平台\",\"type\":\"view\",\"content\":\"http:\\/\\/www.xijianfood.com\\/h5\",\"index\":\"1\",\"pindex\":\"0\",\"sort\":\"0\"}]', 'wechat', NULL);
INSERT INTO `setting` VALUES (34, '聊天应用', 'chat_status', '0', 'system', NULL);

-- ----------------------------
-- Table structure for share
-- ----------------------------
DROP TABLE IF EXISTS `share`;
CREATE TABLE `share`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `source_id` int(11) NOT NULL,
  `source_type` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_repeat` tinyint(3) NOT NULL DEFAULT 0 COMMENT '重复标记',
  `receive_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '共享编号',
  `receive_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '共享名称',
  `permissions` smallint(6) NULL DEFAULT NULL,
  `start_at` int(11) NULL DEFAULT NULL COMMENT '开始时间',
  `end_at` int(11) NULL DEFAULT NULL COMMENT '结束时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_id` int(11) NULL DEFAULT NULL,
  `created_at` int(10) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_source_id`(`source_id`) USING BTREE,
  INDEX `idx_source_type`(`source_type`) USING BTREE,
  INDEX `idx_is_repeat`(`is_repeat`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of share
-- ----------------------------

-- ----------------------------
-- Table structure for sms
-- ----------------------------
DROP TABLE IF EXISTS `sms`;
CREATE TABLE `sms`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '名称',
  `apikey` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'apikey',
  `driver` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '服务商',
  `sort` smallint(6) NOT NULL COMMENT '排序',
  `status` tinyint(4) NOT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sms
-- ----------------------------
INSERT INTO `sms` VALUES (1, '【川南酿造】', '85SBI86vm2aRih1AXVQMW1sjMgpfo5GM', 'gdoo', 1, 1);

-- ----------------------------
-- Table structure for sms_log
-- ----------------------------
DROP TABLE IF EXISTS `sms_log`;
CREATE TABLE `sms_log`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '提醒内容',
  `data` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '消息记录',
  `phone` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `created_dt` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人id',
  `status` smallint(6) NULL DEFAULT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '通知主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sms_log
-- ----------------------------
INSERT INTO `sms_log` VALUES (2, '您的验证码是0123', '{\"msg\":\"发送成功\",\"code\":0,\"count\":1}', NULL, '系统管理员', '2020-10-09 09:28:51', 1, 1);
INSERT INTO `sms_log` VALUES (3, '您的验证码是0123', '{\"msg\":\"发送成功\",\"code\":0,\"count\":1}', NULL, '系统管理员', '2020-10-09 09:29:38', 1, 1);
INSERT INTO `sms_log` VALUES (4, '您的验证码是0123', '{\"msg\":\"手机号接收超过频率限制\",\"code\":53,\"count\":\"0\"}', NULL, '系统管理员', '2020-10-09 09:52:26', 1, 0);
INSERT INTO `sms_log` VALUES (5, '您的验证码是01234', '{\"msg\":\"手机号接收超过频率限制\",\"code\":53,\"count\":\"0\"}', '15182223008', '系统管理员', '2020-10-09 09:53:32', 1, 0);
INSERT INTO `sms_log` VALUES (6, '您的验证码是01234', '{\"msg\":\"发送成功\",\"code\":0,\"count\":1}', '15182223008', '系统管理员', '2020-10-10 08:24:29', 1, 1);
INSERT INTO `sms_log` VALUES (7, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:27:02', 1, 1);
INSERT INTO `sms_log` VALUES (8, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:27:02', 1, 1);
INSERT INTO `sms_log` VALUES (9, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:27:37', 1, 1);
INSERT INTO `sms_log` VALUES (10, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:27:37', 1, 1);
INSERT INTO `sms_log` VALUES (11, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:27:43', 1, 1);
INSERT INTO `sms_log` VALUES (12, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:27:43', 1, 1);
INSERT INTO `sms_log` VALUES (13, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:28:50', 1, 1);
INSERT INTO `sms_log` VALUES (15, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:29:36', 1, 1);
INSERT INTO `sms_log` VALUES (17, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:30:21', 1, 1);
INSERT INTO `sms_log` VALUES (18, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:30:59', 1, 1);
INSERT INTO `sms_log` VALUES (19, '您的验证码是01234', '{\"msg\":null,\"code\":null,\"count\":null}', NULL, '系统管理员', '2020-10-10 08:32:05', 1, 1);
INSERT INTO `sms_log` VALUES (20, '您的验证码是01234', '{\"msg\":\"发送成功\",\"code\":0,\"count\":1}', '15182223008', '系统管理员', '2020-10-10 08:47:00', 1, 1);

-- ----------------------------
-- Table structure for stock_allocation
-- ----------------------------
DROP TABLE IF EXISTS `stock_allocation`;
CREATE TABLE `stock_allocation`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `status` smallint(6) NOT NULL DEFAULT 0 COMMENT '订单状态',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '制单人',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `freight_logistics_id` int(11) NULL DEFAULT NULL COMMENT '物流公司',
  `delivery_dt` date NULL DEFAULT NULL COMMENT '发货日期',
  `freight_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '实发数量',
  `freight_part_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '配件数量',
  `freight_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '实发重量(T)',
  `freight_part_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '配件重量(T)',
  `freight_short_logistics_id` int(11) NULL DEFAULT NULL COMMENT '短途承运人',
  `freight_short_car` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '短途车牌号',
  `freight_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '运费(元/T)',
  `freight_short_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '短途运费(元)',
  `freight_logistics_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流联系电话',
  `freight_type` tinyint(4) NULL DEFAULT NULL COMMENT '发运方式',
  `freight_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运输单号',
  `freight_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '总运费金额',
  `freight_customer_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '客户承担运费',
  `freight_self_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担运费',
  `freight_pay_type` tinyint(4) NULL DEFAULT NULL COMMENT '运费支付方式',
  `freight_arrival_date` date NULL DEFAULT NULL COMMENT '预计到货日期',
  `freight_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流备注',
  `freight_created_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流登记人',
  `freight_created_dt` datetime(0) NULL DEFAULT NULL COMMENT '物流登记时间',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '发货日期',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `in_warehouse_id` int(11) NULL DEFAULT NULL COMMENT '转入仓库',
  `in_type_id` int(11) NULL DEFAULT NULL COMMENT '入库类别',
  `in_department_id` int(11) NULL DEFAULT NULL COMMENT '入库部门',
  `out_warehouse_id` int(11) NULL DEFAULT NULL COMMENT '转出仓库',
  `out_type_id` int(11) NULL DEFAULT NULL COMMENT '出库类别',
  `out_department_id` int(11) NULL DEFAULT NULL COMMENT '出库部门',
  `freight_short_start` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '短途起点',
  `freight_short_end` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '短途终点',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_allocation_freight_logistics_id`(`freight_logistics_id`) USING BTREE,
  INDEX `idx_stock_allocation_freight_pay_type`(`freight_pay_type`) USING BTREE,
  INDEX `idx_stock_allocation_freight_short_logistics_id`(`freight_short_logistics_id`) USING BTREE,
  INDEX `idx_stock_allocation_freight_type`(`freight_type`) USING BTREE,
  INDEX `idx_stock_allocation_in_type_id`(`in_type_id`) USING BTREE,
  INDEX `idx_stock_allocation_in_warehouse_id`(`in_warehouse_id`) USING BTREE,
  INDEX `idx_stock_allocation_invoice_dt`(`invoice_dt`) USING BTREE,
  INDEX `idx_stock_allocation_out_type_id`(`out_type_id`) USING BTREE,
  INDEX `idx_stock_allocation_out_warehouse_id`(`out_warehouse_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_allocation
-- ----------------------------
INSERT INTO `stock_allocation` VALUES (1, 0, '系统管理员', 1614508356, 'CPDB202010230001', 1603463854, '系统管理员', NULL, NULL, '2020-10-20', 2.00, 0.00, 0.00, 0.00, NULL, NULL, 0.00, 0.00, NULL, NULL, NULL, 0.00, 0.00, 0.00, NULL, NULL, NULL, '系统管理员', '2021-02-24 18:24:27', '2020-10-23', 1, 1, 153, 18, 0, 139, 64, 20, '眉山', '成都');

-- ----------------------------
-- Table structure for stock_allocation_data
-- ----------------------------
DROP TABLE IF EXISTS `stock_allocation_data`;
CREATE TABLE `stock_allocation_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `allocation_id` int(11) NOT NULL COMMENT '订单ID',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '价格',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '单品状态',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '数量',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额(元)',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '类型',
  `weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量(kg)',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批号',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `total_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量合计(kg)',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位名称',
  `poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位编号',
  `out_poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '调出货位编号',
  `out_posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '调出货位名称',
  `in_poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '调入货位编号',
  `in_posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '调入货位名称',
  `bill_data_id` int(11) NULL DEFAULT NULL COMMENT '单据明细ID',
  `bill_id` int(11) NULL DEFAULT NULL COMMENT '单据ID',
  `sale_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '订单编号',
  `bill_type_id` tinyint(4) NULL DEFAULT NULL COMMENT '单据连接',
  `sale_id` int(11) NULL DEFAULT NULL COMMENT '订单ID',
  `sale_data_id` int(11) NULL DEFAULT NULL COMMENT '订单明细ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_allocation_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_stock_allocation_data_allocation_id`(`allocation_id`) USING BTREE,
  INDEX `idx_stock_allocation_data_poscode`(`poscode`) USING BTREE,
  INDEX `idx_stock_allocation_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_stock_allocation_data_sale_data_id`(`sale_data_id`) USING BTREE,
  INDEX `idx_stock_allocation_data_sale_id`(`sale_id`) USING BTREE,
  INDEX `idx_stock_allocation_data_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_allocation_data_out_poscode`(`out_poscode`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_allocation_data
-- ----------------------------
INSERT INTO `stock_allocation_data` VALUES (2, 1, 20409, NULL, NULL, NULL, NULL, NULL, 1614508356, '系统管理员', 98.00, NULL, NULL, NULL, '210225123', '2021-02-25', NULL, NULL, 1, '小菜', '99', '99', '小菜', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for stock_cancel
-- ----------------------------
DROP TABLE IF EXISTS `stock_cancel`;
CREATE TABLE `stock_cancel`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `customer_id` int(11) NOT NULL COMMENT '用户编号',
  `status` smallint(6) NOT NULL DEFAULT 0 COMMENT '状态',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `freight_logistics_id` int(11) NULL DEFAULT NULL COMMENT '物流公司',
  `delivery_dt` date NULL DEFAULT NULL COMMENT '发货日期',
  `warehouse_contact` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人',
  `warehouse_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人手机号',
  `warehouse_tel` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人坐机',
  `warehouse_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货地址',
  `freight_pay_text` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运费付费方式',
  `tax_type` tinyint(4) NULL DEFAULT NULL COMMENT '发票类型',
  `tax_id` int(11) NULL DEFAULT NULL COMMENT '发票名称',
  `freight_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '实发数量',
  `freight_part_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '配件数量',
  `freight_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '实发重量(T)',
  `freight_part_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '配件重量(T)',
  `freight_short_logistics_id` int(11) NULL DEFAULT NULL COMMENT '短途承运人',
  `freight_short_car` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '短途车牌号',
  `freight_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '运费(元/T)',
  `freight_short_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '短途运费(元)',
  `freight_logistics_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流联系电话',
  `freight_type` tinyint(4) NULL DEFAULT NULL COMMENT '发运方式',
  `freight_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运输单号',
  `freight_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '总运费金额',
  `freight_customer_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '客户承担运费',
  `freight_self_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担运费',
  `freight_pay_type` tinyint(4) NULL DEFAULT NULL COMMENT '运费支付方式',
  `freight_arrival_date` date NULL DEFAULT NULL COMMENT '预计到货日期',
  `freight_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流备注',
  `freight_created_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流登记人',
  `freight_created_dt` datetime(0) NULL DEFAULT NULL COMMENT '物流登记时间',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '退货日期',
  `order_type_id` tinyint(4) NULL DEFAULT NULL COMMENT '订单类型',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '销售类型',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人ID',
  `bill_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_cancel_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_stock_cancel_freight_logistics_id`(`freight_logistics_id`) USING BTREE,
  INDEX `idx_stock_cancel_freight_pay_type`(`freight_pay_type`) USING BTREE,
  INDEX `idx_stock_cancel_freight_short_logistics_id`(`freight_short_logistics_id`) USING BTREE,
  INDEX `idx_stock_cancel_freight_type`(`freight_type`) USING BTREE,
  INDEX `idx_stock_cancel_invoice_dt`(`invoice_dt`) USING BTREE,
  INDEX `idx_stock_cancel_order_type_id`(`order_type_id`) USING BTREE,
  INDEX `idx_stock_cancel_sn`(`sn`) USING BTREE,
  INDEX `idx_stock_cancel_tax_type`(`tax_type`) USING BTREE,
  INDEX `idx_stock_cancel_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_cancel_tax_id`(`tax_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_cancel
-- ----------------------------

-- ----------------------------
-- Table structure for stock_cancel_data
-- ----------------------------
DROP TABLE IF EXISTS `stock_cancel_data`;
CREATE TABLE `stock_cancel_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `cancel_id` int(11) NOT NULL COMMENT '订单ID',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '价格',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单数量',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额(元)',
  `weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量(kg)',
  `fee_src_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '订单号',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批次',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `other_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '其他金额',
  `total_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '合计重量(kg)',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `fee_src_type_id` int(11) NULL DEFAULT NULL COMMENT '发货类型',
  `fee_src_id` int(11) NULL DEFAULT NULL COMMENT '单据ID',
  `fee_data_id` int(11) NULL DEFAULT NULL COMMENT '单据明细ID',
  `sale_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '订单编号',
  `poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位编号',
  `posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位名称',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '类型',
  `sale_id` int(11) NULL DEFAULT NULL COMMENT '订单ID',
  `sale_data_id` int(11) NULL DEFAULT NULL COMMENT '订单明细ID',
  `promotion_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '赠品编号',
  `promotion_data_id` int(11) NULL DEFAULT NULL COMMENT '赠品明细ID',
  `fee_category_id` int(11) NULL DEFAULT NULL COMMENT '单据类别',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_cancel_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_stock_cancel_data_fee_data_id`(`fee_data_id`) USING BTREE,
  INDEX `idx_stock_cancel_data_fee_src_id`(`fee_src_id`) USING BTREE,
  INDEX `idx_stock_cancel_data_fee_src_type_id`(`fee_src_type_id`) USING BTREE,
  INDEX `idx_stock_cancel_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_stock_cancel_data_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_cancel_data_warehouse_id`(`warehouse_id`) USING BTREE,
  INDEX `idx_stock_cancel_data_cancel_id`(`cancel_id`) USING BTREE,
  INDEX `idx_stock_cancel_data_promotion_data_id`(`promotion_data_id`) USING BTREE,
  INDEX `idx_stock_cancel_data_fee_category_id`(`fee_category_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_cancel_data
-- ----------------------------

-- ----------------------------
-- Table structure for stock_delivery
-- ----------------------------
DROP TABLE IF EXISTS `stock_delivery`;
CREATE TABLE `stock_delivery`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `customer_id` int(11) NOT NULL COMMENT '所属客户',
  `status` smallint(6) NOT NULL DEFAULT 0 COMMENT '状态',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `freight_logistics_id` int(11) NULL DEFAULT NULL COMMENT '物流公司',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '发货日期',
  `order_type_id` tinyint(4) NULL DEFAULT NULL COMMENT '订单类型',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '库存类型',
  `warehouse_contact` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人',
  `warehouse_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人手机号',
  `warehouse_tel` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人座机',
  `warehouse_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货地址',
  `freight_pay_text` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运费付费方式',
  `tax_type` tinyint(4) NULL DEFAULT NULL COMMENT '发票类型',
  `tax_id` int(11) NULL DEFAULT NULL COMMENT '发票名称',
  `freight_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '实发数量',
  `freight_part_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '配件数量',
  `freight_weight` decimal(10, 1) NULL DEFAULT NULL COMMENT '实发重量(T)',
  `freight_part_weight` decimal(10, 1) NULL DEFAULT NULL COMMENT '配件重量(T)',
  `freight_short_logistics_id` int(11) NULL DEFAULT NULL COMMENT '短途承运人',
  `freight_short_car` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '短途车牌号',
  `freight_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '运价(元/T)',
  `freight_short_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '短途运费(元)',
  `freight_logistics_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流联系电话',
  `freight_type` tinyint(4) NULL DEFAULT NULL COMMENT '发运方式',
  `freight_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运输单号',
  `freight_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '总运费金额',
  `freight_customer_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '客户承担运费',
  `freight_self_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担运费',
  `freight_pay_type` tinyint(4) NULL DEFAULT NULL COMMENT '运费支付方式',
  `freight_arrival_date` date NULL DEFAULT NULL COMMENT '预计到货日期',
  `freight_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流备注',
  `freight_created_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流登记人',
  `freight_created_dt` datetime(0) NULL DEFAULT NULL COMMENT '物流登记时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人ID',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人ID',
  `print_master_id` int(11) NULL DEFAULT NULL COMMENT '打印主编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_delivery_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_stock_delivery_freight_logistics_id`(`freight_logistics_id`) USING BTREE,
  INDEX `idx_stock_delivery_freight_pay_type`(`freight_pay_type`) USING BTREE,
  INDEX `idx_stock_delivery_freight_short_logistics_id`(`freight_short_logistics_id`) USING BTREE,
  INDEX `idx_stock_delivery_freight_type`(`freight_type`) USING BTREE,
  INDEX `idx_stock_delivery_order_type_id`(`order_type_id`) USING BTREE,
  INDEX `idx_stock_delivery_sn`(`sn`) USING BTREE,
  INDEX `idx_stock_delivery_tax_id`(`tax_id`) USING BTREE,
  INDEX `idx_stock_delivery_tax_type`(`tax_type`) USING BTREE,
  INDEX `idx_stock_delivery_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_delivery_print_master_id`(`print_master_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_delivery
-- ----------------------------
INSERT INTO `stock_delivery` VALUES (1, 1, 1, '系统管理员', 1615309945, 'FHDJ202010230001', 1603464188, '系统管理员', NULL, 42, '2021-02-25', 1, 1, '111', '11', '11', '111', '回单付，送货', 1, 1, 2.00, 0.00, 0.0, 0.0, 29, NULL, 0.00, 0.00, '02861791099', 2, NULL, 0.00, NULL, NULL, NULL, NULL, NULL, '系统管理员', '2021-03-10 01:12:25', 1, 1, NULL);
INSERT INTO `stock_delivery` VALUES (2, 1, 0, '系统管理员', 1623072215, 'FHDJ202103010001', 1614539765, '系统管理员', NULL, NULL, '2021-03-01', 1, 4, '111222', '11', '11', '111', '回单付，送货', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL);

-- ----------------------------
-- Table structure for stock_delivery_data
-- ----------------------------
DROP TABLE IF EXISTS `stock_delivery_data`;
CREATE TABLE `stock_delivery_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `delivery_id` int(11) NOT NULL COMMENT '订单ID',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '价格',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '单品状态',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单数量',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额(元)',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '类型ID',
  `weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量(kg)',
  `sale_id` int(11) NULL DEFAULT NULL COMMENT '订单ID',
  `sale_data_id` int(11) NULL DEFAULT NULL COMMENT '订单明细ID',
  `sale_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '订单编号',
  `fee_src_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '订单号',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批次',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `other_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '其他金额',
  `total_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '合计重量(kg)',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `fee_category_id` int(11) NULL DEFAULT NULL COMMENT '发货类型',
  `fee_src_id` int(11) NULL DEFAULT NULL COMMENT '单据ID',
  `fee_data_id` int(11) NULL DEFAULT NULL COMMENT '单据明细ID',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位编号',
  `posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位名称',
  `sample_id` int(11) NULL DEFAULT NULL COMMENT '样品申请ID',
  `sample_data_id` int(11) NULL DEFAULT NULL COMMENT '样品申请明细ID',
  `fee_src_type_id` int(11) NULL DEFAULT NULL COMMENT '单据类型',
  `promotion_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '赠品编号',
  `promotion_data_id` int(11) NULL DEFAULT NULL COMMENT '赠品明细ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_delivery_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_stock_delivery_data_fee_data_id`(`fee_data_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_fee_src_id`(`fee_src_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_fee_category_id`(`fee_category_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_poscode`(`poscode`) USING BTREE,
  INDEX `idx_stock_delivery_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_sale_data_id`(`sale_data_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_sale_id`(`sale_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_warehouse_id`(`warehouse_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_delivery_id`(`delivery_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_sample_id`(`sample_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_sample_data_id`(`sample_data_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_fee_src_type_id`(`fee_src_type_id`) USING BTREE,
  INDEX `idx_stock_delivery_data_promotion_data_id`(`promotion_data_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_delivery_data
-- ----------------------------
INSERT INTO `stock_delivery_data` VALUES (1, 1, 20409, 92.00, NULL, NULL, '系统管理员', 1614192380, 1603464188, '系统管理员', 2.00, 184.00, 1, 7.20, NULL, NULL, NULL, NULL, '210225123', '2021-02-25', 0.00, 14.40, 139, NULL, NULL, NULL, 1, 1, '99', '小菜', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `stock_delivery_data` VALUES (2, 1, 20410, 50.00, NULL, NULL, '系统管理员', 1614192380, 1614192227, '系统管理员', 10.00, 500.00, 1, 7.20, NULL, NULL, NULL, NULL, '210225123', '2021-02-25', 0.00, 72.00, 139, NULL, NULL, NULL, 1, 1, '99', '小菜', NULL, NULL, NULL, NULL, NULL);
INSERT INTO `stock_delivery_data` VALUES (3, 2, 20410, 92.00, NULL, NULL, '系统管理员', 1623072215, 1614539765, '系统管理员', 5.00, 460.00, 1, 7.20, NULL, NULL, NULL, NULL, '210225123', '2021-02-25', 0.00, 36.00, 139, NULL, NULL, NULL, 1, 1, '99', '小菜', NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for stock_direct
-- ----------------------------
DROP TABLE IF EXISTS `stock_direct`;
CREATE TABLE `stock_direct`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `customer_id` int(11) NOT NULL COMMENT '所属客户',
  `status` smallint(6) NOT NULL DEFAULT 0 COMMENT '订单状态',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `freight_logistics_id` int(11) NULL DEFAULT NULL COMMENT '物流公司',
  `delivery_dt` date NULL DEFAULT NULL COMMENT '发货日期',
  `order_type_id` tinyint(4) NULL DEFAULT NULL COMMENT '订单类型',
  `warehouse_contact` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人',
  `warehouse_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人手机号',
  `warehouse_tel` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货人坐机',
  `warehouse_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '收货地址',
  `freight_pay_text` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运费付费方式',
  `tax_type` tinyint(4) NULL DEFAULT NULL COMMENT '发票类型',
  `tax_id` int(11) NULL DEFAULT NULL COMMENT '发票名称',
  `freight_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '实发数量',
  `freight_part_quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '配件数量',
  `freight_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '实发重量(T)',
  `freight_part_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '配件重量(T)',
  `freight_short_logistics_id` int(11) NULL DEFAULT NULL COMMENT '短途承运人',
  `freight_short_car` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '短途车牌号',
  `freight_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '运费(元/T)',
  `freight_short_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '短途运费(元)',
  `freight_logistics_phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流联系电话',
  `freight_type` tinyint(4) NULL DEFAULT NULL COMMENT '发运方式',
  `freight_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '运输单号',
  `freight_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '总运费金额',
  `freight_customer_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '客户承担运费',
  `freight_self_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '公司承担运费',
  `freight_pay_type` tinyint(4) NULL DEFAULT NULL COMMENT '运费支付方式',
  `freight_arrival_date` date NULL DEFAULT NULL COMMENT '预计到货日期',
  `freight_remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流备注',
  `freight_created_by` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '物流登记人',
  `freight_created_dt` datetime(0) NULL DEFAULT NULL COMMENT '物流登记时间',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '发货日期',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '注册时间',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '销售类型',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_direct_customer_id`(`customer_id`) USING BTREE,
  INDEX `idx_stock_direct_freight_logistics_id`(`freight_logistics_id`) USING BTREE,
  INDEX `idx_stock_direct_freight_pay_type`(`freight_pay_type`) USING BTREE,
  INDEX `idx_stock_direct_freight_short_logistics_id`(`freight_short_logistics_id`) USING BTREE,
  INDEX `idx_stock_direct_freight_type`(`freight_type`) USING BTREE,
  INDEX `idx_stock_direct_invoice_dt`(`invoice_dt`) USING BTREE,
  INDEX `idx_stock_direct_order_type_id`(`order_type_id`) USING BTREE,
  INDEX `idx_stock_direct_sn`(`sn`) USING BTREE,
  INDEX `idx_stock_direct_tax_type`(`tax_type`) USING BTREE,
  INDEX `idx_stock_direct_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_direct_warehouse_id`(`warehouse_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_direct
-- ----------------------------
INSERT INTO `stock_direct` VALUES (1, 1, 0, NULL, NULL, 'ZYFH202102240001', 1614186112, '系统管理员', NULL, NULL, NULL, 1, '111222', '11', NULL, '111', '货到收1元/件，余款回单付，送货', 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2021-02-24', NULL, 1, 1, 140);

-- ----------------------------
-- Table structure for stock_direct_data
-- ----------------------------
DROP TABLE IF EXISTS `stock_direct_data`;
CREATE TABLE `stock_direct_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `direct_id` int(11) NOT NULL COMMENT '订单ID',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '价格',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '单品状态',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新账户编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新建用户编号',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '数量',
  `money` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额(元)',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '类型',
  `weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量(kg)',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批次',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `other_money` decimal(10, 2) NULL DEFAULT NULL COMMENT '其他金额(元)',
  `total_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '重量合计(kg)',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位名称',
  `poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位编号',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_direct_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_stock_direct_data_direct_id`(`direct_id`) USING BTREE,
  INDEX `idx_stock_direct_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_stock_direct_data_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_direct_data_warehouse_id`(`warehouse_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_direct_data
-- ----------------------------
INSERT INTO `stock_direct_data` VALUES (1, 1, 2166, 0.50, NULL, NULL, NULL, NULL, 1614186112, '系统管理员', 10.00, 5.00, 1, 0.00, NULL, NULL, 0.00, 0.00, NULL, NULL, 1, NULL, NULL);

-- ----------------------------
-- Table structure for stock_record01
-- ----------------------------
DROP TABLE IF EXISTS `stock_record01`;
CREATE TABLE `stock_record01`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '入库部门',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '入库日期',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '入库类别',
  `supplier_id` int(11) NULL DEFAULT NULL COMMENT '供应商',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record01_department_id`(`department_id`) USING BTREE,
  INDEX `idx_stock_record01_invoice_dt`(`invoice_dt`) USING BTREE,
  INDEX `idx_stock_record01_sn`(`sn`) USING BTREE,
  INDEX `idx_stock_record01_status`(`status`) USING BTREE,
  INDEX `idx_stock_record01_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_record01_warehouse_id`(`warehouse_id`) USING BTREE,
  INDEX `idx_stock_record01_supplier_id`(`supplier_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record01
-- ----------------------------
INSERT INTO `stock_record01` VALUES (1, 'CGRK202010200001', 0, 136, 17, NULL, 1603204816, '系统管理员', 1, 1614191891, '系统管理员', 1, '2021-02-25', 63, 17);
INSERT INTO `stock_record01` VALUES (2, 'CGRK202010200002', 0, 140, 8, NULL, 1603204842, '系统管理员', 1, 1616020473, '系统管理员', 1, '2021-02-25', 63, 17);
INSERT INTO `stock_record01` VALUES (3, 'CGRK202010200003', 0, 140, 1, NULL, 1603204866, '系统管理员', 1, 1614191868, '系统管理员', 1, '2021-02-25', 63, 14);

-- ----------------------------
-- Table structure for stock_record01_data
-- ----------------------------
DROP TABLE IF EXISTS `stock_record01_data`;
CREATE TABLE `stock_record01_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `record01_id` int(11) NOT NULL COMMENT '库存类型',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批次',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '数量',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位编号',
  `posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位名称',
  `tax_price` decimal(20, 5) NULL DEFAULT NULL COMMENT '单价',
  `tax_money` decimal(20, 2) NULL DEFAULT NULL COMMENT '金额',
  `tax_rate` decimal(10, 2) NULL DEFAULT NULL COMMENT '税率',
  `tax_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '税额',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `order_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '采购单号',
  `order_id` int(11) NULL DEFAULT NULL COMMENT '采购ID',
  `order_data_id` int(11) NULL DEFAULT NULL COMMENT '采购子表ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record01_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_stock_record01_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_stock_record01_data_record01_id`(`record01_id`) USING BTREE,
  INDEX `idx_stock_record01_data_order_id`(`order_id`) USING BTREE,
  INDEX `idx_stock_record01_data_order_data_id`(`order_data_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record01_data
-- ----------------------------
INSERT INTO `stock_record01_data` VALUES (1, 1, NULL, 20409, NULL, 200.00, 1603204816, '系统管理员', 1, 1614191891, '系统管理员', 1, NULL, NULL, 12.00000, 2400.00, 13.00, 312.00, NULL, NULL, NULL, NULL);
INSERT INTO `stock_record01_data` VALUES (2, 2, NULL, 20426, NULL, 2.00, 1603204842, '系统管理员', 1, 1616020473, '系统管理员', 1, NULL, NULL, 12.00000, 24.00, 13.00, 3.12, NULL, NULL, NULL, NULL);
INSERT INTO `stock_record01_data` VALUES (3, 3, NULL, 20409, NULL, 5.00, 1603204866, '系统管理员', 1, 1614191868, '系统管理员', 1, NULL, NULL, 10.00000, 50.00, 13.00, 6.50, '123', NULL, NULL, NULL);

-- ----------------------------
-- Table structure for stock_record08
-- ----------------------------
DROP TABLE IF EXISTS `stock_record08`;
CREATE TABLE `stock_record08`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '库存类型',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '入库部门',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '入库日期',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record08_department_id`(`department_id`) USING BTREE,
  INDEX `idx_stock_record08_invoice_dt`(`invoice_dt`) USING BTREE,
  INDEX `idx_stock_record08_sn`(`sn`) USING BTREE,
  INDEX `idx_stock_record08_status`(`status`) USING BTREE,
  INDEX `idx_stock_record08_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_record08_warehouse_id`(`warehouse_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record08
-- ----------------------------
INSERT INTO `stock_record08` VALUES (1, 18, '202010230001', 0, 140, 3, NULL, 1603463100, '系统管理员', 1, 1614508525, '系统管理员', 1, '2020-10-23');
INSERT INTO `stock_record08` VALUES (2, 18, '202010230002', 0, 153, 8, NULL, 1603463220, '系统管理员', 1, 1614508505, '系统管理员', 1, '2020-10-23');

-- ----------------------------
-- Table structure for stock_record08_data
-- ----------------------------
DROP TABLE IF EXISTS `stock_record08_data`;
CREATE TABLE `stock_record08_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `record08_id` int(11) NOT NULL COMMENT '库存类型',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批次',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '数量',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位编号',
  `posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位名称',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record08_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_stock_record08_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_stock_record08_data_record08_id`(`record08_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record08_data
-- ----------------------------
INSERT INTO `stock_record08_data` VALUES (1, 1, '2', 2164, '2002-02-28', 3.00, 1603463150, '系统管理员', 1, 1614508525, '系统管理员', 1, NULL, NULL);
INSERT INTO `stock_record08_data` VALUES (2, 2, '2', 1445, '2002-02-28', 2.00, 1603463828, '系统管理员', 1, 1614508505, '系统管理员', 1, NULL, NULL);

-- ----------------------------
-- Table structure for stock_record09
-- ----------------------------
DROP TABLE IF EXISTS `stock_record09`;
CREATE TABLE `stock_record09`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '出库类别',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `status` smallint(6) NOT NULL DEFAULT 0 COMMENT '状态',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '入库部门',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '出库日期',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record09_department_id`(`department_id`) USING BTREE,
  INDEX `idx_stock_record09_invoice_dt`(`invoice_dt`) USING BTREE,
  INDEX `idx_stock_record09_sn`(`sn`) USING BTREE,
  INDEX `idx_stock_record09_status`(`status`) USING BTREE,
  INDEX `idx_stock_record09_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_record09_warehouse_id`(`warehouse_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record09
-- ----------------------------
INSERT INTO `stock_record09` VALUES (1, 64, '202102280001', 0, 139, 8, NULL, 1614508560, '系统管理员', 1, NULL, NULL, NULL, '2021-02-28');

-- ----------------------------
-- Table structure for stock_record09_data
-- ----------------------------
DROP TABLE IF EXISTS `stock_record09_data`;
CREATE TABLE `stock_record09_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `record09_id` int(11) NOT NULL COMMENT '库存类型',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批次',
  `product_id` int(11) NULL DEFAULT NULL COMMENT '产品ID',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '数量',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位编号',
  `posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位名称',
  `sample_id` int(11) NULL DEFAULT NULL COMMENT '样品申请ID',
  `sample_data_id` int(11) NULL DEFAULT NULL COMMENT '样品申请明细ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record09_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_stock_record09_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_stock_record09_data_record09_id`(`record09_id`) USING BTREE,
  INDEX `idx_stock_record09_data_sample_data_id`(`sample_data_id`) USING BTREE,
  INDEX `idx_stock_record09_data_sample_id`(`sample_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record09_data
-- ----------------------------
INSERT INTO `stock_record09_data` VALUES (1, 1, '210225123', 20410, '2021-02-25', 0.00, 1614508588, '系统管理员', 1, NULL, NULL, NULL, '99', '小菜', NULL, NULL);

-- ----------------------------
-- Table structure for stock_record10
-- ----------------------------
DROP TABLE IF EXISTS `stock_record10`;
CREATE TABLE `stock_record10`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '入库部门',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `workshop` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '车间',
  `type_id` int(11) NULL DEFAULT NULL COMMENT '入库类别',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '入库日期',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record10_department_id`(`department_id`) USING BTREE,
  INDEX `idx_stock_record10_invoice_dt`(`invoice_dt`) USING BTREE,
  INDEX `idx_stock_record10_sn`(`sn`) USING BTREE,
  INDEX `idx_stock_record10_status`(`status`) USING BTREE,
  INDEX `idx_stock_record10_type_id`(`type_id`) USING BTREE,
  INDEX `idx_stock_record10_warehouse_id`(`warehouse_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record10
-- ----------------------------
INSERT INTO `stock_record10` VALUES (1, '20201023100001', 0, 139, NULL, NULL, 1603462920, '系统管理员', 1, 1614191943, '系统管理员', 1, '一车间', 33, '2021-02-25');
INSERT INTO `stock_record10` VALUES (2, '20201023100002', 0, 139, NULL, NULL, 1603463280, '系统管理员', 1, 1622042017, '系统管理员', 1, '一车间', 33, '2021-02-25');
INSERT INTO `stock_record10` VALUES (3, '20210607100001', 0, 139, NULL, NULL, 1623072420, '系统管理员', 1, NULL, NULL, NULL, '一车间', 33, '2021-06-07');

-- ----------------------------
-- Table structure for stock_record10_data
-- ----------------------------
DROP TABLE IF EXISTS `stock_record10_data`;
CREATE TABLE `stock_record10_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `record10_id` int(11) NOT NULL COMMENT '库存类型',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批号',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '数量',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位编号',
  `posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位名称',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record10_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_stock_record10_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_stock_record10_data_record10_id`(`record10_id`) USING BTREE,
  INDEX `idx_stock_record10_data_poscode`(`poscode`) USING BTREE,
  INDEX `idx_stock_record10_data_posname`(`posname`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record10_data
-- ----------------------------
INSERT INTO `stock_record10_data` VALUES (1, 1, '210225123', 20410, '2021-02-25', 30.00, 1603462972, '系统管理员', 1, 1614191943, '系统管理员', 1, '99', '小菜');
INSERT INTO `stock_record10_data` VALUES (2, 2, '210225123', 20409, '2021-02-25', 200.00, 1603463323, '系统管理员', 1, 1622042017, '系统管理员', 1, '99', '小菜');
INSERT INTO `stock_record10_data` VALUES (3, 3, '202112345', 20409, '2021-09-12', 15.00, 1623072438, '系统管理员', 1, NULL, NULL, NULL, '99', '小菜');

-- ----------------------------
-- Table structure for stock_record11
-- ----------------------------
DROP TABLE IF EXISTS `stock_record11`;
CREATE TABLE `stock_record11`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '单据编号',
  `status` smallint(6) NULL DEFAULT 0 COMMENT '状态',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `department_id` int(11) NULL DEFAULT NULL COMMENT '入库部门',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `invoice_dt` date NULL DEFAULT NULL COMMENT '入库日期',
  `type_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '业务类型',
  `supplier_id` int(11) NULL DEFAULT NULL COMMENT '供应商',
  `category_id` smallint(6) NULL DEFAULT NULL COMMENT '出库类别',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record11_department_id`(`department_id`) USING BTREE,
  INDEX `idx_stock_record11_invoice_dt`(`invoice_dt`) USING BTREE,
  INDEX `idx_stock_record11_sn`(`sn`) USING BTREE,
  INDEX `idx_stock_record11_status`(`status`) USING BTREE,
  INDEX `idx_stock_record11_warehouse_id`(`warehouse_id`) USING BTREE,
  INDEX `idx_stock_record11_supplier_id`(`supplier_id`) USING BTREE,
  INDEX `idx_stock_record11_category_id`(`category_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record11
-- ----------------------------
INSERT INTO `stock_record11` VALUES (1, '202105020001', 0, 20053, 8, '11', 1619898952, '系统管理员', 1, NULL, NULL, NULL, '2021-05-02', '领料', NULL, 64);

-- ----------------------------
-- Table structure for stock_record11_data
-- ----------------------------
DROP TABLE IF EXISTS `stock_record11_data`;
CREATE TABLE `stock_record11_data`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `record11_id` int(11) NOT NULL COMMENT '库存类型',
  `batch_sn` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '生产批次',
  `product_id` int(11) NOT NULL COMMENT '产品ID',
  `batch_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '数量',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `poscode` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位编号',
  `posname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '货位名称',
  `tax_price` decimal(20, 5) NULL DEFAULT NULL COMMENT '单价',
  `tax_money` decimal(20, 2) NULL DEFAULT NULL COMMENT '金额',
  `tax_rate` decimal(10, 2) NULL DEFAULT NULL COMMENT '税率',
  `tax_amount` decimal(20, 2) NULL DEFAULT NULL COMMENT '税额',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `order_sn` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '采购单号',
  `order_id` int(11) NULL DEFAULT NULL COMMENT '采购ID',
  `order_data_id` int(11) NULL DEFAULT NULL COMMENT '采购子表ID',
  `price` decimal(20, 4) NULL DEFAULT NULL COMMENT '单价',
  `money` decimal(20, 2) NULL DEFAULT NULL COMMENT '金额',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_stock_record11_data_batch_sn`(`batch_sn`) USING BTREE,
  INDEX `idx_stock_record11_data_product_id`(`product_id`) USING BTREE,
  INDEX `idx_stock_record11_data_record11_id`(`record11_id`) USING BTREE,
  INDEX `idx_stock_record11_data_order_id`(`order_id`) USING BTREE,
  INDEX `idx_stock_record11_data_order_data_id`(`order_data_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '库存主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_record11_data
-- ----------------------------
INSERT INTO `stock_record11_data` VALUES (1, 1, NULL, 1600, NULL, 11.00, 1619898952, '系统管理员', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '11', NULL, NULL, NULL, 123.0000, 1353.00);

-- ----------------------------
-- Table structure for stock_type
-- ----------------------------
DROP TABLE IF EXISTS `stock_type`;
CREATE TABLE `stock_type`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `code` varchar(5) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `grade` tinyint(4) NULL DEFAULT NULL,
  `type` int(11) NULL DEFAULT NULL COMMENT '类型',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 66 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of stock_type
-- ----------------------------
INSERT INTO `stock_type` VALUES (1, '212', '盘亏出库', 2, 0, 0, NULL, 0, 0, NULL, 0, 1, 1);
INSERT INTO `stock_type` VALUES (2, '224', '样品出库', 2, 0, 0, NULL, 0, 0, NULL, 0, 1, 1);
INSERT INTO `stock_type` VALUES (3, '203', '改箱出库', 2, 0, 0, NULL, 0, 0, NULL, 0, 2, 1);
INSERT INTO `stock_type` VALUES (4, '204', '装大礼盒领用', 2, 0, 0, NULL, 0, 0, NULL, 0, 3, 1);
INSERT INTO `stock_type` VALUES (5, '221', '销售出库', 2, 0, 0, NULL, 0, 0, NULL, 0, 4, 1);
INSERT INTO `stock_type` VALUES (12, '225', '食堂领用', 2, 0, 0, NULL, 0, 0, NULL, 0, 5, 1);
INSERT INTO `stock_type` VALUES (18, '103', '调拨入库', 2, 1, 0, NULL, 0, 0, NULL, 0, 6, 1);
INSERT INTO `stock_type` VALUES (20, '104', '盘盈入库', 2, 1, 0, NULL, 0, 0, NULL, 0, 7, 1);
INSERT INTO `stock_type` VALUES (21, '211', '调拨出库', 2, 0, 0, NULL, 0, 0, NULL, 0, 8, 1);
INSERT INTO `stock_type` VALUES (25, '213', '报损出库', 2, 0, 0, NULL, 0, 0, NULL, 0, 9, 1);
INSERT INTO `stock_type` VALUES (26, '222', '赠品出库', 2, 0, 0, NULL, 0, 1580838575, '系统管理员', 1, 10, 1);
INSERT INTO `stock_type` VALUES (33, '10201', '生产入库', 3, 1, 0, NULL, 0, 0, NULL, 0, 11, 1);
INSERT INTO `stock_type` VALUES (36, '10202', '改箱入库', 3, 1, 0, NULL, 0, 0, NULL, 0, 12, 1);
INSERT INTO `stock_type` VALUES (40, '10203', '酱入库', 3, 1, 0, NULL, 0, 0, NULL, 0, 13, 1);
INSERT INTO `stock_type` VALUES (62, '223', '陈列品出库', 2, 0, 0, NULL, 0, 0, NULL, 0, 14, 1);
INSERT INTO `stock_type` VALUES (63, '101', '采购入库', 2, 1, NULL, NULL, NULL, 1603464332, '系统管理员', 1, 0, 1);
INSERT INTO `stock_type` VALUES (64, '224', '生产领用', 2, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1);
INSERT INTO `stock_type` VALUES (65, '208', '低易耗领用', 2, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 1);

-- ----------------------------
-- Table structure for supplier
-- ----------------------------
DROP TABLE IF EXISTS `supplier`;
CREATE TABLE `supplier`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
  `code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_id` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_supplier_code`(`code`) USING BTREE,
  INDEX `idx_supplier_status`(`status`) USING BTREE,
  INDEX `idx_supplier_warehouse_id`(`warehouse_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of supplier
-- ----------------------------
INSERT INTO `supplier` VALUES (5, 20047, '02', '供应商b', NULL, 1, 0, NULL, '系统管理员', 1615917953, 0, NULL, 1);
INSERT INTO `supplier` VALUES (6, 20048, '93', '供应商a', NULL, 1, 0, NULL, '系统管理员', 1586394504, 0, NULL, 1);
INSERT INTO `supplier` VALUES (13, NULL, '03001', '眉山市东坡区世纪纸箱有限公司', NULL, NULL, 1586394568, '贺晓江', NULL, NULL, 0, 2023, NULL);
INSERT INTO `supplier` VALUES (14, NULL, '06077', '成都鑫洪发彩印有限公司', NULL, NULL, 1586394595, '贺晓江', NULL, NULL, 0, 2023, NULL);
INSERT INTO `supplier` VALUES (15, NULL, '06014', '成都春华广告制作有限公司', NULL, NULL, 1587601763, '唐琴', NULL, NULL, 1, 2031, NULL);
INSERT INTO `supplier` VALUES (16, NULL, '08539', '眉山市华航服饰有限公司', NULL, NULL, 1591064457, '唐琴', NULL, NULL, 1, 2031, NULL);
INSERT INTO `supplier` VALUES (17, NULL, '06013', '姑苏区俊亚日用百货商行', NULL, NULL, 1591837309, '贺晓江', NULL, NULL, 1, 2023, NULL);
INSERT INTO `supplier` VALUES (18, NULL, '08101', '东坡区白记口袋经营部', NULL, NULL, 1591837414, '贺晓江', '系统管理员', 1594146909, 1, 2023, 1);

-- ----------------------------
-- Table structure for system_log
-- ----------------------------
DROP TABLE IF EXISTS `system_log`;
CREATE TABLE `system_log`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `remark` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '描述',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人id',
  `created_by` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `created_dt` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `ip` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'IP地址',
  `error_count` smallint(6) NULL DEFAULT NULL COMMENT '登录错误次数',
  `browser` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '浏览器',
  `device` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '设备',
  `level` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '日志等级',
  `type` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '日志类型',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_action_log_created_id`(`created_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 38 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of system_log
-- ----------------------------
INSERT INTO `system_log` VALUES (4, '保存:发货单', 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'NUMERIC(20,4)))\r\n		FROM (	\r\n			# 合并库存、出入库数量\r\n			# 产成品å\' at line ', 1, '系统管理员', '2020-10-23 22:19:28', '192.168.0.6', 0, 'Chrome', NULL, 'error', 'bill.store');
INSERT INTO `system_log` VALUES (6, '保存:发货单', 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'NUMERIC(20,4)))\r\n		FROM (	\r\n			# 合并库存、出入库数量\r\n			# 产成品å\' at line ', 1, '系统管理员', '2020-10-23 22:21:46', '192.168.0.6', 0, 'Chrome', NULL, 'error', 'bill.store');
INSERT INTO `system_log` VALUES (7, '保存:发货单(直营)', 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'NUMERIC(20,4)))\r\n		FROM (	\r\n			# 合并库存、出入库数量\r\n			# 产成品å\' at line ', 1, '系统管理员', '2020-10-23 22:22:18', '192.168.0.6', 0, 'Chrome', NULL, 'error', 'bill.store');
INSERT INTO `system_log` VALUES (8, '保存:其他出库单', 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'NUMERIC(20,4)))\r\n		FROM (	\r\n			# 合并库存、出入库数量\r\n			# 产成品å\' at line ', 1, '系统管理员', '2020-10-23 22:23:15', '192.168.0.6', 0, 'Chrome', NULL, 'error', 'bill.store');
INSERT INTO `system_log` VALUES (9, '保存:发货单', 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'NUMERIC(20,4)))\r\n		FROM (	\r\n			# 合并库存、出入库数量\r\n			# 产成品å\' at line ', 1, '系统管理员', '2020-10-23 22:24:04', '192.168.0.6', 0, 'Chrome', NULL, 'error', 'bill.store');

-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `username` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '登录名',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '姓名',
  `department_id` tinyint(4) NULL DEFAULT NULL COMMENT '部门',
  `role_id` int(11) NULL DEFAULT NULL COMMENT '角色编号',
  `leader_id` int(11) NULL DEFAULT NULL COMMENT '直属领导编号',
  `province_id` int(11) NULL DEFAULT NULL COMMENT '省编号',
  `county_id` int(11) NULL DEFAULT NULL COMMENT '县编号',
  `group_id` int(11) NULL DEFAULT NULL COMMENT '组编号',
  `city_id` int(11) NULL DEFAULT NULL COMMENT '市编号',
  `auth_ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '绑定IP地址',
  `auth_totp` tinyint(4) NULL DEFAULT NULL COMMENT '使用动态密码',
  `auth_secret` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '安全验证密钥',
  `remember_token` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '登录标识',
  `admin` tinyint(4) NULL DEFAULT NULL COMMENT '访问范围：0普通账户,1超级管理员',
  `gender` tinyint(4) NULL DEFAULT NULL COMMENT '性别',
  `birthday` date NULL DEFAULT NULL COMMENT '生日',
  `lunar_birthday` tinyint(4) NULL DEFAULT NULL COMMENT '农历生日',
  `address` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '地址',
  `weixin` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '微信',
  `post` tinyint(4) NULL DEFAULT NULL COMMENT '职位',
  `tel` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '电话',
  `zipcode` char(6) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '邮编',
  `fax` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '传真',
  `qq` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'qq号码',
  `im` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '即时通账户',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '账户状态',
  `password` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '密码',
  `password_text` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '明文密码',
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户邮箱地址',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `activate_at` int(11) NULL DEFAULT NULL COMMENT '最后活动时间',
  `theme` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `auth_device` tinyint(4) NULL DEFAULT NULL,
  `auth_device_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `avatar_show` tinyint(4) NULL DEFAULT NULL COMMENT '是否隐藏头像',
  `avatar` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '头像名称',
  `login` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户账户',
  `phone` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '手机',
  `position_id` tinyint(4) NULL DEFAULT NULL COMMENT '职位',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_user_username`(`username`) USING BTREE,
  INDEX `idx_user_city_id`(`city_id`) USING BTREE,
  INDEX `idx_user_department_id`(`department_id`) USING BTREE,
  INDEX `idx_user_group_id`(`group_id`) USING BTREE,
  INDEX `idx_user_position_id`(`position_id`) USING BTREE,
  INDEX `idx_user_province_id`(`province_id`) USING BTREE,
  INDEX `idx_user_role_id`(`role_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (1, 'admin', '系统管理员', 20, 1, 3, 0, 0, 1, 0, '', 0, NULL, 'u8iVSaXR8r9ItU4asOXqjpjzDsGrZANdGVd4zVkPiOXgWTvQW4WuxND7WanI', 1, 1, '2020-10-05', 0, '', '', 3, '028-12345678', '', '', '24', '', 1, '$2y$10$DFN0jlZa0x3IGcZAkolJTuYMnJpOnX78L9XG2Q5N2Y32FuAST8UwO', '123456', 'fvzone@qq.com', 0, '0', 0, 'blue2', '系统管理员', 1625352318, 0, '', 0, NULL, '', '15182223008', 24);
INSERT INTO `user` VALUES (2, '01001', '王二小食品有限公司', 1, 2, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 1594147787, '系统管理员', NULL, NULL, '系统管理员', 1615757797, NULL, NULL, 1, NULL, NULL, '213', NULL);
INSERT INTO `user` VALUES (3, '赵云', '赵云', 3, 1, 0, NULL, NULL, 1, NULL, NULL, 0, NULL, 'wcKgC2FORgT0LKm5hC5vgCTvrrgZqhT2BcNUfvFW8xqAS82SBmRFzwgkuD2o', 0, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '$2y$10$qkonB.DXNaXvAzNQinz9UeXLAmIybudyYCN4FWiTf6JyeQk4BXT8W', '123456', NULL, 1601234908, '系统管理员', NULL, 'blue2', '赵云', 1625352333, NULL, NULL, 0, NULL, NULL, '15182223008', 0);
INSERT INTO `user` VALUES (4, '关羽', '关羽', 19, 83, 0, NULL, NULL, 1, NULL, NULL, 0, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '$2y$10$a/sqD3GeTkC5UkB4BDyOvu67uQIoGm1sRLVS5TFyQsePC0qm0cT8m', '123456', NULL, 1601369401, '系统管理员', NULL, 'lilac', '关羽', 1625351486, NULL, NULL, 0, NULL, NULL, '15182223008', 0);
INSERT INTO `user` VALUES (5, '52347', '刘洋', NULL, 95, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 1603204082, '系统管理员', NULL, NULL, '系统管理员', 1612575522, NULL, NULL, NULL, NULL, NULL, '15879653821', NULL);
INSERT INTO `user` VALUES (6, '100002', '四川幺麻子食品公司', 17, 2, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '$2y$10$Gb4n4ea3nlMGxJsPKSWBUug8hZFLj4xI831Gru.s78ZX314UwyEOm', '123456', NULL, 1620468708, '系统管理员', NULL, NULL, '系统管理员', 1620470105, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `user` VALUES (7, '100003', '百家食品有限公司', 17, 2, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '123456', '123456', NULL, 1620469893, '系统管理员', NULL, NULL, '系统管理员', 1620470124, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `user` VALUES (8, '100004', '麻辣江湖食品有限公司', 8, 2, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '$2y$10$LzqbGTlk984tCUGveNQVCu.fTnjtAlijkjlZlruOG7Y/S22L3UlnC', '123456', NULL, 1620470030, '系统管理员', NULL, NULL, '系统管理员', 1620470157, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `user` VALUES (9, '100005', '重庆麻辣烫火锅有限公司', 25, 2, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, '$2y$10$rSJbrkxA.g6i6xHUtdFK0Oc4Rv7.XK2tiw3.5Vqngi6DLo0/Vjk2C', '123456', NULL, 1620470485, '系统管理员', NULL, NULL, '系统管理员', 1620470533, NULL, NULL, NULL, NULL, NULL, '15182223008', NULL);

-- ----------------------------
-- Table structure for user_asset
-- ----------------------------
DROP TABLE IF EXISTS `user_asset`;
CREATE TABLE `user_asset`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '模块名称\n',
  `rules` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '模块规则',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_user_asset_name`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 47 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_asset
-- ----------------------------
INSERT INTO `user_asset` VALUES (3, 'order', '{\"order.index\":{\"17\":\"4\",\"32\":\"1\",\"47\":\"1\",\"56\":\"1\",\"117\":\"1\",\"153\":\"4\",\"100\":\"4\",\"134\":\"1\",\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"31\":\"4\",\"64\":\"4\",\"11\":\"4\",\"35\":\"1\",\"42\":\"5\",\"10\":\"4\",\"34\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"18\":\"2\",\"23\":\"4\",\"28\":\"1\",\"33\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"95\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"order.show\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"cancel.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"31\":\"4\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"34\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"cancel.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"order.detail\":{\"1\":\"1\",\"7\":\"1\"},\"order.delivery\":{\"1\":\"1\",\"7\":\"1\"},\"order.deliveryPlan\":{\"1\":\"1\",\"7\":\"1\"},\"order.audit\":{\"1\":\"1\",\"7\":\"1\"},\"order.recall\":{\"1\":\"1\",\"7\":\"1\"},\"order.abort\":{\"1\":\"1\",\"7\":\"1\"},\"order.create\":{\"1\":\"1\",\"7\":\"1\"},\"order.edit\":{\"1\":\"1\",\"7\":\"1\"},\"order.print\":{\"1\":\"1\",\"7\":\"1\"},\"order.delete\":{\"1\":\"1\",\"7\":\"1\"},\"order.logisticsPlan\":{\"1\":\"1\",\"7\":\"1\"},\"order.deliveryEdit\":{\"1\":\"1\",\"7\":\"1\"},\"order.closeRow\":{\"1\":\"1\",\"7\":\"1\"},\"order.closeAllRow\":{\"1\":\"1\",\"7\":\"1\"},\"order.batchEdit\":{\"1\":\"1\",\"7\":\"1\"},\"cancel.audit\":{\"1\":\"1\",\"7\":\"1\"},\"cancel.recall\":{\"1\":\"1\",\"7\":\"1\"},\"cancel.abort\":{\"1\":\"1\",\"7\":\"1\"},\"cancel.create\":{\"1\":\"1\",\"7\":\"1\"},\"cancel.edit\":{\"1\":\"1\",\"7\":\"1\"},\"cancel.print\":{\"1\":\"1\",\"7\":\"1\"},\"cancel.delete\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.index\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.detail\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.audit\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.recall\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.abort\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.show\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.create\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.edit\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.close\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.print\":{\"1\":\"1\",\"7\":\"1\"},\"sampleApply.delete\":{\"1\":\"1\",\"7\":\"1\"},\"plan.index\":{\"1\":\"1\",\"7\":\"1\"},\"plan.produce\":{\"1\":\"1\",\"7\":\"1\"},\"plan.export_sale\":{\"1\":\"1\",\"7\":\"1\"},\"plan.produce_save\":{\"1\":\"1\",\"7\":\"1\"},\"plan.produce_submit\":{\"1\":\"1\",\"7\":\"1\"},\"type.index\":{\"1\":\"1\",\"7\":\"1\"},\"type.create\":{\"1\":\"1\",\"7\":\"1\"},\"type.edit\":{\"1\":\"1\",\"7\":\"1\"},\"type.delete\":{\"1\":\"1\",\"7\":\"1\"},\"logistics.index\":{\"1\":\"1\",\"7\":\"1\"},\"logistics.create\":{\"1\":\"1\",\"7\":\"1\"},\"logistics.edit\":{\"1\":\"1\",\"7\":\"1\"},\"logistics.show\":{\"1\":\"1\",\"7\":\"1\"},\"logistics.delete\":{\"1\":\"1\",\"7\":\"1\"},\"report.index\":{\"1\":\"1\",\"7\":\"1\"},\"report.category\":{\"1\":\"1\",\"7\":\"1\"},\"report.single\":{\"1\":\"1\",\"7\":\"1\"},\"report.city\":{\"1\":\"1\",\"7\":\"1\"},\"report.client\":{\"1\":\"1\",\"7\":\"1\"},\"report.ranking\":{\"1\":\"1\",\"7\":\"1\"},\"report.newclient\":{\"1\":\"1\",\"7\":\"1\"},\"report.stockmonth\":{\"1\":\"1\",\"7\":\"1\"}}');
INSERT INTO `user_asset` VALUES (4, 'calendar', '{\"calendar.index\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"calendar.calendar\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"calendar.add\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"calendar.delete\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"calendar.active\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"event.index\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"event.view\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"event.add\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"event.edit\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"event.delete\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"event.move\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"event.resize\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"calendar.view\":{\"17\":\"1\",\"55\":\"1\",\"38\":\"1\",\"52\":\"1\",\"53\":\"1\",\"26\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"62\":\"1\",\"91\":\"1\",\"90\":\"1\",\"92\":\"1\",\"93\":\"1\",\"12\":\"1\",\"13\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"19\":\"1\",\"94\":\"1\",\"96\":\"1\",\"58\":\"1\",\"72\":\"1\",\"75\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"}}');
INSERT INTO `user_asset` VALUES (5, 'message', '{\"message.index\":{\"17\":\"1\",\"26\":\"1\",\"27\":\"1\",\"52\":\"1\",\"16\":\"1\",\"33\":\"1\",\"51\":\"1\",\"24\":\"1\",\"53\":\"1\",\"19\":\"1\",\"47\":\"1\",\"32\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"30\":\"1\",\"28\":\"1\",\"43\":\"1\",\"44\":\"1\",\"37\":\"1\",\"42\":\"1\",\"29\":\"1\",\"45\":\"1\",\"25\":\"1\",\"38\":\"1\",\"46\":\"1\",\"39\":\"1\",\"50\":\"1\",\"31\":\"1\",\"49\":\"1\",\"40\":\"1\",\"34\":\"1\",\"48\":\"1\",\"35\":\"1\",\"36\":\"1\",\"56\":\"1\",\"60\":\"1\",\"54\":\"1\",\"82\":\"1\",\"83\":\"1\",\"84\":\"1\",\"18\":\"1\",\"69\":\"1\",\"2\":\"1\",\"41\":\"1\"},\"message.view\":{\"16\":\"1\",\"17\":\"1\",\"19\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"26\":\"1\",\"27\":\"1\",\"28\":\"1\",\"29\":\"1\",\"30\":\"1\",\"31\":\"1\",\"32\":\"1\",\"33\":\"1\",\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"42\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"46\":\"1\",\"47\":\"1\",\"48\":\"1\",\"49\":\"1\",\"50\":\"1\",\"52\":\"1\",\"53\":\"1\",\"51\":\"1\",\"56\":\"1\",\"60\":\"1\",\"54\":\"1\",\"18\":\"1\",\"69\":\"1\",\"2\":\"1\",\"41\":\"1\"},\"message.add\":{\"17\":\"1\",\"26\":\"1\",\"27\":\"1\",\"52\":\"1\",\"16\":\"1\",\"33\":\"1\",\"51\":\"1\",\"24\":\"1\",\"53\":\"1\",\"19\":\"1\",\"47\":\"1\",\"32\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"30\":\"1\",\"28\":\"1\",\"43\":\"1\",\"44\":\"1\",\"37\":\"1\",\"42\":\"1\",\"29\":\"1\",\"45\":\"1\",\"25\":\"1\",\"38\":\"1\",\"46\":\"1\",\"39\":\"1\",\"50\":\"1\",\"31\":\"1\",\"49\":\"1\",\"40\":\"1\",\"34\":\"1\",\"48\":\"1\",\"35\":\"1\",\"36\":\"1\",\"56\":\"1\",\"60\":\"1\",\"54\":\"1\",\"18\":\"1\",\"69\":\"1\",\"41\":\"1\"},\"message.delete\":{\"17\":\"1\",\"26\":\"1\",\"27\":\"1\",\"52\":\"1\",\"33\":\"1\",\"51\":\"1\",\"24\":\"1\",\"53\":\"1\",\"19\":\"1\",\"47\":\"1\",\"32\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"30\":\"1\",\"28\":\"1\",\"43\":\"1\",\"44\":\"1\",\"37\":\"1\",\"42\":\"1\",\"16\":\"1\",\"29\":\"1\",\"45\":\"1\",\"25\":\"1\",\"38\":\"1\",\"46\":\"1\",\"39\":\"1\",\"50\":\"1\",\"31\":\"1\",\"49\":\"1\",\"40\":\"1\",\"34\":\"1\",\"48\":\"1\",\"35\":\"1\",\"36\":\"1\",\"56\":\"1\",\"60\":\"1\",\"54\":\"1\",\"82\":\"1\",\"83\":\"1\",\"84\":\"1\",\"18\":\"1\",\"69\":\"1\",\"41\":\"1\"}}');
INSERT INTO `user_asset` VALUES (6, 'forum', '{\"post.index\":{\"17\":\"4\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"4\",\"61\":\"4\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"35\":\"1\",\"50\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"3\",\"63\":\"1\",\"2\":\"1\",\"58\":\"1\",\"75\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"post.view\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"35\":\"1\",\"50\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"58\":\"1\",\"75\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"post.add\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"1\",\"56\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"35\":\"1\",\"50\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"58\":\"1\",\"75\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"post.delete\":{\"17\":\"1\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"48\":\"1\",\"51\":\"1\",\"56\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"35\":\"1\",\"50\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"2\":\"1\",\"75\":\"1\",\"89\":\"1\",\"1\":\"1\"},\"category.index\":{\"17\":\"1\",\"52\":\"1\",\"55\":\"1\",\"61\":\"1\",\"37\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"34\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"category.add\":{\"17\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"34\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"category.delete\":{\"17\":\"1\",\"61\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"category.view\":{\"17\":\"1\",\"52\":\"1\",\"55\":\"1\",\"61\":\"1\",\"37\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"34\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"post.category\":{\"17\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"30\":\"1\",\"27\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"},\"post.reply\":{\"17\":\"1\",\"55\":\"1\",\"61\":\"1\",\"117\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"119\":\"1\",\"134\":\"1\",\"79\":\"1\",\"63\":\"1\",\"58\":\"1\",\"75\":\"1\",\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (7, 'workflow', '{\"bill.index\":{\"1\":\"1\"},\"bill.show\":{\"1\":\"1\"},\"bill.create\":{\"1\":\"1\"},\"bill.edit\":{\"1\":\"1\"},\"bill.delete\":{\"1\":\"1\"},\"category.index\":{\"1\":\"1\"},\"category.create\":{\"1\":\"1\"},\"category.edit\":{\"1\":\"1\"},\"category.delete\":{\"1\":\"1\"},\"template.index\":{\"1\":\"1\"},\"template.create\":{\"1\":\"1\"},\"template.edit\":{\"1\":\"1\"},\"template.delete\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (11, 'promotion', '{\"promotion.index\":{\"17\":\"4\",\"40\":\"4\",\"56\":\"2\",\"134\":\"1\",\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"18\":\"2\",\"21\":\"4\",\"63\":\"4\",\"95\":\"5\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"1\",\"85\":\"5\",\"89\":\"4\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"promotion.show\":{\"17\":\"1\",\"40\":\"1\",\"56\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"64\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"21\":\"1\",\"63\":\"1\",\"95\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"89\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"material.index\":{\"17\":\"4\",\"56\":\"2\",\"87\":\"5\",\"81\":\"5\",\"9\":\"4\",\"42\":\"5\",\"82\":\"5\",\"41\":\"5\",\"8\":\"4\",\"70\":\"4\",\"18\":\"2\",\"21\":\"4\",\"95\":\"5\",\"2\":\"1\",\"73\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"material.show\":{\"17\":\"1\",\"56\":\"1\",\"87\":\"1\",\"81\":\"1\",\"9\":\"1\",\"42\":\"1\",\"82\":\"1\",\"41\":\"1\",\"8\":\"1\",\"70\":\"1\",\"18\":\"1\",\"21\":\"1\",\"95\":\"1\",\"2\":\"1\",\"73\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"promotion.edit\":{\"17\":\"1\",\"56\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"89\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"promotion.print\":{\"17\":\"1\",\"40\":\"1\",\"56\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"89\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"promotion.audit\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"review.index\":{\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"1\",\"85\":\"5\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"review.show\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"review.edit\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"review.audit\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"review.recall\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"review.print\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"promotion.create\":{\"1\":\"1\",\"7\":\"1\"},\"promotion.recall\":{\"1\":\"1\",\"7\":\"1\"},\"promotion.abort\":{\"1\":\"1\",\"7\":\"1\"},\"promotion.delete\":{\"1\":\"1\",\"7\":\"1\"},\"promotion.close\":{\"1\":\"1\",\"7\":\"1\"},\"promotion.batchEdit\":{\"1\":\"1\",\"7\":\"1\"},\"review.create\":{\"1\":\"1\",\"7\":\"1\"},\"review.abort\":{\"1\":\"1\",\"7\":\"1\"},\"review.delete\":{\"1\":\"1\",\"7\":\"1\"},\"review.batchEdit\":{\"1\":\"1\",\"7\":\"1\"},\"material.audit\":{\"1\":\"1\",\"7\":\"1\"},\"material.delete\":{\"1\":\"1\",\"7\":\"1\"}}');
INSERT INTO `user_asset` VALUES (15, 'product', '{\"product.index\":{\"17\":\"1\",\"56\":\"1\",\"36\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"37\":\"1\",\"117\":\"1\",\"88\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"41\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"23\":\"1\",\"24\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"category.index\":{\"17\":\"1\",\"56\":\"1\",\"36\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"37\":\"1\",\"117\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"66\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"unit.index\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"material.index\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"product.create\":{\"7\":\"1\"},\"product.edit\":{\"7\":\"1\"},\"product.import\":{\"7\":\"1\"},\"product.delete\":{\"7\":\"1\"},\"unit.create\":{\"7\":\"1\"},\"unit.edit\":{\"7\":\"1\"},\"unit.delete\":{\"7\":\"1\"},\"material.create\":{\"7\":\"1\"},\"material.edit\":{\"7\":\"1\"},\"material.delete\":{\"7\":\"1\"},\"category.create\":{\"7\":\"1\"},\"category.edit\":{\"7\":\"1\"},\"category.delete\":{\"7\":\"1\"}}');
INSERT INTO `user_asset` VALUES (16, 'file', '{\"certificate.index\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"33\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"94\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"certificate.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"33\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"94\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"certificate.download\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"33\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"94\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"}}');
INSERT INTO `user_asset` VALUES (17, 'user', '{\"user.index\":{\"17\":\"1\",\"26\":\"1\",\"29\":\"1\",\"38\":\"1\",\"52\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"28\":\"1\",\"33\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"group.index\":{\"17\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"position.index\":{\"17\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"role.index\":{\"17\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"department.index\":{\"17\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"77\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"user.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"department.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"role.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"role.config\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"60\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"role.create\":{\"1\":\"1\",\"7\":\"1\"},\"role.edit\":{\"1\":\"1\",\"7\":\"1\"},\"role.delete\":{\"1\":\"1\",\"7\":\"1\"},\"user.create\":{\"1\":\"1\"},\"user.edit\":{\"1\":\"1\"},\"user.import\":{\"1\":\"1\"},\"user.delete\":{\"1\":\"1\"},\"user.secret\":{\"1\":\"1\"},\"department.create\":{\"1\":\"1\"},\"department.edit\":{\"1\":\"1\"},\"department.delete\":{\"1\":\"1\"},\"group.create\":{\"1\":\"1\"},\"group.edit\":{\"1\":\"1\"},\"group.delete\":{\"1\":\"1\"},\"position.create\":{\"1\":\"1\"},\"position.edit\":{\"1\":\"1\"},\"position.delete\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (18, 'model', '{\"model.index\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"model.delete\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"field.index\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"field.type\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"field.delete\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.index\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.delete\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"model.create\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"field.create\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.create\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.edit\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.save\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"template.index\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"template.create\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"step.condition\":{\"17\":\"1\",\"69\":\"1\",\"1\":\"1\"},\"template.delete\":{\"1\":\"1\"},\"step.move\":{\"1\":\"1\"},\"module.index\":{\"1\":\"1\"},\"module.create\":{\"1\":\"1\"},\"module.edit\":{\"1\":\"1\"},\"module.save\":{\"1\":\"1\"},\"module.delete\":{\"1\":\"1\"},\"bill.index\":{\"1\":\"1\"},\"bill.create\":{\"1\":\"1\"},\"bill.show\":{\"1\":\"1\"},\"bill.delete\":{\"1\":\"1\"},\"bill.edit\":{\"1\":\"1\"},\"model.edit\":{\"1\":\"1\"},\"template.edit\":{\"1\":\"1\"},\"field.edit\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (19, 'access', '{\"role.index\":{\"1\":1,\"17\":1},\"role.add\":{\"1\":1},\"role.config\":{\"1\":1,\"17\":1},\"department.index\":{\"1\":1,\"17\":1},\"department.add\":{\"1\":1,\"17\":1},\"department.delete\":{\"1\":1,\"17\":1}}');
INSERT INTO `user_asset` VALUES (20, 'setting', '{\"setting.base\":{\"1\":\"1\",\"17\":\"1\"},\"setting.mail\":{\"1\":\"1\",\"17\":\"1\"},\"setting.im\":{\"1\":\"1\",\"17\":\"1\"},\"setting.upload\":{\"1\":\"1\"},\"setting.image\":{\"1\":\"1\",\"17\":\"1\"},\"setting.sms\":{\"1\":\"1\",\"17\":\"1\"},\"setting.security\":[],\"setting.add\":{\"1\":1},\"cron.index\":{\"1\":\"1\",\"17\":\"1\"},\"cron.add\":{\"1\":\"1\",\"17\":\"1\"},\"cron.run\":{\"1\":\"1\",\"17\":\"1\"},\"cron.delete\":{\"1\":\"1\",\"17\":\"1\"},\"menu.index\":{\"1\":\"1\",\"17\":\"1\"},\"menu.add\":{\"1\":\"1\"},\"menu.delete\":{\"1\":\"1\",\"17\":\"1\"},\"dropdown.index\":{\"1\":1},\"dropdown.add\":{\"1\":1},\"dropdown.delete\":{\"1\":1},\"setting.mail_test\":{\"1\":\"1\",\"17\":\"1\"},\"setting.datetime\":[],\"setting.store\":{\"1\":\"1\",\"17\":\"1\"},\"dictionary.index\":{\"1\":\"1\",\"17\":\"1\"},\"dictionary.create\":{\"1\":\"1\",\"17\":\"1\"},\"dictionary.delete\":{\"1\":\"1\",\"17\":\"1\"},\"setting.index\":{\"1\":\"1\"},\"dict.index\":{\"1\":\"1\",\"17\":\"1\"},\"dict.create\":{\"1\":\"1\",\"17\":\"1\"},\"dict.delete\":{\"1\":\"1\",\"17\":\"1\"},\"widget.index\":{\"17\":\"1\",\"1\":\"1\"},\"widget.create\":{\"17\":\"1\",\"1\":\"1\"},\"widget.delete\":{\"17\":\"1\",\"1\":\"1\"},\"mail.index\":{\"1\":\"1\"},\"mail.create\":{\"1\":\"1\"},\"mail.delete\":{\"1\":\"1\"},\"menu.create\":{\"1\":\"1\",\"17\":\"1\"},\"option.index\":{\"1\":\"1\",\"17\":\"1\"},\"option.create\":{\"1\":\"1\",\"17\":\"1\"},\"option.delete\":{\"1\":\"1\",\"17\":\"1\"},\"mail.add\":{\"1\":\"1\"},\"mail.edit\":{\"1\":\"1\"},\"mail.store\":{\"1\":\"1\"},\"sms.index\":{\"1\":\"1\"},\"sms.add\":{\"1\":\"1\"},\"sms.edit\":{\"1\":\"1\"},\"sms.store\":{\"1\":\"1\"},\"sms.delete\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (22, 'article', '{\"article.index\":{\"17\":\"4\",\"29\":\"1\",\"32\":\"1\",\"36\":\"1\",\"37\":\"3\",\"38\":\"4\",\"39\":\"3\",\"40\":\"3\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"47\":\"1\",\"48\":\"1\",\"51\":\"1\",\"52\":\"4\",\"54\":\"1\",\"56\":\"1\",\"55\":\"4\",\"53\":\"1\",\"26\":\"1\",\"61\":\"4\",\"68\":\"4\",\"117\":\"3\",\"88\":\"4\",\"119\":\"1\",\"153\":\"1\",\"100\":\"1\",\"156\":\"1\",\"157\":\"1\",\"158\":\"1\",\"159\":\"1\",\"80\":\"1\",\"135\":\"1\",\"115\":\"1\",\"118\":\"1\",\"120\":\"1\",\"149\":\"1\",\"134\":\"1\",\"16\":\"3\",\"87\":\"1\",\"81\":\"1\",\"15\":\"3\",\"14\":\"3\",\"9\":\"1\",\"78\":\"3\",\"79\":\"1\",\"31\":\"1\",\"64\":\"1\",\"11\":\"3\",\"35\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"3\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"77\":\"4\",\"71\":\"3\",\"8\":\"1\",\"86\":\"3\",\"70\":\"4\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"4\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"3\",\"72\":\"3\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"article.create\":{\"1\":\"1\"},\"article.edit\":{\"1\":\"1\"},\"article.show\":{\"1\":\"1\"},\"article.reader\":{\"1\":\"1\"},\"article.delete\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (23, 'task', '{\"task.index\":{\"17\":\"4\",\"52\":\"1\",\"19\":\"1\",\"29\":\"1\",\"33\":\"3\",\"51\":\"1\",\"24\":\"1\",\"27\":\"4\",\"26\":\"1\",\"53\":\"1\",\"55\":\"1\",\"47\":\"1\",\"32\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"30\":\"1\",\"28\":\"1\",\"43\":\"1\",\"44\":\"1\",\"37\":\"1\",\"41\":\"1\",\"42\":\"1\",\"16\":\"1\",\"45\":\"1\",\"38\":\"1\",\"46\":\"1\",\"39\":\"1\",\"50\":\"1\",\"40\":\"1\",\"2\":\"1\",\"34\":\"1\",\"48\":\"1\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"18\":\"1\",\"56\":\"1\",\"58\":\"1\",\"60\":\"1\",\"64\":\"1\",\"61\":\"1\",\"65\":\"1\",\"31\":\"3\",\"66\":\"1\"},\"task.receive\":{\"1\":\"1\",\"2\":\"1\",\"16\":\"1\",\"17\":\"4\",\"18\":\"1\",\"19\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"27\":\"1\",\"28\":\"1\",\"29\":\"1\",\"30\":\"1\",\"31\":\"1\",\"32\":\"1\",\"33\":\"1\",\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"41\":\"1\",\"42\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"46\":\"1\",\"47\":\"1\",\"48\":\"1\",\"49\":\"1\",\"50\":\"1\",\"52\":\"1\",\"56\":\"1\"},\"task.analysis\":{\"17\":\"1\",\"40\":\"1\",\"52\":\"1\",\"19\":\"1\",\"27\":\"1\",\"55\":\"1\",\"58\":\"1\",\"64\":\"1\",\"61\":\"1\",\"33\":\"1\",\"66\":\"1\"},\"task.view\":{\"2\":\"1\",\"16\":\"1\",\"17\":\"1\",\"18\":\"1\",\"19\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"27\":\"1\",\"28\":\"1\",\"29\":\"1\",\"30\":\"1\",\"31\":\"1\",\"32\":\"1\",\"33\":\"1\",\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"41\":\"1\",\"42\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"46\":\"1\",\"47\":\"1\",\"48\":\"1\",\"49\":\"1\",\"50\":\"1\",\"52\":\"1\",\"56\":\"1\",\"51\":\"1\",\"26\":\"1\",\"53\":\"1\",\"55\":\"1\",\"58\":\"1\",\"60\":\"1\",\"64\":\"1\",\"61\":\"1\",\"65\":\"1\",\"66\":\"1\"},\"task.add\":{\"17\":\"1\",\"52\":\"1\",\"19\":\"1\",\"27\":\"1\",\"55\":\"1\",\"58\":\"1\",\"64\":\"1\",\"61\":\"1\",\"33\":\"1\"},\"task.delete\":{\"17\":\"1\",\"52\":\"1\",\"27\":\"1\",\"55\":\"1\",\"58\":\"1\",\"64\":\"1\",\"61\":\"1\"},\"task.audit\":{\"17\":\"1\",\"52\":\"1\",\"27\":\"1\",\"55\":\"1\",\"58\":\"1\",\"64\":\"1\",\"61\":\"1\",\"33\":\"1\"},\"task.comment\":{\"2\":\"1\",\"16\":\"1\",\"17\":\"1\",\"18\":\"1\",\"19\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"27\":\"1\",\"28\":\"1\",\"29\":\"1\",\"30\":\"1\",\"31\":\"1\",\"32\":\"1\",\"33\":\"1\",\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"37\":\"1\",\"38\":\"1\",\"39\":\"1\",\"40\":\"1\",\"41\":\"1\",\"42\":\"1\",\"43\":\"1\",\"44\":\"1\",\"45\":\"1\",\"46\":\"1\",\"47\":\"1\",\"48\":\"1\",\"49\":\"1\",\"50\":\"1\",\"52\":\"1\",\"56\":\"1\",\"26\":\"1\",\"53\":\"1\",\"55\":\"1\",\"58\":\"1\",\"60\":\"1\",\"64\":\"1\",\"61\":\"1\",\"65\":\"1\",\"66\":\"1\"}}');
INSERT INTO `user_asset` VALUES (26, 'customer', '{\"complaint.index\":{\"10\":\"4\",\"34\":\"4\",\"46\":\"4\",\"82\":\"5\",\"49\":\"4\",\"70\":\"4\",\"33\":\"4\",\"72\":\"4\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"complaint.audit\":{\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"complaint.recall\":{\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"complaint.show\":{\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"complaint.create\":{\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"complaint.edit\":{\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"82\":\"1\",\"49\":\"1\",\"70\":\"1\",\"33\":\"1\",\"72\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"customer.index\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"customer.show\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"customer.create\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"customer.edit\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"tax.index\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"tax.create\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"tax.edit\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"tax.show\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"tax.audit\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"tax.abort\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"contact.index\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"contact.show\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"contact.create\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"contact.edit\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"price.index\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"price.show\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"complaint.print\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"complaint.delete\":{\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"customer.batchEdit\":{\"1\":\"1\",\"7\":\"1\"},\"customer.priceEdit\":{\"1\":\"1\",\"7\":\"1\"},\"customer.delete\":{\"1\":\"1\",\"7\":\"1\"},\"customer.import\":{\"1\":\"1\",\"7\":\"1\"},\"type.index\":{\"1\":\"1\",\"7\":\"1\"},\"type.create\":{\"1\":\"1\",\"7\":\"1\"},\"type.edit\":{\"1\":\"1\",\"7\":\"1\"},\"type.delete\":{\"1\":\"1\",\"7\":\"1\"},\"customerClass.index\":{\"1\":\"1\",\"7\":\"1\"},\"customerClass.create\":{\"1\":\"1\",\"7\":\"1\"},\"customerClass.edit\":{\"1\":\"1\",\"7\":\"1\"},\"customerClass.delete\":{\"1\":\"1\",\"7\":\"1\"},\"region.index\":{\"1\":\"1\",\"7\":\"1\"},\"region.show\":{\"1\":\"1\",\"7\":\"1\"},\"region.create\":{\"1\":\"1\",\"7\":\"1\"},\"region.edit\":{\"1\":\"1\",\"7\":\"1\"},\"region.delete\":{\"1\":\"1\",\"7\":\"1\"},\"tax.delete\":{\"1\":\"1\",\"7\":\"1\"},\"tax.batchEdit\":{\"1\":\"1\",\"7\":\"1\"},\"contact.delete\":{\"1\":\"1\",\"7\":\"1\"},\"task.index\":{\"1\":\"1\",\"7\":\"1\"},\"task.show\":{\"1\":\"1\",\"7\":\"1\"},\"task.create\":{\"1\":\"1\",\"7\":\"1\"},\"task.edit\":{\"1\":\"1\",\"7\":\"1\"},\"task.audit\":{\"1\":\"1\",\"7\":\"1\"},\"task.abort\":{\"1\":\"1\",\"7\":\"1\"},\"task.delete\":{\"1\":\"1\",\"7\":\"1\"},\"task.progress\":{\"1\":\"1\",\"7\":\"1\"},\"regionTask.index\":{\"1\":\"1\",\"7\":\"1\"},\"regionTask.show\":{\"1\":\"1\",\"7\":\"1\"},\"regionTask.create\":{\"1\":\"1\",\"7\":\"1\"},\"regionTask.edit\":{\"1\":\"1\",\"7\":\"1\"},\"regionTask.audit\":{\"1\":\"1\",\"7\":\"1\"},\"regionTask.abort\":{\"1\":\"1\",\"7\":\"1\"},\"regionTask.delete\":{\"1\":\"1\",\"7\":\"1\"},\"regionTask.progress\":{\"1\":\"1\",\"7\":\"1\"},\"price.create\":{\"1\":\"1\",\"7\":\"1\"},\"price.edit\":{\"1\":\"1\",\"7\":\"1\"},\"price.import\":{\"1\":\"1\",\"7\":\"1\"},\"price.delete\":{\"1\":\"1\",\"7\":\"1\"},\"customerApply.index\":{\"1\":\"1\",\"7\":\"1\"},\"customerApply.show\":{\"1\":\"1\",\"7\":\"1\"},\"customerApply.create\":{\"1\":\"1\",\"7\":\"1\"},\"customerApply.edit\":{\"1\":\"1\",\"7\":\"1\"},\"customerApply.delete\":{\"1\":\"1\",\"7\":\"1\"},\"customerApply.audit\":{\"1\":\"1\",\"7\":\"1\"},\"customerApply.recall\":{\"1\":\"1\",\"7\":\"1\"},\"customerApply.abort\":{\"1\":\"1\",\"7\":\"1\"},\"complaint.abort\":{\"1\":\"1\",\"7\":\"1\"}}');
INSERT INTO `user_asset` VALUES (29, 'supplier', '{\"supplier.index\":{\"17\":\"4\",\"34\":\"4\",\"31\":\"4\",\"54\":\"1\",\"49\":\"4\",\"27\":\"4\",\"52\":\"1\",\"37\":\"4\",\"64\":\"4\",\"45\":\"4\"},\"supplier.search\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"27\":\"1\",\"52\":\"1\",\"49\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"supplier.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"54\":\"1\",\"49\":\"1\",\"27\":\"1\",\"52\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"supplier.create\":{\"17\":\"1\",\"49\":\"1\",\"31\":\"1\"},\"supplier.delete\":{\"17\":\"1\"},\"contact.index\":{\"17\":\"4\",\"34\":\"4\",\"31\":\"4\",\"54\":\"1\",\"27\":\"4\",\"49\":\"1\",\"37\":\"4\",\"64\":\"4\"},\"contact.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"54\":\"1\",\"27\":\"1\",\"49\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"contact.delete\":{\"17\":\"1\"},\"order.index\":{\"17\":\"4\",\"34\":\"4\",\"31\":\"4\",\"48\":\"4\",\"54\":\"1\",\"25\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"order.create\":{\"17\":\"1\",\"48\":\"1\",\"25\":\"1\"},\"order.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"48\":\"1\",\"54\":\"1\",\"25\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"order.delete\":{\"17\":\"1\",\"34\":\"1\",\"48\":\"1\",\"25\":\"1\"},\"goods.index\":{\"1\":\"1\",\"17\":\"1\"},\"goods.create\":{\"1\":\"1\",\"17\":\"1\"},\"goods.show\":{\"1\":\"1\",\"17\":\"1\"},\"goods.delete\":{\"1\":\"1\",\"17\":\"1\"},\"product.index\":{\"17\":\"4\",\"34\":\"4\",\"31\":\"4\",\"48\":\"4\",\"54\":\"1\",\"49\":\"4\",\"27\":\"4\",\"37\":\"1\",\"64\":\"4\",\"29\":\"4\"},\"product.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"48\":\"1\",\"54\":\"1\",\"49\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\",\"29\":\"1\"},\"product.create\":{\"31\":\"1\",\"17\":\"1\"},\"product.delete\":{\"17\":\"1\",\"31\":\"1\"},\"product-category.index\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"48\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"product-category.show\":{\"17\":\"1\",\"34\":\"1\",\"31\":\"1\",\"48\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"product-category.create\":{\"17\":\"1\",\"31\":\"1\"},\"product-category.delete\":{\"17\":\"1\"},\"contact.create\":{\"17\":\"1\",\"49\":\"1\",\"31\":\"1\"},\"order.edit\":{\"1\":\"1\",\"34\":\"1\",\"48\":\"1\",\"17\":\"1\"},\"goods.edit\":{\"1\":\"1\"},\"plan.index\":{\"34\":\"4\",\"17\":\"4\",\"31\":\"4\",\"41\":\"4\",\"48\":\"4\",\"54\":\"1\",\"25\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"plan.create\":{\"34\":\"1\",\"17\":\"1\"},\"plan.show\":{\"34\":\"1\",\"17\":\"1\",\"31\":\"1\",\"41\":\"1\",\"48\":\"1\",\"54\":\"1\",\"25\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"plan.edit\":{\"1\":\"1\",\"34\":\"1\",\"17\":\"1\",\"41\":\"1\"},\"plan.delete\":{\"34\":\"1\",\"17\":\"1\"},\"stock.index\":{\"34\":\"4\",\"17\":\"4\",\"31\":\"4\",\"48\":\"4\",\"54\":\"1\",\"25\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"stock.create\":{\"17\":\"1\",\"25\":\"1\"},\"stock.show\":{\"34\":\"1\",\"17\":\"1\",\"31\":\"1\",\"48\":\"1\",\"54\":\"1\",\"25\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"stock.edit\":{\"1\":\"1\",\"34\":\"1\",\"17\":\"1\"},\"stock.delete\":{\"34\":\"1\",\"17\":\"1\"},\"stock.report\":{\"17\":\"4\",\"31\":\"1\",\"48\":\"4\",\"34\":\"1\",\"25\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"quality.index\":{\"54\":\"1\",\"17\":\"4\",\"34\":\"4\",\"25\":\"4\",\"45\":\"4\",\"29\":\"4\",\"31\":\"4\",\"41\":\"4\",\"49\":\"4\",\"27\":\"4\",\"52\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"quality.show\":{\"54\":\"1\",\"17\":\"1\",\"34\":\"1\",\"25\":\"1\",\"45\":\"1\",\"29\":\"1\",\"31\":\"1\",\"41\":\"1\",\"49\":\"1\",\"27\":\"1\",\"52\":\"1\",\"64\":\"1\"},\"quality.report\":{\"17\":\"4\",\"34\":\"4\",\"45\":\"4\",\"29\":\"4\",\"31\":\"4\",\"41\":\"4\",\"49\":\"4\",\"27\":\"4\",\"52\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"quality.create\":{\"34\":\"1\",\"45\":\"1\",\"29\":\"1\",\"31\":\"1\",\"17\":\"1\"},\"quality.delete\":{\"17\":\"1\",\"34\":\"1\",\"45\":\"1\",\"29\":\"1\"},\"inventory.index\":{\"54\":\"1\",\"34\":\"4\",\"17\":\"4\",\"27\":\"4\"},\"inventory.create\":{\"54\":\"1\",\"17\":\"1\"},\"inventory.show\":{\"54\":\"1\",\"34\":\"1\",\"17\":\"1\",\"27\":\"1\"},\"inventory.delete\":{\"34\":\"1\",\"17\":\"1\",\"54\":\"1\"},\"quality.edit\":{\"54\":\"1\",\"17\":\"1\",\"29\":\"1\",\"31\":\"1\",\"41\":\"1\",\"45\":\"1\"},\"order.count\":{\"34\":\"1\",\"17\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"order.count_show\":{\"34\":\"1\",\"17\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"plan.status\":{\"34\":\"1\",\"17\":\"1\",\"27\":\"1\"},\"order.status\":{\"34\":\"1\",\"17\":\"1\",\"27\":\"1\"},\"budget.index\":{\"34\":\"4\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"17\":\"4\",\"27\":\"4\",\"64\":\"4\"},\"budget.create\":{\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"17\":\"1\"},\"budget.summary\":{\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"17\":\"1\",\"27\":\"1\"},\"budget.show\":{\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"17\":\"1\",\"27\":\"1\",\"64\":\"1\"},\"budget.delete\":{\"34\":\"1\",\"35\":\"1\",\"36\":\"1\",\"25\":\"1\",\"17\":\"1\"},\"product.import\":{\"17\":\"1\"},\"inventory.report\":{\"17\":\"4\",\"27\":\"4\"},\"price.index\":{\"17\":\"4\",\"49\":\"4\",\"31\":\"4\",\"27\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"price.show\":{\"17\":\"1\",\"49\":\"1\",\"31\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"price.create\":{\"17\":\"1\",\"49\":\"1\"},\"price.delete\":{\"17\":\"1\",\"49\":\"1\",\"31\":\"1\"},\"settlement.index\":{\"49\":\"4\",\"17\":\"4\",\"31\":\"4\",\"54\":\"1\",\"27\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"settlement.show\":{\"49\":\"1\",\"17\":\"1\",\"31\":\"1\",\"54\":\"1\",\"27\":\"1\",\"37\":\"1\",\"64\":\"1\"},\"settlement.create\":{\"17\":\"1\",\"31\":\"1\",\"49\":\"1\"},\"settlement.delete\":{\"17\":\"1\"},\"purchase.index\":{\"1\":\"1\",\"31\":\"1\",\"49\":\"1\",\"17\":\"1\"},\"purchase.create\":{\"1\":\"1\",\"31\":\"1\",\"17\":\"1\"},\"purchase.show\":{\"1\":\"1\",\"31\":\"1\",\"49\":\"1\",\"17\":\"1\"},\"purchase.delete\":{\"1\":\"1\",\"31\":\"1\",\"17\":\"1\"},\"order.overtime\":{\"17\":\"1\",\"34\":\"1\",\"48\":\"1\",\"25\":\"1\"},\"purchase-plan.index\":[],\"purchase-plan.create\":[],\"purchase-plan.order\":[],\"purchase-plan.show\":[],\"purchase-plan.status\":[],\"purchase-plan.delete\":[],\"purchase-order.index\":[],\"purchase-order.create\":[],\"purchase-order.show\":[],\"purchase-order.status\":[],\"purchase-order.delete\":[],\"price.edit\":{\"49\":\"1\",\"31\":\"1\",\"17\":\"1\"},\"settlement.count\":{\"54\":\"1\",\"31\":\"4\",\"49\":\"4\",\"64\":\"4\",\"17\":\"4\"},\"report.deliver\":{\"17\":\"4\",\"54\":\"1\",\"49\":\"4\",\"31\":\"4\",\"34\":\"4\",\"37\":\"1\",\"25\":\"4\"},\"report.years\":{\"17\":\"4\",\"54\":\"1\",\"49\":\"4\",\"31\":\"4\",\"41\":\"4\",\"37\":\"1\",\"64\":\"4\"},\"product.print\":{\"17\":\"1\"}}');
INSERT INTO `user_asset` VALUES (34, 'approach', '{\"approach.index\":{\"56\":\"2\",\"17\":\"4\",\"53\":\"4\",\"47\":\"4\",\"117\":\"1\",\"134\":\"1\",\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"18\":\"2\",\"63\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"89\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"approach.show\":{\"56\":\"1\",\"17\":\"1\",\"53\":\"1\",\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"64\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"89\":\"1\"},\"approach.create\":{\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\"},\"approach.edit\":{\"56\":\"1\",\"17\":\"1\",\"53\":\"1\",\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"89\":\"1\"},\"approach.print\":{\"56\":\"1\",\"17\":\"1\",\"53\":\"1\",\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"18\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"89\":\"1\"},\"approach.delete\":{\"47\":\"1\",\"117\":\"1\",\"134\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"19\":\"1\",\"72\":\"1\"},\"market.index\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"82\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"1\":\"1\"},\"market.create\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"market.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"market.delete\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"1\":\"1\"},\"approach.audit\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\"},\"approach.recall\":{\"134\":\"1\",\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\"},\"review.index\":{\"16\":\"4\",\"87\":\"5\",\"81\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"1\":\"1\"},\"review.show\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\"},\"review.edit\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\"},\"review.audit\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\"},\"review.recall\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\"},\"review.print\":{\"16\":\"1\",\"87\":\"1\",\"81\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"86\":\"1\",\"70\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\"},\"approach.abort\":{\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"approach.close\":{\"1\":\"1\"},\"approach.batchEdit\":{\"1\":\"1\"},\"review.create\":{\"1\":\"1\"},\"review.abort\":{\"1\":\"1\"},\"review.delete\":{\"1\":\"1\"},\"review.batchEdit\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (35, 'purchase', '{\"order.index\":{\"57\":\"1\",\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"92\":\"4\",\"20\":\"4\",\"21\":\"4\",\"22\":\"4\",\"30\":\"4\",\"27\":\"1\",\"63\":\"4\",\"19\":\"4\",\"72\":\"4\",\"1\":\"1\",\"7\":\"1\"},\"order.show\":{\"57\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"27\":\"1\",\"63\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"supplier.index\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"92\":\"4\",\"20\":\"4\",\"22\":\"4\",\"30\":\"4\",\"27\":\"4\",\"19\":\"4\",\"72\":\"4\",\"1\":\"1\",\"7\":\"1\"},\"supplier.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"22\":\"1\",\"30\":\"1\",\"27\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"order.edit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"order.audit\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"19\":\"1\",\"72\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"order.recall\":{\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"92\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"30\":\"1\",\"1\":\"1\",\"7\":\"1\"}}');
INSERT INTO `user_asset` VALUES (36, 'flow', '{\"app.index\":{\"1\":\"1\"},\"app.create\":{\"1\":\"1\"},\"app.show\":{\"1\":\"1\"},\"app.delete\":{\"1\":\"1\"},\"model.index\":{\"1\":\"1\"},\"model.create\":{\"1\":\"1\"},\"model.view\":{\"1\":\"1\"},\"model.delete\":{\"1\":\"1\"},\"template.index\":{\"1\":\"1\"},\"template.create\":{\"1\":\"1\"},\"template.delete\":{\"1\":\"1\"},\"field.index\":{\"1\":\"1\"},\"field.create\":{\"1\":\"1\"},\"field.type\":{\"1\":\"1\"},\"field.delete\":{\"1\":\"1\"},\"action.index\":{\"1\":\"1\"},\"action.create\":{\"1\":\"1\"},\"action.delete\":{\"1\":\"1\"},\"step.index\":{\"1\":\"1\"},\"step.create\":{\"1\":\"1\"},\"step.edit\":{\"1\":\"1\"},\"step.save\":{\"1\":\"1\"},\"step.condition\":{\"1\":\"1\"},\"step.delete\":{\"1\":\"1\"},\"step.move\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (37, 'project', '{\"project.index\":{\"17\":\"4\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"3\",\"37\":\"3\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"3\",\"45\":\"1\",\"38\":\"3\",\"39\":\"3\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"3\",\"15\":\"3\",\"14\":\"3\",\"9\":\"4\",\"78\":\"3\",\"31\":\"1\",\"64\":\"1\",\"69\":\"4\",\"11\":\"3\",\"35\":\"1\",\"50\":\"1\",\"10\":\"3\",\"34\":\"3\",\"46\":\"1\",\"49\":\"1\",\"71\":\"3\",\"8\":\"4\",\"86\":\"3\",\"70\":\"4\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"3\",\"33\":\"3\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"3\",\"58\":\"3\",\"72\":\"3\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"project.show\":{\"17\":\"1\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"task.index\":{\"17\":\"1\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"task.show\":{\"17\":\"1\",\"53\":\"1\",\"40\":\"1\",\"52\":\"1\",\"55\":\"1\",\"37\":\"1\",\"51\":\"1\",\"43\":\"1\",\"44\":\"1\",\"47\":\"1\",\"32\":\"1\",\"29\":\"1\",\"45\":\"1\",\"38\":\"1\",\"39\":\"1\",\"48\":\"1\",\"36\":\"1\",\"56\":\"1\",\"26\":\"1\",\"61\":\"1\",\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"31\":\"1\",\"64\":\"1\",\"69\":\"1\",\"11\":\"1\",\"35\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"46\":\"1\",\"49\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"59\":\"1\",\"60\":\"1\",\"91\":\"1\",\"92\":\"1\",\"18\":\"1\",\"20\":\"1\",\"21\":\"1\",\"22\":\"1\",\"23\":\"1\",\"24\":\"1\",\"25\":\"1\",\"28\":\"1\",\"33\":\"1\",\"30\":\"1\",\"27\":\"1\",\"73\":\"1\",\"19\":\"1\",\"58\":\"1\",\"72\":\"1\",\"76\":\"1\",\"89\":\"1\",\"1\":\"1\",\"7\":\"1\",\"83\":\"1\"},\"project.add\":{\"1\":\"1\"},\"project.edit\":{\"1\":\"1\"},\"project.delete\":{\"1\":\"1\"},\"task.add\":{\"1\":\"1\"},\"task.edit\":{\"1\":\"1\"},\"task.delete\":{\"1\":\"1\"},\"comment.add\":{\"1\":\"1\"},\"comment.edit\":{\"1\":\"1\"},\"comment.delete\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (39, 'system', '{\"setting.index\":{\"70\":\"1\",\"1\":\"1\"},\"setting.store\":{\"70\":\"1\",\"1\":\"1\"},\"mail.index\":{\"70\":\"1\",\"1\":\"1\"},\"mail.edit\":{\"70\":\"1\",\"1\":\"1\"},\"mail.store\":{\"70\":\"1\",\"1\":\"1\"},\"mail.delete\":{\"70\":\"1\",\"1\":\"1\"},\"sms.index\":{\"70\":\"1\",\"1\":\"1\"},\"sms.edit\":{\"70\":\"1\",\"1\":\"1\"},\"sms.store\":{\"70\":\"1\",\"1\":\"1\"},\"sms.delete\":{\"70\":\"1\",\"1\":\"1\"},\"menu.index\":{\"70\":\"1\",\"1\":\"1\"},\"menu.create\":{\"70\":\"1\",\"1\":\"1\"},\"menu.delete\":{\"70\":\"1\",\"1\":\"1\"},\"region.index\":{\"70\":\"1\",\"1\":\"1\"},\"region.create\":{\"70\":\"1\",\"1\":\"1\"},\"region.edit\":{\"70\":\"1\",\"1\":\"1\"},\"region.delete\":{\"70\":\"1\",\"1\":\"1\"},\"widget.index\":{\"1\":\"1\"},\"widget.delete\":{\"1\":\"1\"},\"option.index\":{\"1\":\"1\"},\"option.create\":{\"1\":\"1\"},\"option.delete\":{\"1\":\"1\"},\"setting.create\":{\"1\":\"1\"},\"setting.edit\":{\"1\":\"1\"},\"setting.delete\":{\"1\":\"1\"},\"mail.create\":{\"1\":\"1\"},\"sms.create\":{\"1\":\"1\"},\"option.edit\":{\"1\":\"1\"},\"log.index\":{\"1\":\"1\"},\"log.delete\":{\"1\":\"1\"},\"widget.edit\":{\"1\":\"1\"},\"menu.edit\":{\"1\":\"1\"},\"smsLog.index\":{\"1\":\"1\"},\"smsLog.delete\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (40, 'market', '{\"cost.index\":{\"\":\"1\",\"79\":\"1\",\"2\":\"1\",\"82\":\"5\",\"83\":\"5\",\"84\":\"5\",\"78\":\"5\",\"81\":\"5\",\"41\":\"5\",\"72\":\"4\",\"70\":\"4\",\"1\":\"1\"},\"cost.show\":{\"\":\"1\",\"79\":\"1\",\"2\":\"1\",\"82\":\"1\",\"83\":\"1\",\"84\":\"1\",\"78\":\"1\",\"81\":\"1\",\"41\":\"1\",\"72\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"cost.create\":{\"\":\"1\",\"72\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"cost.edit\":{\"\":\"1\",\"72\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"cost.print\":{\"70\":\"1\"},\"cost.delete\":{\"\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"cost.close\":{\"\":\"1\",\"72\":\"1\",\"1\":\"1\"},\"cost.audit\":{\"\":\"1\",\"72\":\"1\",\"70\":\"1\",\"1\":\"1\"},\"cost.abort\":{\"\":\"1\",\"72\":\"1\",\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (41, 'stock', '{\"delivery.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"31\":\"4\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"34\":\"4\",\"82\":\"5\",\"49\":\"1\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"23\":\"4\",\"33\":\"4\",\"30\":\"4\",\"66\":\"4\",\"27\":\"4\",\"63\":\"4\",\"2\":\"1\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"delivery.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"31\":\"1\",\"11\":\"1\",\"42\":\"1\",\"50\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"49\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"23\":\"1\",\"33\":\"1\",\"30\":\"1\",\"66\":\"1\",\"27\":\"1\",\"63\":\"1\",\"2\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"delivery.detail\":{\"1\":\"1\"},\"delivery.create\":{\"1\":\"1\"},\"delivery.edit\":{\"1\":\"1\"},\"delivery.audit\":{\"1\":\"1\"},\"delivery.recall\":{\"1\":\"1\"},\"delivery.abort\":{\"1\":\"1\"},\"delivery.print\":{\"1\":\"1\"},\"delivery.delete\":{\"1\":\"1\"},\"delivery.batchEdit\":{\"1\":\"1\"},\"direct.index\":{\"1\":\"1\"},\"direct.show\":{\"1\":\"1\"},\"direct.create\":{\"1\":\"1\"},\"direct.edit\":{\"1\":\"1\"},\"direct.audit\":{\"1\":\"1\"},\"direct.recall\":{\"1\":\"1\"},\"direct.abort\":{\"1\":\"1\"},\"direct.print\":{\"1\":\"1\"},\"direct.delete\":{\"1\":\"1\"},\"allocation.index\":{\"1\":\"1\"},\"allocation.show\":{\"1\":\"1\"},\"allocation.create\":{\"1\":\"1\"},\"allocation.edit\":{\"1\":\"1\"},\"allocation.audit\":{\"1\":\"1\"},\"allocation.recall\":{\"1\":\"1\"},\"allocation.abort\":{\"1\":\"1\"},\"allocation.print\":{\"1\":\"1\"},\"allocation.delete\":{\"1\":\"1\"},\"cancel.index\":{\"1\":\"1\"},\"cancel.show\":{\"1\":\"1\"},\"cancel.create\":{\"1\":\"1\"},\"cancel.edit\":{\"1\":\"1\"},\"cancel.audit\":{\"1\":\"1\"},\"cancel.recall\":{\"1\":\"1\"},\"cancel.abort\":{\"1\":\"1\"},\"cancel.print\":{\"1\":\"1\"},\"cancel.delete\":{\"1\":\"1\"},\"cancel.batchEdit\":{\"1\":\"1\"},\"record01.index\":{\"1\":\"1\"},\"record01.show\":{\"1\":\"1\"},\"record01.create\":{\"1\":\"1\"},\"record01.edit\":{\"1\":\"1\"},\"record01.audit\":{\"1\":\"1\"},\"record01.recall\":{\"1\":\"1\"},\"record01.abort\":{\"1\":\"1\"},\"record01.print\":{\"1\":\"1\"},\"record01.delete\":{\"1\":\"1\"},\"record10.index\":{\"1\":\"1\"},\"record10.show\":{\"1\":\"1\"},\"record10.create\":{\"1\":\"1\"},\"record10.edit\":{\"1\":\"1\"},\"record10.audit\":{\"1\":\"1\"},\"record10.recall\":{\"1\":\"1\"},\"record10.abort\":{\"1\":\"1\"},\"record10.print\":{\"1\":\"1\"},\"record10.delete\":{\"1\":\"1\"},\"record08.index\":{\"1\":\"1\"},\"record08.show\":{\"1\":\"1\"},\"record08.create\":{\"1\":\"1\"},\"record08.edit\":{\"1\":\"1\"},\"record08.audit\":{\"1\":\"1\"},\"record08.recall\":{\"1\":\"1\"},\"record08.abort\":{\"1\":\"1\"},\"record08.print\":{\"1\":\"1\"},\"record08.delete\":{\"1\":\"1\"},\"record09.index\":{\"1\":\"1\"},\"record09.show\":{\"1\":\"1\"},\"record09.create\":{\"1\":\"1\"},\"record09.edit\":{\"1\":\"1\"},\"record09.audit\":{\"1\":\"1\"},\"record09.recall\":{\"1\":\"1\"},\"record09.abort\":{\"1\":\"1\"},\"record09.print\":{\"1\":\"1\"},\"record09.delete\":{\"1\":\"1\"},\"record11.index\":{\"1\":\"1\"},\"record11.show\":{\"1\":\"1\"},\"record11.create\":{\"1\":\"1\"},\"record11.edit\":{\"1\":\"1\"},\"record11.audit\":{\"1\":\"1\"},\"record11.recall\":{\"1\":\"1\"},\"record11.abort\":{\"1\":\"1\"},\"record11.print\":{\"1\":\"1\"},\"record11.delete\":{\"1\":\"1\"},\"warehouse.index\":{\"1\":\"1\"},\"warehouse.create\":{\"1\":\"1\"},\"warehouse.edit\":{\"1\":\"1\"},\"warehouse.delete\":{\"1\":\"1\"},\"location.index\":{\"1\":\"1\"},\"location.create\":{\"1\":\"1\"},\"location.edit\":{\"1\":\"1\"},\"location.delete\":{\"1\":\"1\"},\"type.index\":{\"1\":\"1\"},\"type.create\":{\"1\":\"1\"},\"type.edit\":{\"1\":\"1\"},\"type.delete\":{\"1\":\"1\"},\"category.index\":{\"1\":\"1\"},\"category.create\":{\"1\":\"1\"},\"category.edit\":{\"1\":\"1\"},\"category.delete\":{\"1\":\"1\"},\"report.stockDetail\":{\"1\":\"1\"},\"report.stockTotal\":{\"1\":\"1\"},\"report.stockInOut\":{\"1\":\"1\"}}');
INSERT INTO `user_asset` VALUES (42, 'produce', '{\"material.index\":{\"16\":\"4\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"20\":\"4\",\"22\":\"4\",\"66\":\"4\",\"19\":\"4\",\"72\":\"4\",\"89\":\"4\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"material.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"plan.index\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"23\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"74\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"plan.count\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"23\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"74\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"plan.audit\":{\"9\":\"1\",\"8\":\"1\",\"66\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"plan.show\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"74\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"plan.print\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\"},\"plan.planExport\":{\"16\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"20\":\"1\",\"22\":\"1\",\"23\":\"1\",\"66\":\"1\",\"19\":\"1\",\"72\":\"1\",\"74\":\"1\",\"89\":\"1\",\"65\":\"1\",\"1\":\"1\",\"7\":\"1\"}}');
INSERT INTO `user_asset` VALUES (43, 'customerCost', '{\"cost.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"79\":\"5\",\"11\":\"4\",\"42\":\"5\",\"10\":\"4\",\"34\":\"4\",\"82\":\"5\",\"41\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"33\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"cost.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"79\":\"1\",\"11\":\"1\",\"42\":\"1\",\"10\":\"1\",\"34\":\"1\",\"82\":\"1\",\"41\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"33\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"adjust.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"82\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"adjust.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"compen.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"82\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"compen.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"rebate.index\":{\"16\":\"4\",\"87\":\"5\",\"15\":\"4\",\"14\":\"4\",\"9\":\"4\",\"78\":\"4\",\"11\":\"4\",\"10\":\"4\",\"82\":\"5\",\"71\":\"4\",\"8\":\"4\",\"86\":\"4\",\"70\":\"4\",\"63\":\"4\",\"73\":\"4\",\"19\":\"4\",\"72\":\"4\",\"75\":\"4\",\"76\":\"4\",\"74\":\"4\",\"85\":\"5\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"rebate.show\":{\"16\":\"1\",\"87\":\"1\",\"15\":\"1\",\"14\":\"1\",\"9\":\"1\",\"78\":\"1\",\"11\":\"1\",\"10\":\"1\",\"82\":\"1\",\"71\":\"1\",\"8\":\"1\",\"86\":\"1\",\"70\":\"1\",\"63\":\"1\",\"73\":\"1\",\"19\":\"1\",\"72\":\"1\",\"75\":\"1\",\"76\":\"1\",\"74\":\"1\",\"85\":\"1\",\"1\":\"1\",\"7\":\"1\",\"84\":\"1\",\"83\":\"1\"},\"cost.create\":{\"1\":\"1\",\"7\":\"1\"},\"cost.close\":{\"1\":\"1\",\"7\":\"1\"},\"cost.edit\":{\"1\":\"1\",\"7\":\"1\"},\"cost.audit\":{\"1\":\"1\",\"7\":\"1\"},\"cost.abort\":{\"1\":\"1\",\"7\":\"1\"},\"cost.print\":{\"1\":\"1\",\"7\":\"1\"},\"cost.delete\":{\"1\":\"1\",\"7\":\"1\"},\"cost.batchEdit\":{\"1\":\"1\",\"7\":\"1\"},\"adjust.create\":{\"1\":\"1\",\"7\":\"1\"},\"adjust.edit\":{\"1\":\"1\",\"7\":\"1\"},\"adjust.audit\":{\"1\":\"1\",\"7\":\"1\"},\"adjust.abort\":{\"1\":\"1\",\"7\":\"1\"},\"adjust.print\":{\"1\":\"1\",\"7\":\"1\"},\"adjust.delete\":{\"1\":\"1\",\"7\":\"1\"},\"compen.create\":{\"1\":\"1\",\"7\":\"1\"},\"compen.edit\":{\"1\":\"1\",\"7\":\"1\"},\"compen.audit\":{\"1\":\"1\",\"7\":\"1\"},\"compen.abort\":{\"1\":\"1\",\"7\":\"1\"},\"compen.print\":{\"1\":\"1\",\"7\":\"1\"},\"compen.delete\":{\"1\":\"1\",\"7\":\"1\"},\"rebate.create\":{\"1\":\"1\",\"7\":\"1\"},\"rebate.edit\":{\"1\":\"1\",\"7\":\"1\"},\"rebate.audit\":{\"1\":\"1\",\"7\":\"1\"},\"rebate.abort\":{\"1\":\"1\",\"7\":\"1\"},\"rebate.print\":{\"1\":\"1\",\"7\":\"1\"},\"rebate.delete\":{\"1\":\"1\",\"7\":\"1\"},\"category.index\":{\"1\":\"1\",\"7\":\"1\"},\"category.show\":{\"1\":\"1\",\"7\":\"1\"},\"category.create\":{\"1\":\"1\",\"7\":\"1\"},\"category.edit\":{\"1\":\"1\",\"7\":\"1\"},\"category.delete\":{\"1\":\"1\",\"7\":\"1\"},\"report.saleOrderDetail\":{\"1\":\"1\",\"7\":\"1\"}}');
INSERT INTO `user_asset` VALUES (46, 'wechat', '{\"config.menu\":{\"1\":\"1\"},\"config.config\":{\"1\":\"1\"}}');

-- ----------------------------
-- Table structure for user_group
-- ----------------------------
DROP TABLE IF EXISTS `user_group`;
CREATE TABLE `user_group`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `system` tinyint(4) NULL DEFAULT NULL COMMENT '系统组',
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `sort` smallint(6) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `remark` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `key` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '标签',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人编号',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_group
-- ----------------------------
INSERT INTO `user_group` VALUES (1, 0, '用户', 0, 0, '1', 1576166300, '0', '', 'user', NULL, NULL, 1);
INSERT INTO `user_group` VALUES (2, 0, '客户', 0, 0, '1', 1574552379, '0', '', 'customer', NULL, NULL, 1);
INSERT INTO `user_group` VALUES (3, 0, '客户联系人', 0, 0, '0', 0, '0', '', 'customer.contact', NULL, NULL, 1);
INSERT INTO `user_group` VALUES (4, 0, '供应商', 0, 0, '1', 1571606910, '0', '', 'supplier', NULL, NULL, 1);
INSERT INTO `user_group` VALUES (5, 0, '供应商联系人', 0, 0, '系统管理员', 1580837787, '0', '', 'supplier.contact', NULL, 1, 1);

-- ----------------------------
-- Table structure for user_log
-- ----------------------------
DROP TABLE IF EXISTS `user_log`;
CREATE TABLE `user_log`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `user_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户名',
  `ip` varchar(15) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'IP地址',
  `error_count` tinyint(4) NULL DEFAULT NULL COMMENT '用户登录错误次数',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '错误时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_user_log_ip`(`ip`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 195 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_log
-- ----------------------------
INSERT INTO `user_log` VALUES (5, NULL, '60.191.117.10', 7, 1592527585);
INSERT INTO `user_log` VALUES (19, NULL, '121.24.87.15', 1, 1592581246);
INSERT INTO `user_log` VALUES (41, NULL, '113.240.131.6', 1, 1592799965);
INSERT INTO `user_log` VALUES (47, NULL, '116.9.185.89', 3, 1592812402);
INSERT INTO `user_log` VALUES (52, NULL, '106.33.11.141', 5, 1592878086);
INSERT INTO `user_log` VALUES (56, NULL, '58.45.40.63', 1, 1592892283);
INSERT INTO `user_log` VALUES (69, NULL, '36.98.240.92', 1, 1592972672);
INSERT INTO `user_log` VALUES (87, NULL, '36.98.227.125', 1, 1593134047);
INSERT INTO `user_log` VALUES (100, NULL, '111.163.142.81', 1, 1593232599);
INSERT INTO `user_log` VALUES (128, NULL, '223.104.216.207', 3, 1593426660);
INSERT INTO `user_log` VALUES (140, NULL, '180.112.168.253', 7, 1593486292);
INSERT INTO `user_log` VALUES (144, NULL, '222.217.155.9', 9, 1593502608);
INSERT INTO `user_log` VALUES (152, NULL, '122.247.210.46', 3, 1593578083);
INSERT INTO `user_log` VALUES (168, NULL, '115.212.133.196', 3, 1593704973);
INSERT INTO `user_log` VALUES (192, NULL, '123.149.213.25', 1, 1593938617);
INSERT INTO `user_log` VALUES (194, NULL, '60.223.94.79', 3, 1593996444);

-- ----------------------------
-- Table structure for user_message
-- ----------------------------
DROP TABLE IF EXISTS `user_message`;
CREATE TABLE `user_message`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `node` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '提醒节点',
  `node_id` int(11) NULL DEFAULT NULL COMMENT '借点ID',
  `url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '消息状态: 0未阅读，1已阅读',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '来自',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '来自',
  `read_at` int(11) NULL DEFAULT NULL COMMENT '阅读时间',
  `read_id` int(11) NULL DEFAULT NULL COMMENT '阅读人ID',
  `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '内容',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_user_message_read_id`(`read_id`) USING BTREE,
  INDEX `idx_user_message_node_id`(`node_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '通知主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_message
-- ----------------------------

-- ----------------------------
-- Table structure for user_position
-- ----------------------------
DROP TABLE IF EXISTS `user_position`;
CREATE TABLE `user_position`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人编号',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人编号',
  `deleted_id` int(11) NULL DEFAULT NULL COMMENT '删除时间',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `status` tinyint(4) NOT NULL DEFAULT 1 COMMENT '状态',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_position
-- ----------------------------
INSERT INTO `user_position` VALUES (1, '总经理', '', 1, 0, '1', 1574026815, '0', NULL, NULL, 1);
INSERT INTO `user_position` VALUES (3, '员工', '', 3, 0, '1', 1572810429, '0', NULL, NULL, 1);
INSERT INTO `user_position` VALUES (6, '总监', '', 4, 0, '0', 0, '0', NULL, NULL, 1);
INSERT INTO `user_position` VALUES (7, '主管', '', 5, 0, '1', 1572810427, '0', NULL, NULL, 1);
INSERT INTO `user_position` VALUES (22, '经理', '', 0, 0, '0', 0, '0', NULL, NULL, 1);
INSERT INTO `user_position` VALUES (24, '助理', '', 0, 1554781502, '系统管理员', 1580837807, '1', NULL, 1, 1);
INSERT INTO `user_position` VALUES (25, '专员', '', 0, 1554968939, '1', 1574626224, '1', NULL, NULL, 1);
INSERT INTO `user_position` VALUES (26, '组长', '', 0, 1554968986, '1', 1574808283, '1', NULL, NULL, 1);

-- ----------------------------
-- Table structure for user_role
-- ----------------------------
DROP TABLE IF EXISTS `user_role`;
CREATE TABLE `user_role`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `user_id` int(11) NOT NULL,
  `role_id` int(11) NOT NULL,
  PRIMARY KEY (`id`, `user_id`, `role_id`) USING BTREE,
  INDEX `idx_user_role_user_id`(`user_id`) USING BTREE,
  INDEX `idx_user_role_id`(`role_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_role
-- ----------------------------
INSERT INTO `user_role` VALUES (1, 1, 1);
INSERT INTO `user_role` VALUES (2, 1, 83);
INSERT INTO `user_role` VALUES (3, 4, 1);

-- ----------------------------
-- Table structure for user_warehouse
-- ----------------------------
DROP TABLE IF EXISTS `user_warehouse`;
CREATE TABLE `user_warehouse`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `user_id` int(11) NOT NULL,
  `warehouse_id` int(11) NOT NULL,
  PRIMARY KEY (`id`, `user_id`, `warehouse_id`) USING BTREE,
  INDEX `idx_user_warehouse_user_id`(`user_id`) USING BTREE,
  INDEX `idx_user_warehouse_id`(`warehouse_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_warehouse
-- ----------------------------
INSERT INTO `user_warehouse` VALUES (1, 1, 136);
INSERT INTO `user_warehouse` VALUES (2, 1, 139);
INSERT INTO `user_warehouse` VALUES (3, 1, 140);
INSERT INTO `user_warehouse` VALUES (4, 1, 153);
INSERT INTO `user_warehouse` VALUES (5, 1, 20003);
INSERT INTO `user_warehouse` VALUES (6, 1, 20005);
INSERT INTO `user_warehouse` VALUES (7, 1, 20006);
INSERT INTO `user_warehouse` VALUES (8, 1, 20007);
INSERT INTO `user_warehouse` VALUES (9, 1, 20048);
INSERT INTO `user_warehouse` VALUES (10, 1, 20051);
INSERT INTO `user_warehouse` VALUES (11, 1, 20053);
INSERT INTO `user_warehouse` VALUES (12, 1, 20054);
INSERT INTO `user_warehouse` VALUES (13, 1, 20056);

-- ----------------------------
-- Table structure for user_widget
-- ----------------------------
DROP TABLE IF EXISTS `user_widget`;
CREATE TABLE `user_widget`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `user_id` int(11) NOT NULL,
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `sort` smallint(6) NULL DEFAULT NULL,
  `color` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `more_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `icon` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `grid` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `type` smallint(6) NULL DEFAULT NULL,
  `code` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `node_id` int(11) NOT NULL DEFAULT 0 COMMENT '节点ID',
  `params` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '参数',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_user_id`(`user_id`) USING BTREE,
  INDEX `idx_node_id`(`node_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 57 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_widget
-- ----------------------------

-- ----------------------------
-- Table structure for warehouse
-- ----------------------------
DROP TABLE IF EXISTS `warehouse`;
CREATE TABLE `warehouse`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `parent_id` int(11) NULL DEFAULT NULL COMMENT '父类编号',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '仓库负责人',
  `lft` int(11) NULL DEFAULT NULL COMMENT '嵌套组左值',
  `rgt` int(11) NULL DEFAULT NULL COMMENT '嵌套组右值',
  `type` tinyint(4) NULL DEFAULT NULL COMMENT '成品库或原料库',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `owner_user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '仓库负责人',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `updated_id` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_warehouse_code`(`code`) USING BTREE,
  INDEX `idx_warehouse_lft_rgt`(`lft`, `rgt`) USING BTREE,
  INDEX `idx_warehouse_parent_id`(`parent_id`) USING BTREE,
  INDEX `idx_warehouse_status`(`status`) USING BTREE,
  INDEX `idx_warehouse_name`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20057 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of warehouse
-- ----------------------------
INSERT INTO `warehouse` VALUES (136, '07', 0, 0, 0, 0, 1, '低值易耗品库', NULL, 1, 0, NULL, '系统管理员', 1613455246, 1, '', NULL, 1);
INSERT INTO `warehouse` VALUES (139, '10', 0, 0, 0, 0, 1, '成品库小菜库', NULL, 1, 0, NULL, '系统管理员', 1613455261, 1, '', NULL, 1);
INSERT INTO `warehouse` VALUES (140, '11', 0, 0, 0, 0, 1, '成品库酱库', NULL, 1, 0, NULL, '系统管理员', 1613455256, 1, '1,100041,100044', NULL, 1);
INSERT INTO `warehouse` VALUES (153, '51', 0, 0, 0, 0, 1, '天猫库', NULL, 1, 0, NULL, '系统管理员', 1613455163, 1, '100103', NULL, 1);
INSERT INTO `warehouse` VALUES (20003, '22', 0, 0, 0, 0, 1, '待处理库', NULL, 1, 0, NULL, NULL, 0, 1, '', NULL, NULL);
INSERT INTO `warehouse` VALUES (20005, '23', 0, 0, 0, 0, 1, '成品不满件库', NULL, 1, 0, NULL, '1', 1579208363, 1, '100041,100044', NULL, NULL);
INSERT INTO `warehouse` VALUES (20006, '99', 0, 0, 0, 0, 1, '直营退货库', NULL, 1, 0, NULL, NULL, 0, 1, '', NULL, NULL);
INSERT INTO `warehouse` VALUES (20007, '59', 0, 0, 0, 0, 1, '京东库', NULL, 1, 0, NULL, '系统管理员', 1613455231, 1, '', NULL, 1);
INSERT INTO `warehouse` VALUES (20048, '28', 0, 0, 0, 0, 1, '辣酱不满件库', NULL, 1, 0, NULL, '系统管理员', 1613455221, 1, '1,100041,100044', NULL, 1);
INSERT INTO `warehouse` VALUES (20051, '79', 0, 0, 0, 0, 1, '特价库', NULL, 1, 0, NULL, '系统管理员', 1613455237, 1, '', NULL, 1);
INSERT INTO `warehouse` VALUES (20053, '02', NULL, NULL, NULL, NULL, NULL, '辅料库', NULL, NULL, 1587584650, '系统管理员', '系统管理员', 1587584729, 1, NULL, 1, 1);
INSERT INTO `warehouse` VALUES (20054, '82', NULL, NULL, NULL, NULL, NULL, '样品库', NULL, NULL, 1589868753, '系统管理员', '系统管理员', 1612835832, 1, NULL, 1, 1);
INSERT INTO `warehouse` VALUES (20055, '25', NULL, NULL, NULL, NULL, NULL, '成品待检验库', NULL, NULL, 1614448583, '系统管理员', NULL, NULL, 1, NULL, 1, NULL);
INSERT INTO `warehouse` VALUES (20056, '01', NULL, NULL, NULL, NULL, NULL, '123', NULL, NULL, 1624570903, '系统管理员', NULL, NULL, 1, NULL, 1, NULL);

-- ----------------------------
-- Table structure for warehouse_location
-- ----------------------------
DROP TABLE IF EXISTS `warehouse_location`;
CREATE TABLE `warehouse_location`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `warehouse_id` int(11) NOT NULL COMMENT '仓库',
  `code` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '名称',
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `sort` tinyint(4) NULL DEFAULT NULL COMMENT '排序',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '新建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_at` int(11) NULL DEFAULT NULL,
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '添加用户编号',
  `updated_id` int(11) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_warehouse_location_code`(`code`) USING BTREE,
  INDEX `idx_warehouse_location_status`(`status`) USING BTREE,
  INDEX `idx_warehouse_location_warehouse_id`(`warehouse_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '产品分类表名' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of warehouse_location
-- ----------------------------
INSERT INTO `warehouse_location` VALUES (1, 20003, '90', '待处理区', NULL, 1, 0, NULL, '系统管理员', 1613455280, 1, NULL, 1);
INSERT INTO `warehouse_location` VALUES (2, 20005, '91', '小菜不满件', NULL, 1, 0, NULL, '系统管理员', 1613455282, 1, NULL, 1);
INSERT INTO `warehouse_location` VALUES (3, 140, '98', '辣酱', NULL, 1, 0, NULL, '系统管理员', 1613455284, 1, NULL, 1);
INSERT INTO `warehouse_location` VALUES (4, 139, '99', '小菜', NULL, 1, 0, NULL, '系统管理员', 1613455286, 1, NULL, 1);
INSERT INTO `warehouse_location` VALUES (6, 20048, '93', '辣酱不满件', NULL, 1, 0, NULL, '系统管理员', 1613455277, 1, NULL, 1);

-- ----------------------------
-- Table structure for wechat_keys
-- ----------------------------
DROP TABLE IF EXISTS `wechat_keys`;
CREATE TABLE `wechat_keys`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `appid` char(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公众号APPID',
  `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '类型(text,image,news)',
  `keys` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关键字',
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '文本内容',
  `image_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '图片链接',
  `voice_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '语音链接',
  `music_title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '音乐标题',
  `music_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '音乐链接',
  `music_image` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '缩略图片',
  `music_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '音乐描述',
  `video_title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '视频标题',
  `video_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '视频URL',
  `video_desc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '视频描述',
  `news_id` bigint(20) NULL DEFAULT NULL COMMENT '图文ID',
  `sort` bigint(20) NULL DEFAULT NULL COMMENT '排序字段',
  `status` tinyint(4) NULL DEFAULT NULL COMMENT '状态(0禁用,1启用)',
  `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建人',
  `create_at` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_wechat_keys_appid`(`appid`) USING BTREE,
  INDEX `idx_wechat_keys_keys`(`keys`) USING BTREE,
  INDEX `idx_wechat_keys_type`(`type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信关键字' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wechat_keys
-- ----------------------------

-- ----------------------------
-- Table structure for wechat_media
-- ----------------------------
DROP TABLE IF EXISTS `wechat_media`;
CREATE TABLE `wechat_media`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `appid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公众号ID',
  `md5` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文件md5',
  `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '媒体类型',
  `media_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '永久素材MediaID',
  `local_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '本地文件链接',
  `media_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '远程图片链接',
  `create_at` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_wechat_media_appid`(`appid`) USING BTREE,
  INDEX `idx_wechat_media_md5`(`md5`) USING BTREE,
  INDEX `idx_wechat_media_media_id`(`media_id`) USING BTREE,
  INDEX `idx_wechat_media_type`(`type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信素材' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wechat_media
-- ----------------------------

-- ----------------------------
-- Table structure for wechat_news
-- ----------------------------
DROP TABLE IF EXISTS `wechat_news`;
CREATE TABLE `wechat_news`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `media_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '永久素材MediaID',
  `local_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '永久素材外网URL',
  `article_id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '关联图文ID(用英文逗号做分割)',
  `is_deleted` tinyint(4) NULL DEFAULT NULL COMMENT '删除状态(0未删除,1已删除)',
  `create_at` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建人',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_wechat_news_article_id`(`article_id`) USING BTREE,
  INDEX `idx_wechat_news_media_id`(`media_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信-图文' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wechat_news
-- ----------------------------

-- ----------------------------
-- Table structure for wechat_news_article
-- ----------------------------
DROP TABLE IF EXISTS `wechat_news_article`;
CREATE TABLE `wechat_news_article`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '素材标题',
  `local_url` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '永久素材显示URL',
  `show_cover_pic` tinyint(4) NULL DEFAULT NULL COMMENT '显示封面(0不显示,1显示)',
  `author` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '文章作者',
  `digest` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '摘要内容',
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '图文内容',
  `content_source_url` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '原文地址',
  `read_num` bigint(20) NULL DEFAULT NULL COMMENT '阅读数量',
  `create_at` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信文章' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wechat_news_article
-- ----------------------------

-- ----------------------------
-- Table structure for wechat_user
-- ----------------------------
DROP TABLE IF EXISTS `wechat_user`;
CREATE TABLE `wechat_user`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `appid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公众号APPID',
  `unionid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '粉丝unionid',
  `openid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '粉丝openid',
  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
  `tagid_list` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '粉丝标签id',
  `is_black` tinyint(4) NULL DEFAULT NULL COMMENT '是否为黑名单状态',
  `subscribe` tinyint(4) NULL DEFAULT NULL COMMENT '关注状态(0未关注,1已关注)',
  `nickname` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户昵称',
  `sex` tinyint(4) NULL DEFAULT NULL COMMENT '用户性别(1男性,2女性,0未知)',
  `country` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户所在国家',
  `province` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户所在省份',
  `city` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户所在城市',
  `language` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户的语言(zh_CN)',
  `headimgurl` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '用户头像',
  `subscribe_time` bigint(20) NULL DEFAULT NULL COMMENT '关注时间',
  `subscribe_at` datetime(0) NULL DEFAULT NULL COMMENT '关注时间',
  `remark` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
  `subscribe_scene` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '扫码关注场景',
  `qr_scene` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '二维码场景值',
  `qr_scene_str` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '二维码场景内容',
  `create_at` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_wechat_user_is_black`(`is_black`) USING BTREE,
  INDEX `idx_wechat_user_openid`(`openid`) USING BTREE,
  INDEX `idx_wechat_user_subscribe`(`subscribe`) USING BTREE,
  INDEX `idx_wechat_user_unionid`(`unionid`) USING BTREE,
  INDEX `idx_wechat_user_user_id`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 61 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信粉丝' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wechat_user
-- ----------------------------
INSERT INTO `wechat_user` VALUES (17, NULL, NULL, 'oM0Z7wlUfmsFwQm-QKujfu8T9hWw', 2003, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (18, NULL, NULL, 'oM0Z7wuib9E6tf7uOa77bg1bweT0', 2117, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (19, NULL, NULL, 'oM0Z7wmmRNVi35j-QERNycwlEoU8', 2120, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (20, NULL, NULL, 'oM0Z7wquB7Ng5ups4KWOl-zqXVTg', 2108, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (21, NULL, NULL, 'oM0Z7wn6TcPsbbcewyZtyuMckmU8', 2086, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (22, NULL, NULL, 'oM0Z7wgq7kgYF6nU39pVYjy74UKo', 2089, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (23, NULL, NULL, 'oM0Z7whSl2Qw2j0kOypLNXd5Gp5Q', 2105, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (24, NULL, NULL, 'oM0Z7wlzYpBjjRm4Dl3MKoG2-HuA', 2107, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (26, NULL, NULL, 'oM0Z7wn7uyCKI1IGLlBiKxJM-lL8', 2118, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (30, NULL, NULL, 'oM0Z7wjI3jQsiboSyi77Ct9AGsh8', 2137, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (31, NULL, NULL, 'oM0Z7wuTUyu1Lw0C_tbalA4QqRwE', 2150, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (32, NULL, NULL, 'oM0Z7wmutttRfRPbc_wTsdhwdbXc', 2146, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (33, NULL, NULL, 'oM0Z7wtuaKkuc1vc0MXDORpjlsPo', 2144, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (34, NULL, NULL, 'oM0Z7wga_8hSFxqmuF7nM3genWIo', 2088, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (35, NULL, NULL, 'oM0Z7wjY9sOgEQShYtJ6KlGDkZvE', 2148, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (36, NULL, NULL, 'oM0Z7wqpqWDfI12Z-7V5YU5bOBBw', 2121, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (37, NULL, NULL, 'oM0Z7wjAzrN3KbfHR8E3-G8Rn-1s', 2128, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (38, NULL, NULL, 'oM0Z7wn7T-DxnR3bg3oEEVCJfsJA', 2111, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (39, NULL, NULL, 'oM0Z7wh9lFc3cQ0toQItBsQweEQM', 2153, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (40, NULL, NULL, 'oM0Z7wiZKHJ2p82ReIFSfVt2vwDI', 2145, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (41, NULL, NULL, 'oM0Z7wiOACJyphwkjyBEkqKOBfaw', 2142, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (42, NULL, NULL, 'oM0Z7wnw5vahSZnmYC8mRrGvVAbc', 33711, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (43, NULL, NULL, 'oM0Z7wrG6Rm81E7KJzuF8qy0laXY', 2127, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (44, NULL, NULL, 'oM0Z7wjC6fK28mzhgF80s3TnyK0A', 2100, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (45, NULL, NULL, 'oM0Z7wqqI3ilzJYdyiXqszq6zpYw', 2087, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (46, NULL, NULL, 'oM0Z7woTFChpqXSzZsGYU1TyTWdU', 2113, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (47, NULL, NULL, 'oM0Z7wlOY4LxDncUwwSLVfe42Rck', 2158, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (48, NULL, NULL, 'oM0Z7wtaWjSXjjqb5scTcgyAE30w', 2135, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (49, NULL, NULL, 'oM0Z7wpbFvsE7rvZP93McF-Yn7a4', 2133, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (50, NULL, NULL, 'oM0Z7woohD-pCLF8qhshdRVFWNxs', 2147, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (51, NULL, NULL, 'oM0Z7wvJNo5BDjcQnftR1f3zvW4w', 2160, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (53, NULL, NULL, 'oM0Z7wpBr-RH-ZqJ0aLou0B3KQoE', 2001, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (54, NULL, NULL, 'oM0Z7wuYMc0Kow-_70kQ8EDunQtU', 2076, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (55, NULL, NULL, 'oM0Z7wnPHuniZONSJKHkQ5bbB6xo', 2019, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (57, NULL, NULL, 'oM0Z7wnnfHxjsiTalSePpR3p0bhg', 2102, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (59, NULL, NULL, 'oM0Z7wriQscdvAkrHp8WUrux7AlY', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
INSERT INTO `wechat_user` VALUES (60, NULL, NULL, 'oM0Z7wtS0aDklOnLUXd0Pbu-vaug', 2165, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

-- ----------------------------
-- Table structure for wechat_user_tags
-- ----------------------------
DROP TABLE IF EXISTS `wechat_user_tags`;
CREATE TABLE `wechat_user_tags`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `appid` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '公众号APPID',
  `name` varchar(35) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '标签名称',
  `count` bigint(20) NULL DEFAULT NULL COMMENT '总数',
  `create_at` datetime(0) NULL DEFAULT NULL COMMENT '创建日期',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_wechat_user_tags_appid`(`appid`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '微信标签' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of wechat_user_tags
-- ----------------------------

-- ----------------------------
-- Table structure for widget
-- ----------------------------
DROP TABLE IF EXISTS `widget`;
CREATE TABLE `widget`  (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `name` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `color` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `type` smallint(6) NULL DEFAULT NULL,
  `sort` smallint(6) NULL DEFAULT NULL,
  `url` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `more_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `receive_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `receive_name` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `status` tinyint(4) NULL DEFAULT NULL,
  `default` tinyint(4) NULL DEFAULT NULL,
  `icon` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
  `updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
  `created_at` int(11) NULL DEFAULT NULL COMMENT '创建时间',
  `created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建人',
  `updated_id` int(11) NULL DEFAULT NULL COMMENT '更新人id',
  `created_id` int(11) NULL DEFAULT NULL COMMENT '创建人id',
  `code` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '编码',
  `grid` tinyint(4) NULL DEFAULT NULL COMMENT '位置',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 45 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of widget
-- ----------------------------
INSERT INTO `widget` VALUES (1, '订单统计', 'info', 1, 2, 'order/widget/index', 'order/order/index', 'd27,d28,d3,d6,d9,d1,d17,d20,d18,d21,d2,d16,d11,d4,d7,d19,d10', '运营采购部,原辅料采购部,采购部,公共关系部,技术中心,董事办,营销中心,销售部,客服部,市场部,财务部,生产部,品管部,仓储物流部,国际贸易部,网络营销部,研发部', 1, 1, 'fa-file-text', '系统管理员', 1613203955, NULL, NULL, 1, NULL, 'widget_order_index', 4);
INSERT INTO `widget` VALUES (3, '项目任务', '#0066FF', 2, 10, 'project/widget/info', 'project/project/index', 'all', '全体人员', 1, 1, 'fa-cubes', '赵云', 1625350331, NULL, NULL, 3, NULL, 'info_project_task', 8);
INSERT INTO `widget` VALUES (4, '明日预计到货', 'info', 1, 4, 'order/widget/goods', 'order/order/delivery', 'd27,d28,d3,d9,d1,d20,d18,d21,d2,d16,d11,d4,d7,d19,d10', '运营采购部,原辅料采购部,采购部,技术中心,董事办,销售部,客服部,市场部,财务部,生产部,品管部,仓储物流部,国际贸易部,网络营销部,研发部', 1, 1, 'fa-lightbulb', '系统管理员', 1613203955, NULL, NULL, 1, NULL, 'widget_order_goods', 4);
INSERT INTO `widget` VALUES (5, '最新公告', 'info', 1, 5, 'article/widget/index', 'article/article/index', 'all', '全体人员', 1, 1, 'fa-sound_none', '赵云', 1625351430, NULL, NULL, 3, NULL, 'widget_article_index', 8);
INSERT INTO `widget` VALUES (25, '客户生日', 'info', 1, 9, 'customer/widget/birthday', 'customer/customer/birthday', 'all', '全体人员', 1, 1, 'fa-email', '系统管理员', 1623146458, NULL, NULL, 1, NULL, 'widget_customer_birthday', 8);
INSERT INTO `widget` VALUES (34, '待办事项', 'default', 1, 0, 'model/todo/widget', 'model/todo/index', 'all', '全体人员', 1, 1, NULL, '系统管理员', 1613203955, NULL, NULL, 1, NULL, 'widget_model_todo', 8);
INSERT INTO `widget` VALUES (44, '未读公告', '#FF9900', 2, 10, 'article/widget/info', 'article/article/index', 'all', '全体人员', 1, 1, 'fa-bell-o', '赵云', 1625350931, NULL, NULL, 3, NULL, 'info_article_index', 8);

SET FOREIGN_KEY_CHECKS = 1;
