jee_wms/database/wms-2019-02-22.sql

8703 lines
7.4 MiB
MySQL
Raw Normal View History

2019-02-14 14:28:30 +00:00
CREATE DATABASE IF NOT EXISTS `wms` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `wms`;
-- MySQL dump 10.13 Distrib 5.6.13, for Win32 (x86)
--
-- Host: localhost Database: wms
-- ------------------------------------------------------
-- Server version 5.6.15-enterprise-commercial-advanced
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `ba_act_type`
--
DROP TABLE IF EXISTS `ba_act_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_act_type` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`act_type_code` varchar(32) DEFAULT NULL COMMENT '作业类型代码',
`act_type_name` varchar(32) DEFAULT NULL COMMENT '作业类型名称',
`oper_step_code` varchar(32) DEFAULT NULL COMMENT '业务环节',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_act_type`
--
LOCK TABLES `ba_act_type` WRITE;
/*!40000 ALTER TABLE `ba_act_type` DISABLE KEYS */;
INSERT INTO `ba_act_type` VALUES ('4028b8815ddb4424015ddb6d4fe50001','管理员','admin','2017-08-13 19:49:20',NULL,NULL,NULL,'A04','A04','03','借货先出','11'),('4028b8815ddb4424015ddb7ac9ea0007','管理员','admin','2017-08-13 20:04:03',NULL,NULL,NULL,'A04','A04','04','品质变更','11'),('8a7ba3345da000e0015da002ef730005','管理员','admin','2017-08-02 06:55:33','管理员','admin','2017-08-13 19:49:03','A03','A03','02','下架','11'),('8a7ba3345da000e0015da00302df0006','管理员','admin','2017-08-02 06:55:38','管理员','admin','2017-08-13 19:48:51','A03','A03','01','上架','11');
/*!40000 ALTER TABLE `ba_act_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_area`
--
DROP TABLE IF EXISTS `ba_area`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_area` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`area_code` varchar(32) DEFAULT NULL COMMENT '大区代码',
`area_name` varchar(32) DEFAULT NULL COMMENT '大区名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_area`
--
LOCK TABLES `ba_area` WRITE;
/*!40000 ALTER TABLE `ba_area` DISABLE KEYS */;
INSERT INTO `ba_area` VALUES ('8a7ba3345d97830b015d9e237c19000a','管理员','admin','2017-08-01 22:11:51',NULL,NULL,NULL,'A03','A03','dq1','da21');
/*!40000 ALTER TABLE `ba_area` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_barea`
--
DROP TABLE IF EXISTS `ba_barea`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_barea` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`barea_code` varchar(32) DEFAULT NULL COMMENT '片区代码',
`barea_name` varchar(32) DEFAULT NULL COMMENT '片区名称',
`barea_rdata` double DEFAULT NULL COMMENT '回单时限',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_barea`
--
LOCK TABLES `ba_barea` WRITE;
/*!40000 ALTER TABLE `ba_barea` DISABLE KEYS */;
INSERT INTO `ba_barea` VALUES ('8a7ba3345d97830b015d9e22cb5a0009','管理员','admin','2017-08-01 22:11:06',NULL,NULL,NULL,'A03','A03','ba1','ba12',1);
/*!40000 ALTER TABLE `ba_barea` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_bin_type`
--
DROP TABLE IF EXISTS `ba_bin_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_bin_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bin_type_code` varchar(32) DEFAULT NULL COMMENT '库位类型代码',
`bin_type_name` varchar(32) DEFAULT NULL COMMENT '库位类型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_bin_type`
--
LOCK TABLES `ba_bin_type` WRITE;
/*!40000 ALTER TABLE `ba_bin_type` DISABLE KEYS */;
INSERT INTO `ba_bin_type` VALUES ('402881b265cd6c020165ce2a6e8000ab','cg01','cg01','2018-09-12 22:23:31',NULL,NULL,NULL,'A04','A04','短少储位','短少储位'),('4028b8815ddb4424015ddb6f23940004','管理员','admin','2017-08-13 19:51:20','admin','admin','2017-09-16 16:57:47','A04','A04','不良品区','不良品区'),('4028b8815ddb4424015ddb7166e40005','管理员','admin','2017-08-13 19:53:48','test1','test1','2017-09-02 11:44:24','A04','A04','进货暂存','进货暂存'),('4028b8815ddb4424015ddb718c270006','管理员','admin','2017-08-13 19:53:58','test1','test1','2017-09-02 11:44:16','A04','A04','出货暂存','出货暂存'),('8a7ba3345da000e0015da2fa829f0026','管理员','admin','2017-08-02 20:45:12','admin','admin','2017-09-16 16:57:42','A03','A03','良品区','良品区'),('8a7ba3345e2bde20015e40afa713000e','test1','test1','2017-09-02 11:43:26',NULL,NULL,NULL,'A04','A04','整板储位','整板储位'),('8a7ba3345e2bde20015e40b03a90000f','test1','test1','2017-09-02 11:44:04',NULL,NULL,NULL,'A04','A04','整箱储位','整箱储位'),('8a7ba3345e2bde20015e40b5a54e0010','test1','test1','2017-09-02 11:49:59',NULL,NULL,NULL,'A04','A04','拆零储位','拆零储位');
/*!40000 ALTER TABLE `ba_bin_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_buss_type`
--
DROP TABLE IF EXISTS `ba_buss_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_buss_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`buss_type_code` varchar(32) DEFAULT NULL COMMENT '业务类型代码',
`buss_type_name` varchar(32) DEFAULT NULL COMMENT '业务类型名称',
`buss_type_text` varchar(32) DEFAULT NULL COMMENT '业务类型备注',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_buss_type`
--
LOCK TABLES `ba_buss_type` WRITE;
/*!40000 ALTER TABLE `ba_buss_type` DISABLE KEYS */;
INSERT INTO `ba_buss_type` VALUES ('8a7ba3345da000e0015da3010115002e','管理员','admin','2017-08-02 20:52:18','管理员','admin','2017-08-06 10:11:23','A03','A03','01','进货','1');
/*!40000 ALTER TABLE `ba_buss_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_city`
--
DROP TABLE IF EXISTS `ba_city`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_city` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`city_code` varchar(32) DEFAULT NULL COMMENT '地区代码',
`city_name` varchar(32) DEFAULT NULL COMMENT '地区名称',
`city_serc` varchar(32) DEFAULT NULL COMMENT '地区助记码',
`city_type_code` varchar(32) DEFAULT NULL COMMENT '城市类型',
`barea_code` varchar(32) DEFAULT NULL COMMENT '片区信息',
`darea_code` varchar(32) DEFAULT NULL COMMENT '大区信息',
`city_del` varchar(32) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_city`
--
LOCK TABLES `ba_city` WRITE;
/*!40000 ALTER TABLE `ba_city` DISABLE KEYS */;
INSERT INTO `ba_city` VALUES ('8a7ba3345d97830b015d9e2434e9000c','管理员','admin','2017-08-01 22:12:39',NULL,NULL,NULL,'A03','A03','8a7ba3345d97830b015d9e23d49d000b','12','12','city1','ba1','dq1',NULL),('8a7ba3345d97830b015d9e249793000d','管理员','admin','2017-08-01 22:13:04',NULL,NULL,NULL,'A03','A03','8a7ba3345d97830b015d9e2434e9000c','1111111','11111','city1','ba1','dq1',NULL),('8a7ba3345d97830b015d9e24c269000e','管理员','admin','2017-08-01 22:13:15',NULL,NULL,NULL,'A03','A03','8a7ba3345d97830b015d9e2434e9000c','34324','23423423423424','city1','ba1','dq1',NULL),('8a7ba3345d97830b015d9e2753b6000f','管理员','admin','2017-08-01 22:16:03',NULL,NULL,NULL,'A03','A03','12','12','12','city1','ba1','dq1',NULL),('8a7ba3345d97830b015d9e2f50870010','管理员','admin','2017-08-01 22:24:47',NULL,NULL,NULL,'A03','A03',NULL,'北京','bj','city1','ba1','dq1',NULL),('8a7ba3345d97830b015d9e2f7b0d0011','管理员','admin','2017-08-01 22:24:58',NULL,NULL,NULL,'A03','A03',NULL,'河南','hn','city1','ba1','dq1',NULL),('8a7ba3345d97830b015d9e2fb2520012','管理员','admin','2017-08-01 22:25:12',NULL,NULL,NULL,'A03','A03','8a7ba3345d97830b015d9e2f50870010','海淀','hd','city1','ba1','dq1',NULL);
/*!40000 ALTER TABLE `ba_city` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_city_type`
--
DROP TABLE IF EXISTS `ba_city_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_city_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`city_type_code` varchar(32) DEFAULT NULL COMMENT '城市类型代码',
`city_type_name` varchar(32) DEFAULT NULL COMMENT '城市类型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_city_type`
--
LOCK TABLES `ba_city_type` WRITE;
/*!40000 ALTER TABLE `ba_city_type` DISABLE KEYS */;
INSERT INTO `ba_city_type` VALUES ('8a7ba3345d97830b015d9e2278b50008','管理员','admin','2017-08-01 22:10:45',NULL,NULL,NULL,'A03','A03','city1','city12');
/*!40000 ALTER TABLE `ba_city_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_classfl`
--
DROP TABLE IF EXISTS `ba_classfl`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_classfl` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`classfl_code` varchar(32) DEFAULT NULL COMMENT '行业分类代码',
`classfl_name` varchar(32) DEFAULT NULL COMMENT '行业分类名称',
`classfl_del` varchar(1) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_classfl`
--
LOCK TABLES `ba_classfl` WRITE;
/*!40000 ALTER TABLE `ba_classfl` DISABLE KEYS */;
INSERT INTO `ba_classfl` VALUES ('8a7ba3345da000e0015da2ee81d40020','管理员','admin','2017-08-02 20:32:06',NULL,NULL,NULL,'A03','A03','Z01','快消',NULL),('8a7ba3345da000e0015da2eea3cc0021','管理员','admin','2017-08-02 20:32:14',NULL,NULL,NULL,'A03','A03','Z02','科技',NULL);
/*!40000 ALTER TABLE `ba_classfl` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_com_deg`
--
DROP TABLE IF EXISTS `ba_com_deg`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_com_deg` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`com_deg_code` varchar(32) DEFAULT NULL COMMENT '企业等级代码',
`com_deg_name` varchar(32) DEFAULT NULL COMMENT '企业等级名称',
`com_deg_del` varchar(32) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_com_deg`
--
LOCK TABLES `ba_com_deg` WRITE;
/*!40000 ALTER TABLE `ba_com_deg` DISABLE KEYS */;
INSERT INTO `ba_com_deg` VALUES ('8a7ba3345d97830b015d979daab40002','管理员','admin','2017-07-31 15:47:58','管理员','admin','2017-08-02 20:32:39','A03','A03','A','',NULL),('8a7ba3345da000e0015da2eedbe30022','管理员','admin','2017-08-02 20:32:29',NULL,NULL,NULL,'A03','A03','B','',NULL);
/*!40000 ALTER TABLE `ba_com_deg` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_com_type`
--
DROP TABLE IF EXISTS `ba_com_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_com_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`com_type_code` varchar(32) DEFAULT NULL COMMENT '企业属性代码',
`com_type_name` varchar(32) DEFAULT NULL COMMENT '企业属性名称',
`com_type_del` varchar(1) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_com_type`
--
LOCK TABLES `ba_com_type` WRITE;
/*!40000 ALTER TABLE `ba_com_type` DISABLE KEYS */;
INSERT INTO `ba_com_type` VALUES ('402881885f6d522d015f6d6271d50001','admin','admin','2017-10-30 21:04:49',NULL,NULL,NULL,'A04','A04','03','进货配送供应商',NULL),('8a7ba3345d97830b015d9797ceb30001','管理员','admin','2017-07-31 15:41:34','管理员','admin','2017-08-06 10:06:23','A03','A03','02','一般客户','Y'),('8a7ba3345da000e0015da30c2ba20035','管理员','admin','2017-08-02 21:04:30','管理员','admin','2017-08-06 10:06:13','A03','A03','01','一般供应商',NULL);
/*!40000 ALTER TABLE `ba_com_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_comp`
--
DROP TABLE IF EXISTS `ba_comp`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_comp` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`com_code` varchar(32) DEFAULT NULL COMMENT '公司代码',
`com_zh_name` varchar(32) DEFAULT NULL COMMENT '公司中文简称',
`com_zh_aname` varchar(32) DEFAULT NULL COMMENT '公司中文全称',
`com_zh_addr` varchar(32) DEFAULT NULL COMMENT '中文地址',
`com_en_name` varchar(32) DEFAULT NULL COMMENT '公司英文简称',
`com_en_aname` varchar(32) DEFAULT NULL COMMENT '公司英文全称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_comp`
--
LOCK TABLES `ba_comp` WRITE;
/*!40000 ALTER TABLE `ba_comp` DISABLE KEYS */;
INSERT INTO `ba_comp` VALUES ('8a7ba3345da000e0015da30c8e710037','管理员','admin','2017-08-02 21:04:55',NULL,NULL,NULL,'A03','A03','a01','2','2','2','2','2');
/*!40000 ALTER TABLE `ba_comp` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_cont_spec`
--
DROP TABLE IF EXISTS `ba_cont_spec`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_cont_spec` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cont_spec_code` varchar(32) DEFAULT NULL COMMENT '箱规代码',
`cont_spec_name` varchar(32) DEFAULT NULL COMMENT '箱规名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_cont_spec`
--
LOCK TABLES `ba_cont_spec` WRITE;
/*!40000 ALTER TABLE `ba_cont_spec` DISABLE KEYS */;
INSERT INTO `ba_cont_spec` VALUES ('8a7ba3345da000e0015da000e06e0000','管理员','admin','2017-08-02 06:53:18',NULL,NULL,NULL,'A03','A03','42','42'),('8a7ba3345da000e0015da000f7b80001','管理员','admin','2017-08-02 06:53:24',NULL,NULL,NULL,'A03','A03','40','40');
/*!40000 ALTER TABLE `ba_cont_spec` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_cont_type`
--
DROP TABLE IF EXISTS `ba_cont_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_cont_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cont_type_code` varchar(32) DEFAULT NULL COMMENT '箱型代码',
`cont_type_name` varchar(32) DEFAULT NULL COMMENT '箱型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_cont_type`
--
LOCK TABLES `ba_cont_type` WRITE;
/*!40000 ALTER TABLE `ba_cont_type` DISABLE KEYS */;
INSERT INTO `ba_cont_type` VALUES ('8a7ba3345da000e0015da30328520034','管理员','admin','2017-08-02 20:54:39',NULL,NULL,NULL,'A03','A03','4','4');
/*!40000 ALTER TABLE `ba_cont_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_cost`
--
DROP TABLE IF EXISTS `ba_cost`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_cost` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cost_code` varchar(32) DEFAULT NULL COMMENT '费用代码',
`cost_name` varchar(32) DEFAULT NULL COMMENT '费用名称',
`cost_type_code` varchar(32) DEFAULT NULL COMMENT '费用类型',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_cost`
--
LOCK TABLES `ba_cost` WRITE;
/*!40000 ALTER TABLE `ba_cost` DISABLE KEYS */;
INSERT INTO `ba_cost` VALUES ('402881885f2c86bb015f2c86bbef0000','admin','admin','2017-10-18 06:49:08','admin','admin','2017-10-18 06:49:27','A04','A04','103','超低温仓租','02'),('402881885f2c86bb015f2c86ed210001','admin','admin','2017-10-18 06:49:20',NULL,NULL,NULL,'A04','A04','101','正常仓租','02'),('402881885f2c86bb015f2c8817780002','admin','admin','2017-10-18 06:50:37',NULL,NULL,NULL,'A04','A04','310','复冻处理费 冷藏大于8度','01'),('402881885f2c86bb015f2c8880ff0003','admin','admin','2017-10-18 06:51:04','admin','admin','2017-12-13 12:56:34','A04','A04','308','复冻费温差25度以上','01'),('402881885f2c86bb015f2c88be760004','admin','admin','2017-10-18 06:51:20','admin','admin','2017-12-13 12:55:36','A04','A04','306','复冻费温差13-24度','01'),('402881885f2c86bb015f2c89093a0005','admin','admin','2017-10-18 06:51:39','admin','admin','2017-12-13 12:55:07','A04','A04','304','复冻费温差10-12度','01'),('402881885f2e3442015f2e34428d0000','admin','admin','2017-10-18 14:38:17',NULL,NULL,NULL,'A04','A04','140','折扣','03'),('402881885f5269f0015f5269f05e0000','admin','admin','2017-10-25 15:23:15',NULL,NULL,NULL,'A04','A04','5021','操作费出/托','01'),('402881885f5269f0015f526a54930001','admin','admin','2017-10-25 15:23:41',NULL,NULL,NULL,'A04','A04','5011','操作费出/吨','01'),('402881885f5269f0015f526a9b400002','admin','admin','2017-10-25 15:23:59','admin','admin','2017-12-07 09:29:20','A04','A04','5031','操作费出/轻抛按箱','01'),('402881885f5269f0015f526ad04a0003','admin','admin','2017-10-25 15:24:12','admin','admin','2017-12-07 09:42:09','A04','A04','5041','操作费出/删除','01'),('402881885f5269f0015f526b22240004','admin','admin','2017-10-25 15:24:33',NULL,NULL,NULL,'A04','A04','6011','出货 分拣3-10','01'),('402881885f5269f0015f526b5ede0005','admin','admin','2017-10-25 15:24:49',NULL,NULL,NULL,'A04','A04','6021','出货分拣10以上','01'),('402881885f6d522d015f6d522d480000','admin','admin','2017-10-30 20:47:02',NULL,NULL,NULL,'A04','A04','150','加工费','03'),('4028818860294e4c0160294e4cfd0000','admin','admin','2017-12-06 08:51:25',NULL,NULL,NULL,'A04','A04','1011','正常仓租/吨','01'),('4028818860294e4c0160294e98ac0001','admin','admin','2017-12-06 08:51:44',NULL,NULL,NULL,'A04','A04','1031','超低温仓租/按吨','02'),('4028818860294e4c01602950d1850002','admin','admin','2017-12-06 08:54:10','admin','admin','2017-12-07 09:39:34','A04','A04','1012','正常仓租/按托','02'),('4028818860294e4c016029512f550003','admin','admin','2017-12-06 08:54:34','admin','admin','2017-12-07 09:31:36','A04','A04','1013','正常仓租/按箱','01'),('4028818860294e4c0160295175560004','admin','admin','2017-12-06 08:54:52',NULL,NULL,NULL,'A04','A04','1014','正常仓租/5KG以上按箱','02'),('4028818860294e4c01602951acb20005','admin','admin','2017-12-06 08:55:06','admin','admin','2017-12-07 09:39:27','A04','A04','1032','超低温仓租/按托','02'),('4028818860294e4c01602951fb110006','admin','admin','2017-12-06 08:55:26','admin','admin','2017-12-07 09:39:02','A04','A04','1033','超低温仓租/按箱','02'),('4028818860294e4c016029523f0f0007','admin','admin','2017-12-06 08:55:44','admin','admin','2017-12-07 09:40:15','A04','A04','1034','超低温仓租/删除','02'),('40288188602e896d01602ea299da002e','admin','admin','2017-12-07 09:41:36',NULL,NULL,NULL,'A04','A04','1014','正常仓租/删除','02'),('402882ec5f350480015f3504800b0000','admin','admin','2017-10-19 22:23:28',NULL,NULL,NULL,'A04','A04','501','操作费/吨','01'),('402882ec5f350480015f3504b51d0001','admin','admin','2017-10-19 22:23:41',NULL,NULL,NULL,'A04','A04','502','操作费/托','01'),('402882ec5f350480015f35051cc20002','admin','admin','2017-10-19 22:24:08','admin','admin','2017-12-07 09:31:13','A04','A04','503','操作费/轻抛按箱','01'),('402882ec5f350480015f350564b20003','admin','admin','2017-10-19 22:24:26',NULL,NULL,NULL,'A04','A04','504','操作费/轻抛5以上','01'),('402882ec5f350480015f35059ac10004','admin','admin','2017-10-19 22:24:40','admin','admin','2017-10-24 17:20:47','A04','A04',
/*!40000 ALTER TABLE `ba_cost` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_cost_conf`
--
DROP TABLE IF EXISTS `ba_cost_conf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_cost_conf` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cost_code` varchar(32) DEFAULT NULL COMMENT '费用名称',
`cost_jg` varchar(32) DEFAULT NULL COMMENT '价格RMB',
`cost_sl` varchar(32) DEFAULT NULL COMMENT '税率',
`cost_zk` varchar(32) DEFAULT NULL COMMENT '折扣',
`cost_bhs` varchar(32) DEFAULT NULL COMMENT '不含税价RMB',
`cost_hs` varchar(32) DEFAULT NULL COMMENT '含税价RMB',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_cost_conf`
--
LOCK TABLES `ba_cost_conf` WRITE;
/*!40000 ALTER TABLE `ba_cost_conf` DISABLE KEYS */;
INSERT INTO `ba_cost_conf` VALUES ('111','admin','admin','2017-09-29 05:44:44','蔡丽云','FDE0001','2018-07-11 09:58:11','A04','A04','1011','3.5','0','1','3.5','3.5'),('113','admin','admin','2017-12-07 09:48:25',NULL,NULL,NULL,'A04','A04','1013','0.18','0','1','0.18','0.18'),('114','admin','admin','2017-09-29 05:44:31','蔡丽云','FDE0001','2017-12-07 09:08:08','A04','A04','1031','10','0','1','10','10'),('211','admin','admin','2017-09-29 05:44:38','admin','admin','2017-10-18 06:54:44','A04','A04','304','38','0','1','38','38'),('212','admin','admin','2017-10-18 06:54:58',NULL,NULL,NULL,'A04','A04','306','48','0','1','48','48'),('213','admin','admin','2017-10-18 06:55:11',NULL,NULL,NULL,'A04','A04','308','65','0','1','65','65'),('311','admin','admin','2017-10-18 06:56:04','admin','admin','2017-10-24 17:16:04','A04','A04','501','30','0','1','30','30'),('411','admin','admin','2017-12-07 09:50:33',NULL,NULL,NULL,'A04','A04','5011','30','0','1','30','30'),('412','admin','admin','2017-12-07 09:51:16',NULL,NULL,NULL,'A04','A04','5031','1.5','0','1','1.5','1.5');
/*!40000 ALTER TABLE `ba_cost_conf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_cost_type`
--
DROP TABLE IF EXISTS `ba_cost_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_cost_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cost_type_code` varchar(32) DEFAULT NULL COMMENT '费用代码',
`cost_type_name` varchar(32) DEFAULT NULL COMMENT '费用名称',
`cost_type_del` varchar(1) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_cost_type`
--
LOCK TABLES `ba_cost_type` WRITE;
/*!40000 ALTER TABLE `ba_cost_type` DISABLE KEYS */;
INSERT INTO `ba_cost_type` VALUES ('8a7ba3345d97830b015d9e3099b60013','管理员','admin','2017-08-01 22:26:11','管理员','admin','2017-08-06 10:07:35','A03','A03','01','按次计费',NULL),('8a7ba3345da000e0015db54c7fa5004a','管理员','admin','2017-08-06 10:07:55',NULL,NULL,NULL,'A03','A03','02','按时间段计费',NULL),('8a7ba3345da000e0015db54cbf7e004b','管理员','admin','2017-08-06 10:08:12',NULL,NULL,NULL,'A03','A03','03','其他费用',NULL);
/*!40000 ALTER TABLE `ba_cost_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_cus_sta`
--
DROP TABLE IF EXISTS `ba_cus_sta`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_cus_sta` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cus_sta_code` varchar(32) DEFAULT NULL COMMENT '客户状态代码',
`cus_sta_name` varchar(32) DEFAULT NULL COMMENT '客户状态名称',
`cus_sta_del` varchar(1) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_cus_sta`
--
LOCK TABLES `ba_cus_sta` WRITE;
/*!40000 ALTER TABLE `ba_cus_sta` DISABLE KEYS */;
INSERT INTO `ba_cus_sta` VALUES ('8a7ba3345da000e0015da30c40790036','管理员','admin','2017-08-02 21:04:35',NULL,NULL,NULL,'A03','A03','3','3',NULL);
/*!40000 ALTER TABLE `ba_cus_sta` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_deg_type`
--
DROP TABLE IF EXISTS `ba_deg_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_deg_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`deg_type_code` varchar(32) DEFAULT NULL COMMENT '温层代码',
`deg_type_name` varchar(32) DEFAULT NULL COMMENT '温层名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_deg_type`
--
LOCK TABLES `ba_deg_type` WRITE;
/*!40000 ALTER TABLE `ba_deg_type` DISABLE KEYS */;
INSERT INTO `ba_deg_type` VALUES ('4028b8815e749f6f015e749f6f190000','admin','admin','2017-09-12 13:45:59','黄佳怡','hjy','2017-09-16 16:33:45','A04','A04','冷藏','冷藏'),('8a7ba3345da000e0015da2fa0ed50024','管理员','admin','2017-08-02 20:44:43','黄佳怡','hjy','2017-09-16 16:34:10','A03','A03','恒温','恒温'),('8a7ba3345da000e0015da2fa2d0b0025','管理员','admin','2017-08-02 20:44:50','黄佳怡','hjy','2017-09-16 16:33:58','A03','A03','超低温','超低温'),('8a7ba3345e89adf5015e89adf5920000','test1','test1','2017-09-16 15:53:52','黄佳怡','hjy','2017-09-16 16:36:20','A04','A04','低温','低温'),('8a7ba3345e89adf5015e89b1739e0001','test1','test1','2017-09-16 15:57:41','黄佳怡','hjy','2017-09-16 16:33:25','A04','A04','常温','常温'),('8a7ba3345e89c44a015e89d2fc640002','黄佳怡','hjy','2017-09-16 16:34:19',NULL,NULL,NULL,'A04','A04','调温','调温');
/*!40000 ALTER TABLE `ba_deg_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_del_mode`
--
DROP TABLE IF EXISTS `ba_del_mode`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_del_mode` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`del_mode_code` varchar(32) DEFAULT NULL COMMENT '接货方式代码',
`del_mode_name` varchar(32) DEFAULT NULL COMMENT '接货方式名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_del_mode`
--
LOCK TABLES `ba_del_mode` WRITE;
/*!40000 ALTER TABLE `ba_del_mode` DISABLE KEYS */;
INSERT INTO `ba_del_mode` VALUES ('8a7ba3345da000e0015da30172fc0032','管理员','admin','2017-08-02 20:52:47',NULL,NULL,NULL,'A03','A03','5','55');
/*!40000 ALTER TABLE `ba_del_mode` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_edu_sta`
--
DROP TABLE IF EXISTS `ba_edu_sta`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_edu_sta` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`edu_sta_code` varchar(32) DEFAULT NULL COMMENT '学历代码',
`edu_sta_name` varchar(32) DEFAULT NULL COMMENT '学历名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_edu_sta`
--
LOCK TABLES `ba_edu_sta` WRITE;
/*!40000 ALTER TABLE `ba_edu_sta` DISABLE KEYS */;
INSERT INTO `ba_edu_sta` VALUES ('8a7ba3345da000e0015da30ff6da003c','管理员','admin','2017-08-02 21:08:38',NULL,NULL,NULL,'A03','A03','gz','gz');
/*!40000 ALTER TABLE `ba_edu_sta` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_goods_brand`
--
DROP TABLE IF EXISTS `ba_goods_brand`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_goods_brand` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`goods_brand_code` varchar(32) DEFAULT NULL COMMENT '品牌代码',
`goods_brand_name` varchar(32) DEFAULT NULL COMMENT '品牌名称',
`goods_brand_www` varchar(32) DEFAULT NULL COMMENT '品牌网址',
`goods_brand_pic` varchar(64) DEFAULT NULL COMMENT '品牌图片',
`goods_brand_text` varchar(128) DEFAULT NULL COMMENT '备注',
`goods_brand_del` varchar(32) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_goods_brand`
--
LOCK TABLES `ba_goods_brand` WRITE;
/*!40000 ALTER TABLE `ba_goods_brand` DISABLE KEYS */;
INSERT INTO `ba_goods_brand` VALUES ('8a7ba3345da000e0015da06e5282000b','管理员','admin','2017-08-02 08:52:50',NULL,NULL,NULL,'A03','A03','Z01','圣农',NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `ba_goods_brand` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_goods_class`
--
DROP TABLE IF EXISTS `ba_goods_class`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_goods_class` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`goods_class_code` varchar(32) DEFAULT NULL COMMENT '计费商品类代码',
`goods_class_name` varchar(32) DEFAULT NULL COMMENT '计费商品类名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_goods_class`
--
LOCK TABLES `ba_goods_class` WRITE;
/*!40000 ALTER TABLE `ba_goods_class` DISABLE KEYS */;
INSERT INTO `ba_goods_class` VALUES ('402881885f3219b7015f3219b76c0000','admin','admin','2017-10-19 08:47:47',NULL,NULL,NULL,'A04','A04','20','整托'),('402881885f3219b7015f3219f8ab0001','admin','admin','2017-10-19 08:48:03','admin','admin','2017-12-07 09:28:10','A04','A04','30','轻抛/按箱'),('402881885f3219b7015f321a3de20002','admin','admin','2017-10-19 08:48:21',NULL,NULL,NULL,'A04','A04','40','轻抛5KG以上'),('8a7ba3345da000e0015da06dc4d5000a','管理员','admin','2017-08-02 08:52:14','admin','admin','2017-10-19 08:49:05','A03','A03','10','计费吨');
/*!40000 ALTER TABLE `ba_goods_class` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_goods_type`
--
DROP TABLE IF EXISTS `ba_goods_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_goods_type` (
`id` varchar(36) NOT NULL COMMENT 'id',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`goods_type_code` varchar(32) DEFAULT NULL COMMENT '产品属性编码',
`goods_type_name` varchar(32) DEFAULT NULL COMMENT '产品属性名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_goods_type`
--
LOCK TABLES `ba_goods_type` WRITE;
/*!40000 ALTER TABLE `ba_goods_type` DISABLE KEYS */;
INSERT INTO `ba_goods_type` VALUES ('402881886448beb201651808b28c33ca','傅娜娜','ODE0009','2018-08-08 13:35:47','初始','admin','2018-08-15 11:31:40','A04','A04','饮料冲调','饮料冲调'),('402881b2653ba3dd01653ba3dd9b0000','初始','admin','2018-08-15 11:31:59',NULL,NULL,NULL,'A04','A04','中外名酒','中外名酒'),('402881b2653ba3dd01653ba412630001','初始','admin','2018-08-15 11:32:13',NULL,NULL,NULL,'A04','A04','数码产品','数码产品'),('402881b2653ba3dd01653ba44cc10002','初始','admin','2018-08-15 11:32:27',NULL,NULL,NULL,'A04','A04','办公用品','办公用品'),('402881b2653ba3dd01653ba47ead0003','初始','admin','2018-08-15 11:32:40',NULL,NULL,NULL,'A04','A04','纸品','纸品'),('402881b2653ba3dd01653ba4b2170004','初始','admin','2018-08-15 11:32:53',NULL,NULL,NULL,'A04','A04','美妆个护','美妆个护'),('402881b2653ba3dd01653ba500830005','初始','admin','2018-08-15 11:33:13',NULL,NULL,NULL,'A04','A04','清洁用品','清洁用品'),('402881b2653ba3dd01653ba534fe0006','初始','admin','2018-08-15 11:33:27',NULL,NULL,NULL,'A04','A04','家居日用','家居日用'),('8a7ba3345e89c44a015e89d61d320006','admin','admin','2017-09-16 16:37:44','初始','admin','2018-08-15 11:33:44','A04','A04','食品','食品'),('8a7ba3345e89c44a015e89d674f90008','admin','admin','2017-09-16 16:38:06','黄佳怡','hjy','2017-09-18 10:15:57','A04','A04','其它','其它');
/*!40000 ALTER TABLE `ba_goods_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_kehushuxing`
--
DROP TABLE IF EXISTS `ba_kehushuxing`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_kehushuxing` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`kehushuxing_code` varchar(32) DEFAULT NULL COMMENT '客户属性编码',
`kehushuxing_name` varchar(32) DEFAULT NULL COMMENT '客户属性名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_kehushuxing`
--
LOCK TABLES `ba_kehushuxing` WRITE;
/*!40000 ALTER TABLE `ba_kehushuxing` DISABLE KEYS */;
INSERT INTO `ba_kehushuxing` VALUES ('40288188602ad24d01602b7281900032','admin','admin','2017-12-06 18:50:12',NULL,NULL,NULL,'A04','A04','10','整体计重'),('40288188602ad24d01602b72c59e0033','admin','admin','2017-12-06 18:50:30',NULL,NULL,NULL,'A04','A04','20','单SKU计重');
/*!40000 ALTER TABLE `ba_kehushuxing` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_kehuzhuangtai`
--
DROP TABLE IF EXISTS `ba_kehuzhuangtai`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_kehuzhuangtai` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`kehuzhuangtai_code` varchar(32) DEFAULT NULL COMMENT '编码',
`kehuzhuangtai_name` varchar(32) DEFAULT NULL COMMENT '名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_kehuzhuangtai`
--
LOCK TABLES `ba_kehuzhuangtai` WRITE;
/*!40000 ALTER TABLE `ba_kehuzhuangtai` DISABLE KEYS */;
INSERT INTO `ba_kehuzhuangtai` VALUES ('40288188602e896d01602eea26710099','admin','admin','2017-12-07 10:59:45','admin','admin','2017-12-14 12:08:48','A04','A04','10','整板+箱/件'),('40288188602e896d01602eea4014009a','admin','admin','2017-12-07 10:59:51','admin','admin','2017-12-14 12:08:28','A04','A04','20','整板计费');
/*!40000 ALTER TABLE `ba_kehuzhuangtai` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_lad_mode`
--
DROP TABLE IF EXISTS `ba_lad_mode`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_lad_mode` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`lad_mode_code` varchar(32) DEFAULT NULL COMMENT '提货方式代码',
`lad_mode_name` varchar(32) DEFAULT NULL COMMENT '提货方式名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_lad_mode`
--
LOCK TABLES `ba_lad_mode` WRITE;
/*!40000 ALTER TABLE `ba_lad_mode` DISABLE KEYS */;
INSERT INTO `ba_lad_mode` VALUES ('8a7ba3345da000e0015da30286690033','管理员','admin','2017-08-02 20:53:57',NULL,NULL,NULL,'A03','A03','1','2');
/*!40000 ALTER TABLE `ba_lad_mode` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_oper_step`
--
DROP TABLE IF EXISTS `ba_oper_step`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_oper_step` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`oper_step_code` varchar(32) DEFAULT NULL COMMENT '业务环节代码',
`oper_step_name` varchar(32) DEFAULT NULL COMMENT '业务环节名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_oper_step`
--
LOCK TABLES `ba_oper_step` WRITE;
/*!40000 ALTER TABLE `ba_oper_step` DISABLE KEYS */;
INSERT INTO `ba_oper_step` VALUES ('8a7ba3345da000e0015da002be540004','管理员','admin','2017-08-02 06:55:20',NULL,NULL,NULL,'A03','A03','11','11');
/*!40000 ALTER TABLE `ba_oper_step` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_oper_type`
--
DROP TABLE IF EXISTS `ba_oper_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_oper_type` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`oper_type_code` varchar(32) DEFAULT NULL COMMENT '操作类型代码',
`oper_type_name` varchar(32) DEFAULT NULL COMMENT '操作类型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_oper_type`
--
LOCK TABLES `ba_oper_type` WRITE;
/*!40000 ALTER TABLE `ba_oper_type` DISABLE KEYS */;
INSERT INTO `ba_oper_type` VALUES ('8a7ba3345da000e0015db54fea850050','管理员','admin','2017-08-06 10:11:39','管理员','admin','2017-08-14 20:42:58','A03','A03','01','人工'),('8a7ba3345da000e0015db55008dc0051','管理员','admin','2017-08-06 10:11:47','管理员','admin','2017-08-14 20:43:06','A03','A03','02','叉车');
/*!40000 ALTER TABLE `ba_oper_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_order_type`
--
DROP TABLE IF EXISTS `ba_order_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_order_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`order_type_code` varchar(32) DEFAULT NULL COMMENT '订单类型代码',
`order_type_name` varchar(32) DEFAULT NULL COMMENT '订单类型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_order_type`
--
LOCK TABLES `ba_order_type` WRITE;
/*!40000 ALTER TABLE `ba_order_type` DISABLE KEYS */;
INSERT INTO `ba_order_type` VALUES ('402881885eea8e01015eea8e01de0000','admin','admin','2017-10-05 11:22:08',NULL,NULL,NULL,'A04','A04','04','越库通知'),('4028818860bc98290160c7145fce068b','admin','admin','2018-01-06 00:08:09',NULL,NULL,NULL,'A04','A04','09','其他入库'),('4028818860bc98290160c7147eff068c','admin','admin','2018-01-06 00:08:17',NULL,NULL,NULL,'A04','A04','11','出库通知'),('4028818860bc98290160c7149c7a068d','admin','admin','2018-01-06 00:08:24',NULL,NULL,NULL,'A04','A04','19','其他出库'),('8a7ba3345da000e0015da300dabe002d','管理员','admin','2017-08-02 20:52:08','管理员','admin','2017-08-06 10:10:35','A03','A03','01','到货通知'),('8a7ba3345da000e0015db54f3313004e','管理员','admin','2017-08-06 10:10:52',NULL,NULL,NULL,'A03','A03','02','出货通知'),('8a7ba3345da000e0015db54f5f91004f','管理员','admin','2017-08-06 10:11:04',NULL,NULL,NULL,'A03','A03','03','退货通知');
/*!40000 ALTER TABLE `ba_order_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_platform`
--
DROP TABLE IF EXISTS `ba_platform`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_platform` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`platform_code` varchar(32) DEFAULT NULL COMMENT '月台代码',
`platform_name` varchar(32) DEFAULT NULL COMMENT '月台名称',
`platform_del` varchar(32) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_platform`
--
LOCK TABLES `ba_platform` WRITE;
/*!40000 ALTER TABLE `ba_platform` DISABLE KEYS */;
INSERT INTO `ba_platform` VALUES ('4028b8815ddb387a015ddb4fad1b0013','管理员','admin','2017-08-13 19:16:58','管理员','admin','2017-08-13 19:17:15','A04','A04','03','03',NULL),('4028b8815ddb387a015ddb4fc9200015','管理员','admin','2017-08-13 19:17:05','管理员','admin','2017-08-13 19:17:20','A04','A04','04','04',NULL),('4028b8815ddb387a015ddb5061e7001b','管理员','admin','2017-08-13 19:17:45',NULL,NULL,NULL,'A04','A04','05','05',NULL),('4028b8815ddb387a015ddb507de7001d','管理员','admin','2017-08-13 19:17:52',NULL,NULL,NULL,'A04','A04','06','06',NULL),('4028b8815ddb387a015ddb5097c5001f','管理员','admin','2017-08-13 19:17:58',NULL,NULL,NULL,'A04','A04','07','07',NULL),('4028b8815ddb387a015ddb50bcaa0021','管理员','admin','2017-08-13 19:18:08',NULL,NULL,NULL,'A04','A04','08','08',NULL),('8a7ba3345da000e0015db5512d820055','管理员','admin','2017-08-06 10:13:02','管理员','admin','2017-08-13 19:17:25','A03','A03','01','01',NULL),('8a7ba3345da000e0015db551695c0056','管理员','admin','2017-08-06 10:13:17','管理员','admin','2017-08-13 19:17:31','A03','A03','02','02',NULL),('8a7ba3345e2b929c015e36cebd9e00ee','test1','test1','2017-08-31 13:41:12',NULL,NULL,NULL,'A04','A04','09','09',NULL),('8a7ba3345e2b929c015e36cf089200f0','test1','test1','2017-08-31 13:41:31',NULL,NULL,NULL,'A04','A04','10','10',NULL);
/*!40000 ALTER TABLE `ba_platform` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_port`
--
DROP TABLE IF EXISTS `ba_port`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_port` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`port_code` varchar(32) DEFAULT NULL COMMENT '港口代码',
`port_zh_name` varchar(64) DEFAULT NULL COMMENT '中文名称',
`port_en_name` varchar(64) DEFAULT NULL COMMENT '英文名称',
`port_th_code` varchar(10) DEFAULT NULL COMMENT '港口三字代码',
`port_ucode` varchar(32) DEFAULT NULL COMMENT '港口UNCODE',
`port_code1` varchar(32) DEFAULT NULL COMMENT '港口代码1',
`port_code2` varchar(32) DEFAULT NULL COMMENT '港口代码2',
`port_text` varchar(32) DEFAULT NULL COMMENT '备注',
`port_del` varchar(32) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_port`
--
LOCK TABLES `ba_port` WRITE;
/*!40000 ALTER TABLE `ba_port` DISABLE KEYS */;
INSERT INTO `ba_port` VALUES ('8a7ba3345da000e0015da300bcd9002c','管理员','admin','2017-08-02 20:52:00',NULL,NULL,NULL,'A03','A03','',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `ba_port` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_pos_sta`
--
DROP TABLE IF EXISTS `ba_pos_sta`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_pos_sta` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`pos_sta_code` varchar(32) DEFAULT NULL COMMENT '在职状态代码',
`pos_sta_name` varchar(32) DEFAULT NULL COMMENT '在职状态名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_pos_sta`
--
LOCK TABLES `ba_pos_sta` WRITE;
/*!40000 ALTER TABLE `ba_pos_sta` DISABLE KEYS */;
INSERT INTO `ba_pos_sta` VALUES ('8a7ba3345da000e0015da31026d9003e','管理员','admin','2017-08-02 21:08:51',NULL,NULL,NULL,'A03','A03','zz','zz');
/*!40000 ALTER TABLE `ba_pos_sta` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_price_type`
--
DROP TABLE IF EXISTS `ba_price_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_price_type` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`price_type_code` varchar(32) DEFAULT NULL COMMENT '价格类型代码',
`price_type_name` varchar(32) DEFAULT NULL COMMENT '价格类型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_price_type`
--
LOCK TABLES `ba_price_type` WRITE;
/*!40000 ALTER TABLE `ba_price_type` DISABLE KEYS */;
INSERT INTO `ba_price_type` VALUES ('8a7ba3345da000e0015da30f577f0038','管理员','admin','2017-08-02 21:07:57',NULL,NULL,NULL,'A03','A03','lx','lx');
/*!40000 ALTER TABLE `ba_price_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_pronut_method`
--
DROP TABLE IF EXISTS `ba_pronut_method`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_pronut_method` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`pronut_code` varchar(32) DEFAULT NULL COMMENT '计费方式代码',
`pronut_name` varchar(32) DEFAULT NULL COMMENT '计费方式名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_pronut_method`
--
LOCK TABLES `ba_pronut_method` WRITE;
/*!40000 ALTER TABLE `ba_pronut_method` DISABLE KEYS */;
INSERT INTO `ba_pronut_method` VALUES ('8a7ba3345da000e0015da30f7a930039','管理员','admin','2017-08-02 21:08:06',NULL,NULL,NULL,'A03','A03','fs','fs');
/*!40000 ALTER TABLE `ba_pronut_method` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_pronut_type`
--
DROP TABLE IF EXISTS `ba_pronut_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_pronut_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`pronut_type_code` varchar(32) DEFAULT '1' COMMENT '计量类型代码',
`pronut_type_name` varchar(32) DEFAULT NULL COMMENT '计量类型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_pronut_type`
--
LOCK TABLES `ba_pronut_type` WRITE;
/*!40000 ALTER TABLE `ba_pronut_type` DISABLE KEYS */;
INSERT INTO `ba_pronut_type` VALUES ('8a7ba3345da000e0015da30f91e0003a','管理员','admin','2017-08-02 21:08:12',NULL,NULL,NULL,'A03','A03','lx','lx');
/*!40000 ALTER TABLE `ba_pronut_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_qm_qa`
--
DROP TABLE IF EXISTS `ba_qm_qa`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_qm_qa` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`qm_qa_code` varchar(32) DEFAULT NULL COMMENT '品质代码',
`qm_qa_name` varchar(32) DEFAULT NULL COMMENT '品质代码名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_qm_qa`
--
LOCK TABLES `ba_qm_qa` WRITE;
/*!40000 ALTER TABLE `ba_qm_qa` DISABLE KEYS */;
INSERT INTO `ba_qm_qa` VALUES ('8a7ba3345da000e0015da1e4191f001f','管理员','admin','2017-08-02 15:41:06',NULL,NULL,NULL,'A03','A03','Z01','过期');
/*!40000 ALTER TABLE `ba_qm_qa` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_qm_sta`
--
DROP TABLE IF EXISTS `ba_qm_sta`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_qm_sta` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`qm_sta_code` varchar(32) DEFAULT NULL COMMENT '品检状态代码',
`qm_sta_name` varchar(32) DEFAULT NULL COMMENT '品检状态名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_qm_sta`
--
LOCK TABLES `ba_qm_sta` WRITE;
/*!40000 ALTER TABLE `ba_qm_sta` DISABLE KEYS */;
INSERT INTO `ba_qm_sta` VALUES ('8a7ba3345da000e0015da1e3e6d0001e','管理员','admin','2017-08-02 15:40:53','管理员','admin','2017-08-06 10:06:44','A03','A03','01','通过'),('8a7ba3345da000e0015db54b55a50049','管理员','admin','2017-08-06 10:06:39',NULL,NULL,NULL,'A03','A03','02','拒绝');
/*!40000 ALTER TABLE `ba_qm_sta` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_sex_sta`
--
DROP TABLE IF EXISTS `ba_sex_sta`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_sex_sta` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`sex_sta_code` varchar(32) DEFAULT NULL COMMENT '性别代码',
`sex_sta_name` varchar(32) DEFAULT NULL COMMENT '性别名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_sex_sta`
--
LOCK TABLES `ba_sex_sta` WRITE;
/*!40000 ALTER TABLE `ba_sex_sta` DISABLE KEYS */;
INSERT INTO `ba_sex_sta` VALUES ('8a7ba3345da000e0015da3100d92003d','管理员','admin','2017-08-02 21:08:44',NULL,NULL,NULL,'A03','A03','n','n');
/*!40000 ALTER TABLE `ba_sex_sta` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_snro`
--
DROP TABLE IF EXISTS `ba_snro`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_snro` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`snro_type_code` varchar(32) DEFAULT NULL COMMENT '编号类型',
`snro_org` varchar(32) DEFAULT NULL COMMENT '组织机构',
`snro_findex` varchar(32) DEFAULT NULL COMMENT '前缀',
`snro_split` varchar(32) DEFAULT NULL COMMENT '分隔符',
`snro_year` varchar(32) DEFAULT NULL COMMENT '年位数',
`snro_month` varchar(32) DEFAULT NULL COMMENT '月位数',
`snro_day` varchar(32) DEFAULT NULL COMMENT '日位数',
`snro_seri` varchar(32) DEFAULT NULL COMMENT '序号位数',
`snro_exp` varchar(32) DEFAULT NULL COMMENT '示例号码',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_snro`
--
LOCK TABLES `ba_snro` WRITE;
/*!40000 ALTER TABLE `ba_snro` DISABLE KEYS */;
INSERT INTO `ba_snro` VALUES ('8a7ba3345da000e0015da31092d70040','管理员','admin','2017-08-02 21:09:18',NULL,NULL,NULL,'A03','A03','1','d','dd','d',NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `ba_snro` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_snro_type`
--
DROP TABLE IF EXISTS `ba_snro_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_snro_type` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`snro_type_code` varchar(32) DEFAULT NULL COMMENT '编码类型代码',
`snro_type_name` varchar(32) DEFAULT NULL COMMENT '编码类型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_snro_type`
--
LOCK TABLES `ba_snro_type` WRITE;
/*!40000 ALTER TABLE `ba_snro_type` DISABLE KEYS */;
INSERT INTO `ba_snro_type` VALUES ('402881b2679610a30167c6d14e590002','初始','admin','2018-12-19 22:14:25',NULL,NULL,NULL,'A04','A04','01','到货通知'),('8a7ba3345d97830b015d9e3a1fa80015','管理员','admin','2017-08-01 22:36:35',NULL,NULL,NULL,'A03','A03','1','11');
/*!40000 ALTER TABLE `ba_snro_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_store`
--
DROP TABLE IF EXISTS `ba_store`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_store` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`store_code` varchar(32) DEFAULT NULL COMMENT '仓库代码',
`store_name` varchar(32) DEFAULT NULL COMMENT '仓库名称',
`store_text` varchar(256) DEFAULT NULL COMMENT '仓库属性',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_store`
--
LOCK TABLES `ba_store` WRITE;
/*!40000 ALTER TABLE `ba_store` DISABLE KEYS */;
INSERT INTO `ba_store` VALUES ('402881885ebafcfb015ebb1127340007','池新福','ODE0001','2017-09-26 06:03:37','初始','admin','2018-08-15 11:01:58','A04','A04','BJ','BJ','其它'),('402881885ffc44ba016010bb8d6602c4','郑承毅','ODE0006','2017-12-01 14:20:15','初始','admin','2018-08-15 11:04:31','A04','A04','XNK','冷藏虚拟库','其它,食物,饮料'),('402881b265a1a14e0165a1a14ed60000','初始','admin','2018-09-04 06:50:27',NULL,NULL,NULL,'A04','A04','01A','01A',NULL),('402881b2679610a30167c67138220001','初始','admin','2018-12-19 20:29:27','初始','admin','2018-12-27 22:52:04','A04','A04','xkn-D','灵鹿谷','中外名酒,其它,办公用品,家居日用,数码产品,清洁用品,纸品,美妆个护,食品,饮料冲调');
/*!40000 ALTER TABLE `ba_store` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_sys_conf`
--
DROP TABLE IF EXISTS `ba_sys_conf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_sys_conf` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`sys_conf_type` varchar(32) DEFAULT NULL COMMENT '系统参数类型',
`sys_conf_step` varchar(32) DEFAULT NULL COMMENT '业务操作环节',
`sys_conf_org` varchar(32) DEFAULT NULL COMMENT '组织',
`sys_conf_partner` varchar(32) DEFAULT NULL COMMENT '合作伙伴',
`sys_para1` varchar(32) DEFAULT NULL COMMENT '参数1',
`sys_para2` varchar(32) DEFAULT NULL COMMENT '参数2',
`sys_para3` varchar(32) DEFAULT NULL COMMENT '参数3',
`sys_conf_text` varchar(64) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_sys_conf`
--
LOCK TABLES `ba_sys_conf` WRITE;
/*!40000 ALTER TABLE `ba_sys_conf` DISABLE KEYS */;
INSERT INTO `ba_sys_conf` VALUES ('8a7ba3345da000e0015da06371410007','管理员','admin','2017-08-02 08:40:57',NULL,NULL,NULL,'A03','A03','Z02','11','1','1','1','1','1',NULL);
/*!40000 ALTER TABLE `ba_sys_conf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_sysp_type`
--
DROP TABLE IF EXISTS `ba_sysp_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_sysp_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`sysp_type_code` varchar(32) DEFAULT NULL COMMENT '系统参数类型代码',
`sysp_type_name` varchar(32) DEFAULT NULL COMMENT '系统参数类型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_sysp_type`
--
LOCK TABLES `ba_sysp_type` WRITE;
/*!40000 ALTER TABLE `ba_sysp_type` DISABLE KEYS */;
INSERT INTO `ba_sysp_type` VALUES ('8a7ba3345d97830b015d97a8ac180003','管理员','admin','2017-07-31 16:00:00','管理员','admin','2017-08-02 08:37:36','A03','A03','Z02','自动导入'),('8a7ba3345d97830b015d97aafb410005','管理员','admin','2017-07-31 16:02:31','管理员','admin','2017-08-02 08:37:23','A03','A03','Z01','自动审核');
/*!40000 ALTER TABLE `ba_sysp_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_unit`
--
DROP TABLE IF EXISTS `ba_unit`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_unit` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`unit_code` varchar(32) DEFAULT NULL COMMENT '单位代码',
`unit_zh_name` varchar(32) DEFAULT NULL COMMENT '单位名称',
`unit_en_name` varchar(32) DEFAULT NULL COMMENT '英文名称',
`unit_change` varchar(32) DEFAULT NULL COMMENT '国际度量衡换算值',
`unit_type` varchar(32) DEFAULT NULL COMMENT '单位类型',
`unit_del` varchar(32) DEFAULT NULL COMMENT '停用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_unit`
--
LOCK TABLES `ba_unit` WRITE;
/*!40000 ALTER TABLE `ba_unit` DISABLE KEYS */;
INSERT INTO `ba_unit` VALUES ('402881b2653ba3dd01653bc236250007','初始','admin','2018-08-15 12:05:08',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc236b70008','初始','admin','2018-08-15 12:05:08',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc237130009','初始','admin','2018-08-15 12:05:08',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc2378f000a','初始','admin','2018-08-15 12:05:08',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc237d1000b','初始','admin','2018-08-15 12:05:08',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23815000c','初始','admin','2018-08-15 12:05:08',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23861000d','初始','admin','2018-08-15 12:05:08',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc238a2000e','初始','admin','2018-08-15 12:05:08',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc238e6000f','初始','admin','2018-08-15 12:05:08',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc239310010','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc239720011','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc239ae0012','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc239f10013','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23a210014','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23a550015','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23a970016','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23ada0017','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23b250018','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23b7f0019','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23bc4001a','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23c0f001b','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23c51001c','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23c94001d','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23cdf001e','初始','admin','2018-08-15 12:05:09',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23d22001f','初始','admin','2018-08-15 12:05:10',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23d640020','初始','admin','2018-08-15 12:05:10',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23da50021','初始','admin','2018-08-15 12:05:10',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23dea0022','初始','admin','2018-08-15 12:05:10',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23e5d0023','初始','admin','2018-08-15 12:05:10',NULL,NULL,NULL,'A04','A04','','','',NULL,NULL,NULL),('402881b2653ba3dd01653bc23ea10024','初始','admin','2018-08-15 12:05:10',NULL,NULL,NULL,'A04','A04','','','',NU
/*!40000 ALTER TABLE `ba_unit` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_unit_type`
--
DROP TABLE IF EXISTS `ba_unit_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_unit_type` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`unit_type_code` varchar(32) DEFAULT NULL COMMENT '单位类型代码',
`unit_type_name` varchar(32) DEFAULT NULL COMMENT '单位类型名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_unit_type`
--
LOCK TABLES `ba_unit_type` WRITE;
/*!40000 ALTER TABLE `ba_unit_type` DISABLE KEYS */;
INSERT INTO `ba_unit_type` VALUES ('8a7ba3345da000e0015da064a6a70008','管理员','admin','2017-08-02 08:42:17',NULL,NULL,NULL,'A03','A03','Z01','重量');
/*!40000 ALTER TABLE `ba_unit_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `ba_work_sta`
--
DROP TABLE IF EXISTS `ba_work_sta`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `ba_work_sta` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`work_sta_code` varchar(32) DEFAULT NULL COMMENT '工作状态代码',
`work_sta_name` varchar(32) DEFAULT NULL COMMENT '工作状态名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `ba_work_sta`
--
LOCK TABLES `ba_work_sta` WRITE;
/*!40000 ALTER TABLE `ba_work_sta` DISABLE KEYS */;
INSERT INTO `ba_work_sta` VALUES ('8a7ba3345da000e0015da3104191003f','管理员','admin','2017-08-02 21:08:57',NULL,NULL,NULL,'A03','A03','gz','gz');
/*!40000 ALTER TABLE `ba_work_sta` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_button`
--
DROP TABLE IF EXISTS `cgform_button`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_button` (
`ID` varchar(32) NOT NULL COMMENT '主键ID',
`BUTTON_CODE` varchar(50) DEFAULT NULL COMMENT '按钮编码',
`button_icon` varchar(20) DEFAULT NULL COMMENT '按钮图标',
`BUTTON_NAME` varchar(50) DEFAULT NULL COMMENT '按钮名称',
`BUTTON_STATUS` varchar(2) DEFAULT NULL COMMENT '按钮状态',
`BUTTON_STYLE` varchar(20) DEFAULT NULL COMMENT '按钮样式',
`EXP` varchar(255) DEFAULT NULL COMMENT '表达式',
`FORM_ID` varchar(32) DEFAULT NULL COMMENT '表单ID',
`OPT_TYPE` varchar(20) DEFAULT NULL COMMENT '按钮类型',
`order_num` int(11) DEFAULT NULL COMMENT '排序',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_button`
--
LOCK TABLES `cgform_button` WRITE;
/*!40000 ALTER TABLE `cgform_button` DISABLE KEYS */;
INSERT INTO `cgform_button` VALUES ('4028138151b3cf300151b419df090007','autoFormAdd','icon-add','自定义表单添加','1','button','','4028138151adbcc50151adfd13680002','js',1),('4028138151b3cf300151b41a8c480009','autoFormUpdate','icon-edit','自定义表单编辑','1','button','','4028138151adbcc50151adfd13680002','js',2),('402880e64e28b359014e2913478a0018','12','pictures','12','0','link','12','402881e44df713f5014df71fc6be0004','action',12),('402880f25b1df029015b1dfdd4290014','123','pictures','123','1','link','','4028ab775afa555c015afa5958660007','js',1),('402880f25b1df029015b1dfe0b9b0016','bb','icon-edit','bbb','1','button','','4028ab775afa555c015afa5958660007','js',2),('402880f25b1df029015b1e02f315001d','pizhun','icon-edit','请假批准','1','button','','8a8ab0b246dc81120146dc818484013c','action',1),('402880f25b1df029015b1e0371ae0020','bohui','icon-edit','驳回','1','link','','8a8ab0b246dc81120146dc818484013c','js',2),('402881e64ca6fd1b014ca713620f000d','copy_url','pictures','配置地址','1','link','','2c90ac564c9d1734014c9d22b16c0001','js',3),('402881e64ca6fd1b014ca713e2c0000f','graph_test','pictures','功能测试','1','link','','2c90ac564c9d1734014c9d22b16c0001','js',2),('4028948150f5ba6a0150f5c0682a0001','1','pictures','1','0','link','1','402885d8506e5d9201506e72f4920001','action',1),('4028b881535b12bd01535b3c3c1f001a','cancel_check','icon-redo','清空勾选','1','button','','4028b881535b12bd01535b1ae3680001','js',0),('4028b881537338160153738b86ac0010','groupmanage','pictures','分组维护','1','button','','4028b881535b12bd01535b1ae3680001','js',2);
/*!40000 ALTER TABLE `cgform_button` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_button_sql`
--
DROP TABLE IF EXISTS `cgform_button_sql`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_button_sql` (
`ID` varchar(32) NOT NULL COMMENT '主键ID',
`BUTTON_CODE` varchar(50) DEFAULT NULL COMMENT '按钮编码',
`CGB_SQL` tinyblob COMMENT 'SQL内容',
`CGB_SQL_NAME` varchar(50) DEFAULT NULL COMMENT 'Sql名称',
`CONTENT` longtext COMMENT 'SQL内容',
`FORM_ID` varchar(32) DEFAULT NULL COMMENT '表单ID',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_button_sql`
--
LOCK TABLES `cgform_button_sql` WRITE;
/*!40000 ALTER TABLE `cgform_button_sql` DISABLE KEYS */;
INSERT INTO `cgform_button_sql` VALUES ('402880f25b234ec8015b235c85970003','add','update test_person set conets = \'#{sys.sys_user_name}\' where id = \'#{id}\'',NULL,'修改简历描述','4028ab775afa555c015afa5958660007');
/*!40000 ALTER TABLE `cgform_button_sql` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_enhance_java`
--
DROP TABLE IF EXISTS `cgform_enhance_java`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_enhance_java` (
`id` varchar(36) NOT NULL,
`button_code` varchar(32) DEFAULT NULL COMMENT '按钮编码',
`cg_java_type` varchar(32) NOT NULL COMMENT '类型',
`cg_java_value` varchar(200) NOT NULL COMMENT '数值',
`form_id` varchar(32) NOT NULL COMMENT '表单ID',
`active_status` varchar(2) DEFAULT '1' COMMENT '生效状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_enhance_java`
--
LOCK TABLES `cgform_enhance_java` WRITE;
/*!40000 ALTER TABLE `cgform_enhance_java` DISABLE KEYS */;
INSERT INTO `cgform_enhance_java` VALUES ('402883885139c8d7015139cb2de40002','add','spring','cgformJavaInterDemo','8a8ab0b246dc81120146dc818484013c','1'),('4028ef815602f891015602fb7cac0001','add','class','org.jeecgframework.web.cgform.service.impl.enhance.CgformEnhanceJavaServiceImpl','4028b881535b12bd01535b1ae3680001','1');
/*!40000 ALTER TABLE `cgform_enhance_java` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_enhance_js`
--
DROP TABLE IF EXISTS `cgform_enhance_js`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_enhance_js` (
`ID` varchar(32) NOT NULL COMMENT '主键ID',
`CG_JS` blob COMMENT 'JS增强内容',
`CG_JS_TYPE` varchar(20) DEFAULT NULL COMMENT '类型',
`CONTENT` longtext,
`FORM_ID` varchar(32) DEFAULT NULL COMMENT '表单ID',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_enhance_js`
--
LOCK TABLES `cgform_enhance_js` WRITE;
/*!40000 ALTER TABLE `cgform_enhance_js` DISABLE KEYS */;
INSERT INTO `cgform_enhance_js` VALUES ('2c90ac564c9d1734014c9d322192001f','jform_graphreport_headFw = 1050;\r\njform_graphreport_headFh = 600;\r\n\r\n//??\r\n function jform_graphreport_headadd(){\r\n add(\'\',\'cgFormBuildController.do?ftlForm&tableName=jform_graphreport_head\',\'jform_graphreport_headList\',jform_graphreport_headFw,jform_graphreport_headFh);\r\n }\r\n //??\r\n function jform_graphreport_headupdate(){\r\n update(\'\',\'cgFormBuildController.do?ftlForm&tableName=jform_graphreport_head\',\'jform_graphreport_headList\',jform_graphreport_headFw,jform_graphreport_headFh);\r\n }\r\n //??\r\n function jform_graphreport_headcopy(){\r\n copy(\'??????\',\'cgFormBuildController.do?ftlForm&tableName=jform_graphreport_head\',\'jform_graphreport_headList\',jform_graphreport_headFw,jform_graphreport_headFh);\r\n }\r\n //??\r\n function jform_graphreport_headview(){\r\n detail(\'??\',\'cgFormBuildController.do?ftlForm&tableName=jform_graphreport_head\',\'jform_graphreport_headList\',jform_graphreport_headFw,jform_graphreport_headFh);\r\n }\r\n\r\nfunction graph_test() {\r\n var e = event || x_export.caller.arguments[0];\r\n var target = e.target || e.srcElement;\r\n var configId = $(target).parents(\"tr:first\").find(\"td[field=\'code\']\").text();\r\n var configName = $(target).parents(\"tr:first\").find(\"td[field=\'name\']\").text();\r\n \r\n addOneTab(\"表单数据列表 [\"+configName+\"]\", \"graphReportController.do?list&isIframe&id=\"+configId);\r\n}\r\n\r\nfunction copy_url() {\r\n var e = event || x_export.caller.arguments[0];\r\n var target = e.target || e.srcElement;\r\n var configId = $(target).parents(\"tr:first\").find(\"td[field=\'code\']\").text();\r\n popMenuLinkGraph(configId, configId);\r\n}\r\n//图表配置复制\r\nfunction popMenuLinkGraph(tableName,content){\r\n var url = \"<input type=\'text\' style=\'width:380px;\' disabled=\\\"disabled\\\" id=\'menuLink\' title=\'graphReportController.do?list&id=\' value=\'graphReportController.do?list&isIframe&id=\"+tableName+\"\' />\";\r\n $.dialog({\r\n content: url,\r\n drag :false,\r\n lock : true,\r\n title:\'[\'+content+\']\',\r\n opacity : 0.3,\r\n width:400,\r\n height:50,\r\n cache:false,\r\n cancelVal: \'\',\r\n cancel: function(){clip.destroy();},\r\n button : [{\r\n id : \"coptyBtn\",\r\n name : \"复制\",\r\n callback : function () {\r\n }\r\n }],\r\n init : function () {\r\n clip = new ZeroClipboard.Client();\r\n clip.setHandCursor( true );\r\n \r\n clip.addEventListener(\'mouseOver\', function(client){\r\n clip.setText( document.getElementById(\"menuLink\").value );\r\n });\r\n clip.addEventListener(\'complete\', function(client, text){\r\n alert(\"复制成功\");\r\n });\r\n var menuLink = $(\"#menuLink\").val();\r\n $($(\"input[type=button]\")[0]).attr(\"id\",\"coptyBtn\");\r\n clip.setText(menuLink);\r\n clip.glue(\"coptyBtn\");\r\n }\r\n }); \r\n}','list',NULL,'2c90ac564c9d1734014c9d22b16c0001'),('2c90ac564c9d1734014c9d3241ac0021','$(\"textarea\").height(60);\r\n\r\n$(function(){\r\n$(\"body\").append(\"<link href=\\\"plug-in/lhgDialog/skins/default.css\\\" rel=\\\"stylesheet\\\" id=\\\"lhgdialoglink\\\">\");\r\nvar $btn = $(\"<div class=\\\"ui_buttons\\\" style=\\\"display:inline-block;padding:0px;\\\"><input style=\\\"position: relative;top: 0px;\\\" class=\\\"ui_state_highlight\\\" type=\\\"button\\\" value=\\\"sql解析\\\" id=\\\"sqlAnalyze\\\" /></div>\");\r\n$(\"#cgr_sql\").after($btn);\r\n$btn.click(function(){\r\n $.ajax({\r\n url:\"cgReportController.do?getFields\",\r\n data:{sql:$(\"#cgr_sql\").val()},\r\n type:\"Post\",\r\n dataType:\"json\",\r\n success:function(data){\r\n if(data.status==\"success\"){\r\n $(\"#add_jform_graphreport_item_table\").empty();\r\n $.each(data.fields,function(index,e){\r\n $(\"#addBtn_jform_graphreport_item\").click();\r\n $(\"#add_jform_graphreport_item_table tr:last\").find(\":text\")\r\n .eq(0).val(e)\r\n
/*!40000 ALTER TABLE `cgform_enhance_js` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_field`
--
DROP TABLE IF EXISTS `cgform_field`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_field` (
`id` varchar(32) NOT NULL COMMENT '主键ID',
`content` varchar(200) NOT NULL COMMENT '字段备注',
`create_by` varchar(255) DEFAULT NULL COMMENT '创建人',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_name` varchar(32) DEFAULT NULL COMMENT '创建人名字',
`dict_field` varchar(100) DEFAULT NULL COMMENT '字典code',
`dict_table` varchar(100) DEFAULT NULL COMMENT '字典表',
`dict_text` varchar(100) DEFAULT NULL COMMENT '字典Text',
`field_default` varchar(20) DEFAULT NULL COMMENT '表字段默认值',
`field_href` varchar(200) DEFAULT NULL COMMENT '跳转URL',
`field_length` int(11) DEFAULT NULL COMMENT '表单控件长度',
`field_name` varchar(32) NOT NULL COMMENT '字段名字',
`field_valid_type` varchar(300) DEFAULT NULL COMMENT '表单字段校验规则',
`field_must_input` varchar(2) DEFAULT NULL COMMENT '字段是否必填',
`is_key` varchar(2) DEFAULT NULL COMMENT '是否主键',
`is_null` varchar(5) DEFAULT NULL COMMENT '是否允许为空',
`is_query` varchar(5) DEFAULT NULL COMMENT '是否查询条件',
`is_show` varchar(5) DEFAULT NULL COMMENT '表单是否显示',
`is_show_list` varchar(5) DEFAULT NULL COMMENT '列表是否显示',
`length` int(11) NOT NULL COMMENT '数据库字段长度',
`main_field` varchar(100) DEFAULT NULL COMMENT '外键主键字段',
`main_table` varchar(100) DEFAULT NULL COMMENT '外键主表名',
`old_field_name` varchar(32) DEFAULT NULL COMMENT '原字段名',
`order_num` int(11) DEFAULT NULL COMMENT '原排列序号',
`point_length` int(11) DEFAULT NULL COMMENT '小数点',
`query_mode` varchar(10) DEFAULT NULL COMMENT '查询模式',
`show_type` varchar(10) DEFAULT NULL COMMENT '表单控件类型',
`type` varchar(32) NOT NULL COMMENT '数据库字段类型',
`update_by` varchar(32) DEFAULT NULL COMMENT '修改人',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
`update_name` varchar(32) DEFAULT NULL COMMENT '修改人名称',
`table_id` varchar(32) NOT NULL COMMENT '表ID',
`extend_json` varchar(500) DEFAULT NULL COMMENT '扩展参数JSON',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_field`
--
LOCK TABLES `cgform_field` WRITE;
/*!40000 ALTER TABLE `cgform_field` DISABLE KEYS */;
INSERT INTO `cgform_field` VALUES ('4028138151adbcc50151adfd136d0003','主键','admin','2015-12-17 11:30:22','管理员','','','','','',120,'id','',NULL,'Y','N','N','N','N',36,'','','id',1,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd143b0004','创建人名称','admin','2015-12-17 11:30:22','管理员','','','','','',120,'create_name','',NULL,'N','Y','N','N','N',50,'','','create_name',2,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd144b0005','创建人登录名称','admin','2015-12-17 11:30:22','管理员','','','','','',120,'create_by','',NULL,'N','Y','N','N','N',50,'','','create_by',3,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd144d0006','填表日期','admin','2015-12-17 11:30:22','管理员','','','','','',120,'create_date','',NULL,'N','Y','N','Y','Y',20,'','','create_date',4,0,'single','date','Date','admin','2015-12-17 13:45:11','管理员','4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd144f0007','更新人名称','admin','2015-12-17 11:30:22','管理员','','','','','',120,'update_name','',NULL,'N','Y','N','N','N',50,'','','update_name',5,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd14580008','更新人登录名称','admin','2015-12-17 11:30:22','管理员','','','','','',120,'update_by','',NULL,'N','Y','N','N','N',50,'','','update_by',6,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd145c0009','更新日期','admin','2015-12-17 11:30:22','管理员','','','','','',120,'update_date','',NULL,'N','Y','N','N','N',20,'','','update_date',7,0,'single','date','Date',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd145f000a','所属部门','admin','2015-12-17 11:30:22','管理员','','','','','',120,'sys_org_code','',NULL,'N','Y','N','N','N',50,'','','sys_org_code',8,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd1460000b','所属公司','admin','2015-12-17 11:30:22','管理员','','','','','',120,'sys_company_code','',NULL,'N','Y','N','N','N',50,'','','sys_company_code',9,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd1462000c','姓名','admin','2015-12-17 11:30:22','管理员','','','','','',120,'employee_name','',NULL,'N','Y','N','Y','Y',32,'','','employee_name',10,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd1464000d','部门','admin','2015-12-17 11:30:22','管理员','','','','','',120,'employee_depart','',NULL,'N','Y','N','Y','Y',50,'','','employee_depart',11,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd1466000e','职务','admin','2015-12-17 11:30:22','管理员','','','','','',120,'employee_job','',NULL,'N','Y','N','Y','Y',32,'','','employee_job',12,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd1468000f','生日','admin','2015-12-17 11:30:22','管理员','','','','','',120,'employee_birthday','',NULL,'N','Y','N','Y','Y',32,'','','employee_birthday',13,0,'single','date','Date','admin','2015-12-17 13:45:11','管理员','4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd146a0010','籍贯','admin','2015-12-17 11:30:22','管理员','','','','','',120,'employee_origin','',NULL,'N','Y','N','Y','Y',50,'','','employee_origin',14,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd14780011','学历','admin','2015-12-17 11:30:22','管理员','','','','','',120,'employee_degree','',NULL,'N','Y','N','Y','Y',32,'','','employee_degree',15,0,'single','text','string',NULL,NULL,NULL,'4028138151adbcc50151adfd13680002',''),('4028138151adbcc50151adfd147c0012','身份证','admin','2015-12-17 11:30:22','管理员','','','
/*!40000 ALTER TABLE `cgform_field` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_ftl`
--
DROP TABLE IF EXISTS `cgform_ftl`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_ftl` (
`ID` varchar(32) NOT NULL COMMENT '主键ID',
`CGFORM_ID` varchar(36) NOT NULL COMMENT '表单ID',
`CGFORM_NAME` varchar(100) NOT NULL COMMENT '表单名字',
`CREATE_BY` varchar(36) DEFAULT NULL COMMENT '创建人',
`CREATE_DATE` datetime DEFAULT NULL COMMENT '创建时间',
`CREATE_NAME` varchar(32) DEFAULT NULL COMMENT '创建人名字',
`FTL_CONTENT` longtext COMMENT '设计模板内容',
`FTL_STATUS` varchar(50) DEFAULT NULL COMMENT '模板激活状态',
`FTL_VERSION` int(11) NOT NULL COMMENT '模板编号',
`FTL_WORD_URL` varchar(200) DEFAULT NULL COMMENT '上传Word路径',
`UPDATE_BY` varchar(36) DEFAULT NULL COMMENT '修改人',
`UPDATE_DATE` datetime DEFAULT NULL COMMENT '修改时间',
`UPDATE_NAME` varchar(32) DEFAULT NULL COMMENT '修改人名字',
`editor_type` varchar(10) DEFAULT '01' COMMENT '类型',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_ftl`
--
LOCK TABLES `cgform_ftl` WRITE;
/*!40000 ALTER TABLE `cgform_ftl` DISABLE KEYS */;
INSERT INTO `cgform_ftl` VALUES ('4028138151adbcc50151ae8a558d0036','4028138151adbcc50151adfd13680002','员工入职单','admin','2015-12-17 00:00:00','管理员','<html xmlns:m=\"http://schemas.microsoft.com/office/2004/12/omml\">\r\n<head>\r\n <title></title>\r\n <link href=\"plug-in/easyui/themes/default/easyui.css\" id=\"easyuiTheme\" rel=\"stylesheet\" type=\"text/css\" />\r\n <link href=\"plug-in/easyui/themes/icon.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n <link href=\"plug-in/accordion/css/accordion.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n <link href=\"plug-in/Validform/css/style.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n <link href=\"plug-in/Validform/css/tablefrom.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n <style type=\"text/css\">body{font-size:12px;}table{border: 1px solid #000000;padding:0; margin:0 auto;border-collapse: collapse;width:100%;align:right;}td {border: 1px solid #000000;background: #fff;font-size:12px;padding: 3px 3px 3px 8px;color: #000000;word-break: keep-all;}\r\n </style>\r\n</head>\r\n<script type=\"text/javascript\" src=\"plug-in/jquery/jquery-1.8.3.js\"></script><script type=\"text/javascript\" src=\"plug-in/tools/dataformat.js\"></script><script type=\"text/javascript\" src=\"plug-in/easyui/jquery.easyui.min.1.3.2.js\"></script><script type=\"text/javascript\" src=\"plug-in/easyui/locale/zh-cn.js\"></script><script type=\"text/javascript\" src=\"plug-in/tools/syUtil.js\"></script><script type=\"text/javascript\" src=\"plug-in/My97DatePicker/WdatePicker.js\"></script><script type=\"text/javascript\" src=\"plug-in/lhgDialog/lhgdialog.min.js\"></script><script type=\"text/javascript\" src=\"plug-in/tools/curdtools_zh-cn.js\"></script><script type=\"text/javascript\" src=\"plug-in/tools/easyuiextend.js\"></script><script type=\"text/javascript\" src=\"plug-in/Validform/js/Validform_v5.3.1_min_zh-cn.js\"></script><script type=\"text/javascript\" src=\"plug-in/Validform/js/Validform_Datatype_zh-cn.js\"></script><script type=\"text/javascript\" src=\"plug-in/Validform/js/datatype_zh-cn.js\"></script><script type=\"text/javascript\" src=\"plug-in/Validform/plugin/passwordStrength/passwordStrength-min.js\"></script><script type=\"text/javascript\">$(function(){$(\"#formobj\").Validform({tiptype:4,btnSubmit:\"#btn_sub\",btnReset:\"#btn_reset\",ajaxPost:true,usePlugin:{passwordstrength:{minLen:6,maxLen:18,trigger:function(obj,error){if(error){obj.parent().next().find(\".Validform_checktip\").show();obj.find(\".passwordStrength\").hide();}else{$(\".passwordStrength\").show();obj.parent().next().find(\".Validform_checktip\").hide();}}}},callback:function(data){if(data.success==true){if(!neibuClickFlag){var win = frameElement.api.opener;frameElement.api.close();win.tip(data.msg);win.reloadTable();}else {alert(data.msg)}}else{if(data.responseText==\'\'||data.responseText==undefined)$(\"#formobj\").html(data.msg);else $(\"#formobj\").html(data.responseText); return false;}if(!neibuClickFlag){var win = frameElement.api.opener;win.reloadTable();}}});});</script>\r\n<body>\r\n<form action=\"cgFormBuildController.do?saveOrUpdate\" id=\"formobj\" method=\"post\" name=\"formobj\"><input name=\"tableName\" type=\"hidden\" value=\"${tableName?if_exists?html}\" /><input name=\"id\" type=\"hidden\" value=\"${id?if_exists?html}\" /><input class=\"btn_sub\" id=\"btn_sub\" type=\"hidden\" />#{jform_hidden_field}\r\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"MsoNormalTable\" style=\"width:675.75pt;\" width=\"901\">\r\n <tbody>\r\n <tr style=\"mso-yfti-irow:0;mso-yfti-firstrow:yes;height:8.25pt\">\r\n <td colspan=\"7\" nowrap=\"nowrap\" style=\"width: 675.75pt; padding: 0cm 5.4pt; height: 8.25pt; background-color: rgb(0, 176, 240);\" width=\"901\">\r\n <p align=\"center\" class=\"MsoNormal\" style=\"text-align:center;mso-pagination:widow-orphan\"><span style=\"font-size: 11pt; font-family: 宋体;\"> <span lang=\"EN-US\"><o:p></o:p></span></span></p>\r\n </td>\r\n </tr>\r\n <tr style=\"mso-yfti-irow:1;height:36.75pt\">\r\n <td colspan=\"7\" nowrap=\"nowr
/*!40000 ALTER TABLE `cgform_ftl` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_head`
--
DROP TABLE IF EXISTS `cgform_head`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_head` (
`id` varchar(32) NOT NULL COMMENT '主键ID',
`content` varchar(200) NOT NULL COMMENT '表描述',
`create_by` varchar(32) DEFAULT NULL COMMENT '创建人',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_name` varchar(32) DEFAULT NULL COMMENT '创建人名称',
`is_checkbox` varchar(5) NOT NULL COMMENT '是否带checkbox',
`is_dbsynch` varchar(20) NOT NULL COMMENT '同步数据库状态',
`is_pagination` varchar(5) NOT NULL COMMENT '是否分页',
`is_tree` varchar(5) NOT NULL COMMENT '是否是树',
`jform_pk_sequence` varchar(200) DEFAULT NULL COMMENT '主键生成序列',
`jform_pk_type` varchar(100) DEFAULT NULL COMMENT '主键类型',
`jform_type` int(11) NOT NULL COMMENT '表类型:单表、主表、附表',
`jform_version` varchar(10) NOT NULL COMMENT '表单版本号',
`querymode` varchar(10) NOT NULL COMMENT '查询模式',
`relation_type` int(11) DEFAULT NULL,
`sub_table_str` varchar(1000) DEFAULT NULL COMMENT '子表',
`tab_order` int(11) DEFAULT NULL COMMENT '附表排序序号',
`table_name` varchar(50) NOT NULL COMMENT '表名',
`update_by` varchar(32) DEFAULT NULL COMMENT '修改人',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
`update_name` varchar(32) DEFAULT NULL COMMENT '修改人名字',
`tree_parentid_fieldname` varchar(50) DEFAULT NULL COMMENT '树形表单父id',
`tree_id_fieldname` varchar(50) DEFAULT NULL COMMENT '树表主键字段',
`tree_fieldname` varchar(50) DEFAULT NULL COMMENT '树开表单列字段',
`jform_category` varchar(50) NOT NULL DEFAULT 'bdfl_ptbd' COMMENT '表单分类',
`form_template` varchar(50) DEFAULT NULL COMMENT 'PC表单模板',
`form_template_mobile` varchar(50) DEFAULT NULL COMMENT '表单模板样式(移动端)',
`table_type` varchar(50) DEFAULT NULL COMMENT '''0''为物理表1为配置表',
`table_version` int(11) DEFAULT NULL COMMENT '表版本',
`physice_id` varchar(32) DEFAULT NULL COMMENT '物理表id(配置表用)',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_head`
--
LOCK TABLES `cgform_head` WRITE;
/*!40000 ALTER TABLE `cgform_head` DISABLE KEYS */;
INSERT INTO `cgform_head` VALUES ('4028138151adbcc50151adfd13680002','员工入职单','admin','2015-12-17 11:30:22','管理员','N','Y','Y','N','','UUID',1,'48','single',0,NULL,NULL,'jform_employee_entry','admin','2016-02-26 16:04:27','管理员',NULL,'id',NULL,'bdfl_ptbd','jform00001',NULL,NULL,NULL,NULL),('402880e74da32ebe014da3309b880001','第一个树','admin','2015-05-30 12:59:41','管理员','N','Y','Y','Y','','UUID',1,'17','single',0,NULL,NULL,'jform_tree','admin','2017-03-04 12:10:39','管理员','father_id','id','name','bdfl_ptbd','ledefault','','',NULL,NULL),('402881885ebad3e7015ebb1732c000e1','计费配置','admin','2017-09-26 06:10:13','admin','N','Y','Y','N','','UUID',1,'4','single',0,NULL,NULL,'ba_cost_conf','admin','2017-09-26 06:56:09','admin',NULL,'id',NULL,'bdfl_ptbd','ledefault','ledefault','',NULL,NULL),('402881885ebf0a1c015ec64a51e801c3','计费日期配置','admin','2017-09-28 10:21:53','admin','N','Y','Y','N','','UUID',1,'2','single',0,NULL,NULL,'wm_day_cost_conf','admin','2017-09-28 10:24:41','admin',NULL,'id',NULL,'bdfl_ptbd','ledefault','ledefault','',NULL,NULL),('40288188602ac89101602b7206a43636','客户属性','admin','2017-12-06 18:49:41','admin','Y','Y','Y','N','','UUID',1,'1','single',0,NULL,NULL,'ba_keHuShuXing','admin','2017-12-06 18:49:44','admin',NULL,'id',NULL,'bdfl_ptbd','','','',NULL,NULL),('40288188602bfe6201602ee9e8fb14be','有无意向书','admin','2017-12-07 10:59:30','admin','N','Y','Y','N','','UUID',1,'1','single',0,NULL,NULL,'ba_kehuzhuangtai','admin','2017-12-07 10:59:32','admin',NULL,'id',NULL,'bdfl_ptbd','','','',NULL,NULL),('40288188606ec04d016071f1fec600d8','温度','admin','2017-12-20 11:22:53','admin','N','Y','Y','N','','UUID',1,'4','single',0,NULL,NULL,'wm_wendu','admin','2017-12-20 11:33:59','admin',NULL,'id',NULL,'bdfl_ptbd','','','',NULL,NULL),('40288188624441760162725b27a32cba','托盘主数据','admin','2018-03-29 23:23:19','admin','N','Y','Y','N','','UUID',1,'1','single',0,NULL,NULL,'wm_tuopan','admin','2018-03-29 23:23:23','admin',NULL,'id',NULL,'bdfl_ptbd','ledefault','','',NULL,NULL),('402881a151f09a900151f0ad74120001','员工离职单','admin','2015-12-30 10:17:58','管理员','N','Y','Y','N','','UUID',1,'3','single',0,NULL,NULL,'jform_employee_resignation','admin','2016-02-19 18:48:59','管理员',NULL,'id',NULL,'bdfl_ptbd','jform00002',NULL,NULL,NULL,NULL),('402881e451fce3050151fd3dd20c0002','员工费用报销申请信息表','admin','2016-01-01 20:51:06','管理员','Y','Y','Y','N','','UUID',2,'36','group',0,'jform_employee_other_cost,jform_employee_meals_cost',NULL,'jform_employee_cost_claim','admin','2016-06-23 16:37:29','管理员',NULL,'id',NULL,'bdfl_ptbd','o2mTableStyle','',NULL,NULL,NULL),('402881e451fce3050151fd3e196b0019','员工餐费明细表','admin','2016-01-01 20:51:24','管理员','Y','Y','Y','N','','UUID',3,'6','group',0,NULL,NULL,'jform_employee_meals_cost','admin','2016-01-01 21:04:55','管理员',NULL,'id',NULL,'bdfl_ptbd','',NULL,NULL,NULL,NULL),('402881e451fce3050151fd3e1b680021','员工其他费用明细表','admin','2016-01-01 20:51:25','管理员','Y','Y','Y','N','','UUID',3,'7','group',0,NULL,NULL,'jform_employee_other_cost','admin','2016-01-01 21:04:59','管理员',NULL,'id',NULL,'bdfl_ptbd','',NULL,NULL,NULL,NULL),('402881e4534c0aea01534c0cf9f70001','简历信息表','admin','2016-03-06 21:10:32','管理员','Y','Y','Y','N','','UUID',2,'104','group',0,'jform_resume_degree_info,jform_resume_exp_info',NULL,'jform_resume_info','admin','2017-03-27 18:10:47','管理员',NULL,'id',NULL,'bdfl_ptbd','','','',NULL,NULL),('402881e4534c0aea01534c0cfca50012','工作信息表','admin','2016-03-06 21:10:33','管理员','Y','Y','Y','N','','UUID',3,'16','group',0,NULL,NULL,'jform_resume_exp_info','admin','2017-03-04 23:28:36','管理员',NULL,'id',NULL,'bdfl_ptbd','','','',NULL,NULL),('402881e4534c0aea01534c0cfe2b001b','教育经历','admin','2016-03-06 21:10:33','管理员','Y','Y','Y','N','','UUID',3,'7','group',0,NULL,NULL,'jform_resume_degree_info','admin','2016-05-07 16:30:05','管理员',NULL,'id',NULL,'bdfl_ptbd','','',NULL,NULL,NULL),
/*!40000 ALTER TABLE `cgform_head` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_index`
--
DROP TABLE IF EXISTS `cgform_index`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_index` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`index_name` varchar(100) DEFAULT NULL COMMENT '索引名称',
`index_field` varchar(500) DEFAULT NULL COMMENT '索引栏位',
`index_type` varchar(32) DEFAULT NULL COMMENT '索引类型',
`table_id` varchar(32) DEFAULT NULL COMMENT '主表id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_index`
--
LOCK TABLES `cgform_index` WRITE;
/*!40000 ALTER TABLE `cgform_index` DISABLE KEYS */;
INSERT INTO `cgform_index` VALUES ('402880f45ad5bf19015ad5d1c6180010','管理员','admin','2017-03-16 14:32:59',NULL,NULL,NULL,'index_name','name','normal','4028b88153659dd4015365ab21d0000c'),('402880f45ad5bf19015ad5d1c6180011','管理员','admin','2017-03-16 14:32:59',NULL,NULL,NULL,'index_bpm_status','bpm_status','normal','4028b88153659dd4015365ab21d0000c');
/*!40000 ALTER TABLE `cgform_index` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_template`
--
DROP TABLE IF EXISTS `cgform_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_template` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`template_name` varchar(100) DEFAULT NULL COMMENT '模板名称',
`template_code` varchar(50) DEFAULT NULL COMMENT '模板编码',
`template_type` varchar(32) DEFAULT NULL COMMENT '模板类型',
`template_share` varchar(10) DEFAULT NULL COMMENT '是否共享',
`template_pic` varchar(100) DEFAULT NULL COMMENT '预览图',
`template_comment` varchar(200) DEFAULT NULL COMMENT '模板描述',
`template_list_name` varchar(200) DEFAULT NULL COMMENT '列表模板名称\r\n',
`template_add_name` varchar(200) DEFAULT NULL COMMENT '录入模板名称',
`template_update_name` varchar(200) DEFAULT NULL COMMENT '编辑模板名\r\n称',
`template_detail_name` varchar(200) DEFAULT NULL COMMENT '查看页面模\r\n板名称',
`status` int(11) DEFAULT NULL COMMENT '有效状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_template`
--
LOCK TABLES `cgform_template` WRITE;
/*!40000 ALTER TABLE `cgform_template` DISABLE KEYS */;
INSERT INTO `cgform_template` VALUES ('4000020160401f7c0151f1eb65c50001','管理员','admin','2015-12-30 16:05:15','管理员','admin','2017-03-20 11:45:01','A03','A0','ACE默认模板','ledefault','3','','ledefault.png','ACE默认模板','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',1),('4000020160401f7c0151f1eb65c50003','管理员','admin','2015-12-30 16:05:15','管理员','admin','2017-03-20 12:07:05','A03','A0','EASY默认模板','default','3','','default.jpg','EASY默认模板','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',1),('40281381506e454301506e518d200001','管理员','admin','2015-10-16 09:44:09','管理员','admin','2015-12-03 23:01:05','A02','A0','客户资料表单模板','olstyle00002','1',NULL,'index_900317F6B680FBBE6F8AEAB36CE0F20C.png','olstyle00002','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',0),('4028138151b2ba140151b2efe7430001','管理员','admin','2015-12-18 10:34:05','管理员','admin','2015-12-18 18:44:14','A02','A0','员工入职单','jform00001','1',NULL,'jform00001.jpg','员工入职单','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',0),('402880e85070dc9f015070e076ca0003','管理员','admin','2015-10-16 21:39:30','管理员','admin','2015-12-03 23:01:24','A02','A0','客户跟踪表单模板','olstyle00001','1',NULL,'olstyle00001.png','olstyle00001','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',0),('4028818e535507ee0153552211ff0001','管理员','admin','2016-03-08 15:30:10','管理员','admin','2016-03-11 11:06:47','A03','A0','一对多全TAB模式','o2mTableStyle','2',NULL,'index_9F13F103DDDCAACF20F09489BE1D449F.jpg','o2mTableStyle','autolist.ftl','jformunion.ftl','jformunion.ftl','jformunion.ftl',0),('40288195525dcc2d01525dd07e560001','管理员','admin','2016-01-20 14:54:51','管理员','admin','2016-02-25 12:18:05','A03','A0','通用移动模板001','moblieCommon001','1',NULL,'','通用移动模板001','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',0),('402881a151f1af7c0151f1eb65c50012','管理员','admin','2015-12-30 16:05:15','管理员','admin','2015-12-30 16:40:19','A03','A0','员工离职单','jform00002','1',NULL,'jform00002.png','员工离职单','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',0),('402881e45205d2bc015205da12c80008','管理员','admin','2016-01-03 12:58:44','管理员','admin','2016-02-25 11:56:11','A02','A0','员工费用报销单','employeeCost','2',NULL,'employeeCost.png','employeeCost','autolist.ftl','jformunion.ftl','jformunion.ftl','jformunion.ftl',0),('402881e4527933980152793fb745000f','管理员','admin','2016-01-25 22:46:05','管理员','admin','2017-04-19 19:00:03','A02','A0','通用移动模板002','moblieCommon002','2',NULL,'olMoblieStyle00002.png','olMoblieStyle00002','autolist.ftl','jformunion.ftl','jformunion.ftl','jformunion.ftl',1),('402881e4534c0aea01534c1a2a9f0027','管理员','admin','2016-03-06 21:24:57','管理员','admin','2017-03-14 00:06:04','A03','A0','招聘简历信息','resume','2',NULL,'','招聘简历信息','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',1),('40288af454ff777c0154ffad599e0003','管理员','admin','2016-05-30 11:20:31','管理员','admin','2017-03-14 12:14:52','A03','A0','表格行编辑','RowsEdit','1',NULL,'rowedit.png','表格行编辑','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',1),('40289481511b1cbf01511b229aa90001','管理员','admin','2015-11-18 23:07:11','管理员','admin','2015-12-03 23:00:13','A02','A0','boostrap 简约风格','boostrap01','1',NULL,'index_762156D7FDDD269B87C74079D53F4549.png','boostrap 简约风格','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',0),('4028b88154d672d00154d8c21e36005c','管理员','admin','2016-05-22 21:58:01','管理员','admin','2017-04-07 19:33:11','A01','A0','非弹框表单样式','nopopform','1',NULL,'','','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',1),('4028efa2523f95dc01523f98b4b50002','管理员','admin','2016-01-14 18:05:18','管理员','admin','2016-03-11 11:06:08','A02','A0','请假单','leaveApplicationForm','1',NULL,'','移动端风格','autolist.ftl','jform.ftl','jform.ftl','jform.ftl',0);
/*!40000 ALTER TABLE `cgform_template` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cgform_uploadfiles`
--
DROP TABLE IF EXISTS `cgform_uploadfiles`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cgform_uploadfiles` (
`CGFORM_FIELD` varchar(100) NOT NULL COMMENT '表单字段',
`CGFORM_ID` varchar(36) NOT NULL COMMENT '表单ID',
`CGFORM_NAME` varchar(100) NOT NULL COMMENT '表单名称',
`id` varchar(32) NOT NULL COMMENT '主键ID',
PRIMARY KEY (`id`),
KEY `FK_qwig8sn3okhvh4wye8nn8gdeg` (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cgform_uploadfiles`
--
LOCK TABLES `cgform_uploadfiles` WRITE;
/*!40000 ALTER TABLE `cgform_uploadfiles` DISABLE KEYS */;
INSERT INTO `cgform_uploadfiles` VALUES ('FILE_S','402880f65ada19f8015ada30568d0003','test_demo','402880f65ada19f8015ada30571d0005'),('file_s','402880f65ada4209015ada4f5716000c','test_demo','402880f65adac254015adac3a6df0005'),('FILE_STR','402881855ad7918f015ad799620a000c','jform_leave','402881855ad7918f015ad7996267000e'),('name','4028ef815382d0af015382d780440002','test_student','4028ef8153cf9d710153cfa38ea10010'),('name','4028ef8153cf9d710153cfa4a4fd0011','test_student','4028ef8153cf9d710153cfa4a5cc0013'),('filename2','4028ef815509d9db015509e142860001','test_file','4028ef815509d842015509e143280004');
/*!40000 ALTER TABLE `cgform_uploadfiles` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jeecg_custom_info`
--
DROP TABLE IF EXISTS `jeecg_custom_info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jeecg_custom_info` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cust_name` varchar(100) DEFAULT NULL COMMENT '客户名称',
`cust_addr` varchar(200) DEFAULT NULL COMMENT '地址',
`cust_code` varchar(50) DEFAULT NULL COMMENT '客户编号',
`email` varchar(50) DEFAULT NULL COMMENT 'email',
`cust_charge` varchar(50) DEFAULT NULL COMMENT '负责人',
`sex` varchar(10) DEFAULT NULL COMMENT '性别',
`age` varchar(32) DEFAULT NULL COMMENT '年龄',
`position` varchar(32) DEFAULT NULL COMMENT '职务',
`phone` varchar(32) DEFAULT NULL COMMENT '电话',
`bank` varchar(100) DEFAULT NULL COMMENT '往来银行',
`money` varchar(100) DEFAULT NULL COMMENT '现金情况',
`promoter` varchar(50) DEFAULT NULL COMMENT '承办人',
`account` varchar(100) DEFAULT NULL COMMENT '账号',
`turnover` varchar(32) DEFAULT NULL COMMENT '资金周转',
`payment_attr` varchar(100) DEFAULT NULL COMMENT '付款态度',
`sax_num` varchar(100) DEFAULT NULL COMMENT '税号',
`pay_date` varchar(100) DEFAULT NULL COMMENT '付款日期',
`begin_pay_date` varchar(100) DEFAULT NULL COMMENT '开始交易日期',
`main_bus` varchar(100) DEFAULT NULL COMMENT '主营产品',
`bus_pro` varchar(100) DEFAULT NULL COMMENT '营业项目',
`warehouse` varchar(100) DEFAULT NULL COMMENT '仓库情况',
`people` varchar(100) DEFAULT NULL COMMENT '员工人数及素质',
`transportation` varchar(100) DEFAULT NULL COMMENT '运输方式',
`operation` varchar(100) DEFAULT NULL COMMENT '经营体制',
`car` varchar(20) DEFAULT NULL COMMENT '服务车数目',
`shopkeeper` varchar(100) DEFAULT NULL COMMENT '零售商数及覆盖情况',
`wholesale` varchar(10) DEFAULT NULL COMMENT '批发商数',
`bus_scope` varchar(100) DEFAULT NULL COMMENT '营业范围',
`area` varchar(100) DEFAULT NULL COMMENT '门市面积',
`management` varchar(200) DEFAULT NULL COMMENT '经营方针',
`stock1` varchar(10) DEFAULT NULL COMMENT '进货',
`stock2` varchar(10) DEFAULT NULL COMMENT '进货',
`sale1` varchar(10) DEFAULT NULL COMMENT '销售',
`sale2` varchar(10) DEFAULT NULL COMMENT '销售',
`inventory1` varchar(100) DEFAULT NULL COMMENT '存货',
`inventory2` varchar(100) DEFAULT NULL COMMENT '存货',
`max_money` varchar(100) DEFAULT NULL COMMENT '最高信用额度',
`cust_level` varchar(100) DEFAULT NULL COMMENT '客户等级',
`all_avg_inventory` varchar(100) DEFAULT NULL COMMENT '总体月均库存数',
`avg_inventory` varchar(100) DEFAULT NULL COMMENT '月均库存数',
`price` varchar(100) DEFAULT NULL COMMENT '价格折扣',
`promise` varchar(100) DEFAULT NULL COMMENT '支持和服务的承诺',
`competing_goods` varchar(100) DEFAULT NULL COMMENT '竞品经营情况',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jeecg_custom_info`
--
LOCK TABLES `jeecg_custom_info` WRITE;
/*!40000 ALTER TABLE `jeecg_custom_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `jeecg_custom_info` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jeecg_custom_record`
--
DROP TABLE IF EXISTS `jeecg_custom_record`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jeecg_custom_record` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`custom_id` varchar(32) DEFAULT NULL COMMENT '客户编号',
`header` varchar(32) DEFAULT NULL COMMENT '负责人',
`establish_date` datetime DEFAULT NULL COMMENT '成立日期',
`custom_name` varchar(32) DEFAULT NULL COMMENT '客户名称',
`capital_lines` double DEFAULT NULL COMMENT '资本额',
`address` varchar(32) DEFAULT NULL COMMENT '地址',
`phone` varchar(32) DEFAULT NULL COMMENT '电话',
`business_type` varchar(32) DEFAULT NULL COMMENT '营业类型',
`fax` varchar(32) DEFAULT NULL COMMENT '传真',
`banks` varchar(32) DEFAULT NULL COMMENT '主要往来银行',
`other_business` varchar(32) DEFAULT NULL COMMENT '其他投资事业',
`turnover` varchar(32) DEFAULT NULL COMMENT '平均每日营业额',
`business` varchar(32) DEFAULT NULL COMMENT '主要业务往来',
`pay_type` varchar(32) DEFAULT NULL COMMENT '付款方式',
`business_contacts` varchar(32) DEFAULT NULL COMMENT '与本公司往来',
`collection` varchar(32) DEFAULT NULL COMMENT '收款记录',
`business_important_contacts` varchar(32) DEFAULT NULL COMMENT '最近与本公司往来重要记录',
`business_record` varchar(32) DEFAULT NULL COMMENT '最近交易数据跟踪',
`customer_opinion` varchar(32) DEFAULT NULL COMMENT '客户意见',
`credit_evaluation` varchar(32) DEFAULT NULL COMMENT '信用评定',
`preparer` varchar(32) DEFAULT NULL COMMENT '填表人',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jeecg_custom_record`
--
LOCK TABLES `jeecg_custom_record` WRITE;
/*!40000 ALTER TABLE `jeecg_custom_record` DISABLE KEYS */;
INSERT INTO `jeecg_custom_record` VALUES ('402880f45ad4f86e015ad4f86ea30000','管理员','admin','2017-03-16 10:35:35',NULL,NULL,NULL,'A03','A03','111','222','2017-03-16 00:00:00','111',111,'111','111','111','111','111','111','1111','1111',NULL,'111',NULL,'111','111','111','111','111'),('4028ef8153167a170153167c23dd0002','管理员','admin','2016-02-25 00:00:00',NULL,NULL,NULL,'A03','A0','2','2','2016-02-25 00:00:00','2',22,'222','2','2','2','2','2','2','2',NULL,'2',NULL,'2','2','2','2','2');
/*!40000 ALTER TABLE `jeecg_custom_record` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jeecg_demo`
--
DROP TABLE IF EXISTS `jeecg_demo`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jeecg_demo` (
`id` varchar(32) NOT NULL COMMENT 'id',
`name` varchar(255) NOT NULL COMMENT '名称',
`age` int(10) DEFAULT NULL COMMENT '年龄',
`birthday` datetime DEFAULT NULL COMMENT '生日',
`content` varchar(255) DEFAULT NULL COMMENT '个人介绍',
`dep_id` varchar(255) DEFAULT NULL COMMENT '部门',
`email` varchar(255) DEFAULT NULL COMMENT '邮箱',
`phone` varchar(255) DEFAULT NULL COMMENT '电话',
`salary` varchar(19) DEFAULT NULL COMMENT '工资',
`sex` varchar(255) DEFAULT NULL COMMENT '性别',
`touxiang` varchar(255) DEFAULT NULL COMMENT '头像',
`fujian` varchar(255) DEFAULT NULL COMMENT '附件',
`status` varchar(255) DEFAULT NULL COMMENT '入职状态',
`create_date` datetime DEFAULT NULL COMMENT 'createDate',
`create_by` varchar(32) DEFAULT NULL COMMENT '创建人id',
`create_name` varchar(32) DEFAULT NULL COMMENT '创建人',
`update_by` varchar(32) DEFAULT NULL COMMENT '修改人id',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
`update_name` varchar(32) DEFAULT NULL COMMENT '修改人',
`sys_org_code` varchar(200) DEFAULT NULL COMMENT '部门编码',
`sys_company_code` varchar(200) DEFAULT NULL COMMENT '公司编码',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jeecg_demo`
--
LOCK TABLES `jeecg_demo` WRITE;
/*!40000 ALTER TABLE `jeecg_demo` DISABLE KEYS */;
INSERT INTO `jeecg_demo` VALUES ('402880ef5affc86b015affca171c0003','1212',1212,'2017-03-24 00:00:00','','402880e447e99cf10147e9a03b320003','154040976@qq.com','18611788555','11','0',NULL,NULL,'Y','2017-03-24 18:08:38','admin','管理员','admin','2017-03-27 10:38:56','管理员','A03','A03'),('402880f25b0da07e015b0da1e99d0004','111',111,'2017-03-27 00:00:00','','402880e447e9a9570147e9b677320003','1@1.com','18611788555','',NULL,NULL,NULL,'Y','2017-03-27 10:39:26','admin','管理员','admin','2017-03-28 13:58:44','管理员','A03','A03'),('402881875b19f141015b19f38427000c','测试scott',100,NULL,'','','1@qq.com','18611788888','','0','','','N','2017-03-29 20:04:01','scott','张代浩','admin','2017-04-12 15:29:44','管理员','A01A02A01A01','A01'),('402881875b19f141015b19f4a71d0010','测试demo',50,'2017-04-01 00:00:00','','','1@163.com','18888888888','','1','','','N','2017-03-29 20:05:15','demo','demo','admin','2017-04-12 15:29:48','管理员','A01A02A01A01','A01'),('402881875b19f141015b19ff9aa90031','测试demo部门',1,NULL,'','402880e447e9a9570147e9b6a3be0005','1@163.com','18677777777','','0','','','N','2017-03-29 20:17:13','demo','demo','admin','2017-04-12 18:14:47','管理员','A01A02A01A01','A01'),('402881875b19f141015b1a0023990035','测试scott部门',2,NULL,'','','1@163.com','18788888888','','1','','','N','2017-03-29 20:17:48','scott','张代浩','admin','2017-04-12 15:29:51','管理员','A01A02A01A01','A01');
/*!40000 ALTER TABLE `jeecg_demo` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jeecg_order_custom`
--
DROP TABLE IF EXISTS `jeecg_order_custom`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jeecg_order_custom` (
`ID` varchar(32) NOT NULL,
`CREATE_DT` datetime DEFAULT NULL,
`CRTUSER` varchar(12) DEFAULT NULL,
`CRTUSER_NAME` varchar(10) DEFAULT NULL,
`DEL_DT` datetime DEFAULT NULL,
`DELFLAG` int(11) DEFAULT NULL,
`GO_ORDER_CODE` varchar(12) NOT NULL,
`GOC_BUSS_CONTENT` varchar(33) DEFAULT NULL,
`GOC_CONTENT` varchar(66) DEFAULT NULL,
`GOC_CUS_NAME` varchar(16) DEFAULT NULL,
`GOC_IDCARD` varchar(18) DEFAULT NULL,
`GOC_PASSPORT_CODE` varchar(10) DEFAULT NULL,
`GOC_SEX` varchar(255) DEFAULT NULL,
`MODIFIER` varchar(12) DEFAULT NULL,
`MODIFIER_NAME` varchar(10) DEFAULT NULL,
`MODIFY_DT` datetime DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jeecg_order_custom`
--
LOCK TABLES `jeecg_order_custom` WRITE;
/*!40000 ALTER TABLE `jeecg_order_custom` DISABLE KEYS */;
INSERT INTO `jeecg_order_custom` VALUES ('402880f25b18eaca015b1911c36c0002',NULL,NULL,NULL,NULL,NULL,'A001',NULL,NULL,'小红',NULL,NULL,'1',NULL,NULL,NULL),('402880f25b18eaca015b1911c38f0003',NULL,NULL,NULL,NULL,NULL,'A001',NULL,NULL,'小王',NULL,NULL,'0',NULL,NULL,NULL);
/*!40000 ALTER TABLE `jeecg_order_custom` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jeecg_order_main`
--
DROP TABLE IF EXISTS `jeecg_order_main`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jeecg_order_main` (
`ID` varchar(32) NOT NULL,
`CREATE_DT` datetime DEFAULT NULL,
`CRTUSER` varchar(12) DEFAULT NULL,
`CRTUSER_NAME` varchar(10) DEFAULT NULL,
`DEL_DT` datetime DEFAULT NULL,
`DELFLAG` int(11) DEFAULT NULL,
`GO_ALL_PRICE` decimal(10,2) DEFAULT NULL,
`GO_CONTACT_NAME` varchar(16) DEFAULT NULL,
`GO_CONTENT` varchar(66) DEFAULT NULL,
`GO_ORDER_CODE` varchar(12) NOT NULL,
`GO_ORDER_COUNT` int(11) DEFAULT NULL,
`GO_RETURN_PRICE` decimal(10,2) DEFAULT NULL,
`GO_TELPHONE` varchar(11) DEFAULT NULL,
`GODER_TYPE` varchar(255) DEFAULT NULL,
`MODIFIER` varchar(12) DEFAULT NULL,
`MODIFIER_NAME` varchar(10) DEFAULT NULL,
`MODIFY_DT` datetime DEFAULT NULL,
`USERTYPE` varchar(255) DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jeecg_order_main`
--
LOCK TABLES `jeecg_order_main` WRITE;
/*!40000 ALTER TABLE `jeecg_order_main` DISABLE KEYS */;
INSERT INTO `jeecg_order_main` VALUES ('121212',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402880f25b18eaca015b1911c3480001',NULL,NULL,NULL,NULL,NULL,100.00,'scott',NULL,'A001',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `jeecg_order_main` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jeecg_order_product`
--
DROP TABLE IF EXISTS `jeecg_order_product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jeecg_order_product` (
`ID` varchar(32) NOT NULL,
`CREATE_DT` datetime DEFAULT NULL,
`CRTUSER` varchar(12) DEFAULT NULL,
`CRTUSER_NAME` varchar(10) DEFAULT NULL,
`DEL_DT` datetime DEFAULT NULL,
`DELFLAG` int(11) DEFAULT NULL,
`GO_ORDER_CODE` varchar(12) NOT NULL,
`GOP_CONTENT` varchar(66) DEFAULT NULL,
`GOP_COUNT` int(11) DEFAULT NULL,
`GOP_ONE_PRICE` decimal(10,2) DEFAULT NULL,
`GOP_PRODUCT_NAME` varchar(33) DEFAULT NULL,
`GOP_PRODUCT_TYPE` varchar(1) NOT NULL,
`GOP_SUM_PRICE` decimal(10,2) DEFAULT NULL,
`MODIFIER` varchar(12) DEFAULT NULL,
`MODIFIER_NAME` varchar(10) DEFAULT NULL,
`MODIFY_DT` datetime DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jeecg_order_product`
--
LOCK TABLES `jeecg_order_product` WRITE;
/*!40000 ALTER TABLE `jeecg_order_product` DISABLE KEYS */;
/*!40000 ALTER TABLE `jeecg_order_product` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_cgdynamgraph_head`
--
DROP TABLE IF EXISTS `jform_cgdynamgraph_head`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_cgdynamgraph_head` (
`ID` varchar(36) NOT NULL COMMENT '主键ID',
`CGR_SQL` longtext NOT NULL COMMENT '移动报表SQL',
`CODE` varchar(36) NOT NULL COMMENT '移动报表编码',
`CONTENT` varchar(500) NOT NULL COMMENT '描述',
`NAME` varchar(100) NOT NULL COMMENT '移动报表名字',
`update_name` varchar(32) DEFAULT NULL COMMENT '修改人',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
`update_by` varchar(32) DEFAULT NULL COMMENT '修改人id',
`create_name` varchar(32) DEFAULT NULL COMMENT '创建人',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(32) DEFAULT NULL COMMENT '创建人id',
`db_source` varchar(36) DEFAULT NULL COMMENT '动态数据源',
`graph_type` varchar(36) DEFAULT NULL COMMENT '移动报表类型',
`data_structure` varchar(36) DEFAULT NULL COMMENT '数据结构类型',
`is_pagination` varchar(2) DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_cgdynamgraph_head`
--
LOCK TABLES `jform_cgdynamgraph_head` WRITE;
/*!40000 ALTER TABLE `jform_cgdynamgraph_head` DISABLE KEYS */;
INSERT INTO `jform_cgdynamgraph_head` VALUES ('40287d815212a622015212ab57100003','select broswer name,count(1) value,case when broswer =\'Firefox\' then \'#FF00FF\' when broswer =\'IE\' then \'#FFFF00\' else \'#43CD80\' end color from t_s_log group by broswer','t_s_log','测试报表','用户登录记录','管理员','2016-03-15 14:07:53','admin',NULL,NULL,NULL,'','','',NULL),('4028ef8156fe0cf20156fe0e25c80003','select broswer name,count(1) value,case when broswer =\'Firefox\' then \'#FF00FF\' when broswer =\'IE\' then \'#FFFF00\' else \'#43CD80\' end color from t_s_log group by broswer','cc','1','cc','管理员','2017-04-01 16:47:34','admin',NULL,NULL,NULL,'','Pie2D','',NULL);
/*!40000 ALTER TABLE `jform_cgdynamgraph_head` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_cgdynamgraph_item`
--
DROP TABLE IF EXISTS `jform_cgdynamgraph_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_cgdynamgraph_item` (
`ID` varchar(36) NOT NULL,
`S_FLAG` varchar(2) DEFAULT NULL COMMENT '是否查询',
`S_MODE` varchar(10) DEFAULT NULL COMMENT '查询模式',
`CGRHEAD_ID` varchar(36) DEFAULT NULL COMMENT '报表ID',
`DICT_CODE` varchar(36) DEFAULT NULL COMMENT '字段code',
`FIELD_HREF` varchar(120) DEFAULT NULL COMMENT '字段跳转URL',
`FIELD_NAME` varchar(36) DEFAULT NULL COMMENT '字段名字',
`FIELD_TXT` longtext COMMENT '字段文本',
`FIELD_TYPE` varchar(10) DEFAULT NULL COMMENT '字段类型',
`IS_SHOW` varchar(5) DEFAULT NULL COMMENT '是否显示',
`ORDER_NUM` int(11) DEFAULT NULL COMMENT '排序',
`REPLACE_VA` varchar(36) DEFAULT NULL COMMENT '取值表达式',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_cgdynamgraph_item`
--
LOCK TABLES `jform_cgdynamgraph_item` WRITE;
/*!40000 ALTER TABLE `jform_cgdynamgraph_item` DISABLE KEYS */;
INSERT INTO `jform_cgdynamgraph_item` VALUES ('40287d81523df8f501523f348d5a0009','Y','single','40287d815212a622015212ab57100003','','','name','浏览器','String','Y',0,''),('40287d81523df8f501523f348d66000a','Y','group','40287d815212a622015212ab57100003','','','value','数量','String','Y',1,''),('40287d81523df8f501523f348d6a000b','','','40287d815212a622015212ab57100003','','','color','color','String','Y',2,''),('4028ef8156fe0cf20156fe0e25c80004','','','4028ef8156fe0cf20156fe0e25c80003','','','name','name','','Y',0,''),('4028ef8156fe0cf20156fe0e25c80005','','','4028ef8156fe0cf20156fe0e25c80003','','','value','value','','Y',1,''),('4028ef8156fe0cf20156fe0e25c80006','','','4028ef8156fe0cf20156fe0e25c80003','','','color','color','','Y',2,'');
/*!40000 ALTER TABLE `jform_cgdynamgraph_item` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_cgdynamgraph_param`
--
DROP TABLE IF EXISTS `jform_cgdynamgraph_param`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_cgdynamgraph_param` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`param_name` varchar(32) NOT NULL COMMENT '参数名称',
`param_desc` varchar(32) DEFAULT NULL COMMENT '参数说明',
`param_value` varchar(32) DEFAULT NULL COMMENT '数值',
`seq` int(11) DEFAULT NULL COMMENT '排序',
`cgrhead_id` varchar(36) DEFAULT NULL COMMENT '动态报表ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_cgdynamgraph_param`
--
LOCK TABLES `jform_cgdynamgraph_param` WRITE;
/*!40000 ALTER TABLE `jform_cgdynamgraph_param` DISABLE KEYS */;
/*!40000 ALTER TABLE `jform_cgdynamgraph_param` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_cgreport_head`
--
DROP TABLE IF EXISTS `jform_cgreport_head`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_cgreport_head` (
`ID` varchar(36) NOT NULL,
`CGR_SQL` longtext NOT NULL COMMENT '报表SQL',
`CODE` varchar(36) NOT NULL COMMENT '报表编码',
`CONTENT` longtext NOT NULL COMMENT '描述',
`NAME` varchar(100) NOT NULL COMMENT '报表名字',
`update_name` varchar(32) DEFAULT NULL COMMENT '修改人',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
`update_by` varchar(32) DEFAULT NULL COMMENT '修改人id',
`create_name` varchar(32) DEFAULT NULL COMMENT '创建人',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(32) DEFAULT NULL COMMENT '创建人id',
`db_source` varchar(36) DEFAULT NULL COMMENT '动态数据源',
`return_val_field` varchar(100) DEFAULT NULL COMMENT '返回值字段',
`return_txt_field` varchar(100) DEFAULT NULL COMMENT '返回文本字段',
`pop_retype` varchar(2) DEFAULT '1' COMMENT '返回类型,单选或多选',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_cgreport_head`
--
LOCK TABLES `jform_cgreport_head` WRITE;
/*!40000 ALTER TABLE `jform_cgreport_head` DISABLE KEYS */;
INSERT INTO `jform_cgreport_head` VALUES ('402880e64e1ef94d014e1efefc2a0001','select * from weixin_account','weixin_account','测试多数据源功能','跨数据库报表演示','管理员','2016-03-15 11:34:38','admin',NULL,NULL,NULL,'jeewx-yunying','','','1'),('402880e64eb9a22c014eb9a4d5890001','select * from t_s_base_user','ddt_s_base_user','全表查询','用户全部查询报表','管理员','2017-03-01 22:38:53','admin',NULL,NULL,NULL,'','','','2'),('402880e74d76e784014d76f9e783001e','select username account , realname from t_s_base_user','user_msg','用户POPUP弹出页面','POPUP用户列表','张清照','2017-10-10 23:57:09','zqz',NULL,NULL,NULL,'','account','realname','2'),('4028812f6755929a01675d40fdbb1677','select * from wv_last_picking_stock order by last_date desc','r_wm_dongtaistt','','动仓盘点','初始','2018-11-30 10:56:16','admin',NULL,NULL,NULL,'','','','1'),('402881885eb4ef7f015ebb5c94b7006a','SELECT * FROM wm_stt_in_goods t where stt_sta = \'\' and t.goods_qua <> t.stt_qua','wm_stt_cy','','盘点差异','admin','2017-09-26 07:31:23','admin',NULL,NULL,NULL,'','','','1'),('402881885f0c77e5015f10fa58890080','SELECT \r\n wv.create_date,\r\n wv.order_id,\r\n wv.ku_wei_bian_ma,\r\n wv.bin_id,\r\n wv.cus_code,\r\n wv.zhong_wen_qch,\r\n wv.shp_ming_cheng,\r\n wv.goods_pro_data,\r\n wv.base_goodscount,\r\n wv.base_unit,\r\n mb.ku_wei_lei_xing as leixing\r\nFROM\r\n wv_stock_base wv,\r\n md_bin mb\r\nwhere\r\n wv.ku_wei_bian_ma = mb.ku_wei_bian_ma and\r\n wv.kuctype = \'\'','wm_jck','','进出库报表','admin','2018-03-26 11:51:47','admin',NULL,NULL,NULL,'','','','1'),('402881885f193f67015f19c0ac0c0007','select im_sta, count(*) as count from wm_im_notice_h group by im_sta','wm_im_sta','','订单进度',NULL,NULL,NULL,'admin','2017-10-14 15:19:38','admin','','','','1'),('402881885f23b8b8015f254064d2002f',' select \r\n `wg`.`create_date` AS `create_date`,\r\n `wg`.`create_name` AS `create_name`,\r\n `wg`.`create_by` AS `create_by`,\r\n wg.im_notice_id,\r\n wg.item_text,\r\n wg.rec_deg,\r\n `wg`.`bin_id` AS `ku_wei_bian_ma`,\r\n `wg`.`tin_id` AS `bin_id`,\r\n `wg`.`cus_code` AS `cus_code`,\r\n `mc`.`zhong_wen_qch` AS `zhong_wen_qch`,\r\n `mg`.`goods_id` AS `goods_code`,\r\n `wg`.`goods_id` AS `goods_id`,\r\n `wg`.`qm_ok_quat` AS `goods_qua`,\r\n `mg`.`goods_name` AS `shp_ming_cheng`,\r\n `wg`.`pro_data` AS `goods_pro_data`,\r\n `mg`.`bzhi_qi` AS `bzhi_qi`,\r\n `wg`.`goods_unit` AS `goods_unit`,\r\n `wg`.`base_unit` AS `base_unit`,\r\n `wg`.`base_goodscount` AS `base_goodscount`,\r\nmg.zhl_kg,\r\n(`wg`.`base_goodscount` * mg.zhl_kg) as sumzhl\r\n from\r\n ((`wm_in_qm_i` `wg`\r\n join `md_cus` `mc`)\r\n join `mv_goods` `mg`)\r\n where\r\n ((`wg`.`cus_code` = `mc`.`ke_hu_bian_ma`)\r\n and (`wg`.`goods_id` = `mg`.`goods_code`)\r\n) having base_goodscount > 0\r\n ','wm_in_qm','','验收明细','admin','2017-10-26 09:55:13','admin',NULL,NULL,NULL,'','','','1'),('402881885f23b8b8015f254836c60042','select \r\n `wg`.`create_date` AS `create_date`,\r\n `wg`.`create_name` AS `create_name`,\r\n `wg`.`create_by` AS `create_by`,\r\n wg.order_id,\r\n (select im_cus_code from wm_im_notice_h where notice_id = wg.order_id limit 1) as im_cus_code,\r\n `wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,\r\n `wg`.`bin_id` AS `bin_id`,\r\n `wg`.`cus_code` AS `cus_code`,\r\n `mc`.`zhong_wen_qch` AS `zhong_wen_qch`,\r\n\r\n `mg`.`goods_id` AS `goods_code`,\r\n `mg`.`goods_name` AS `shp_ming_cheng`,\r\n mg.shp_gui_ge,\r\n `wg`.`goods_pro_data` AS `goods_pro_data`,\r\n `mg`.`bzhi_qi` AS `bzhi_qi`,\r\n `wg`.`base_unit` AS `base_unit`,\r\n `wg`.`base_goodscount` AS `base_goodscount`,\r\n mg.zhl_kg\r\n from\r\n ((`wm_to_up_goods` `wg`\r\n join `md_cus` `mc`)\r\n j
/*!40000 ALTER TABLE `jform_cgreport_head` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_cgreport_item`
--
DROP TABLE IF EXISTS `jform_cgreport_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_cgreport_item` (
`ID` varchar(36) NOT NULL,
`S_FLAG` varchar(2) DEFAULT NULL COMMENT '是否查询',
`S_MODE` varchar(10) DEFAULT NULL COMMENT '查询模式',
`CGRHEAD_ID` varchar(36) DEFAULT NULL COMMENT '报表ID',
`DICT_CODE` varchar(36) DEFAULT NULL COMMENT '字典CODE',
`FIELD_HREF` varchar(120) DEFAULT NULL COMMENT '字段跳转URL',
`FIELD_NAME` varchar(36) DEFAULT NULL COMMENT '字段名字',
`FIELD_TXT` longtext COMMENT '字段文本',
`FIELD_TYPE` varchar(10) DEFAULT NULL COMMENT '字段类型',
`IS_SHOW` varchar(5) DEFAULT NULL COMMENT '是否显示',
`ORDER_NUM` int(11) DEFAULT NULL COMMENT '排序',
`REPLACE_VA` varchar(36) DEFAULT NULL COMMENT '取值表达式',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_cgreport_item`
--
LOCK TABLES `jform_cgreport_item` WRITE;
/*!40000 ALTER TABLE `jform_cgreport_item` DISABLE KEYS */;
INSERT INTO `jform_cgreport_item` VALUES ('402880e64e1ef94d014e1efefc2f0002','','','402880e64e1ef94d014e1efefc2a0001','','','id','id','String','Y',0,''),('402880e64e1ef94d014e1efefc340003','','','402880e64e1ef94d014e1efefc2a0001','','','accountname','accountname','String','Y',1,''),('402880e64e1ef94d014e1efefc360004','','','402880e64e1ef94d014e1efefc2a0001','','','accounttoken','accounttoken','String','Y',2,''),('402880e64e1ef94d014e1efefc370005','','','402880e64e1ef94d014e1efefc2a0001','','','accountnumber','accountnumber','String','Y',3,''),('402880e64e1ef94d014e1efefc380006','','','402880e64e1ef94d014e1efefc2a0001','','','accounttype','accounttype','String','Y',4,''),('402880e64e1ef94d014e1efefc3d0007','','','402880e64e1ef94d014e1efefc2a0001','','','accountemail','accountemail','String','Y',5,''),('402880e64e1ef94d014e1efefc3e0008','','','402880e64e1ef94d014e1efefc2a0001','','','accountdesc','accountdesc','String','Y',6,''),('402880e64e1ef94d014e1efefc3f0009','','','402880e64e1ef94d014e1efefc2a0001','','','accountaccesstoken','accountaccesstoken','String','Y',7,''),('402880e64e1ef94d014e1efefc41000a','','','402880e64e1ef94d014e1efefc2a0001','','','accountappid','accountappid','String','Y',8,''),('402880e64e1ef94d014e1efefc42000b','','','402880e64e1ef94d014e1efefc2a0001','','','accountappsecret','accountappsecret','String','Y',9,''),('402880e64e1ef94d014e1efefc43000c','','','402880e64e1ef94d014e1efefc2a0001','','','ADDTOEKNTIME','ADDTOEKNTIME','String','Y',10,''),('402880e64e1ef94d014e1efefc44000d','','','402880e64e1ef94d014e1efefc2a0001','','','USERNAME','USERNAME','String','Y',11,''),('402880e64e1ef94d014e1efefc45000e','','','402880e64e1ef94d014e1efefc2a0001','','','WEIXIN_ACCOUNTID','WEIXIN_ACCOUNTID','String','Y',12,''),('402880e64eb9a22c014eb9a4d58e0002','','','402880e64eb9a22c014eb9a4d5890001','','','ID','ID','String','Y',0,''),('402880e64eb9a22c014eb9a4d5930003','','','402880e64eb9a22c014eb9a4d5890001','','','activitiSync','activitiSync','String','Y',1,''),('402880e64eb9a22c014eb9a4d5940004','','','402880e64eb9a22c014eb9a4d5890001','','','browser','browser','String','Y',2,''),('402880e64eb9a22c014eb9a4d5950005','','','402880e64eb9a22c014eb9a4d5890001','','','password','password','String','Y',3,''),('402880e64eb9a22c014eb9a4d5960006','','','402880e64eb9a22c014eb9a4d5890001','','','realname','realname','String','Y',4,''),('402880e64eb9a22c014eb9a4d59b0007','','','402880e64eb9a22c014eb9a4d5890001','','','signature','signature','String','Y',5,''),('402880e64eb9a22c014eb9a4d59c0008','','','402880e64eb9a22c014eb9a4d5890001','','','status','status','String','Y',6,''),('402880e64eb9a22c014eb9a4d59d0009','','','402880e64eb9a22c014eb9a4d5890001','','','userkey','userkey','String','Y',7,''),('402880e64eb9a22c014eb9a4d59e000a','','','402880e64eb9a22c014eb9a4d5890001','','','username','username','String','Y',8,''),('402880e64eb9a22c014eb9a4d5a0000b','','','402880e64eb9a22c014eb9a4d5890001','','','departid','departid','String','Y',9,''),('4028812f6755929a01675d40fdbb1678','Y','single','4028812f6755929a01675d40fdbb1677','','','ku_wei_bian_ma','储位','String','Y',0,''),('4028812f6755929a01675d40fdbb1679','Y','single','4028812f6755929a01675d40fdbb1677','','','bin_id','托盘','String','Y',1,''),('4028812f6755929a01675d40fdbb167a','Y','single','4028812f6755929a01675d40fdbb1677','','','goods_code','商品编码','String','Y',5,''),('4028812f6755929a01675d40fdbb167b','Y','single','4028812f6755929a01675d40fdbb1677','','','shp_ming_cheng','商品名称','String','Y',6,''),('4028812f6755929a01675d40fdbb167c','','','4028812f6755929a01675d40fdbb1677','','','shp_gui_ge','规格','String','Y',7,''),('4028812f6755929a01675d40fdbb167d','','','4028812f6755929a01675d40fdbb1677','','','goods_pro_data','生产日期','String','Y',9,''),('4028812f6755929a01675d40fdbb167e','','','4028812f6755929a01675d40fdbb1677','','','bzhi_qi','保质期','String','Y',10,''),('4028812f6755929a01675d40fdbb167f','','','4028812f6755929a01675d40fdbb1677','','','dqr','到期日','String','Y',11,''),('4028812f6755929a01675d40fdbb1680','','','4028812f6755929a01675d
/*!40000 ALTER TABLE `jform_cgreport_item` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_cgreport_param`
--
DROP TABLE IF EXISTS `jform_cgreport_param`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_cgreport_param` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`param_name` varchar(32) NOT NULL COMMENT '参数名称',
`param_desc` varchar(32) DEFAULT NULL COMMENT '参数说明',
`param_value` varchar(32) DEFAULT NULL COMMENT '数值',
`seq` int(11) DEFAULT NULL COMMENT '排序',
`cgrhead_id` varchar(36) DEFAULT NULL COMMENT '动态报表ID',
PRIMARY KEY (`id`),
KEY `idx_cgrheadid` (`cgrhead_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_cgreport_param`
--
LOCK TABLES `jform_cgreport_param` WRITE;
/*!40000 ALTER TABLE `jform_cgreport_param` DISABLE KEYS */;
INSERT INTO `jform_cgreport_param` VALUES ('402881885f3f9203015f450115f502ce','admin','admin','2017-10-23 00:53:40','admin','admin','2017-10-23 00:54:17','A04','A04','begin_date','开始日期','2017-01-01',0,'402881885f3f9203015f450115f502c6'),('402881885f3f9203015f450115f502cf','admin','admin','2017-10-23 00:53:40','admin','admin','2017-10-23 00:54:17','A04','A04','end_date','结束日期','2017-11-01',1,'402881885f3f9203015f450115f502c6');
/*!40000 ALTER TABLE `jform_cgreport_param` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_contact`
--
DROP TABLE IF EXISTS `jform_contact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_contact` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
`name` varchar(100) DEFAULT NULL COMMENT '姓名',
`sex` varchar(50) DEFAULT NULL COMMENT '性别',
`groups` varchar(200) DEFAULT NULL COMMENT '所属分组',
`company` varchar(200) DEFAULT NULL COMMENT '公司名称',
`position` varchar(100) DEFAULT NULL COMMENT '职位',
`mobile` varchar(30) DEFAULT NULL COMMENT '移动电话',
`office_phone` varchar(30) DEFAULT NULL COMMENT '办公电话',
`email` varchar(100) DEFAULT NULL COMMENT '电子邮箱',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_contact`
--
LOCK TABLES `jform_contact` WRITE;
/*!40000 ALTER TABLE `jform_contact` DISABLE KEYS */;
INSERT INTO `jform_contact` VALUES ('402881825a99a2f3015a99a2f33d0000','管理员','admin','2017-03-04 22:04:37','管理员','admin','2017-04-12 19:38:14','A03','A03','1','111','0','402880e75b47f12e015b47f75f810005','11','11',NULL,'11',NULL),('4028ef815373fddd015373fe4aae0002','管理员','admin','2016-03-14 00:00:00','管理员','admin','2016-06-02 00:00:00','A03','A0','1','张三','男性','销售部','北京','CEO','13456548798',NULL,'1@1.com'),('4028ef8153cf9d710153cf9f29430002','管理员','admin','2016-04-01 00:00:00','管理员','admin','2017-04-12 19:38:21','A03','A0','','123','1','402880f45ad60bba015ad60d0ed50003','123','123','18644565456','12','156142064@qq.com'),('4028ef815509d9db01550a0120f00002','管理员','admin','2016-06-01 00:00:00','管理员','admin','2017-04-12 19:38:18','A03','A0','1','1212','1','402880f45ad60bba015ad60d0ed50003','12','12','18611788521','12',NULL);
/*!40000 ALTER TABLE `jform_contact` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_contact_group`
--
DROP TABLE IF EXISTS `jform_contact_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_contact_group` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
`name` varchar(32) NOT NULL COMMENT '分组名称',
PRIMARY KEY (`id`),
KEY `index_name` (`name`) USING BTREE,
KEY `index_bpm_status` (`bpm_status`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_contact_group`
--
LOCK TABLES `jform_contact_group` WRITE;
/*!40000 ALTER TABLE `jform_contact_group` DISABLE KEYS */;
INSERT INTO `jform_contact_group` VALUES ('402880e75b47f12e015b47f75f810005','管理员','admin','2017-04-07 18:30:45','管理员','admin','2017-04-12 19:38:01','A03','A03','1','计算机组'),('402880f45ad60bba015ad60d0ed50003','管理员','admin','2017-03-16 15:37:44','管理员','admin','2017-04-12 19:38:01','A03','A03','','文艺组'),('402881855ad80bfb015ad811f1f20002','管理员','admin','2017-03-17 01:02:19','管理员','admin','2017-04-12 19:38:01','A03','A03',NULL,'文学组');
/*!40000 ALTER TABLE `jform_contact_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_employee_cost_claim`
--
DROP TABLE IF EXISTS `jform_employee_cost_claim`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_employee_cost_claim` (
`id` varchar(36) NOT NULL DEFAULT '' COMMENT 'id',
`staff_name` varchar(50) DEFAULT NULL COMMENT '职工姓名',
`depart` varchar(50) DEFAULT NULL COMMENT '部门',
`staff_no` varchar(30) DEFAULT NULL COMMENT '员工编号',
`staff_post` varchar(50) DEFAULT NULL COMMENT '职位',
`pay_way` varchar(10) DEFAULT NULL COMMENT '打款方式',
`acct_bank` varchar(100) DEFAULT NULL COMMENT '开户行',
`card_no` varchar(30) DEFAULT NULL COMMENT '卡号',
`tele_no` varchar(20) DEFAULT NULL COMMENT '联系手机号',
`cost_all` decimal(7,2) DEFAULT NULL COMMENT '费用合计',
`documents` varchar(2) DEFAULT NULL COMMENT '单据数量',
`cost_upper` varchar(50) DEFAULT NULL COMMENT '费用大写',
`prepaid_fee` decimal(7,2) DEFAULT NULL COMMENT '预支款项',
`real_fee` decimal(7,2) DEFAULT NULL COMMENT '实际支付',
`fill_time` date DEFAULT NULL,
`apply_time` date DEFAULT NULL,
`apply_by` varchar(50) DEFAULT NULL COMMENT '申请人',
`comments` varchar(100) DEFAULT NULL COMMENT '备注',
`depart_approve` varchar(100) DEFAULT NULL COMMENT '部门审批',
`finance_approve` varchar(100) DEFAULT NULL COMMENT '财务审批',
`mgr_approve` varchar(100) DEFAULT NULL COMMENT '总经理审批',
`treasurer` varchar(100) DEFAULT NULL COMMENT '出纳',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_employee_cost_claim`
--
LOCK TABLES `jform_employee_cost_claim` WRITE;
/*!40000 ALTER TABLE `jform_employee_cost_claim` DISABLE KEYS */;
/*!40000 ALTER TABLE `jform_employee_cost_claim` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_employee_entry`
--
DROP TABLE IF EXISTS `jform_employee_entry`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_employee_entry` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '填表日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`employee_name` varchar(32) DEFAULT NULL COMMENT '姓名',
`employee_depart` varchar(50) DEFAULT NULL COMMENT '部门',
`employee_job` varchar(32) DEFAULT NULL COMMENT '职务',
`employee_birthday` datetime DEFAULT NULL COMMENT '生日',
`employee_origin` varchar(50) DEFAULT NULL COMMENT '籍贯',
`employee_degree` varchar(32) DEFAULT NULL COMMENT '学历',
`employee_identification` varchar(50) DEFAULT NULL COMMENT '身份证',
`employee_entry_date` datetime DEFAULT NULL COMMENT '入职日期',
`employee_code` varchar(32) DEFAULT NULL COMMENT '工号',
`employee_phone` varchar(32) DEFAULT NULL COMMENT '手机',
`employee_mail` varchar(150) DEFAULT NULL COMMENT '邮箱',
`employee_msn` varchar(32) DEFAULT NULL COMMENT 'MSN',
`hr_pic` varchar(2) DEFAULT NULL COMMENT '照片',
`hr_archives` varchar(2) DEFAULT NULL COMMENT '档案表',
`hr_identification` varchar(2) DEFAULT NULL COMMENT '身份证',
`hr_degree` varchar(2) DEFAULT NULL COMMENT '学位证',
`hr_other` varchar(2) DEFAULT NULL COMMENT '其他证件',
`hr_tel` varchar(2) DEFAULT NULL COMMENT '分配电话',
`hr_op_user` varchar(32) DEFAULT NULL COMMENT '经办人',
`hr_op_date` datetime DEFAULT NULL COMMENT '日期',
`depart_opinion` varchar(200) DEFAULT NULL COMMENT '部门意见',
`depart_op_user` varchar(32) DEFAULT NULL COMMENT '经办人',
`depart_op_date` datetime DEFAULT NULL COMMENT '日期',
`manager_opinion` varchar(200) DEFAULT NULL COMMENT '总经理意见',
`manager_op_user` varchar(32) DEFAULT NULL COMMENT '经办人',
`manager_op_date` datetime DEFAULT NULL COMMENT '日期',
`employee_opinion` varchar(200) DEFAULT NULL COMMENT '新员工意见',
`employee_op_user` varchar(32) DEFAULT NULL COMMENT '经办人',
`employee_op_date` datetime DEFAULT NULL COMMENT '日期',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_employee_entry`
--
LOCK TABLES `jform_employee_entry` WRITE;
/*!40000 ALTER TABLE `jform_employee_entry` DISABLE KEYS */;
INSERT INTO `jform_employee_entry` VALUES ('4028138151aef50c0151aef50c260000','管理员','admin','2015-12-17 00:00:00','管理员','admin','2015-12-18 00:00:00','A02','A0','张三','技术','java开发','2010-12-17 00:00:00','北京','本科','111111111111111','2015-12-17 00:00:00','U0000001','18500000000','zhangsan@jeecg.com','zhangsan@jeecg.cm','N','N','Y','Y','1','2','hr','2015-12-17 00:00:00','同意!','部门领导','2015-12-17 00:00:00','同意!','总经理领导','2015-12-17 00:00:00','努力工作!','张三','2015-12-17 00:00:00'),('4028138151aef50c0151af24ee4f0002',NULL,NULL,'2015-12-17 00:00:00','管理员','admin','2015-12-17 00:00:00',NULL,NULL,'李四','技术','Java开发','2015-12-01 00:00:00','北京','专科','11111111111111','2015-12-17 00:00:00','U00000002','13400000000','lisi@jeecg.com','lisi@jeecg.com','N','N','N','N',NULL,NULL,'hr','2015-12-17 00:00:00','OK!!!!','部门领导','2015-12-17 00:00:00','OK!!!!','总经理领导','2015-12-17 00:00:00','Yes!!!','李四','2015-12-17 00:00:00'),('4028138151b461e80151b461e86a0000',NULL,NULL,'2015-12-18 00:00:00','管理员','admin','2015-12-23 00:00:00',NULL,NULL,'王五','技术','java','2015-12-01 00:00:00','北京','本科','11111111','2015-12-25 00:00:00','U0000003','13611111111','wangwu@jeecg.com','wangwu@jeecg.com','N','N','N','N',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402880e75b47f12e015b47f6402e0004','管理员','admin','2017-04-07 18:29:32',NULL,NULL,NULL,'A03','A03','1111',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);
/*!40000 ALTER TABLE `jform_employee_entry` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_employee_leave`
--
DROP TABLE IF EXISTS `jform_employee_leave`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_employee_leave` (
`id` varchar(36) NOT NULL COMMENT '主键',
`name` varchar(100) DEFAULT NULL COMMENT '名称',
`apply_date` datetime DEFAULT NULL COMMENT '申请日期',
`duty` varchar(100) DEFAULT NULL COMMENT '职务',
`leave_category` varchar(100) DEFAULT NULL COMMENT '请假类别',
`leave_reason` varchar(100) DEFAULT NULL COMMENT '请假原因',
`leave_start_date` datetime DEFAULT NULL COMMENT '请假开始时间',
`leave_end_date` datetime DEFAULT NULL COMMENT '请假结束时间',
`total` int(5) DEFAULT NULL COMMENT '共计',
`contact_way` varchar(20) DEFAULT NULL COMMENT '紧急联系方式',
`duty_deputy` varchar(100) DEFAULT NULL COMMENT '批定职务代理人',
`leader_approval` varchar(50) DEFAULT NULL COMMENT '直接主管审批',
`dept_principal_approval` varchar(50) DEFAULT NULL COMMENT '部门负责人审批',
`hr_principal_approval` varchar(50) DEFAULT NULL COMMENT 'HR负责人审批',
`hr_records` varchar(50) DEFAULT NULL COMMENT '行政部备案',
`department` varchar(50) DEFAULT NULL COMMENT '部门',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_employee_leave`
--
LOCK TABLES `jform_employee_leave` WRITE;
/*!40000 ALTER TABLE `jform_employee_leave` DISABLE KEYS */;
INSERT INTO `jform_employee_leave` VALUES ('402880ef5aeb375a015aeb375a860000','秦风','2017-03-20 00:00:00','1','事假','123123123','2017-03-20 00:00:00','2017-03-20 00:00:00',2,'1','1','1','1','1','1',NULL),('402880f25a981a6d015a981ff6cb0001','scott','2017-03-04 00:00:00','12','事假','1111111111111111111111111111111 拉肚子',NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402880f25b18eaca015b18eaca4f0000','小王','2017-03-31 00:00:00',NULL,'事假',NULL,NULL,NULL,5,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402880f3591fca6701591fca678b0000','11','2016-12-21 00:00:00',NULL,'事假',NULL,NULL,NULL,1111,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402880f3591fd24a01591fd24a920000','12121',NULL,NULL,'事假',NULL,NULL,NULL,1212,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402880f3591fd24a01591fd31bb40001','张三',NULL,NULL,'年假',NULL,NULL,NULL,8000,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402880f3591fd5d601591fd5d6dc0000','111',NULL,NULL,'事假',NULL,NULL,NULL,11,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402881855af673f7015af673f7de0000','张三9','2017-03-22 00:00:00',NULL,'病假',NULL,'2017-03-22 00:00:00','2017-03-22 00:00:00',500,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028efa2521a91c701521a91c77d0000','阿巧','2016-01-06 00:00:00','java开发','事假','回家','2016-01-06 00:00:00','2016-01-14 00:00:00',22,'15110089792','刘旭生','刘旭生','刘旭生','刘旭生','10001',NULL);
/*!40000 ALTER TABLE `jform_employee_leave` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_employee_meals_cost`
--
DROP TABLE IF EXISTS `jform_employee_meals_cost`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_employee_meals_cost` (
`id` varchar(36) NOT NULL DEFAULT '' COMMENT 'id',
`fk_id` varchar(36) DEFAULT NULL COMMENT '外键',
`meals_date` date DEFAULT NULL,
`meals_cost` decimal(7,2) DEFAULT NULL COMMENT '餐费',
`meals_addr` varchar(100) DEFAULT NULL COMMENT '吃饭地点',
`meals_number` int(2) DEFAULT NULL COMMENT '同行人数',
`comments` varchar(100) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_employee_meals_cost`
--
LOCK TABLES `jform_employee_meals_cost` WRITE;
/*!40000 ALTER TABLE `jform_employee_meals_cost` DISABLE KEYS */;
/*!40000 ALTER TABLE `jform_employee_meals_cost` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_employee_other_cost`
--
DROP TABLE IF EXISTS `jform_employee_other_cost`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_employee_other_cost` (
`id` varchar(36) NOT NULL DEFAULT '' COMMENT 'id',
`fk_id` varchar(36) DEFAULT NULL COMMENT '外键',
`item` varchar(20) DEFAULT NULL COMMENT '事项',
`cost` decimal(7,2) DEFAULT NULL COMMENT '费用',
`begin_time` datetime DEFAULT NULL COMMENT '开始时间',
`end_time` datetime DEFAULT NULL COMMENT '结束时间',
`comments` varchar(100) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_employee_other_cost`
--
LOCK TABLES `jform_employee_other_cost` WRITE;
/*!40000 ALTER TABLE `jform_employee_other_cost` DISABLE KEYS */;
/*!40000 ALTER TABLE `jform_employee_other_cost` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_employee_resignation`
--
DROP TABLE IF EXISTS `jform_employee_resignation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_employee_resignation` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`name` varchar(32) DEFAULT NULL COMMENT '姓名',
`code` varchar(32) DEFAULT NULL COMMENT '员工编号',
`job` varchar(32) DEFAULT NULL COMMENT '职务',
`join_time` datetime DEFAULT NULL COMMENT '入职时间',
`out_type` varchar(32) DEFAULT NULL COMMENT '离职方式',
`apply_out_time` datetime DEFAULT NULL COMMENT '申请离职日期',
`out_time` datetime DEFAULT NULL COMMENT '正式离职日期',
`id_card` varchar(32) DEFAULT NULL COMMENT '身份证编号',
`out_content` varchar(200) DEFAULT NULL COMMENT '离职须知',
`out_reason` varchar(100) DEFAULT NULL COMMENT '离职原因',
`interview_record` varchar(100) DEFAULT NULL COMMENT '面谈记录',
`office_change` varchar(100) DEFAULT NULL COMMENT '办公物品移交',
`hr_check` varchar(32) DEFAULT NULL COMMENT '人力资源部审核',
`should_send_salary` double(32,0) DEFAULT NULL COMMENT '应发薪资',
`should_deduct_pay` double(32,0) DEFAULT NULL COMMENT '应扣薪资',
`pay` double(32,0) DEFAULT NULL COMMENT '实发薪资',
`get_time` datetime DEFAULT NULL COMMENT '领取日期',
`boss_check` varchar(32) DEFAULT NULL COMMENT '总经理审批',
`description` varchar(32) DEFAULT NULL COMMENT '说明',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_employee_resignation`
--
LOCK TABLES `jform_employee_resignation` WRITE;
/*!40000 ALTER TABLE `jform_employee_resignation` DISABLE KEYS */;
INSERT INTO `jform_employee_resignation` VALUES ('4028ef81536380d90153639400990004',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'12','12','12','2016-03-11 00:00:00','cigong','2016-03-11 00:00:00','2016-03-11 00:00:00','12','12','12','12','12',NULL,12,12,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `jform_employee_resignation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_graphreport_head`
--
DROP TABLE IF EXISTS `jform_graphreport_head`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_graphreport_head` (
`id` varchar(36) NOT NULL COMMENT 'id',
`cgr_sql` text NOT NULL COMMENT '查询数据SQL',
`code` varchar(36) NOT NULL COMMENT '编码',
`content` varchar(1000) NOT NULL COMMENT '描述',
`name` varchar(100) NOT NULL COMMENT '名称',
`ytext` varchar(100) NOT NULL COMMENT 'y轴文字',
`categories` varchar(1000) NOT NULL COMMENT 'x轴数据',
`is_show_list` varchar(5) DEFAULT NULL COMMENT '是否显示明细',
`x_page_js` text COMMENT '扩展JS',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_graphreport_head`
--
LOCK TABLES `jform_graphreport_head` WRITE;
/*!40000 ALTER TABLE `jform_graphreport_head` DISABLE KEYS */;
INSERT INTO `jform_graphreport_head` VALUES ('402881885f3f9203015f44ee804402ba','SELECT \r\n bs.store_code,\r\n (select \r\n sum(zui_da_tuo_Pan)\r\n from\r\n md_bin mb\r\n where\r\n mb.bin_store = bs.store_code\r\n and mb.zui_da_tuo_Pan < 99999) as tuopansum,\r\n (select \r\n count(*)\r\n from\r\n wv_stock wv\r\n where wv.bin_store = bs.store_code ) as usecount\r\nfrom\r\n ba_store bs\r\nhaving tuopansum > 0','CWSYL','储位使用率','储位使用率','托盘','store_code','Y',''),('402881885f6d30c9015f6d5b38f40004','select wc.cost_name,round(sum(wc.day_cost_hsj),2) as daycost from wm_day_cost wc group by wc.cost_name having sum(wc.day_cost_hsj) <> 0','FYHZFX','费用名称','费用汇总分析','费用','cost_name','Y',''),('402881e64ca71152014ca71152480000','select a.userid, count(*) ct, sum(case when right(logcontent, 4) in (\'\', \'cess\') then 1 else 0 end) login_count from t_s_log a where {operatetime} group by a.userid order by ct desc','yhcztj','用户操作统计','用户操作统计','操作次数','userid','Y','function getTotalRows(totalRows) {\r\n return [\'ct\', \'login_count\'];\r\n}'),('4028b8815e486236015e4870b7f30003','select ws.shp_ming_cheng,sum(ws.goods_qua) as ct from wv_stock ws group by ws.shp_ming_cheng \r\n order by ct desc limit 0,10','KCSLTOP10','库存数量TOP10','库存数量TOP10','数量','shp_ming_cheng','Y',''),('4028b8815e486236015e4879ee700010','select ws.zhong_wen_qch,sum(ws.goods_qua) as ct from wv_stock ws group by ws.zhong_wen_qch order by ct desc limit 0,10','khsltop10','客户数量TOP10','客户数量TOP10','数量','zhong_wen_qch','Y','');
/*!40000 ALTER TABLE `jform_graphreport_head` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_graphreport_item`
--
DROP TABLE IF EXISTS `jform_graphreport_item`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_graphreport_item` (
`id` varchar(36) NOT NULL COMMENT 'id',
`search_flag` varchar(2) DEFAULT NULL COMMENT '是否查询',
`search_mode` varchar(10) DEFAULT NULL COMMENT '查询模式',
`cgreport_head_id` varchar(36) DEFAULT NULL COMMENT 'cgreportHeadId',
`dict_code` varchar(500) DEFAULT NULL COMMENT '字典Code',
`field_href` varchar(120) DEFAULT NULL COMMENT '字段href',
`field_name` varchar(36) DEFAULT NULL COMMENT '字段名',
`field_txt` varchar(1000) DEFAULT NULL COMMENT '字段文本',
`field_type` varchar(10) DEFAULT NULL COMMENT '字段类型',
`is_show` varchar(5) DEFAULT NULL COMMENT '是否显示',
`order_num` int(11) DEFAULT NULL COMMENT '排序',
`replace_va` varchar(36) DEFAULT NULL COMMENT '取值表达式',
`is_graph` varchar(5) DEFAULT NULL COMMENT '显示图表',
`graph_type` varchar(50) DEFAULT NULL COMMENT '图表类型',
`graph_name` varchar(100) DEFAULT NULL COMMENT '图表名称',
`tab_name` varchar(50) DEFAULT NULL COMMENT '标签名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='jform_graphreport_item';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_graphreport_item`
--
LOCK TABLES `jform_graphreport_item` WRITE;
/*!40000 ALTER TABLE `jform_graphreport_item` DISABLE KEYS */;
INSERT INTO `jform_graphreport_item` VALUES ('402881885f3f9203015f44ee804402bb','Y','single','402881885f3f9203015f44ee804402ba','','','store_code','库别','String','Y',0,'','','','',''),('402881885f3f9203015f44ee804402bc','','','402881885f3f9203015f44ee804402ba','','','tuopansum','总托盘','Integer','Y',1,'','Y','column','总托盘','总托盘'),('402881885f3f9203015f44ee804402bd','','','402881885f3f9203015f44ee804402ba','','','usecount','使用的托盘','Integer','Y',2,'','Y','column','使用的托盘','总托盘'),('402881885f6d30c9015f6d5b38f40005','','','402881885f6d30c9015f6d5b38f40004','','','cus_code','货主','','',0,'','','','',''),('402881885f6d30c9015f6d5b38f40006','Y','single','402881885f6d30c9015f6d5b38f40004','','','cost_name','费用名称','String','Y',2,'','','','费用名称','费用名称'),('402881885f6d30c9015f6d5b38f40007','','','402881885f6d30c9015f6d5b38f40004','','','daycost','费用','Integer','Y',3,'','Y','column','费用','费用'),('402881e44cd2a0c2014cd2a0c29d0000','Y','single','402881e64ca71152014ca71152480000','','','ct','操作次数','Integer','Y',1,'}}}}}}}}','Y','column','操作次数','柱状图'),('402881e44cd2a0c2014cd2af45210001','N','single','402881e64ca71152014ca71152480000','','','ct','操作次数','Integer','N',5,'}}','Y','spline','操作次数','曲线图'),('402881e44cd2a0c2014cd2af45550002','Y','single','402881e64ca71152014ca71152480000','','','login_count','登录次数','Integer','N',6,'}}','Y','spline','登录次数','曲线图'),('402881e64ca71152014ca711527c0001','Y','single','402881e64ca71152014ca71152480000','select id \'key\', realname \'value\' from t_s_base_user','','userid','用户','String','Y',0,'}}}}}}}}}}}}}}}}}}}}}}}}','N','spline','用户',''),('402881e64ca71152014ca71152a90002','N','group','402881e64ca71152014ca71152480000','','','login_count','登录次数','Integer','Y',2,'}}}}}}}}}}}}}}}}}}}}}}}}','Y','column','登录次数','柱状图'),('402881e64ca7adc7014ca7adc75a0000','Y','group','402881e64ca71152014ca71152480000','','','operatetime','操作日期','Date','N',3,'}}}}}}}}}}}}}}','N','spline','',''),('4028b8815e486236015e4870b7f40004','Y','single','4028b8815e486236015e4870b7f30003','','','shp_ming_cheng','商品名称','String','Y',0,'','N','','商品名称',''),('4028b8815e486236015e4870b7f40005','','','4028b8815e486236015e4870b7f30003','','','ct','数量','Integer','Y',1,'','Y','column','数量',''),('4028b8815e486236015e4879ee700011','Y','single','4028b8815e486236015e4879ee700010','','','zhong_wen_qch','客户名称','String','Y',0,'','N','','客户名称',''),('4028b8815e486236015e4879ee700012','','','4028b8815e486236015e4879ee700010','','','ct','数量','Integer','Y',1,'','Y','spline','数量','');
/*!40000 ALTER TABLE `jform_graphreport_item` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_leave`
--
DROP TABLE IF EXISTS `jform_leave`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_leave` (
`id` varchar(36) NOT NULL COMMENT '主键',
`title` varchar(50) NOT NULL COMMENT '请假标题',
`people` varchar(20) NOT NULL COMMENT '请假人',
`sex` varchar(10) NOT NULL COMMENT '性别',
`begindate` datetime NOT NULL COMMENT '请假开始时间',
`enddate` datetime NOT NULL COMMENT '请假结束时间',
`day_num` int(11) DEFAULT NULL COMMENT '请假天数',
`hol_dept` varchar(32) NOT NULL COMMENT '所属部门',
`hol_reson` varchar(255) NOT NULL COMMENT '请假原因',
`dep_leader` varchar(20) DEFAULT NULL COMMENT '部门审批人',
`content` varchar(255) DEFAULT NULL COMMENT '部门审批意见',
`file_str` varchar(300) DEFAULT NULL COMMENT '附件',
`create_by` varchar(100) DEFAULT NULL COMMENT '创建人',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_leave`
--
LOCK TABLES `jform_leave` WRITE;
/*!40000 ALTER TABLE `jform_leave` DISABLE KEYS */;
INSERT INTO `jform_leave` VALUES ('402880e75b47f12e015b47f850a70006','222','222','1','2017-04-07 00:00:00','2017-04-28 18:31:32',1,'402880e447e99cf10147e9a03b320003','<p>1</p>','1','1',NULL,'admin'),('402880e75b47f12e015b47f947dd0007','111','111','0','2017-04-07 00:00:00','2017-04-14 18:32:41',1,'402880e447e99cf10147e9a03b320003','<p>1</p>',NULL,NULL,NULL,'admin'),('402880e75b47f12e015b47fa3c0b0008','111','111','0','2017-04-07 00:00:00','2017-04-27 18:33:47',1,'402880e447e99cf10147e9a03b320003','<p>1</p>','1','1',NULL,'admin'),('402880f25b1d8290015b1d82900c0000','scott','小王','0','2017-03-30 00:00:00','2017-03-25 12:38:36',5,'402880e447e99cf10147e9a03b320003','<p>99999999999</p>','总经理','同意',NULL,'admin'),('402880f25b1e618f015b1e63f4d80001','demo','demo','0','2017-03-30 00:00:00','2017-03-30 16:45:16',NULL,'402880e447e99cf10147e9a03b320003','<p>demo</p>','demo','demo',NULL,'demo'),('4028ef815374112b015374112b620000','请假出差','李四','0','2016-03-31 00:00:00','2016-03-17 15:39:41',NULL,'402880e447e99cf10147e9a03b320003','12','12','12',NULL,'admin');
/*!40000 ALTER TABLE `jform_leave` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_order_customer`
--
DROP TABLE IF EXISTS `jform_order_customer`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_order_customer` (
`id` varchar(36) NOT NULL,
`name` varchar(32) NOT NULL COMMENT '客户名',
`money` double DEFAULT NULL COMMENT '单价',
`sex` varchar(4) NOT NULL COMMENT '性别',
`telphone` varchar(32) DEFAULT NULL COMMENT '电话',
`fk_id` varchar(36) NOT NULL COMMENT '外键',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_order_customer`
--
LOCK TABLES `jform_order_customer` WRITE;
/*!40000 ALTER TABLE `jform_order_customer` DISABLE KEYS */;
INSERT INTO `jform_order_customer` VALUES ('402880ef5aeac3cd015aeacb58de0005','2',NULL,'0','','402880ef5aeac3cd015aeacb58de0004'),('402880ef5aead082015aead3cba00002','1',1,'1','111','402880ef5aead082015aead3cba00001'),('402880f25b23ae26015b23ae262e0000','3',3,'1',NULL,'402880f65ada6d11015ada6e79020001'),('402880f25b23ae26015b23ae264d0001','2',2,'1',NULL,'402880f65ada6d11015ada6e79020001'),('402880f25b85837e015b85837ee10001','123',222,'0',NULL,'402880f25b85837e015b85837e880000'),('402880f25b85d9a8015b85d9a8830001','1111',NULL,'0',NULL,'402880f25b85d9a8015b85d9a83f0000'),('402880f65ada6b72015ada6b73040001','小王',11,'0',NULL,'402880f65ada6b72015ada6b72d00000'),('402880f65ada6d11015ada6e79020002','1',1,'0','9','402880f65ada6d11015ada6e79020001');
/*!40000 ALTER TABLE `jform_order_customer` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_order_main`
--
DROP TABLE IF EXISTS `jform_order_main`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_order_main` (
`id` varchar(36) NOT NULL COMMENT '主键',
`order_code` varchar(50) DEFAULT NULL COMMENT '订单号',
`order_date` datetime DEFAULT NULL COMMENT '订单日期',
`order_money` double(10,3) DEFAULT NULL COMMENT '订单金额',
`content` varchar(255) DEFAULT NULL COMMENT '备注',
`ctype` varchar(32) NOT NULL COMMENT '类别',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_order_main`
--
LOCK TABLES `jform_order_main` WRITE;
/*!40000 ALTER TABLE `jform_order_main` DISABLE KEYS */;
INSERT INTO `jform_order_main` VALUES ('402880ef5aeac3cd015aeacb58de0004','999','2017-03-20 00:00:00',23.000,'23','0'),('402880ef5aead082015aead3cba00001','777','2017-03-20 00:00:00',NULL,'111','0'),('402880f25b85837e015b85837e880000','DDDDD999','2017-04-19 00:00:00',123.000,'<p>的</p>','1'),('402880f25b85d9a8015b85d9a83f0000','111111',NULL,NULL,NULL,'0'),('402880f65ada6b72015ada6b72d00000','demo','2017-03-17 00:00:00',100.000,NULL,'0'),('402880f65ada6d11015ada6e79020001','lisi','2017-03-17 00:00:00',9.000,'9','1');
/*!40000 ALTER TABLE `jform_order_main` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_order_ticket`
--
DROP TABLE IF EXISTS `jform_order_ticket`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_order_ticket` (
`id` varchar(36) NOT NULL COMMENT '主键',
`ticket_code` varchar(100) DEFAULT NULL COMMENT '航班号',
`tickect_date` datetime DEFAULT NULL COMMENT '航班时间',
`fck_id` varchar(36) NOT NULL COMMENT '外键',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_order_ticket`
--
LOCK TABLES `jform_order_ticket` WRITE;
/*!40000 ALTER TABLE `jform_order_ticket` DISABLE KEYS */;
INSERT INTO `jform_order_ticket` VALUES ('402880ef5aeac3cd015aeacb58de0006','2','2017-03-20 16:17:09','402880ef5aeac3cd015aeacb58de0004'),('402880ef5aeac3cd015aeacb58de0007','3','2017-03-20 16:17:11','402880ef5aeac3cd015aeacb58de0004'),('402880ef5aeac3cd015aeacb58de0008','4','2017-03-20 16:17:17','402880ef5aeac3cd015aeacb58de0004'),('402880ef5aead082015aead3cba00003','1','2017-03-20 16:26:59','402880ef5aead082015aead3cba00001'),('402880ef5aead082015aead3cba10004','1','2017-03-20 16:27:02','402880ef5aead082015aead3cba00001'),('402880ef5aead082015aead3cba10005','1','2017-03-20 16:27:04','402880ef5aead082015aead3cba00001'),('402880f25b85837e015b85837f150002','123','2017-04-29 17:20:35','402880f25b85837e015b85837e880000'),('402880f25b85d9a8015b85d9a8ad0002','111','2017-04-19 18:55:32','402880f25b85d9a8015b85d9a83f0000'),('402880f65ada6b72015ada6b73310002','2','2017-03-17 11:59:15','402880f65ada6b72015ada6b72d00000'),('402880f65ada6b72015ada6b735a0003','1','2017-03-17 11:59:13','402880f65ada6b72015ada6b72d00000'),('402880f65ada6d11015ada6e79020003','1','2017-03-17 12:02:14','402880f65ada6d11015ada6e79020001'),('402880f65ada6d11015ada6e79020004','2','2017-03-17 12:02:20','402880f65ada6d11015ada6e79020001');
/*!40000 ALTER TABLE `jform_order_ticket` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_price1`
--
DROP TABLE IF EXISTS `jform_price1`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_price1` (
`id` varchar(36) NOT NULL,
`a` double NOT NULL COMMENT '机构合计',
`b1` double NOT NULL COMMENT '行政小计',
`b11` varchar(100) NOT NULL COMMENT '行政省',
`b12` varchar(100) NOT NULL COMMENT '行政市',
`b13` varchar(100) NOT NULL COMMENT '行政县',
`b2` double NOT NULL COMMENT '事业合计',
`b3` double NOT NULL COMMENT '参公小计',
`b31` varchar(100) NOT NULL COMMENT '参公省',
`b32` varchar(100) NOT NULL COMMENT '参公市',
`b33` varchar(100) NOT NULL COMMENT '参公县',
`c1` double NOT NULL COMMENT '全额拨款',
`c2` double NOT NULL COMMENT '差额拨款',
`c3` double NOT NULL COMMENT '自收自支',
`d` int(11) NOT NULL COMMENT '经费合计',
`d1` longtext NOT NULL COMMENT '机构资质',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_price1`
--
LOCK TABLES `jform_price1` WRITE;
/*!40000 ALTER TABLE `jform_price1` DISABLE KEYS */;
/*!40000 ALTER TABLE `jform_price1` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_resume_degree_info`
--
DROP TABLE IF EXISTS `jform_resume_degree_info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_resume_degree_info` (
`id` varchar(36) NOT NULL COMMENT 'id',
`resume_id` varchar(36) DEFAULT NULL COMMENT '简历主键',
`begin_date` datetime DEFAULT NULL COMMENT '开始时间',
`end_date` datetime DEFAULT NULL COMMENT '结束时间',
`school_name` varchar(100) DEFAULT NULL COMMENT '学校名称',
`major` varchar(100) DEFAULT NULL COMMENT '专业',
`degree` varchar(30) DEFAULT NULL COMMENT '学历',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_resume_degree_info`
--
LOCK TABLES `jform_resume_degree_info` WRITE;
/*!40000 ALTER TABLE `jform_resume_degree_info` DISABLE KEYS */;
INSERT INTO `jform_resume_degree_info` VALUES ('402881825a99f218015a99f219320002','402881825a99f218015a99f2189c0000',NULL,NULL,NULL,NULL,NULL),('4028ef8156826b380156826b390a0001','4028ef815673f03a015673f35d8c0003','2016-08-10 00:00:00','2016-08-10 00:00:00','99',NULL,NULL);
/*!40000 ALTER TABLE `jform_resume_degree_info` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_resume_exp_info`
--
DROP TABLE IF EXISTS `jform_resume_exp_info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_resume_exp_info` (
`id` varchar(36) NOT NULL COMMENT 'id',
`resume_id` varchar(36) DEFAULT NULL COMMENT '简历信息表ID',
`begin_date` datetime DEFAULT NULL COMMENT '开始日期',
`end_date` datetime DEFAULT NULL COMMENT '结束日期',
`company_name` varchar(200) NOT NULL COMMENT '公司名称',
`depart_name` varchar(100) DEFAULT NULL COMMENT '部门名称',
`post` varchar(50) DEFAULT NULL COMMENT '职位',
`experience` varchar(2000) DEFAULT NULL COMMENT '工作描述',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_resume_exp_info`
--
LOCK TABLES `jform_resume_exp_info` WRITE;
/*!40000 ALTER TABLE `jform_resume_exp_info` DISABLE KEYS */;
INSERT INTO `jform_resume_exp_info` VALUES ('402881825a99f218015a99f219030001','402881825a99f218015a99f2189c0000',NULL,NULL,'1111',NULL,NULL,NULL),('4028ef8156826b380156826b38d40000','4028ef815673f03a015673f35d8c0003','2016-08-10 00:00:00','2016-08-10 00:00:00','99','99',NULL,NULL);
/*!40000 ALTER TABLE `jform_resume_exp_info` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_resume_info`
--
DROP TABLE IF EXISTS `jform_resume_info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_resume_info` (
`id` varchar(36) NOT NULL COMMENT 'id',
`name` varchar(50) NOT NULL COMMENT '姓名',
`sex` varchar(10) NOT NULL COMMENT '性别',
`birthday` datetime DEFAULT NULL COMMENT '生日',
`telnum` varchar(30) DEFAULT NULL COMMENT '电话号码',
`email` varchar(50) DEFAULT NULL COMMENT '电子邮箱',
`degree` varchar(50) DEFAULT NULL COMMENT '最高学历',
`workyear` varchar(20) DEFAULT NULL COMMENT '工作年限',
`cardid` varchar(50) DEFAULT NULL COMMENT '身份证号',
`habitation` varchar(100) DEFAULT NULL COMMENT '现居地',
`residence` varchar(100) DEFAULT NULL COMMENT '户口所在地',
`salary` varchar(20) DEFAULT NULL COMMENT '期望薪资',
`work_place` varchar(50) DEFAULT NULL COMMENT '期望工作地点',
`work_type` varchar(50) DEFAULT NULL COMMENT '工作类型',
`arrival_time` datetime DEFAULT NULL COMMENT '到岗时间',
`introduction` varchar(500) DEFAULT NULL COMMENT '自我评价',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_resume_info`
--
LOCK TABLES `jform_resume_info` WRITE;
/*!40000 ALTER TABLE `jform_resume_info` DISABLE KEYS */;
INSERT INTO `jform_resume_info` VALUES ('402881825a99f218015a99f2189c0000','111','0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028ef815673f03a015673f35d8c0003','小妹','1','2016-08-10 00:00:00',NULL,NULL,NULL,NULL,'121212','1212212',NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `jform_resume_info` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jform_tree`
--
DROP TABLE IF EXISTS `jform_tree`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jform_tree` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`name` varchar(32) DEFAULT NULL COMMENT '物料编码',
`father_id` varchar(32) DEFAULT NULL COMMENT '父ID',
`age` varchar(32) DEFAULT NULL COMMENT 'age',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jform_tree`
--
LOCK TABLES `jform_tree` WRITE;
/*!40000 ALTER TABLE `jform_tree` DISABLE KEYS */;
INSERT INTO `jform_tree` VALUES ('402880f25a9785a0015a9785c1bf0001','管理员','admin','2017-03-04 12:13:29','管理员','admin','2017-03-16 10:32:48','小孩子','402880f25a9785a0015a9785a05b0000','2'),('402880f45ad4f442015ad4f636b30003','管理员','admin','2017-03-16 10:33:10','','',NULL,'爷爷',NULL,'80'),('402880f45ad505ae015ad50c703c0001','管理员','admin','2017-03-16 10:57:26','管理员','admin','2017-03-17 00:37:59','爸爸','402880f45ad4f442015ad4f636b30003','30'),('402880f45ad505ae015ad510e72f0003','管理员','admin','2017-03-16 11:02:19','','',NULL,'小孩','402880f45ad505ae015ad50c703c0001','1'),('4028ef81552e09fd01552e10fb280001','管理员','admin','2016-06-08 00:00:00','管理员','admin','2017-03-02 16:01:34','电脑配件','','10'),('4028ef81552e09fd01552e110d510002','管理员','admin','2016-06-08 00:00:00','管理员','admin','2017-03-02 15:26:33','屏幕','4028ef81552e09fd01552e10fb280001','5'),('4028ef8155c4a6480155c4a6481e0000','管理员','admin','2016-07-07 00:00:00','管理员','admin','2017-03-02 15:26:45','键盘','4028ef81552e09fd01552e10fb280001','500');
/*!40000 ALTER TABLE `jform_tree` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jp_chat_message_his`
--
DROP TABLE IF EXISTS `jp_chat_message_his`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jp_chat_message_his` (
`id` varchar(36) NOT NULL,
`msg_type` varchar(50) DEFAULT NULL COMMENT '消息类型',
`msg` varchar(1024) DEFAULT NULL COMMENT '消息数据',
`from_user` varchar(50) DEFAULT NULL COMMENT '消息发送者',
`from_name` varchar(100) DEFAULT NULL COMMENT '发送者的真实姓名',
`to_user` varchar(50) DEFAULT NULL COMMENT '消息接收者',
`to_name` varchar(100) DEFAULT NULL COMMENT '接收者的真实姓名',
`accountid` varchar(36) DEFAULT NULL,
`create_date` datetime DEFAULT NULL,
`create_by` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jp_chat_message_his`
--
LOCK TABLES `jp_chat_message_his` WRITE;
/*!40000 ALTER TABLE `jp_chat_message_his` DISABLE KEYS */;
INSERT INTO `jp_chat_message_his` VALUES ('053E905ED5A241088B686EC588F98548','friend','eee','402880e74d75c4dd014d75d44af30005','demo','8a8ab0b246dc81120146dc8181950052','管理员',NULL,NULL,NULL),('115C3CC613EF4E7BA9852F9E2E6CE35E','friend','0000','8a8ab0b246dc81120146dc8181950052','管理员','8a8ab0b246dc81120146dc81819d0053','张代浩',NULL,NULL,NULL),('18D158EC78FC4C5899DDA94F4023B35C','friend','000','8a8ab0b246dc81120146dc8181950052','管理员','8a8ab0b246dc81120146dc81819d0053','张代浩',NULL,NULL,NULL),('20254AF789F1486D885DB9D4EF66798C','friend','111','8a8ab0b246dc81120146dc8181950052','管理员','8a8ab0b246dc81120146dc81819d0053','张代浩',NULL,NULL,NULL),('2236E68595FE47B1BD27BEE77FD21ED8','friend','你好','8a8ab0b246dc81120146dc8181950052','管理员','8a8ab0b246dc81120146dc81819d0053','张代浩',NULL,NULL,NULL),('2C2C06A5D2C24CF29A5955C6F5530F64','friend','dddd','402880e74d75c4dd014d75d44af30005','demo','8a8ab0b246dc81120146dc8181950052','管理员',NULL,NULL,NULL),('91D83DA4C9064F0DABBAC59C7D55C961','friend','face[馋嘴] ','402880e74d75c4dd014d75d44af30005','demo','8a8ab0b246dc81120146dc8181950052','管理员',NULL,NULL,NULL),('9B5D86C36B324A4ABF240070521BB9E8','friend','face[晕] ','8a8ab0b246dc81120146dc8181950052','管理员','8a8ab0b246dc81120146dc81819d0053','张代浩',NULL,NULL,NULL),('B7BD27DF21C9473EA8A09BF6E094FD38','friend','1111','8a8ab0b246dc81120146dc8181950052','管理员','8a8ab0b246dc81120146dc81819d0053','张代浩',NULL,NULL,NULL),('C8C744D046FA490D8902B9BAAC922327','friend','00000','8a8ab0b246dc81120146dc8181950052','管理员','8a8ab0b246dc81120146dc81819d0053','张代浩',NULL,NULL,NULL),('CE3EB7D8CD8D40FBB8CA083DEB526C16','friend','99face[悲伤] ','8a8ab0b246dc81120146dc8181950052','管理员','8a8ab0b246dc81120146dc81819d0053','张代浩',NULL,NULL,NULL),('CF572347C607485BAB4F5793E9ADDE75','friend','ddd','402880e74d75c4dd014d75d44af30005','demo','8a8ab0b246dc81120146dc8181950052','管理员',NULL,NULL,NULL),('D4C5F22A6C0E434BB266E7C13BB7BAE2','friend','000000000000000000000','402880e74d75c4dd014d75d44af30005','demo','8a8ab0b246dc81120146dc8181950052','管理员',NULL,NULL,NULL);
/*!40000 ALTER TABLE `jp_chat_message_his` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jp_demo_activity`
--
DROP TABLE IF EXISTS `jp_demo_activity`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jp_demo_activity` (
`id` varchar(32) NOT NULL COMMENT 'ID',
`name` varchar(100) NOT NULL COMMENT '活动名称',
`begin_time` datetime DEFAULT NULL COMMENT '活动开始时间',
`end_time` datetime DEFAULT NULL COMMENT ' 活动结束时间',
`hdurl` varchar(300) DEFAULT NULL COMMENT '入口地址',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='红包活动表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jp_demo_activity`
--
LOCK TABLES `jp_demo_activity` WRITE;
/*!40000 ALTER TABLE `jp_demo_activity` DISABLE KEYS */;
INSERT INTO `jp_demo_activity` VALUES ('95B6BF61945043039008299AA53A2991','2','2016-03-26 15:50:32','2016-03-26 15:50:34','2'),('DEBCE74A2E87406EBA557748BE0FA700','1','2016-04-10 14:33:50','2016-04-10 14:33:52','1'),('F4EAEF41A7DF4B59AE9A41455E1643F9','3','2016-06-30 23:52:20','2016-06-30 23:52:21','3');
/*!40000 ALTER TABLE `jp_demo_activity` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jp_demo_auth`
--
DROP TABLE IF EXISTS `jp_demo_auth`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jp_demo_auth` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '序号',
`auth_id` varchar(32) COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '权限编码',
`auth_name` varchar(100) COLLATE utf8_bin DEFAULT NULL COMMENT '权限名称',
`auth_type` varchar(2) COLLATE utf8_bin DEFAULT NULL COMMENT '权限类型 0:菜单;1:功能',
`auth_contr` varchar(256) COLLATE utf8_bin DEFAULT NULL COMMENT '权限控制',
`parent_auth_id` char(12) COLLATE utf8_bin DEFAULT NULL COMMENT '上一级权限编码',
`leaf_ind` char(2) COLLATE utf8_bin DEFAULT NULL COMMENT '是否叶子节点',
PRIMARY KEY (`id`),
UNIQUE KEY `uniq_authid` (`auth_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='运营系统权限表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jp_demo_auth`
--
LOCK TABLES `jp_demo_auth` WRITE;
/*!40000 ALTER TABLE `jp_demo_auth` DISABLE KEYS */;
INSERT INTO `jp_demo_auth` VALUES (1,'21','系统管理','0',NULL,NULL,'N'),(2,'2101','用户管理','0','/system/back/jwSystemUser/list.do','21','Y'),(3,'210101','新增用户','1','/system/back/jwSystemUser/doAdd.do','2101','Y'),(4,'210102','编辑用户','1','/system/back/jwSystemUser/doEdit.do','2101','Y'),(5,'2102','角色管理','0','/system/back/jwSystemRole/list.do','21','Y'),(6,'210201','新增角色','1','/system/back/jwSystemRole/doAdd.do','2102','Y'),(7,'210202','编辑角色','1','/system/back/jwSystemRole/doEdit.do','2102','Y'),(8,'210203','角色授权','1','/system/back/jwSystemRole/editRoleAuth.do','2102','Y'),(9,'210204','删除角色','1','/system/back/jwSystemRole/doDelete.do','2102','Y'),(10,'2103','权限管理','0','/system/back/jwSystemAuth/list.do','21','Y'),(11,'210301','新增权限','1','/system/back/jwSystemAuth/doAdd.do','2103','Y'),(12,'210302','编辑权限','1','/system/back/jwSystemAuth/doEdit.do1','2103','Y');
/*!40000 ALTER TABLE `jp_demo_auth` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jp_demo_order_custom`
--
DROP TABLE IF EXISTS `jp_demo_order_custom`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jp_demo_order_custom` (
`ID` varchar(32) NOT NULL,
`CREATE_DT` datetime DEFAULT NULL,
`CRTUSER` varchar(12) DEFAULT NULL,
`CRTUSER_NAME` varchar(10) DEFAULT NULL,
`DEL_DT` datetime DEFAULT NULL,
`DELFLAG` int(11) DEFAULT '0',
`GO_ORDER_CODE` varchar(12) NOT NULL COMMENT '团购订单号',
`GOC_BUSS_CONTENT` varchar(33) DEFAULT NULL COMMENT '业务',
`GOC_CONTENT` varchar(66) DEFAULT NULL COMMENT '备注',
`GOC_CUS_NAME` varchar(16) DEFAULT NULL COMMENT '姓名',
`GOC_IDCARD` varchar(18) DEFAULT NULL COMMENT '身份证号',
`GOC_PASSPORT_CODE` varchar(10) DEFAULT NULL COMMENT '护照号',
`GOC_SEX` varchar(255) DEFAULT NULL COMMENT '性别',
`MODIFIER` varchar(12) DEFAULT NULL,
`MODIFIER_NAME` varchar(10) DEFAULT NULL,
`MODIFY_DT` datetime DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jp_demo_order_custom`
--
LOCK TABLES `jp_demo_order_custom` WRITE;
/*!40000 ALTER TABLE `jp_demo_order_custom` DISABLE KEYS */;
INSERT INTO `jp_demo_order_custom` VALUES ('0E1FEE0339D048F483A0A5B771A88031','2016-09-20 00:00:00','','',NULL,0,'2','1','1','11','0000000000000','1','1','','',NULL),('13C4F64BFEC44E52A11A0047195C3F6B','2017-03-07 14:10:51',NULL,NULL,NULL,0,'201703070102','3','3','李四','3333','3','1',NULL,NULL,NULL),('970DD348071346FB8A4710920824743B','2016-09-03 15:47:46',NULL,NULL,NULL,0,'1212','1','1','2','111111111111111','222','1',NULL,NULL,NULL),('992FD47FE2124A8ABFB448F290398D98','2017-03-07 14:10:51',NULL,NULL,NULL,0,'201703070102','1','1','张三','0000000000000','1','1',NULL,NULL,NULL),('CD91F431BDC34431A46CC80F966C55A7','2016-09-20 00:00:00','','',NULL,0,'2','3','3','333','3333','3','1','','',NULL);
/*!40000 ALTER TABLE `jp_demo_order_custom` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jp_demo_order_main`
--
DROP TABLE IF EXISTS `jp_demo_order_main`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jp_demo_order_main` (
`ID` varchar(32) NOT NULL,
`CREATE_DT` datetime DEFAULT NULL,
`CRTUSER` varchar(12) DEFAULT NULL,
`CRTUSER_NAME` varchar(10) DEFAULT NULL,
`DEL_DT` datetime DEFAULT NULL,
`DELFLAG` int(11) DEFAULT '0',
`GO_ALL_PRICE` decimal(10,2) DEFAULT NULL COMMENT '总价(不含返款)',
`GO_CONTACT_NAME` varchar(16) DEFAULT NULL COMMENT '联系人',
`GO_CONTENT` varchar(66) DEFAULT NULL COMMENT '备注',
`GO_ORDER_CODE` varchar(12) NOT NULL COMMENT '订单号',
`GO_ORDER_COUNT` int(11) DEFAULT NULL COMMENT '订单人数',
`GO_RETURN_PRICE` decimal(10,2) DEFAULT NULL COMMENT '返款',
`GO_TELPHONE` varchar(11) DEFAULT NULL COMMENT '手机',
`GODER_TYPE` varchar(255) DEFAULT NULL COMMENT '订单类型',
`MODIFIER` varchar(12) DEFAULT NULL,
`MODIFIER_NAME` varchar(10) DEFAULT NULL,
`MODIFY_DT` datetime DEFAULT NULL,
`USERTYPE` varchar(255) DEFAULT NULL COMMENT '顾客类型 : 1直客 2同行',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jp_demo_order_main`
--
LOCK TABLES `jp_demo_order_main` WRITE;
/*!40000 ALTER TABLE `jp_demo_order_main` DISABLE KEYS */;
INSERT INTO `jp_demo_order_main` VALUES ('20E478EF3B38444EBE6D9BF6CF7AD60B','2016-09-03 00:00:00','','',NULL,0,500.00,'秦风','0','201703070102',10,1.00,'18611700000','1','','',NULL,'1');
/*!40000 ALTER TABLE `jp_demo_order_main` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jp_demo_order_product`
--
DROP TABLE IF EXISTS `jp_demo_order_product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jp_demo_order_product` (
`ID` varchar(32) NOT NULL,
`CREATE_DT` datetime DEFAULT NULL,
`CRTUSER` varchar(12) DEFAULT NULL,
`CRTUSER_NAME` varchar(10) DEFAULT NULL,
`DEL_DT` datetime DEFAULT NULL,
`DELFLAG` int(11) DEFAULT '0',
`GO_ORDER_CODE` varchar(12) NOT NULL COMMENT '团购订单号',
`GOP_CONTENT` varchar(66) DEFAULT NULL COMMENT '备注',
`GOP_COUNT` int(11) DEFAULT NULL COMMENT '个数',
`GOP_ONE_PRICE` decimal(10,2) DEFAULT NULL COMMENT '单价',
`GOP_PRODUCT_NAME` varchar(33) DEFAULT NULL COMMENT '产品名称',
`GOP_PRODUCT_TYPE` varchar(1) NOT NULL COMMENT '服务项目类型',
`GOP_SUM_PRICE` decimal(10,2) DEFAULT NULL COMMENT '小计',
`MODIFIER` varchar(12) DEFAULT NULL,
`MODIFIER_NAME` varchar(10) DEFAULT NULL,
`MODIFY_DT` datetime DEFAULT NULL,
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jp_demo_order_product`
--
LOCK TABLES `jp_demo_order_product` WRITE;
/*!40000 ALTER TABLE `jp_demo_order_product` DISABLE KEYS */;
INSERT INTO `jp_demo_order_product` VALUES ('398B32C0DCA746A18F40F6E37C1E51D2','2017-03-07 14:10:51',NULL,NULL,NULL,0,'201703070102','10号',1,100000.00,'电脑','1',100000.00,NULL,NULL,NULL),('5DE5A7EAD60142C28E9731521A420BC7','2016-09-03 15:47:46',NULL,NULL,NULL,0,'1212','1',1,111.00,'1','1',1.00,NULL,NULL,NULL),('D4E436A1B3D7484C9297B242BBF3BA98','2016-09-06 00:00:00','','',NULL,0,'2','11',111,111.00,'111','1',11.00,'','',NULL),('EF10DC1C05364466990B1CA9D2D22C62','2016-09-23 00:00:00','','',NULL,1,'2','',NULL,NULL,'','1',NULL,'','',NULL);
/*!40000 ALTER TABLE `jp_demo_order_product` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jp_inner_mail`
--
DROP TABLE IF EXISTS `jp_inner_mail`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jp_inner_mail` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`title` varchar(100) DEFAULT NULL COMMENT '主题',
`attachment` varchar(1000) DEFAULT NULL COMMENT '附件',
`content` text COMMENT '内容',
`status` varchar(50) DEFAULT NULL COMMENT '状态',
`receiver_names` varchar(300) DEFAULT NULL COMMENT '接收者姓名列表',
`receiver_ids` varchar(300) DEFAULT NULL COMMENT '收件人标识列表',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jp_inner_mail`
--
LOCK TABLES `jp_inner_mail` WRITE;
/*!40000 ALTER TABLE `jp_inner_mail` DISABLE KEYS */;
INSERT INTO `jp_inner_mail` VALUES ('295A4C4021DD4E17AC2D453013A1E21F','管理员','admin',NULL,'121',NULL,'2121212','02','管理员','8a8ab0b246dc81120146dc8181950052'),('3A230A6CC3544E1B9D941136ACBB4E1B','管理员','admin',NULL,'1212',NULL,'\n 121212\n ','02','demo,张三,管理员,张代浩',''),('3C5E246D939545069FAB2DFD0D4B0474','张三','lisi',NULL,'JEECG云插件中心',NULL,'<h2 style=\"box-sizing: inherit; font-family: Lato, \'Helvetica Neue\', \'Microsoft YaHei\', Arial, Helvetica, sans-serif; line-height: 1.33em; margin-right: 0px; margin-left: 0px; font-weight: bold; padding: 0px; font-size: 24px; -webkit-font-smoothing: antialiased; cursor: text; position: relative; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); color: rgb(0, 0, 0); background-color: rgb(250, 250, 250);\">JEECG云插件中心</h2><ul class=\"task-list\" style=\"box-sizing: inherit; font-size: 14px; line-height: 24px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-left: 30px; color: rgba(0, 0, 0, 0.8); font-family: Lato, \'Helvetica Neue\', \'Microsoft YaHei\', Arial, Helvetica, sans-serif; background-color: rgb(250, 250, 250);\"><li style=\"box-sizing: inherit; list-style: initial; margin: 0px;\">JEECG从V_3.6.3版本开始采用插件开发模式JEECG走简化轻量级路线后续升级和功能模块采用插件开发模式进行集成。</li><li style=\"box-sizing: inherit; list-style: initial; margin: 0px;\">更多插件下载地址:<a href=\"http://yun.jeecg.org/\" style=\"box-sizing: inherit; color: rgb(65, 131, 196); word-wrap: break-word; margin-top: 0px;\">http://yun.jeecg.org/</a>&nbsp;<img alt=\"github\" src=\"http://img.blog.csdn.net/20160623162220022?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center\" title=\"jeecg\" style=\"box-sizing: inherit; max-width: 100%; cursor: pointer; margin-bottom: 0px; display: inline-block !important; background-color: rgb(255, 255, 255);\"></li></ul><h2 style=\"box-sizing: inherit; font-family: Lato, \'Helvetica Neue\', \'Microsoft YaHei\', Arial, Helvetica, sans-serif; line-height: 1.33em; margin-right: 0px; margin-left: 0px; font-weight: bold; padding: 0px; font-size: 24px; -webkit-font-smoothing: antialiased; cursor: text; position: relative; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(204, 204, 204); color: rgb(0, 0, 0); background-color: rgb(250, 250, 250);\"><a class=\"anchor\" id=\"技术交流\" href=\"http://git.oschina.net/jeecg/jeecg#技术交流\" style=\"box-sizing: inherit; color: rgb(65, 131, 196); word-wrap: break-word; display: block; padding-left: 30px; margin-left: -20px; position: absolute; top: 0px; left: 0px; bottom: 0px;\"></a>技术交流</h2><ul class=\"task-list\" style=\"box-sizing: inherit; font-size: 14px; line-height: 24px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; padding-left: 30px; color: rgba(0, 0, 0, 0.8); font-family: Lato, \'Helvetica Neue\', \'Microsoft YaHei\', Arial, Helvetica, sans-serif; background-color: rgb(250, 250, 250);\"><li style=\"box-sizing: inherit; list-style: initial; margin: 0px;\">作者:<a href=\"http://blog.csdn.net/zhangdaiscott\" style=\"box-sizing: inherit; color: rgb(65, 131, 196); word-wrap: break-word; margin-top: 0px; margin-bottom: 0px;\">张代浩</a></li><li style=\"box-sizing: inherit; list-style: initial; margin: 0px;\">QQ交流群 176031980、106838471、106259349</li></ul>\n\n ','01','管理员','8a8ab0b246dc81120146dc8181950052'),('4028ef8153a650060153a653262c0010','管理员','admin','2016-03-24 09:53:00','123123',NULL,'<p>123123123123</p>','02','张代浩','8a8ab0b246dc81120146dc81819d0053'),('4028ef8153a650060153a6533a640013','管理员','admin','2016-03-24 09:53:05','123123',NULL,'<p>123123123123</p>','02','张代浩','8a8ab0b246dc81120146dc81819d0053'),('4028ef8153a650060153a6559ff80020','张代浩','scott','2016-03-24 09:55:42','222',NU
/*!40000 ALTER TABLE `jp_inner_mail` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jp_inner_mail_attach`
--
DROP TABLE IF EXISTS `jp_inner_mail_attach`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jp_inner_mail_attach` (
`id` varchar(32) NOT NULL,
`mailid` varchar(32) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jp_inner_mail_attach`
--
LOCK TABLES `jp_inner_mail_attach` WRITE;
/*!40000 ALTER TABLE `jp_inner_mail_attach` DISABLE KEYS */;
INSERT INTO `jp_inner_mail_attach` VALUES ('4028ef8153a650060153a65327350012','4028ef8153a650060153a653262c0010');
/*!40000 ALTER TABLE `jp_inner_mail_attach` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `jp_inner_mail_receiver`
--
DROP TABLE IF EXISTS `jp_inner_mail_receiver`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jp_inner_mail_receiver` (
`id` varchar(36) NOT NULL,
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`mail_id` varchar(36) DEFAULT NULL COMMENT '邮件标识',
`user_id` varchar(36) DEFAULT NULL COMMENT '收件人标识',
`status` varchar(50) DEFAULT NULL COMMENT '收件状态',
`isdelete` char(2) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `jp_inner_mail_receiver`
--
LOCK TABLES `jp_inner_mail_receiver` WRITE;
/*!40000 ALTER TABLE `jp_inner_mail_receiver` DISABLE KEYS */;
INSERT INTO `jp_inner_mail_receiver` VALUES ('136EE823A5DD4D2395DCDED8C265341E','2016-07-11 12:00:54',NULL,'A1606A71E238407F9911692132B73617','','00',NULL),('1FDD5896D66E48EFBC704D7AE7FFF9D8','2016-07-17 22:41:07','2016-07-17 22:41:07','F18E57AA6E004CF18C50578BBB38F1F9','8a8ab0b246dc81120146dc81819d0053','00','0'),('4028ef8153c5a4860153c5caa3bd0006','2016-03-30 12:31:45',NULL,'4028ef8153c5a4860153c5caa2f90005','4028ef81538330cd01538333b7bc0001','00',NULL),('4028ef8153c5a4860153c5cb10d60008','2016-03-30 12:32:13',NULL,'4028ef8153c5a4860153c5cb108a0007','4028ef81538330cd01538333b7bc0001','00',NULL),('4028ef8153c5a4860153c5cb2133000a','2016-03-30 12:32:17',NULL,'4028ef8153c5a4860153c5cb20fc0009','4028ef81538330cd01538333b7bc0001','00',NULL),('4028ef8153c5a4860153c5cb3169000c','2016-03-30 12:32:21',NULL,'4028ef8153c5a4860153c5cb3124000b','4028ef81538330cd01538333b7bc0001','00',NULL),('4028ef8153c5a4860153c5cb59b00010','2016-03-30 12:32:31',NULL,'4028ef8153c5a4860153c5cb5957000f','402880e74d75c4dd014d75d44af30005','00',NULL),('4028ef8153c5a4860153c5cb639b0012','2016-03-30 12:32:34',NULL,'4028ef8153c5a4860153c5cb63570011','402880e74d75c4dd014d75d44af30005','00',NULL),('4028ef8153d1be5b0153d1c8c0130005','2016-04-01 20:25:07',NULL,'4028ef8153d1be5b0153d1c8bf3c0004','4028ef81538330cd01538333b7bc0001','00',NULL),('4028ef815400c2c6015400c483940002','2016-04-10 23:22:39',NULL,'4028ef815400c2c6015400c482260001','8a8ab0b246dc81120146dc81819d0053','00',NULL),('4028ef815400c2c6015400c5600d000a','2016-04-10 23:23:35',NULL,'4028ef8153c5a4860153c5ca58540003','8a8ab0b246dc81120146dc8181950052','00',NULL),('4028ef81540325190154032660880004','2016-04-11 10:28:47',NULL,'4028ef81540325190154032622320002','8a8ab0b246dc81120146dc81819d0053','00',NULL),('4028ef81540325190154032a238e001d','2016-04-11 10:32:53',NULL,'4028ef8153a650060153a6559ff80020','8a8ab0b246dc81120146dc81819d0053','00',NULL),('4DE50EC2B9AC4D86B5DE2D36EE3B1B30','2016-07-05 14:48:40',NULL,'BB3DF9C9437C4512923A9CE162B81A40','8a8ab0b246dc81120146dc8181950052','00',NULL),('598A0F12130145C898334BB3F51B8BFE','2016-07-05 14:22:13',NULL,'B4CC1059FDA6440F96FB3FFDE63ABAA9','','00',NULL),('9E1214516ECE4DF38A652264E60F5EE8','2016-07-17 22:41:48','2016-07-17 22:42:52','46604968EFE1483481BE6EDAFC657CBC','8a8ab0b246dc81120146dc81819d0053','00','1'),('9E7454B4F67A4BBFB34A23BD806BC3C6','2017-01-10 10:25:26','2017-01-10 10:25:26','E9B0557DBA994D46A3D44495AFA428B0','402880e74d75c4dd014d75d44af30005','00','0'),('9FC0C28ECE474448888B9E872DC3B72D','2016-07-05 14:40:15',NULL,'3A230A6CC3544E1B9D941136ACBB4E1B','','00',NULL),('B3F28061CB534C419E36D9C1AB401052','2016-07-11 12:06:55',NULL,'3C5E246D939545069FAB2DFD0D4B0474','8a8ab0b246dc81120146dc8181950052','00',NULL),('CAAC167F8FD442B38C5F2232DCA88460','2016-07-11 12:11:19',NULL,'771A39B4BB924C62B718B067A0189C72','','00',NULL),('DDBDE922A4824DECACFE1F903D281535','2016-07-18 16:54:13','2016-07-18 16:54:13','CAB308BF489144AD8842667CC741D453','8a8ab0b246dc81120146dc81819d0053','00','0'),('F35684BE071F40939155F4FBC844F040','2016-07-11 12:08:43',NULL,'80683B1F97844A209D665B601B302E36','','00',NULL);
/*!40000 ALTER TABLE `jp_inner_mail_receiver` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `md_bin`
--
DROP TABLE IF EXISTS `md_bin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `md_bin` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`ku_wei_ming_cheng` varchar(100) DEFAULT NULL COMMENT '库位名称',
`ku_wei_bian_ma` varchar(32) DEFAULT NULL COMMENT '库位编码',
`ku_wei_tiao_ma` varchar(32) DEFAULT NULL COMMENT '库位条码',
`ku_wei_lei_xing` varchar(32) DEFAULT NULL COMMENT '库位类型',
`ku_wei_shu_xing` varchar(32) DEFAULT NULL COMMENT '库位属性',
`shang_jia_ci_xu` varchar(32) DEFAULT NULL COMMENT '上架次序',
`qu_huo_ci_xu` varchar(32) DEFAULT NULL COMMENT '取货次序',
`suo_shu_ke_hu` varchar(32) DEFAULT NULL COMMENT '所属客户',
`ti_ji_dan_wei` varchar(32) DEFAULT NULL COMMENT '体积单位',
`zhong_liang_dan_wei` varchar(32) DEFAULT NULL COMMENT '重量单位',
`mian_ji_dan_wei` varchar(32) DEFAULT NULL COMMENT '面积单位',
`zui_da_ti_ji` varchar(33) DEFAULT NULL COMMENT '最大体积',
`zui_da_zhong_liang` varchar(34) DEFAULT NULL COMMENT '最大重量',
`zui_da_mian_ji` varchar(35) DEFAULT NULL COMMENT '最大面积',
`zui_da_tuo_pan` varchar(32) DEFAULT NULL COMMENT '最大托盘',
`chang` varchar(32) DEFAULT NULL COMMENT '长度',
`kuan` varchar(32) DEFAULT NULL COMMENT '宽度',
`gao` varchar(32) DEFAULT NULL COMMENT '高度',
`ting_yong` varchar(32) DEFAULT NULL COMMENT '停用',
`ming_xi` varchar(32) DEFAULT NULL COMMENT '明细',
`bin_store` varchar(32) DEFAULT NULL COMMENT '仓库',
`CHP_SHU_XING` varchar(320) DEFAULT NULL COMMENT '产品属性',
`ming_xi1` varchar(45) DEFAULT NULL COMMENT '备注1',
`ming_xi2` varchar(45) DEFAULT NULL COMMENT '备注2',
`ming_xi3` varchar(45) DEFAULT NULL COMMENT '动线',
PRIMARY KEY (`id`),
UNIQUE KEY `kwbm` (`ku_wei_bian_ma`) USING HASH
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `md_bin`
--
LOCK TABLES `md_bin` WRITE;
/*!40000 ALTER TABLE `md_bin` DISABLE KEYS */;
INSERT INTO `md_bin` VALUES ('1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'B01','B01','良品区','常温','1','1',NULL,NULL,NULL,NULL,'9999',NULL,NULL,'999999',NULL,NULL,NULL,'N',NULL,'01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它',NULL,NULL,NULL),('402881b265c672f80165c696492e0003','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'06-06-1','06-06-1','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c696495c0004','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'06-16-1','06-16-1','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c69649900005','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'05-12-3','05-12-3','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c69649d30006','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'06-16-3','06-16-3','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c6964a0d0007','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'01-08-1','01-08-1','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c6964a370008','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'02-07-1','02-07-1','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c6964a580009','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'02-12-1','02-12-1','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c6964a79000a','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'03-07-1','03-07-1','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c6964aab000b','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'03-14-1','03-14-1','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c6964b37000c','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'02-01-1','02-01-1','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清洁用品,家居日用,食品,其它','','',''),('402881b265c672f80165c6964b6b000d','初始','admin','2018-09-11 11:04:23',NULL,NULL,NULL,'A04','A04',NULL,'02-10-1','02-10-1','良品区','常温','1','1','',NULL,NULL,NULL,'99999999','',NULL,'99999','','','','N','','01A','饮料冲调,中外名酒,数码产品,办公用品,纸品,美妆个护,清<>
/*!40000 ALTER TABLE `md_bin` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `md_cus`
--
DROP TABLE IF EXISTS `md_cus`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `md_cus` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`zhong_wen_qch` varchar(100) DEFAULT NULL COMMENT '中文全称',
`zhu_ji_ma` varchar(32) DEFAULT NULL COMMENT '助记码',
`ke_hu_jian_cheng` varchar(32) DEFAULT NULL COMMENT '客户简称',
`ke_hu_bian_ma` varchar(32) DEFAULT NULL COMMENT '客户编码',
`ke_hu_ying_wen` varchar(100) DEFAULT NULL COMMENT '客户英文名称',
`zeng_yong_qi` varchar(32) DEFAULT NULL COMMENT '曾用企业代码',
`zeng_yong_qi_ye` varchar(100) DEFAULT NULL COMMENT '曾用企业名称',
`ke_hu_zhuang_tai` varchar(32) DEFAULT NULL COMMENT '客户状态',
`xing_ye_fen_lei` varchar(32) DEFAULT NULL COMMENT '企业属性',
`ke_hu_deng_ji` varchar(32) DEFAULT NULL COMMENT '客户等级',
`suo_shu_xing_ye` varchar(32) DEFAULT NULL COMMENT '所属行业',
`shou_qian_ri_qi` datetime DEFAULT NULL COMMENT '首签日期',
`zhong_zhi_he_shi_jian` datetime DEFAULT NULL COMMENT '终止合作时间',
`shen_qing_shi_jian` datetime DEFAULT NULL COMMENT '申请时间',
`ke_hu_shu_xing` varchar(32) DEFAULT NULL COMMENT '客户属性',
`gui_shu_zu_zh` varchar(32) DEFAULT NULL COMMENT '归属组织代码',
`gui_shu_sheng` varchar(32) DEFAULT NULL COMMENT '归属省份代码',
`gui_shu_shi_dai` varchar(32) DEFAULT NULL COMMENT '归属市代码',
`gui_shu` varchar(32) DEFAULT NULL COMMENT '归属县区代码',
`di_zhi` varchar(132) DEFAULT NULL COMMENT '地址',
`you_zheng_bian_ma` varchar(32) DEFAULT NULL COMMENT '邮政编码',
`zhu_lian_xi_ren` varchar(32) DEFAULT NULL COMMENT '主联系人',
`dian_hua` varchar(32) DEFAULT NULL COMMENT '电话',
`shou_ji` varchar(32) DEFAULT NULL COMMENT '手机',
`chuan_zhen` varchar(32) DEFAULT NULL COMMENT '传真',
`Emaildi_zhi` varchar(32) DEFAULT NULL COMMENT 'Email地址',
`wang_ye_di_zhi` varchar(32) DEFAULT NULL COMMENT '网页地址',
`fa_ren_dai_biao` varchar(32) DEFAULT NULL COMMENT '法人代表',
`fa_ren_shen_fen` varchar(32) DEFAULT NULL COMMENT '法人身份证号',
`zhu_ce_zi_jin` varchar(32) DEFAULT NULL COMMENT '注册资金万元',
`bi_bie` varchar(32) DEFAULT NULL COMMENT '币别',
`ying_ye_zhi_zhao` varchar(32) DEFAULT NULL COMMENT '营业执照号',
`shui_wu_deng` varchar(32) DEFAULT NULL COMMENT '税务登记证号',
`zu_zhi_ji_gou` varchar(32) DEFAULT NULL COMMENT '组织机构代码证',
`dao_lu_yun_shu` varchar(32) DEFAULT NULL COMMENT '道路运输经营许可证',
`zhu_ying_ye_wu` varchar(32) DEFAULT NULL COMMENT '主营业务',
`he_yi_xiang` varchar(32) DEFAULT NULL COMMENT '合作意向',
`pi_zhun_ji_guan` varchar(32) DEFAULT NULL COMMENT '批准机关',
`pi_zhun_wen_hao` varchar(32) DEFAULT NULL COMMENT '批准文号',
`zhu_ce_ri_qi` datetime DEFAULT NULL COMMENT '注册日期',
`bei_zhu` varchar(128) DEFAULT NULL COMMENT '备注',
`zhu_lian_xi_ren1` varchar(32) DEFAULT NULL COMMENT '联系人1',
`dian_hua1` varchar(32) DEFAULT NULL COMMENT '电话1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `md_cus`
--
LOCK TABLES `md_cus` WRITE;
/*!40000 ALTER TABLE `md_cus` DISABLE KEYS */;
INSERT INTO `md_cus` VALUES ('402881b26793c13b0167a20df089002e','初始','admin','2018-12-12 18:54:42','初始','admin','2018-12-27 22:51:39','A04','A04','灵鹿谷','',NULL,'xkn-D',NULL,NULL,NULL,'20','02',NULL,NULL,NULL,NULL,NULL,'20',NULL,NULL,NULL,NULL,'',NULL,'','','',NULL,'',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','',''),('402882ec6821bf47016821d315ac0005','初始','admin','2019-01-06 14:21:48',NULL,NULL,NULL,'A04','A04','1','',NULL,'xkn',NULL,NULL,NULL,'20','02',NULL,NULL,NULL,NULL,NULL,'20',NULL,NULL,NULL,NULL,'',NULL,'','','',NULL,'',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','');
/*!40000 ALTER TABLE `md_cus` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `md_cus_other`
--
DROP TABLE IF EXISTS `md_cus_other`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `md_cus_other` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`suo_shu_ke_hu` varchar(32) DEFAULT NULL COMMENT '所属客户',
`zhong_wen_qch` varchar(100) DEFAULT NULL COMMENT '中文全称',
`zhu_ji_ma` varchar(32) DEFAULT NULL COMMENT '助记码',
`ke_hu_jian_cheng` varchar(32) DEFAULT NULL COMMENT '客户简称',
`ke_hu_bian_ma` varchar(32) DEFAULT NULL COMMENT '客户编码',
`ke_hu_ying_wen` varchar(100) DEFAULT NULL COMMENT '客户英文名称',
`zeng_yong_qi` varchar(32) DEFAULT NULL COMMENT '曾用企业代码',
`zeng_yong_qi_ye` varchar(100) DEFAULT NULL COMMENT '曾用企业名称',
`ke_hu_zhuang_tai` varchar(32) DEFAULT NULL COMMENT '客户状态',
`xing_ye_fen_lei` varchar(32) DEFAULT NULL COMMENT '企业属性',
`ke_hu_deng_ji` varchar(32) DEFAULT NULL COMMENT '客户等级',
`suo_shu_xing_ye` varchar(32) DEFAULT NULL COMMENT '所属行业',
`shou_qian_ri_qi` datetime DEFAULT NULL COMMENT '首签日期',
`zhong_zhi_he_shi_jian` datetime DEFAULT NULL COMMENT '终止合作时间',
`shen_qing_shi_jian` datetime DEFAULT NULL COMMENT '申请时间',
`ke_hu_shu_xing` varchar(32) DEFAULT NULL COMMENT '客户属性',
`gui_shu_zu_zh` varchar(32) DEFAULT NULL COMMENT '归属组织代码',
`gui_shu_sheng` varchar(32) DEFAULT NULL COMMENT '归属省份代码',
`gui_shu_shi_dai` varchar(32) DEFAULT NULL COMMENT '归属市代码',
`gui_shu` varchar(32) DEFAULT NULL COMMENT '归属县区代码',
`di_zhi` varchar(132) DEFAULT NULL COMMENT '地址',
`you_zheng_bian_ma` varchar(32) DEFAULT NULL COMMENT '邮政编码',
`zhu_lian_xi_ren` varchar(32) DEFAULT NULL COMMENT '主联系人',
`dian_hua` varchar(32) DEFAULT NULL COMMENT '电话',
`shou_ji` varchar(32) DEFAULT NULL COMMENT '手机',
`chuan_zhen` varchar(32) DEFAULT NULL COMMENT '传真',
`Emaildi_zhi` varchar(32) DEFAULT NULL COMMENT 'Email地址',
`wang_ye_di_zhi` varchar(32) DEFAULT NULL COMMENT '网页地址',
`fa_ren_dai_biao` varchar(32) DEFAULT NULL COMMENT '法人代表',
`fa_ren_shen_fen` varchar(32) DEFAULT NULL COMMENT '法人身份证号',
`zhu_ce_zi_jin` varchar(32) DEFAULT NULL COMMENT '注册资金万元',
`bi_bie` varchar(32) DEFAULT NULL COMMENT '币别',
`ying_ye_zhi_zhao` varchar(32) DEFAULT NULL COMMENT '营业执照号',
`shui_wu_deng` varchar(32) DEFAULT NULL COMMENT '税务登记证号',
`zu_zhi_ji_gou` varchar(32) DEFAULT NULL COMMENT '组织机构代码证',
`dao_lu_yun_shu` varchar(32) DEFAULT NULL COMMENT '道路运输经营许可证',
`zhu_ying_ye_wu` varchar(32) DEFAULT NULL COMMENT '主营业务',
`he_yi_xiang` varchar(32) DEFAULT NULL COMMENT '合作意向',
`pi_zhun_ji_guan` varchar(32) DEFAULT NULL COMMENT '批准机关',
`pi_zhun_wen_hao` varchar(32) DEFAULT NULL COMMENT '批准文号',
`zhu_ce_ri_qi` datetime DEFAULT NULL COMMENT '注册日期',
`bei_zhu` varchar(128) DEFAULT NULL COMMENT '备注',
`zhu_lian_xi_ren1` varchar(32) DEFAULT NULL COMMENT '联系人1',
`dian_hua1` varchar(32) DEFAULT NULL COMMENT '电话1',
PRIMARY KEY (`id`),
KEY `kehbianm` (`ke_hu_bian_ma`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `md_cus_other`
--
LOCK TABLES `md_cus_other` WRITE;
/*!40000 ALTER TABLE `md_cus_other` DISABLE KEYS */;
/*!40000 ALTER TABLE `md_cus_other` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `md_goods`
--
DROP TABLE IF EXISTS `md_goods`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `md_goods` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`suo_shu_ke_hu` varchar(100) DEFAULT NULL COMMENT '所属客户',
`shp_ming_cheng` varchar(300) DEFAULT NULL COMMENT '商品名称',
`shp_jian_cheng` varchar(32) DEFAULT NULL COMMENT '商品简称',
`shp_bian_ma` varchar(32) DEFAULT NULL COMMENT '商品编码',
`shp_xing_hao` varchar(100) DEFAULT NULL COMMENT '商品型号',
`shp_gui_ge` varchar(32) DEFAULT NULL COMMENT '商品规格',
`shp_yan_se` varchar(32) DEFAULT NULL COMMENT '商品颜色',
`chp_shu_xing` varchar(32) DEFAULT NULL COMMENT '产品属性',
`cf_wen_ceng` varchar(32) DEFAULT NULL COMMENT '存放温层',
`chl_kong_zhi` varchar(32) DEFAULT NULL COMMENT '拆零控制',
`mp_dan_ceng` varchar(32) DEFAULT NULL COMMENT '码盘单层数量',
`mp_ceng_gao` varchar(33) DEFAULT NULL COMMENT '码盘层高',
`jf_shp_lei` varchar(34) DEFAULT NULL COMMENT '计费商品类',
`shp_pin_pai` varchar(35) DEFAULT NULL COMMENT '商品品牌',
`shp_tiao_ma` varchar(32) DEFAULT NULL COMMENT '商品条码',
`pp_tu_pian` varchar(32) DEFAULT NULL COMMENT '品牌图片',
`bzhi_qi` varchar(32) DEFAULT NULL COMMENT '保质期',
`shl_dan_wei` varchar(32) DEFAULT NULL COMMENT '单位',
`jsh_dan_wei` varchar(32) DEFAULT NULL COMMENT '拆零单位',
`ti_ji_cm` varchar(32) DEFAULT NULL COMMENT '体积',
`zhl_kg` varchar(32) DEFAULT NULL COMMENT '净重',
`chl_shl` varchar(32) DEFAULT NULL COMMENT '拆零数量',
`jti_ji_bi` varchar(32) DEFAULT NULL COMMENT '件数与体积比',
`jm_zhong_bi` varchar(32) DEFAULT NULL COMMENT '件数与毛重比',
`jj_zhong_bi` varchar(32) DEFAULT NULL COMMENT '件数与净重比',
`chc_dan_wei` varchar(32) DEFAULT NULL COMMENT '尺寸单位',
`ch_dan_pin` varchar(32) DEFAULT NULL COMMENT '长单品',
`ku_dan_pin` varchar(32) DEFAULT NULL COMMENT '宽单品',
`gao_dan_pin` varchar(32) DEFAULT NULL COMMENT '高单品',
`ch_zh_xiang` varchar(32) DEFAULT NULL COMMENT '长整箱',
`ku_zh_xiang` varchar(32) DEFAULT NULL COMMENT '宽整箱',
`gao_zh_xiang` varchar(32) DEFAULT NULL COMMENT '高整箱',
`shp_miao_shu` varchar(32) DEFAULT NULL COMMENT '商品描述',
`zhuang_tai` varchar(32) DEFAULT NULL COMMENT '停用',
`zhl_kgm` varchar(32) DEFAULT NULL COMMENT '毛重',
`SHP_BIAN_MAKH` varchar(45) DEFAULT NULL COMMENT '商品客户编码',
`JIZHUN_WENDU` varchar(45) DEFAULT NULL COMMENT '基准温度',
PRIMARY KEY (`id`),
UNIQUE KEY `spbm` (`shp_bian_ma`) USING HASH
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `md_goods`
--
LOCK TABLES `md_goods` WRITE;
/*!40000 ALTER TABLE `md_goods` DISABLE KEYS */;
INSERT INTO `md_goods` VALUES ('402881b265c672f80165c70e13a00b6a','初始','admin','2018-09-11 13:15:13','初始','admin','2019-02-14 22:18:11','A04','A04','xkn','灵鹿谷演示数据',NULL,'F031701',NULL,'3',NULL,'家居日用','常温','N','99','99','10',NULL,'',NULL,'1080','','','11','7.25','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c70e13cf0b6b','初始','admin','2018-09-11 13:15:13','cg01','cg01','2018-10-14 16:50:37','A04','A04','xkn','灵鹿谷演示数据',NULL,'F031700',NULL,NULL,NULL,'家居日用','常温','N','99','99','10',NULL,'',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c70e13ee0b6c','初始','admin','2018-09-11 13:15:13','cg01','cg01','2018-10-14 16:50:37','A04','A04','xkn','灵鹿谷演示数据',NULL,'E020084',NULL,NULL,NULL,'纸品','常温','N','99','99','10',NULL,'',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c70e143c0b6d','初始','admin','2018-09-11 13:15:13',NULL,NULL,NULL,'A04','A04','xkn','灵鹿谷演示数据',NULL,'CWZY000',NULL,NULL,NULL,'','常温','N','99','99','10',NULL,'',NULL,'360','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360','','1'),('402881b265c672f80165c70e14aa0b6e','初始','admin','2018-09-11 13:15:13','cg01','cg01','2018-10-14 16:50:37','A04','A04','xkn','灵鹿谷演示数据',NULL,'F031226',NULL,NULL,NULL,'家居日用','常温','N','99','99','10',NULL,'',NULL,'360','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'120 ','','1'),('402881b265c672f80165c70e14d80b6f','初始','admin','2018-09-11 13:15:13','cg01','cg01','2018-10-14 16:50:37','A04','A04','xkn','灵鹿谷演示数据',NULL,'C010499',NULL,NULL,NULL,'食品','常温','N','99','99','10',NULL,'',NULL,'540','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'180 ','','1'),('402881b265c672f80165c70e15070b70','初始','admin','2018-09-11 13:15:14','cg01','cg01','2018-10-14 16:50:37','A04','A04','xkn','灵鹿谷演示数据',NULL,'F031224',NULL,NULL,NULL,'家居日用','常温','N','99','99','10',NULL,'',NULL,'360','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'120 ','','1'),('402881b265c672f80165c70e15260b71','初始','admin','2018-09-11 13:15:14','cg01','cg01','2018-10-14 16:50:37','A04','A04','xkn','灵鹿谷演示数据',NULL,'F031223',NULL,NULL,NULL,'家居日用','常温','N','99','99','10',NULL,'',NULL,'360','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'120 ','','1'),('402881b265c672f80165c70e15650b72','初始','admin','2018-09-11 13:15:14','戴杰 ','daij','2018-11-26 11:48:44','A04','A04','xkn','灵鹿谷演示数据',NULL,'02191012',NULL,'16',NULL,'纸品','常温','N','99','99','10',NULL,'',NULL,'1800','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'600 ','','1'),('402881b265c672f80165c70e15940b73','初始','admin','2018-09-11 13:15:14','cg01','cg01','2018-10-14 16:50:37','A04','A04','xkn','灵鹿谷演示数据',NULL,'A060157',NULL,NULL,NULL,'美妆个护','常温','N','99','99','10',NULL,'',NULL,'1095','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'365 ','','1'),('402881b265c672f80165c70e15b30b74','初始','admin','2018-09-11 13:15:14','戴杰 ','daij','2018-11-26 11:48:44','A04','A04','xkn','灵鹿谷演示数据',NULL,'C030806',NULL,'12',NULL,'食品','常温','N','99','99','10',NULL,'',NULL,'270','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'90','','1'),('402881b265c672f80165c70e15e20b75','初始','admin','2018-09-11 13:15:14','戴杰 ','daij','2018-11-26 11:48:44','A04','A04','xkn','灵鹿谷演示数据',NULL,'H030091',NULL,'50',NULL,'家居日用','常温','N','99','99','10',NULL,'',NULL,'1800','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'600','','1'),('402881b265c672f80165c70e
INSERT INTO `md_goods` VALUES ('402881b265c672f80165c713f7a61743','初始','admin','2018-09-11 13:21:39','戴杰 ','daij','2018-11-26 11:49:24','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020119',NULL,'12',NULL,'美妆个护','常温','N','99','99','10',NULL,'6902088114317',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713f8221744','初始','admin','2018-09-11 13:21:39','戴杰 ','daij','2018-11-26 11:49:24','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020118',NULL,'6',NULL,'美妆个护','常温','N','99','99','10',NULL,'6902088113167',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713f89f1745','初始','admin','2018-09-11 13:21:39','戴杰 ','daij','2018-11-26 11:49:24','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020117',NULL,'6',NULL,'美妆个护','常温','N','99','99','10',NULL,'6902088115352',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713f91c1746','初始','admin','2018-09-11 13:21:40','戴杰 ','daij','2018-11-26 11:49:25','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020116',NULL,'6',NULL,'美妆个护','常温','N','99','99','10',NULL,'6902088113136',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713f9991747','初始','admin','2018-09-11 13:21:40','戴杰 ','daij','2018-11-26 11:49:25','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020115',NULL,'12',NULL,'美妆个护','常温','N','99','99','10',NULL,'6902088113129',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713fa251748','初始','admin','2018-09-11 13:21:40','戴杰 ','daij','2018-11-26 11:49:25','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020114',NULL,'12',NULL,'美妆个护','常温','N','99','99','10',NULL,'6902088113112',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713fac11749','初始','admin','2018-09-11 13:21:40','戴杰 ','daij','2018-11-26 11:49:25','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020113',NULL,'12',NULL,'美妆个护','常温','N','99','99','10',NULL,'6902088113082',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713fb3e174a','初始','admin','2018-09-11 13:21:40','cg01','cg01','2018-10-14 16:52:58','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020112',NULL,NULL,NULL,'美妆个护','常温','N','99','99','10',NULL,'',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713fbca174b','初始','admin','2018-09-11 13:21:40','戴杰 ','daij','2018-11-26 11:49:25','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020111',NULL,'6',NULL,'美妆个护','常温','N','99','99','10',NULL,'6902088112979',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713fc47174c','初始','admin','2018-09-11 13:21:40','cg01','cg01','2018-10-14 16:52:58','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020110',NULL,NULL,NULL,'美妆个护','常温','N','99','99','10',NULL,'',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713fe1b174d','初始','admin','2018-09-11 13:21:41','cg01','cg01','2018-10-14 16:52:59','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020107',NULL,NULL,NULL,'美妆个护','常温','N','99','99','10',NULL,'',NULL,'1080','','','11','11','1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','','',NULL,NULL,'360 ','','1'),('402881b265c672f80165c713fe98174e','初始','admin','2018-09-11 13:21:41','戴杰 ','daij','2018-11-26 11:49:25','A04','A04','xkn','灵鹿谷演示数据',NULL,'A020106',NULL,'6',NULL,'<EFBFBD>
/*!40000 ALTER TABLE `md_goods` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `md_sup`
--
DROP TABLE IF EXISTS `md_sup`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `md_sup` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`zhong_wen_qch` varchar(100) DEFAULT NULL COMMENT '中文全称',
`zhu_ji_ma` varchar(32) DEFAULT NULL COMMENT '助记码',
`gys_jian_cheng` varchar(32) DEFAULT NULL COMMENT '供应商简称',
`gys_bian_ma` varchar(32) DEFAULT NULL COMMENT '供应商编码',
`gys_ying_wen` varchar(100) DEFAULT NULL COMMENT '供应商英文名称',
`zeng_yong_qi` varchar(32) DEFAULT NULL COMMENT '曾用企业代码',
`zeng_yong_qi_ye` varchar(100) DEFAULT NULL COMMENT '曾用企业名称',
`gys_zhuang_tai` varchar(32) DEFAULT NULL COMMENT '停用',
`xing_ye_fen_lei` varchar(32) DEFAULT NULL COMMENT '企业属性',
`gys_deng_ji` varchar(32) DEFAULT NULL COMMENT '供应商等级',
`suo_shu_xing_ye` varchar(32) DEFAULT NULL COMMENT '所属行业',
`shou_qian_ri_qi` datetime DEFAULT NULL COMMENT '首签日期',
`zhong_zhi_he_shi_jian` datetime DEFAULT NULL COMMENT '终止合作时间',
`shen_qing_shi_jian` datetime DEFAULT NULL COMMENT '申请时间',
`gys_shu_xing` varchar(32) DEFAULT NULL COMMENT '供应商属性',
`gui_shu_zu_zh` varchar(32) DEFAULT NULL COMMENT '归属组织代码',
`gui_shu_sheng` varchar(32) DEFAULT NULL COMMENT '归属省份代码',
`gui_shu_shi_dai` varchar(32) DEFAULT NULL COMMENT '归属市代码',
`gui_shu` varchar(32) DEFAULT NULL COMMENT '归属县区代码',
`di_zhi` varchar(32) DEFAULT NULL COMMENT '地址',
`you_zheng_bian_ma` varchar(32) DEFAULT NULL COMMENT '邮政编码',
`zhu_lian_xi_ren` varchar(32) DEFAULT NULL COMMENT '主联系人',
`dian_hua` varchar(32) DEFAULT NULL COMMENT '电话',
`shou_ji` varchar(32) DEFAULT NULL COMMENT '手机',
`chuan_zhen` varchar(32) DEFAULT NULL COMMENT '传真',
`Emaildi_zhi` varchar(32) DEFAULT NULL COMMENT 'Email地址',
`wang_ye_di_zhi` varchar(32) DEFAULT NULL COMMENT '网页地址',
`fa_ren_dai_biao` varchar(32) DEFAULT NULL COMMENT '法人代表',
`fa_ren_shen_fen` varchar(32) DEFAULT NULL COMMENT '法人身份证号',
`zhu_ce_zi_jin` varchar(32) DEFAULT NULL COMMENT '注册资金万元',
`bi_bie` varchar(32) DEFAULT NULL COMMENT '币别',
`ying_ye_zhi_zhao` varchar(32) DEFAULT NULL COMMENT '营业执照号',
`shui_wu_deng` varchar(32) DEFAULT NULL COMMENT '税务登记证号',
`zu_zhi_ji_gou` varchar(32) DEFAULT NULL COMMENT '组织机构代码证',
`dao_lu_yun_shu` varchar(32) DEFAULT NULL COMMENT '道路运输经营许可证',
`zhu_ying_ye_wu` varchar(32) DEFAULT NULL COMMENT '主营业务',
`he_yi_xiang` varchar(32) DEFAULT NULL COMMENT '合作意向',
`pi_zhun_ji_guan` varchar(32) DEFAULT NULL COMMENT '批准机关',
`pi_zhun_wen_hao` varchar(32) DEFAULT NULL COMMENT '批准文号',
`zhu_ce_ri_qi` datetime DEFAULT NULL COMMENT '注册日期',
`bei_zhu` varchar(128) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `md_sup`
--
LOCK TABLES `md_sup` WRITE;
/*!40000 ALTER TABLE `md_sup` DISABLE KEYS */;
/*!40000 ALTER TABLE `md_sup` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `mobile`
--
DROP TABLE IF EXISTS `mobile`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `mobile` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nm` varchar(255) DEFAULT NULL,
`commMode` varchar(255) DEFAULT NULL,
`commPlac` varchar(255) DEFAULT NULL,
`commType` varchar(255) DEFAULT NULL,
`commTime` varchar(255) DEFAULT NULL,
`remark` varchar(255) DEFAULT NULL,
`startTime` varchar(255) DEFAULT NULL,
`anotherNm` varchar(255) DEFAULT NULL,
`mealFavorable` varchar(255) DEFAULT NULL,
`commFee` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `mobile`
--
LOCK TABLES `mobile` WRITE;
/*!40000 ALTER TABLE `mobile` DISABLE KEYS */;
/*!40000 ALTER TABLE `mobile` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Temporary table structure for view `mv_cus`
--
DROP TABLE IF EXISTS `mv_cus`;
/*!50001 DROP VIEW IF EXISTS `mv_cus`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `mv_cus` (
`id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`cus_name` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `mv_cus_cost`
--
DROP TABLE IF EXISTS `mv_cus_cost`;
/*!50001 DROP VIEW IF EXISTS `mv_cus_cost`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `mv_cus_cost` (
`id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`cost_data` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `mv_cus_other`
--
DROP TABLE IF EXISTS `mv_cus_other`;
/*!50001 DROP VIEW IF EXISTS `mv_cus_other`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `mv_cus_other` (
`id` tinyint NOT NULL,
`suo_shu_ke_hu` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`cus_name` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `mv_down_and_up`
--
DROP TABLE IF EXISTS `mv_down_and_up`;
/*!50001 DROP VIEW IF EXISTS `mv_down_and_up`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `mv_down_and_up` (
`leixing` tinyint NOT NULL,
`id` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`order_id` tinyint NOT NULL,
`order_id_i` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`goods_batch` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`zhl_kg` tinyint NOT NULL,
`chl_shl` tinyint NOT NULL,
`jf_shp_lei` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `mv_du_days`
--
DROP TABLE IF EXISTS `mv_du_days`;
/*!50001 DROP VIEW IF EXISTS `mv_du_days`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `mv_du_days` (
`date_format(create_date,'yyyy-MM-dd')` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `mv_goods`
--
DROP TABLE IF EXISTS `mv_goods`;
/*!50001 DROP VIEW IF EXISTS `mv_goods`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `mv_goods` (
`id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`goods_name` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`jf_shp_lei` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`cf_wen_ceng` tinyint NOT NULL,
`mp_dan_ceng` tinyint NOT NULL,
`mp_ceng_gao` tinyint NOT NULL,
`shp_tiao_ma` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`zhl_kgm` tinyint NOT NULL,
`chl_shl` tinyint NOT NULL,
`ti_ji_cm` tinyint NOT NULL,
`zhl_kg` tinyint NOT NULL,
`zhl_kg_zx` tinyint NOT NULL,
`chp_shu_xing` tinyint NOT NULL,
`baseunit` tinyint NOT NULL,
`jizhun_wendu` tinyint NOT NULL,
`shp_bian_makh` tinyint NOT NULL,
`chailing` tinyint NOT NULL,
`zhx_unit` tinyint NOT NULL,
`shp_gui_ge` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `mv_stock_cus`
--
DROP TABLE IF EXISTS `mv_stock_cus`;
/*!50001 DROP VIEW IF EXISTS `mv_stock_cus`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `mv_stock_cus` (
`id` tinyint NOT NULL,
`kuctype` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`dqr` tinyint NOT NULL,
`ku_wei_lei_xing` tinyint NOT NULL,
`qu_huo_ci_xu` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`hiti` tinyint NOT NULL,
`shp_bian_makh` tinyint NOT NULL,
`zhong_liang` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `mv_stock_yj`
--
DROP TABLE IF EXISTS `mv_stock_yj`;
/*!50001 DROP VIEW IF EXISTS `mv_stock_yj`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `mv_stock_yj` (
`id` tinyint NOT NULL,
`kuctype` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`dqr` tinyint NOT NULL,
`res_date` tinyint NOT NULL,
`qu_huo_ci_xu` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`shp_bian_makh` tinyint NOT NULL,
`guoqibili` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `mv_stock_yj_base`
--
DROP TABLE IF EXISTS `mv_stock_yj_base`;
/*!50001 DROP VIEW IF EXISTS `mv_stock_yj_base`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `mv_stock_yj_base` (
`id` tinyint NOT NULL,
`kuctype` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`dqr` tinyint NOT NULL,
`res_date` tinyint NOT NULL,
`qu_huo_ci_xu` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`shp_bian_makh` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Table structure for table `rp_period_in_out`
--
DROP TABLE IF EXISTS `rp_period_in_out`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `rp_period_in_out` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` varchar(50) DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` varchar(50) DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
`date_period` varchar(32) DEFAULT NULL COMMENT '期间',
`username` varchar(32) DEFAULT NULL COMMENT '用户名',
`goods_id` varchar(32) DEFAULT NULL COMMENT '商品编码',
`goods_name` varchar(32) DEFAULT NULL COMMENT '商品名称',
`goods_unit` varchar(32) DEFAULT NULL COMMENT '单位',
`goods_guige` varchar(32) DEFAULT NULL COMMENT '规格',
`goods_qc` varchar(45) DEFAULT NULL COMMENT '期初库存',
`goods_in` varchar(32) DEFAULT NULL COMMENT '入库数量',
`goods_out` varchar(32) DEFAULT NULL COMMENT '出库数量',
`goods_qm` varchar(45) DEFAULT NULL COMMENT '期末',
`goods_now` varchar(32) DEFAULT NULL COMMENT '现库存',
PRIMARY KEY (`id`)
2019-02-21 00:37:56 +00:00
) ENGINE=InnoDB AUTO_INCREMENT=344 DEFAULT CHARSET=utf8;
2019-02-14 14:28:30 +00:00
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `rp_period_in_out`
--
LOCK TABLES `rp_period_in_out` WRITE;
/*!40000 ALTER TABLE `rp_period_in_out` DISABLE KEYS */;
INSERT INTO `rp_period_in_out` VALUES (255,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','B020233','B020233-灵鹿谷演示数据-包','',NULL,NULL,'132',NULL,NULL,'132'),(256,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','B020234','B020234-灵鹿谷演示数据-包','','16',NULL,'28',NULL,NULL,'28'),(257,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','B020238','B020238-灵鹿谷演示数据-袋','',NULL,NULL,'45',NULL,NULL,'45'),(258,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','B020242','B020242-灵鹿谷演示数据-瓶','','8',NULL,'80',NULL,NULL,'80'),(259,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','B020243',NULL,NULL,NULL,NULL,'974',NULL,NULL,'974'),(260,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','B020244',NULL,NULL,NULL,NULL,'80',NULL,NULL,'80'),(261,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','B020445','B020445-灵鹿谷演示数据-瓶','',NULL,NULL,'336',NULL,NULL,'336'),(262,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','B020533','B020533-灵鹿谷演示数据-包','',NULL,NULL,'54',NULL,NULL,'54'),(263,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C010425',NULL,NULL,NULL,NULL,'124',NULL,NULL,'124'),(264,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C010440',NULL,NULL,NULL,NULL,'36',NULL,NULL,'36'),(265,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030034',NULL,NULL,NULL,NULL,'13',NULL,NULL,'13'),(266,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030074',NULL,NULL,NULL,NULL,'126',NULL,NULL,'126'),(267,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030077',NULL,NULL,NULL,NULL,'48',NULL,NULL,'48'),(268,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030119','C030119-灵鹿谷演示数据-箱','',NULL,NULL,'15',NULL,NULL,'15'),(269,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030122',NULL,NULL,NULL,NULL,'39',NULL,NULL,'39'),(270,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030123','C030123-灵鹿谷演示数据-箱','',NULL,NULL,'34',NULL,NULL,'34'),(271,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030131','C030131-灵鹿谷演示数据-箱','',NULL,NULL,'37',NULL,NULL,'37'),(272,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030224',NULL,NULL,NULL,NULL,'29',NULL,NULL,'29'),(273,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030245',NULL,NULL,NULL,NULL,'12',NULL,NULL,'12'),(274,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030250',NULL,NULL,NULL,NULL,'220',NULL,NULL,'220'),(275,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030306','C030306-灵鹿谷演示数据-箱','',NULL,NULL,NULL,NULL,NULL,'31'),(276,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030307',NULL,NULL,NULL,NULL,'70',NULL,NULL,'70'),(277,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030322',NULL,NULL,NULL,NULL,'140',NULL,NULL,'140'),(278,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030360',NULL,NULL,NULL,NULL,'12',NULL,NULL,'12'),(279,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030366',NULL,NULL,NULL,NULL,'240',NULL,NULL,'240'),(280,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030385',NULL,NULL,NULL,NULL,'10',NULL,NULL,'10'),(281,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01','admin','C030403',NULL,NULL,NULL,NULL,'960',NULL,NULL,'960'),(282,NULL,'admin',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'2018-12-012019-01-01'
/*!40000 ALTER TABLE `rp_period_in_out` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Temporary table structure for view `rp_wm_down_and_qm`
--
DROP TABLE IF EXISTS `rp_wm_down_and_qm`;
/*!50001 DROP VIEW IF EXISTS `rp_wm_down_and_qm`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `rp_wm_down_and_qm` (
`id` tinyint NOT NULL,
`om_sta` tinyint NOT NULL,
`om_notice_id` tinyint NOT NULL,
`im_cus_code` tinyint NOT NULL,
`ocus_code` tinyint NOT NULL,
`ocus_name` tinyint NOT NULL,
`om_beizhu` tinyint NOT NULL,
`delv_addr` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_name` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`plan_sta` tinyint NOT NULL,
`sumqua` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `rp_wm_his_stock_ku`
--
DROP TABLE IF EXISTS `rp_wm_his_stock_ku`;
/*!50001 DROP VIEW IF EXISTS `rp_wm_his_stock_ku`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `rp_wm_his_stock_ku` (
`id` tinyint NOT NULL,
`his_date` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`count` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`zhl_kg` tinyint NOT NULL,
`chl_shl` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `rp_wm_in_qm`
--
DROP TABLE IF EXISTS `rp_wm_in_qm`;
/*!50001 DROP VIEW IF EXISTS `rp_wm_in_qm`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `rp_wm_in_qm` (
`id` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`im_notice_id` tinyint NOT NULL,
`item_text` tinyint NOT NULL,
`rec_deg` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`zhl_kg` tinyint NOT NULL,
`sumzhl` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `rp_wm_to_down_goods`
--
DROP TABLE IF EXISTS `rp_wm_to_down_goods`;
/*!50001 DROP VIEW IF EXISTS `rp_wm_to_down_goods`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `rp_wm_to_down_goods` (
`id` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`order_id` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`bin_id_to` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`zhl_kg` tinyint NOT NULL,
`shouhuoren` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `rp_wm_to_up_goods`
--
DROP TABLE IF EXISTS `rp_wm_to_up_goods`;
/*!50001 DROP VIEW IF EXISTS `rp_wm_to_up_goods`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `rp_wm_to_up_goods` (
`id` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`order_id` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`zhl_kg` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `rp_wm_up_and_down`
--
DROP TABLE IF EXISTS `rp_wm_up_and_down`;
/*!50001 DROP VIEW IF EXISTS `rp_wm_up_and_down`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `rp_wm_up_and_down` (
`id` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`order_id` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`leixing` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Table structure for table `t_app_menu`
--
DROP TABLE IF EXISTS `t_app_menu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_app_menu` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
`title` varchar(32) DEFAULT NULL COMMENT '标题',
`functionurl` varchar(32) DEFAULT NULL COMMENT '菜单地址',
`sortno` varchar(32) DEFAULT NULL COMMENT '排序顺序',
`pagename` varchar(32) DEFAULT NULL COMMENT '页面',
`icon` varchar(100) DEFAULT NULL COMMENT '图标',
`iconcolor` varchar(32) DEFAULT NULL COMMENT '图标颜色',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_app_menu`
--
LOCK TABLES `t_app_menu` WRITE;
/*!40000 ALTER TABLE `t_app_menu` DISABLE KEYS */;
INSERT INTO `t_app_menu` VALUES ('40288189632708770163270877420000','张清照','zqz','2018-05-04 01:24:16','张清照','zqz','2018-05-24 23:10:13','A04','A04',NULL,'预约出货','wmImNoticeHController.do?list','20','orderList','out.png',NULL),('40288189632708770163270a04b40002','张清照','zqz','2018-05-04 01:25:58','张清照','zqz','2018-05-24 22:45:09','A04','A04',NULL,'账单支付','wmImNoticeHController.do?list','70','order','pay.png',NULL),('40288189632708770163270b31860003','张清照','zqz','2018-05-04 01:27:15','张清照','zqz','2018-05-24 23:03:11','A04','A04',NULL,'付款查询','wmImNoticeHController.do?list','80','order','payreport.png',NULL),('402881896327087701632b4832a70069','张清照','zqz','2018-05-04 21:12:21','张清照','zqz','2018-05-24 22:52:40','A04','A04',NULL,'效期预警','wmImNoticeHController.do?list','60','orderList','warning.png',NULL),('402881896327087701632b48ce0c006a','张清照','zqz','2018-05-04 21:13:01','张清照','zqz','2018-05-24 22:50:02','A04','A04',NULL,'库存查询','wmImNoticeHController.do?list','50','orderList','stock.png',NULL),('402881896327087701632b4aba30006c','张清照','zqz','2018-05-04 21:15:07','张清照','zqz','2018-05-24 22:56:55','A04','A04',NULL,'当日进出','wmImNoticeHController.do?list','40','orderList','inout.png',NULL),('8a03c9586258961e01626d646ef8008f','admin','admin','2018-03-29 00:15:21','张清照','zqz','2018-05-24 23:08:45','A02','A02','1','预约进货','wmImNoticeHController.do?list','10','orderList','in.png',NULL);
/*!40000 ALTER TABLE `t_app_menu` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_attachment`
--
DROP TABLE IF EXISTS `t_s_attachment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_attachment` (
`ID` varchar(32) NOT NULL COMMENT 'ID',
`attachmentcontent` longblob COMMENT '附件内容',
`attachmenttitle` varchar(100) DEFAULT NULL COMMENT '附件名称',
`businesskey` varchar(32) DEFAULT NULL COMMENT '业务类主键',
`createdate` datetime DEFAULT NULL COMMENT '创建时间',
`extend` varchar(32) DEFAULT NULL COMMENT '扩展名',
`note` longtext COMMENT 'note',
`realpath` varchar(100) DEFAULT NULL COMMENT '附件路径',
`subclassname` longtext COMMENT '子类名称全路径',
`swfpath` longtext COMMENT 'swf格式路径',
`BUSENTITYNAME` varchar(100) DEFAULT NULL COMMENT 'BUSENTITYNAME',
`INFOTYPEID` varchar(32) DEFAULT NULL COMMENT 'INFOTYPEID',
`USERID` varchar(32) DEFAULT NULL COMMENT '用户ID',
PRIMARY KEY (`ID`),
KEY `FK_mnq23hlc835n4ufgjl7nkn3bd` (`USERID`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_attachment`
--
LOCK TABLES `t_s_attachment` WRITE;
/*!40000 ALTER TABLE `t_s_attachment` DISABLE KEYS */;
INSERT INTO `t_s_attachment` VALUES ('402880f65ada19f8015ada30571d0005',NULL,'1111',NULL,NULL,'txt',NULL,'upload/files/20170317105445PPhm9qGm.txt',NULL,'upload/files/20170317105445PPhm9qGm.swf',NULL,NULL,NULL),('402880f65adac254015adac3a6df0005',NULL,'1111',NULL,NULL,'txt',NULL,'upload/files/20170317133539XiUPFdhj.txt',NULL,'upload/files/20170317133539XiUPFdhj.swf',NULL,NULL,NULL),('402881855ad7918f015ad7996267000e',NULL,'1111',NULL,NULL,'txt',NULL,'upload/files/20170316225038w9VHUeTO.txt',NULL,'upload/files/20170316225038w9VHUeTO.swf',NULL,NULL,NULL),('4028ef8153a650060153a65327350012',NULL,'联通问题20160126',NULL,NULL,'txt',NULL,'upload/files/20160324095300cGLn1DMs.txt',NULL,'upload/files/20160324095300cGLn1DMs.swf',NULL,NULL,NULL),('4028ef815509d842015509e143280004',NULL,'20160504-联通升级',NULL,NULL,'txt',NULL,'upload/files/20160601105325pLV33L00.txt',NULL,'upload/files/20160601105325pLV33L00.swf',NULL,NULL,NULL);
/*!40000 ALTER TABLE `t_s_attachment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_base_user`
--
DROP TABLE IF EXISTS `t_s_base_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_base_user` (
`ID` varchar(32) NOT NULL COMMENT 'ID',
`activitiSync` smallint(6) DEFAULT NULL COMMENT '同步流程',
`browser` varchar(20) DEFAULT NULL COMMENT '浏览器',
`password` varchar(100) DEFAULT NULL COMMENT '密码',
`realname` varchar(50) DEFAULT NULL COMMENT '真实名字',
`signature` blob COMMENT '签名',
`status` smallint(6) DEFAULT NULL COMMENT '有效状态',
`userkey` varchar(200) DEFAULT NULL COMMENT '用户KEY',
`username` varchar(10) NOT NULL COMMENT '用户账号',
`departid` varchar(32) DEFAULT NULL COMMENT '部门ID',
`delete_flag` smallint(6) DEFAULT NULL COMMENT '删除状态',
`wxopenid` varchar(100) DEFAULT NULL COMMENT '微信openid',
PRIMARY KEY (`ID`),
KEY `FK_15jh1g4iem1857546ggor42et` (`departid`) USING BTREE,
KEY `index_login` (`password`,`username`) USING BTREE,
KEY `idx_deleteflg` (`delete_flag`) USING BTREE,
CONSTRAINT `t_s_base_user_ibfk_1` FOREIGN KEY (`departid`) REFERENCES `t_s_depart` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='InnoDB free: 600064 kB; (`departid`) REFER `jeecg/t_s_depart';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_base_user`
--
LOCK TABLES `t_s_base_user` WRITE;
/*!40000 ALTER TABLE `t_s_base_user` DISABLE KEYS */;
INSERT INTO `t_s_base_user` VALUES ('402881875988e889015988ec36770001',NULL,NULL,'f68bb6f881b0ebe0','初始',NULL,1,'demo','777',NULL,1,NULL),('402881b265e2f9050165e2fc212c0032',NULL,NULL,'c69c70442409fc59','查询01',NULL,1,'查询,退货管理','CX01',NULL,0,NULL),('402881b265e2f9050165e31bc1b3003e',NULL,NULL,'628512b84d776ebe','查询',NULL,1,'查询','CX02',NULL,0,NULL),('402881b265e2f9050165e31c24eb0042',NULL,NULL,'2b759a39f1886988','查询',NULL,1,'查询','CX03',NULL,0,NULL),('402881b265e2f9050165e31c8f650046',NULL,NULL,'816cb784734c4738','查询',NULL,1,'查询','CX04',NULL,0,NULL),('402881b265e2f9050165e31d02c7004a',NULL,NULL,'3599d5b2ab6224f2','查询',NULL,1,'查询','CX05',NULL,0,NULL),('402881b265e2f9050165e31d7cbe004e',NULL,NULL,'f48c51335f0b41bf','查询',NULL,1,'查询','CX06',NULL,0,NULL),('402881b265e2f9050165e31df0a00052',NULL,NULL,'1969e05db8709b78','查询',NULL,1,'查询','CX07',NULL,0,NULL),('402881b265e2f9050165e31e54600056',NULL,NULL,'0e32f535d1aa0bbb','查询',NULL,1,'查询','CX08',NULL,0,NULL),('402881b265e2f9050165e31eb0ea005a',NULL,NULL,'fc6ca07028a0ff06','查询',NULL,1,'查询','CX09',NULL,0,NULL),('402881b265e2f9050165e31f164c005e',NULL,NULL,'9c09a4e2488ce479','查询',NULL,1,'查询','CX10',NULL,0,NULL),('402881b26695b69a016695ba18a00001',NULL,NULL,'f6c97dcb4cb18cc6','cg02',NULL,1,'存控','cg02',NULL,0,NULL),('402881b266b505ce0166b81b40ec05da',NULL,NULL,'aa320f18fed73328','初始',NULL,1,'权限管理,存控','wangxm',NULL,0,NULL),('402881b266b505ce0166b81ccb6005f5',NULL,'xkn','2ca3f949fe7b8524','初始',NULL,1,'存控,权限管理','daij',NULL,0,NULL),('402881b266b505ce0166b81e37a305fd',NULL,NULL,'d700df7a3a758f6f','初始',NULL,1,'存控','wangxh',NULL,0,NULL),('402881b266b505ce0166b81eca8d0601',NULL,NULL,'3c654fa12ab45e4c','初始',NULL,1,'存控','wangyb',NULL,0,NULL),('402881b266b505ce0166b81f30f90605',NULL,NULL,'631c319c24457eef','初始',NULL,1,'存控','zhangjh',NULL,0,NULL),('402881b266b505ce0166b81f93030609',NULL,NULL,'03dd9c247726f668','初始',NULL,1,'存控','wangxq',NULL,0,NULL),('402881b266b505ce0166b820e0e9060d',NULL,NULL,'026ec2e7b27772b0','初始',NULL,1,'入库管理,库内转移,基础管理','limh',NULL,0,NULL),('402881b266b505ce0166b822c16f0622',NULL,NULL,'9c152e331012e04e','初始',NULL,1,'入库管理,库内转移,基础管理','renf',NULL,0,NULL),('402881b266b505ce0166b8236f6d0628',NULL,NULL,'70d33d09e01af1f7','初始',NULL,1,'入库管理,出库管理,基础管理,库内转移','sungb',NULL,0,NULL),('402881b266b505ce0166b823fbb6062f',NULL,NULL,'6943c9785a17dace','初始',NULL,1,'出库管理,库内转移,基础管理','shijm',NULL,0,NULL),('402881b266b505ce0166b82486c50635',NULL,NULL,'c155f96e24f9b2ff','初始',NULL,1,'出库管理,基础管理,库内转移','mal',NULL,0,NULL),('402881b266b505ce0166b824ef2d063b',NULL,NULL,'4415a84131ee003b','初始',NULL,1,'出库管理,库内转移,基础管理','shiyc',NULL,0,NULL),('402881b266b505ce0166b82559b60641',NULL,NULL,'2cf183a4d226fbad','初始',NULL,1,'出库管理,基础管理,库内转移','sunqg',NULL,0,NULL),('402881b266b505ce0166b825c5cb0647',NULL,NULL,'初始','初始',NULL,1,NULL,'wangrx',NULL,0,NULL),('402881b266b505ce0166b826331a064d',NULL,NULL,'24f93236620354be','初始',NULL,1,NULL,'hourg',NULL,0,NULL),('4028b8815df2ac6c015df2b115940004',NULL,NULL,'33beb63a7f11dbd2','初始',NULL,1,'管理员,客户','admin',NULL,0,NULL),('4028ef81563ae5be01563ae92d7f0002',NULL,NULL,'bff95c03433b66af','初始',NULL,1,'demo','999',NULL,1,NULL),('8a8ab0b246dc81120146dc8181a10054',NULL,NULL,'f2322ec2fb9f40d1','初始',NULL,1,'管理员','cgy','8a8ab0b246dc81120146dc8180a20016',1,NULL);
/*!40000 ALTER TABLE `t_s_base_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_category`
--
DROP TABLE IF EXISTS `t_s_category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_category` (
`id` varchar(36) NOT NULL COMMENT 'ID',
`icon_id` varchar(32) DEFAULT NULL COMMENT '图标ID',
`code` varchar(32) NOT NULL COMMENT '类型编码',
`name` varchar(32) NOT NULL COMMENT '类型名称',
`create_name` varchar(50) NOT NULL COMMENT '创建人名称',
`create_by` varchar(50) NOT NULL COMMENT '创建人登录名称',
`create_date` datetime NOT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`parent_id` varchar(32) DEFAULT NULL COMMENT '上级ID',
`sys_org_code` varchar(10) NOT NULL COMMENT '机构',
`sys_company_code` varchar(10) NOT NULL COMMENT '公司',
`PARENT_CODE` varchar(32) DEFAULT NULL COMMENT '父邮编',
PRIMARY KEY (`id`),
UNIQUE KEY `uniq_code` (`code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='分类管理';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_category`
--
LOCK TABLES `t_s_category` WRITE;
/*!40000 ALTER TABLE `t_s_category` DISABLE KEYS */;
INSERT INTO `t_s_category` VALUES ('4028ef81526266d401526271b82b001f','8a8ab0b246dc81120146dc8180460000','A01','水果分类','管理员','admin','2016-01-21 12:29:25',NULL,NULL,NULL,NULL,'A03','A0',NULL),('4028ef81526266d401526271d2800021','8a8ab0b246dc81120146dc8180460000','A02','书籍分类','管理员','admin','2016-01-21 12:29:32',NULL,NULL,NULL,NULL,'A03','A0',NULL),('4028ef81526266d401526271e7cf0023','8a8ab0b246dc81120146dc8180460000','A03','汽车分类','管理员','admin','2016-01-21 12:29:38',NULL,NULL,NULL,NULL,'A03','A0',NULL),('4028ef81526266d4015262720ac00025','8a8ab0b246dc81120146dc8180460000','A03A01','国产汽车','管理员','admin','2016-01-21 12:29:47',NULL,NULL,NULL,NULL,'A03','A0','A03'),('4028ef81526266d401526272344f0027','8a8ab0b246dc81120146dc8180460000','A03A02','进口汽车','管理员','admin','2016-01-21 12:29:57',NULL,NULL,NULL,NULL,'A03','A0','A03'),('4028ef81526266d40152627286a10029','8a8ab0b246dc81120146dc8180460000','A02A01','外语','管理员','admin','2016-01-21 12:30:18',NULL,NULL,NULL,NULL,'A03','A0','A02'),('4028ef81526266d401526272bebe002b','8a8ab0b246dc81120146dc8180460000','A02A02','翻译','管理员','admin','2016-01-21 12:30:33',NULL,NULL,NULL,NULL,'A03','A0','A02'),('4028ef81526266d401526273140d002d','8a8ab0b246dc81120146dc8180460000','A01A01','热带水果','管理员','admin','2016-01-21 12:30:54',NULL,NULL,NULL,NULL,'A03','A0','A01'),('4028ef81526266d4015262735b9e002f','8a8ab0b246dc81120146dc8180460000','A01A02','冬天水果','管理员','admin','2016-01-21 12:31:13',NULL,NULL,NULL,NULL,'A03','A0','A01'),('4028ef81526266d401526273c01f0031','8a8ab0b246dc81120146dc8180460000','A03A02A01','凯迪拉克','管理员','admin','2016-01-21 12:31:39',NULL,NULL,NULL,NULL,'A03','A0','A03A02'),('4028ef81526266d401526273ee390033','8a8ab0b246dc81120146dc8180460000','A03A02A02','大众','管理员','admin','2016-01-21 12:31:50',NULL,NULL,NULL,NULL,'A03','A0','A03A02'),('4028ef81526266d40152627417350035','8a8ab0b246dc81120146dc8180460000','A03A01A01','红旗汽车','管理员','admin','2016-01-21 12:32:01',NULL,NULL,NULL,NULL,'A03','A0','A03A01');
/*!40000 ALTER TABLE `t_s_category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_data_log`
--
DROP TABLE IF EXISTS `t_s_data_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_data_log` (
`id` varchar(36) NOT NULL COMMENT 'id',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`table_name` varchar(32) DEFAULT NULL COMMENT '表名',
`data_id` varchar(32) DEFAULT NULL COMMENT '数据ID',
`data_content` text COMMENT '数据内容',
`version_number` int(11) DEFAULT NULL COMMENT '版本号',
PRIMARY KEY (`id`),
KEY `sindex` (`table_name`,`data_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_data_log`
--
LOCK TABLES `t_s_data_log` WRITE;
/*!40000 ALTER TABLE `t_s_data_log` DISABLE KEYS */;
/*!40000 ALTER TABLE `t_s_data_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_data_rule`
--
DROP TABLE IF EXISTS `t_s_data_rule`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_data_rule` (
`id` varchar(96) DEFAULT NULL COMMENT 'ID',
`rule_name` varchar(96) DEFAULT NULL COMMENT '数据权限规则名称',
`rule_column` varchar(300) DEFAULT NULL COMMENT '字段',
`rule_conditions` varchar(300) DEFAULT NULL COMMENT '条件',
`rule_value` varchar(300) DEFAULT NULL COMMENT '规则值',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(96) DEFAULT NULL,
`create_name` varchar(96) DEFAULT NULL COMMENT '创建时间',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
`update_by` varchar(96) DEFAULT NULL COMMENT '修改人',
`update_name` varchar(96) DEFAULT NULL COMMENT '修改人名字',
`functionId` varchar(96) DEFAULT NULL COMMENT '菜单ID'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_data_rule`
--
LOCK TABLES `t_s_data_rule` WRITE;
/*!40000 ALTER TABLE `t_s_data_rule` DISABLE KEYS */;
INSERT INTO `t_s_data_rule` VALUES ('f852d85d47f224990147f2284c0c0005','小于','test','<=','11','2014-08-20 14:43:52','8a8ab0b246dc81120146dc8181950052','admin',NULL,NULL,NULL,NULL),('f852d85d47f224990147f2284c0c0005','小于','test','<=','11','2014-08-20 14:43:52','8a8ab0b246dc81120146dc8181950052','admin',NULL,NULL,NULL,NULL),('402889fe47fcb29c0147fcb6b6220001','12','12','>','12','2014-08-22 15:55:38','8a8ab0b246dc81120146dc8181950052','admin',NULL,NULL,NULL,'8a8ab0b246dc81120146dc8180fe002b'),('402889fb486e848101486e913cd6000b','userName','userName','=','admin','2014-09-13 18:31:25','admin','管理员',NULL,NULL,NULL,'402889fb486e848101486e8e2e8b0007'),('402889fb486e848101486e98d20d0016','title','title','=','12',NULL,NULL,NULL,'2014-09-13 22:18:22','scott','张代浩','402889fb486e848101486e93a7c80014'),('402880e6487e661a01487e732c020005','SYS_ORG_CODE','SYS_ORG_CODE','LIKE','010201%','2014-09-16 20:32:30','admin','管理员',NULL,NULL,NULL,'402889fb486e848101486e93a7c80014'),('402880e6487e661a01487e8153ee0007','create_by','create_by','','#{SYS_USER_CODE}','2014-09-16 20:47:57','admin','管理员',NULL,NULL,NULL,'402889fb486e848101486e93a7c80014'),('402881e45394d66901539500a4450001','sysCompanyCode','sysCompanyCode','=','#{SYS_COMPANY_CODE}','2016-03-21 01:09:21','admin','管理员',NULL,NULL,NULL,'402881e54df73c73014df75ab670000f'),('402881e45394d6690153950177cb0003','sysOrgCode','sysOrgCode','=','#{SYS_ORG_CODE}','2016-03-21 01:10:15','admin','管理员',NULL,NULL,NULL,'402881e54df73c73014df75ab670000f'),('4028ef815595a881015595b0ccb60001','限只能看自己','createBy','=','#{sys_user_code}',NULL,NULL,NULL,'2017-03-29 18:32:40','admin','管理员','40288088481d019401481d2fcebf000d'),('4028ef81574ae99701574aed26530005','用户名','userName','!=','admin','2016-09-21 12:07:18','admin','管理员',NULL,NULL,NULL,'4028ef81574ae99701574aeb97bd0003'),('402881875b19f141015b19f8125e0014','可看下属业务数据','sysOrgCode','LIKE','#{sys_org_code}','2017-03-29 20:08:59','admin','管理员',NULL,NULL,NULL,'40288088481d019401481d2fcebf000d'),('402880f25b1e2ac7015b1e5fdebc0012','只能看自己数据','create_by','=','#{sys_user_code}','2017-03-30 16:40:51','admin','管理员',NULL,NULL,NULL,'402880f25b1e2ac7015b1e5cdc340010');
/*!40000 ALTER TABLE `t_s_data_rule` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_data_source`
--
DROP TABLE IF EXISTS `t_s_data_source`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_data_source` (
`id` varchar(36) NOT NULL COMMENT 'ID',
`db_key` varchar(50) NOT NULL COMMENT '多数据源KEY',
`description` varchar(50) NOT NULL COMMENT '描述',
`driver_class` varchar(50) NOT NULL COMMENT '驱动class',
`url` varchar(200) NOT NULL COMMENT 'db链接',
`db_user` varchar(50) NOT NULL COMMENT '用户名',
`db_password` varchar(50) DEFAULT NULL COMMENT '密码',
`db_type` varchar(50) DEFAULT NULL COMMENT '数据库类型',
`db_name` varchar(50) DEFAULT NULL COMMENT '数据源名字',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_data_source`
--
LOCK TABLES `t_s_data_source` WRITE;
/*!40000 ALTER TABLE `t_s_data_source` DISABLE KEYS */;
INSERT INTO `t_s_data_source` VALUES ('402880e74e064fc5014e0652f72b0001','jeewx-yunying','微信运营数据库','com.mysql.jdbc.Driver','jdbc:mysql://localhost:3306/jeewx-yunying?useUnicode=true&characterEncoding=UTF-8','root','ea3d519525358e00','mysql','jeewx-yunying'),('8a8aada9486347c001486401180a0003','SAP_DB','sap db','oracle.jdbc.driver.OracleDriver','jdbc:oracle:thin:@127.0.0.1:1521:oral','db_user','87428f0d9ae4c511','oracle','orcl');
/*!40000 ALTER TABLE `t_s_data_source` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_depart`
--
DROP TABLE IF EXISTS `t_s_depart`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_depart` (
`ID` varchar(32) NOT NULL COMMENT 'ID',
`departname` varchar(100) NOT NULL COMMENT '部门名称',
`description` longtext COMMENT '描述',
`parentdepartid` varchar(32) DEFAULT NULL COMMENT '父部门ID',
`org_code` varchar(64) DEFAULT NULL COMMENT '机构编码',
`org_type` varchar(1) DEFAULT NULL COMMENT '机构类型',
`mobile` varchar(32) DEFAULT NULL COMMENT '手机号',
`fax` varchar(32) DEFAULT NULL COMMENT '传真',
`address` varchar(100) DEFAULT NULL COMMENT '地址',
`depart_order` varchar(5) DEFAULT '0' COMMENT '排序',
PRIMARY KEY (`ID`),
KEY `FK_knnm3wb0bembwvm0il7tf6686` (`parentdepartid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_depart`
--
LOCK TABLES `t_s_depart` WRITE;
/*!40000 ALTER TABLE `t_s_depart` DISABLE KEYS */;
INSERT INTO `t_s_depart` VALUES ('402880e447e99cf10147e9a03b320003','厦门XXX','',NULL,'A01','1','','','',NULL),('402880e447e9a9570147e9b677320003','软件信息部','','402880e447e99cf10147e9a03b320003','A01A01','2',NULL,NULL,NULL,'0'),('402880e447e9a9570147e9b6a3be0005','销售部门','','402880e447e99cf10147e9a03b320003','A01A02','2',NULL,NULL,NULL,'0'),('402880e447e9a9570147e9b710d20007','人力资源部','','402880e447e99cf10147e9a03b320003','A01A03','2',NULL,NULL,NULL,'0'),('402880e447e9a9570147e9b762e30009','销售经理','','402880e447e9a9570147e9b6a3be0005','A01A02A01','2',NULL,NULL,NULL,'0'),('402880e447e9ba550147e9c53b2e0013','财务','','8a8ab0b246dc81120146dc8180ba0017','A03A02','2',NULL,NULL,NULL,'0'),('402880e6487e661a01487e6b504e0001','销售人员','销售人员','402880e447e9a9570147e9b762e30009','A01A02A01A01','3',NULL,NULL,NULL,'0'),('402880f15986303c0159864816180002','部门经理','','8a8ab0b246dc81120146dc8180a20016','A02A01','2','','','',NULL),('8a7ba3345d93bb87015d93e44fd90019','欣康宁','欣康宁',NULL,'A04','1','','','',NULL),('8a7ba3345d93bb87015d93e516bf001b','仓储部','仓储部','8a7ba3345d93bb87015d93e44fd90019','A04A01','2','','','',NULL),('8a8ab0b246dc81120146dc8180a20016','厦门XXX','1111',NULL,'A02','1','','','',NULL),('8a8ab0b246dc81120146dc8180ba0017','厦门XXX','1111',NULL,'A03','1','','','',NULL),('8a8ab0b246dc81120146dc8180bd0018','软件开发部','研发技术难题','8a8ab0b246dc81120146dc8180ba0017','A03A01','2',NULL,NULL,NULL,'0');
/*!40000 ALTER TABLE `t_s_depart` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_function`
--
DROP TABLE IF EXISTS `t_s_function`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_function` (
`ID` varchar(32) NOT NULL COMMENT 'ID',
`functioniframe` smallint(6) DEFAULT NULL COMMENT '菜单地址打开方式',
`functionlevel` smallint(6) DEFAULT NULL COMMENT '菜单等级',
`functionname` varchar(50) NOT NULL COMMENT '菜单名字',
`functionorder` varchar(255) DEFAULT NULL COMMENT '排序',
`functionurl` varchar(500) DEFAULT NULL COMMENT 'URL',
`parentfunctionid` varchar(32) DEFAULT NULL COMMENT '父菜单ID',
`iconid` varchar(32) DEFAULT NULL COMMENT '图标ID',
`desk_iconid` varchar(32) DEFAULT NULL COMMENT '桌面图标ID',
`functiontype` smallint(6) DEFAULT NULL COMMENT '菜单类型',
`function_icon_style` varchar(255) DEFAULT NULL COMMENT 'ace图标样式',
`create_by` varchar(32) DEFAULT NULL COMMENT '创建人id',
`create_name` varchar(32) DEFAULT NULL COMMENT '创建人',
`update_by` varchar(32) DEFAULT NULL COMMENT '修改人id',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`update_name` varchar(32) DEFAULT NULL COMMENT '修改人',
PRIMARY KEY (`ID`),
KEY `FK_brd7b3keorj8pmxcv8bpahnxp` (`parentfunctionid`) USING BTREE,
KEY `FK_q5tqo3v4ltsp1pehdxd59rccx` (`iconid`) USING BTREE,
KEY `FK_gbdacaoju6d5u53rp4jo4rbs9` (`desk_iconid`) USING BTREE,
CONSTRAINT `t_s_function_ibfk_1` FOREIGN KEY (`parentfunctionid`) REFERENCES `t_s_function` (`ID`),
CONSTRAINT `t_s_function_ibfk_2` FOREIGN KEY (`desk_iconid`) REFERENCES `t_s_icon` (`ID`),
CONSTRAINT `t_s_function_ibfk_3` FOREIGN KEY (`iconid`) REFERENCES `t_s_icon` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='InnoDB free: 600064 kB; (`parentfunctionid`) REFER `jeecg/t_';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_function`
--
LOCK TABLES `t_s_function` WRITE;
/*!40000 ALTER TABLE `t_s_function` DISABLE KEYS */;
INSERT INTO `t_s_function` VALUES ('2c90ac564c9d1734014c9d6f4e370024',NULL,1,'menu.graph.configuration','4','jformGraphreportHeadController.do?jformGraphreportHead','8a8ab0b246dc81120146dc8180ce0019','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('40284a815b48b411015b48b56fd80001',NULL,1,'动态tab设计','8','jeecgFormDemoController.do?ueditor','4028f6815af3ce54015af3d1ad610001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'icon-bug',NULL,NULL,'admin','2017-04-08 17:50:23',NULL,'管理员'),('40287d81522a428401522a44aafb0002',NULL,1,'Online移动图表','5','cgDynamGraphConfigHeadController.do?cgDynamGraphConfigHead','8a8ab0b246dc81120146dc8180ce0019','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,'admin','2016-03-15 12:34:36',NULL,'管理员'),('40288088481d019401481d2fcebf000d',NULL,1,'jeecgdemo数据权限列表','1','jeecgListDemoController.do?datagrid','402889fb486e848101486e8de3d60005','8a8ab0b246dc81120146dc8180820003','8a8ab0b246dc81120146dc8180dd001e',1,'',NULL,NULL,'admin','2017-03-29 18:31:26',NULL,'管理员'),('4028808848845c0f01488461226e0001',NULL,0,'消息中间件','980','',NULL,'8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'icon-volume-up',NULL,NULL,'admin','2017-07-30 22:21:50',NULL,'管理员'),('4028808848845c0f01488461b3ac0004',NULL,1,'menu.business.management','1','tSSmsSqlController.do?tSSmsSql','4028808848845c0f01488461226e0001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'',NULL,NULL,'admin','2017-03-14 16:47:13',NULL,'管理员'),('4028808848845c0f01488462658f0006',NULL,1,'menu.message.template','2','tSSmsTemplateController.do?tSSmsTemplate','4028808848845c0f01488461226e0001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028808848845c0f01488463aa210009',NULL,1,'menu.Business.configuration','3','tSSmsTemplateSqlController.do?tSSmsTemplateSql','4028808848845c0f01488461226e0001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028808848845c0f014884649488000c',NULL,1,'menu.send.message','0','tSSmsController.do?tSSms','4028808848845c0f01488461226e0001','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402880e448a28b750148a290c0e50001',NULL,1,'menu.sort.management','16','categoryController.do?category','8a8ab0b246dc81120146dc8180d2001a','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402880e74d76e784014d76f5505a0012',NULL,0,'在线演示','950','',NULL,'8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'icon-gear',NULL,NULL,'admin','2017-07-30 22:21:24',NULL,'管理员'),('402880e74d76e784014d76f5cc2e0014',NULL,1,'请假列表','1','cgAutoListController.do?list&id=jform_leave','402880e74d76e784014d76f5505a0012','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,'admin','2016-03-15 12:30:36',NULL,'管理员'),('402880e74d76e784014d76fa7e970024',NULL,1,'数据报表','2','cgReportController.do?list&id=user_msg','8a8ab0b246dc81120146dc8180d4001b','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,'admin','2016-03-14 11:37:27',NULL,'管理员'),('402880e74d76e784014d76fd1bd60030',NULL,1,'图形报表','3','graphReportController.do?list&isIframe&id=yhcztj','8a8ab0b246dc81120146dc8180d4001b','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,'admin','2016-03-14 11:37:16',NULL,'管理员'),('402880ea53303a060153304a9ad50001',NULL,1,'系统公告','7','noticeController.do?tSNotice','8a8ab0b246dc81120146dc8180d2001a','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,NULL,NULL,NULL,'admin','2016-06-27 18:16:34',NULL,'管理员'),('402880f25a980e2a015a981dc8de0005',NULL,1,'请假自定义表单','3','autoFormController/af/employee_leave_
/*!40000 ALTER TABLE `t_s_function` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_icon`
--
DROP TABLE IF EXISTS `t_s_icon`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_icon` (
`ID` varchar(32) NOT NULL COMMENT 'id',
`extend` varchar(255) DEFAULT NULL COMMENT '图片后缀',
`iconclas` varchar(200) DEFAULT NULL COMMENT '类型',
`content` blob COMMENT '图片流内容',
`name` varchar(100) NOT NULL COMMENT '名字',
`path` longtext COMMENT '路径',
`type` smallint(6) DEFAULT NULL COMMENT '类型 1系统图标/2菜单图标/3桌面图标',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_icon`
--
LOCK TABLES `t_s_icon` WRITE;
/*!40000 ALTER TABLE `t_s_icon` DISABLE KEYS */;
INSERT INTO `t_s_icon` VALUES ('8a8ab0b246dc81120146dc8180460000','png','default',NULL,'默认','plug-in/accordion/images/default.png',1),('8a8ab0b246dc81120146dc8180800001','png','back',NULL,'返回','plug-in/accordion/images/back.png',1),('8a8ab0b246dc81120146dc8180810002','png','pie',NULL,'小饼状图','plug-in/accordion/images/pie.png',1),('8a8ab0b246dc81120146dc8180820003','png','pictures',NULL,'图片','plug-in/accordion/images/pictures.png',1),('8a8ab0b246dc81120146dc8180830004','png','pencil',NULL,'','plug-in/accordion/images/pencil.png',1),('8a8ab0b246dc81120146dc8180850005','png','map',NULL,'小地图','plug-in/accordion/images/map.png',1),('8a8ab0b246dc81120146dc8180860006','png','group_add',NULL,'','plug-in/accordion/images/group_add.png',1),('8a8ab0b246dc81120146dc8180880007','png','calculator',NULL,'计算器','plug-in/accordion/images/calculator.png',1),('8a8ab0b246dc81120146dc8180890008','png','folder',NULL,'文件夹','plug-in/accordion/images/folder.png',1),('8a8ab0b246dc81120146dc8180dd001e','png','deskIcon',NULL,'用户管理','plug-in/sliding/icon/Finder.png',3),('8a8ab0b246dc81120146dc8180e10020','png','deskIcon',NULL,'角色管理','plug-in/sliding/icon/friendgroup.png',3),('8a8ab0b246dc81120146dc8180e50022','png','deskIcon',NULL,'菜单管理','plug-in/sliding/icon/kaikai.png',3),('8a8ab0b246dc81120146dc8180eb0024','png','deskIcon',NULL,'数据字典管理','plug-in/sliding/icon/friendnear.png',3),('8a8ab0b246dc81120146dc8180f00026','png','deskIcon',NULL,'系统图标','plug-in/sliding/icon/kxjy.png',3),('8a8ab0b246dc81120146dc8180fb002a','png','deskIcon',NULL,'用户分析','plug-in/sliding/icon/User.png',3),('8a8ab0b246dc81120146dc818102002c','png','deskIcon',NULL,'Online表单开发','plug-in/sliding/icon/Applications Folder.png',3),('8a8ab0b246dc81120146dc81810d002f','png','deskIcon',NULL,'数据监控','plug-in/sliding/icon/Super Disk.png',3),('8a8ab0b246dc81120146dc8181150031','png','deskIcon',NULL,'系统日志','plug-in/sliding/icon/fastsearch.png',3),('8a8ab0b246dc81120146dc8181210033','png','deskIcon',NULL,'定时任务','plug-in/sliding/icon/Utilities.png',3),('8a8ab0b246dc81120146dc8181290035','png','deskIcon',NULL,'表单验证','plug-in/sliding/icon/qidianzhongwen.png',3),('8a8ab0b246dc81120146dc8181560043','png','deskIcon',NULL,'特殊布局','plug-in/sliding/icon/xiami.png',3),('8a8ab0b246dc81120146dc81816e004a','png','deskIcon',NULL,'多附件管理','plug-in/sliding/icon/vadio.png',3);
/*!40000 ALTER TABLE `t_s_icon` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_log`
--
DROP TABLE IF EXISTS `t_s_log`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_log` (
`ID` varchar(32) NOT NULL COMMENT 'id',
`broswer` varchar(100) DEFAULT NULL COMMENT '浏览器',
`logcontent` longtext NOT NULL COMMENT '日志内容',
`loglevel` smallint(6) DEFAULT NULL COMMENT '日志级别',
`note` longtext COMMENT 'IP',
`operatetime` datetime NOT NULL COMMENT '操作时间',
`operatetype` smallint(6) DEFAULT NULL COMMENT '操作类型',
`userid` varchar(32) DEFAULT NULL COMMENT '用户ID',
PRIMARY KEY (`ID`),
KEY `FK_oe64k4852uylhyc5a00rfwtay` (`userid`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_log`
--
LOCK TABLES `t_s_log` WRITE;
/*!40000 ALTER TABLE `t_s_log` DISABLE KEYS */;
2019-02-21 16:30:01 +00:00
INSERT INTO `t_s_log` VALUES ('2c908060685eb3a501685eb46eec0000','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 10:05:10',1,'4028b8815df2ac6c015df2b115940004'),('2c908060685f40a501685f4172230000','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 12:39:11',1,'4028b8815df2ac6c015df2b115940004'),('2c908060685f40a501685f4173a10001','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 12:39:12',1,'4028b8815df2ac6c015df2b115940004'),('2c908060685f40a501685f4173c50002','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 12:39:12',1,'4028b8815df2ac6c015df2b115940004'),('2c908060685f447a01685f463f230000','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 12:44:26',1,'4028b8815df2ac6c015df2b115940004'),('2c908060685f4e1901685f4ef85b0000','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 12:53:57',1,'4028b8815df2ac6c015df2b115940004'),('2c908060685f527a01685f532c1d0000','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 12:58:33',1,'4028b8815df2ac6c015df2b115940004'),('2c908060685f548e01685f5572770000','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 13:01:02',1,'4028b8815df2ac6c015df2b115940004'),('2c908060685fdc0501685fdd12e10000','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 15:29:10',1,'4028b8815df2ac6c015df2b115940004'),('2c9080606860117c016860153b7e0000','Chrome','用户: admin[欣康宁]common.login.success',1,'172.16.0.224','2019-01-18 16:30:31',1,'4028b8815df2ac6c015df2b115940004'),('2c9080606860117c0168601591bc0001','Chrome','上架列表更新成功',5,'172.16.0.224','2019-01-18 16:30:53',1,'4028b8815df2ac6c015df2b115940004'),('2c9080606860117c016860169b9e0002','Chrome','上架列表更新成功',5,'172.16.0.224','2019-01-18 16:32:01',1,'4028b8815df2ac6c015df2b115940004'),('2c9080606860117c01686016b0b30003','Chrome','上架列表更新成功',5,'172.16.0.224','2019-01-18 16:32:06',1,'4028b8815df2ac6c015df2b115940004'),('2c9080606860117c01686016d3860004','Chrome','上架列表更新成功',5,'172.16.0.224','2019-01-18 16:32:15',1,'4028b8815df2ac6c015df2b115940004'),('2c9080606860117c01686016f12a0005','Chrome','上架列表更新成功',5,'172.16.0.224','2019-01-18 16:32:23',1,'4028b8815df2ac6c015df2b115940004'),('2c9184e1690db7e301690db8373c0000','Chrome','用户: admin[欣康宁]common.login.success',1,'172.17.4.97','2019-02-21 09:42:50',1,'4028b8815df2ac6c015df2b115940004'),('2c9184e1690db7e301690db857a70001','Chrome','错误异常: MySQLSyntaxErrorException,错误描述Unknown column \'this_.BZHI_QI\' in \'field list\'',6,'172.17.4.97','2019-02-21 09:42:59',3,'4028b8815df2ac6c015df2b115940004'),('2c9184e1690db7e301690db88f8a0005','Chrome','错误异常: BusinessException,错误描述Unknown column \'BZHI_QI\' in \'field list\'; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: Unknown column \'BZHI_QI\' in \'field list\'',6,'172.17.4.97','2019-02-21 09:43:13',3,'4028b8815df2ac6c015df2b115940004'),('2c9184e1690db7e301690db9f9b7000a','Chrome','进货通知添加成功',3,'172.17.4.97','2019-02-21 09:44:46',1,'4028b8815df2ac6c015df2b115940004'),('2c9184e1690db7e301690dba443f000c','Chrome','收货登记添加成功',3,'172.17.4.97','2019-02-21 09:45:05',1,'4028b8815df2ac6c015df2b115940004'),('40288182682b2a8501682b3466ba0000','Chrome','用户: admin[欣康宁]common.login.success',1,'192.168.1.2','2019-01-08 10:04:41',1,'4028b8815df2ac6c015df2b115940004'),('40288182682b2a8501682b3467830001','Chrome','用户: admin[欣康宁]common.login.success',1,'192.168.1.2','2019-01-08 10:04:41',1,'4028b8815df2ac6c015df2b115940004'),('40288182682b2a8501682b3467b80002','Chrome','用户: admin[欣康宁]common.login.success',1,'192.168.1.2','2019-01-08 10:04:41',1,'4028b8815df2ac6c015df2b115940004'),('40288182682b2a8501682b3468f20003','Chrome','用户: admin[欣康宁]common.login.success',1,'19
2019-02-14 14:28:30 +00:00
/*!40000 ALTER TABLE `t_s_log` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_muti_lang`
--
DROP TABLE IF EXISTS `t_s_muti_lang`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_muti_lang` (
`id` varchar(32) NOT NULL COMMENT '主键',
`lang_key` varchar(50) DEFAULT NULL COMMENT '语言主键',
`lang_context` varchar(500) DEFAULT NULL COMMENT '内容',
`lang_code` varchar(50) DEFAULT NULL COMMENT '语言',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人编号',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人姓名',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人编号',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人姓名',
PRIMARY KEY (`id`),
UNIQUE KEY `uniq_langkey_langcode` (`lang_key`,`lang_code`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_muti_lang`
--
LOCK TABLES `t_s_muti_lang` WRITE;
/*!40000 ALTER TABLE `t_s_muti_lang` DISABLE KEYS */;
INSERT INTO `t_s_muti_lang` VALUES ('01ca201223b14e3e86c13904a9ae5ca2','common.password','密码','zh-cn','2014-07-03 18:39:43','4028818d46f764fb0146f7661cb60052','admin','2014-07-02 23:27:53','4028818d46f764fb0146f7661cb60052','admin'),('02916620f68b4845ba09773de6799706','please.select.department','Please select a department','en','2014-07-04 18:39:43','4028818d46f764fb0146f7661cb60052','admin','2014-07-04 23:27:53','4028818d46f764fb0146f7661cb60052','admin'),('0ab1a1fddf14420fa0dbcbfb5d2e9e85','common.strong','Strong','en','2014-07-04 18:39:43','4028818d46f764fb0146f7661cb60052','admin','2014-07-04 23:27:53','4028818d46f764fb0146f7661cb60052','admin'),('0bacd0fab1c84f03854435c1adab88c2','common.lock.user','锁定用户','zh-cn','2014-07-03 18:39:42','4028818d46f764fb0146f7661cb60052','admin','2014-07-02 23:27:53','4028818d46f764fb0146f7661cb60052','admin'),('11d18a9927e34873a813eade025b5c18','fill.realname','Fill in the real name','en','2014-07-04 18:39:43','4028818d46f764fb0146f7661cb60052','admin','2014-07-04 23:27:53','4028818d46f764fb0146f7661cb60052','admin'),('121a68d32c6a419b800eb92431b20dd4','common.department','Org','en','2014-07-03 18:39:42','4028818d46f764fb0146f7661cb60052','admin','2014-07-02 23:27:53','4028818d46f764fb0146f7661cb60052','admin'),('1e5963a78dcd4b1fa5f9d6d845f151be','common.department','组织机构','zh-cn','2014-07-03 18:39:42','4028818d46f764fb0146f7661cb60052','admin','2014-07-02 23:27:53','4028818d46f764fb0146f7661cb60052','admin'),('2075b6c641bc44b392638fed9a62cce9','password.rang6to18','密码至少6个字符,最多18个字符','zh-cn','2014-07-04 18:39:43','4028818d46f764fb0146f7661cb60052','admin','2014-07-04 23:27:53','4028818d46f764fb0146f7661cb60052','admin'),('27a06a8ed99f45438be00b7f1ca097f7','common.username','用户账号','zh-cn','2014-07-03 18:39:42','4028818d46f764fb0146f7661cb60052','admin','2014-07-02 23:27:53','4028818d46f764fb0146f7661cb60052','admin'),('297e201046ff41480146ffbb62a30012','menu.manage','Menu Manage','en','2014-07-04 12:56:50','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 14:06:15','297e201046d3660a0146d36d7b7a01e7','admin'),('297e201046ff41480146ffbc59ac0014','menu.manage','菜单管理','zh-cn','2014-07-04 12:57:54','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 14:06:26','297e201046d3660a0146d36d7b7a01e7','admin'),('297e201046ffc2ca0146ffc8cd320001','common.id','ID','en','2014-07-04 13:11:28','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-21 14:04:37','8a8ab0b246dc81120146dc8181950052','admin'),('297e201046ffc2ca0146ffc933dc0003','common.id','编号','zh-cn','2014-07-04 13:11:54','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 13:11:54','297e201046d3660a0146d36d7b7a01e7','管理员'),('297e201046ffc2ca0146ffc9b4bb0005','menu.name','Menu Name','en','2014-07-04 13:12:27','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 13:14:52','297e201046d3660a0146d36d7b7a01e7','admin'),('297e201046ffc2ca0146ffcd8f60000b','menu.name','菜单名称','zh-cn','2014-07-04 13:16:40','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 13:16:40','297e201046d3660a0146d36d7b7a01e7','管理员'),('297e201046ffc2ca0146ffcdc44b000d','common.icon','Icon','en','2014-07-04 13:16:53','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 13:16:53','297e201046d3660a0146d36d7b7a01e7','管理员'),('297e201046ffc2ca0146ffcdf4a6000f','common.icon','图标','zh-cn','2014-07-04 13:17:06','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 13:17:06','297e201046d3660a0146d36d7b7a01e7','管理员'),('297e201046ffc2ca0146ffce76c70011','menu.url','Menu Url','en','2014-07-04 13:17:39','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 13:17:39','297e201046d3660a0146d36d7b7a01e7','管理员'),('297e201046ffc2ca0146ffcea7d80013','menu.url','菜单地址','zh-cn','2014-07-04 13:17:51','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 13:17:51','297e201046d3660a0146d36d7b7a01e7','管理员'),('297e201046ffc2ca0146ffcf13090015','menu.order','Menu Order','en','2014-07-04 13:18:19','297e201046d3660a0146d36d7b7a01e7','admin','2014-07-04 13:18:19','297e2
/*!40000 ALTER TABLE `t_s_muti_lang` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_notice`
--
DROP TABLE IF EXISTS `t_s_notice`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_notice` (
`id` varchar(36) NOT NULL DEFAULT '' COMMENT 'ID',
`notice_title` varchar(255) DEFAULT NULL COMMENT '通知标题',
`notice_content` longtext COMMENT '通知公告内容',
`notice_type` varchar(2) DEFAULT NULL COMMENT '通知公告类型1通知2:公告)',
`notice_level` varchar(2) DEFAULT NULL COMMENT '通告授权级别1:全员2角色3用户',
`notice_term` datetime DEFAULT NULL COMMENT '阅读期限',
`create_user` varchar(32) DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='通知公告表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_notice`
--
LOCK TABLES `t_s_notice` WRITE;
/*!40000 ALTER TABLE `t_s_notice` DISABLE KEYS */;
INSERT INTO `t_s_notice` VALUES ('402880f25b0da07e015b0dc68e7b0051','111','<p>111</p>','2','2','2017-03-27 00:00:00',NULL,'2017-03-27 11:19:28');
/*!40000 ALTER TABLE `t_s_notice` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_notice_authority_role`
--
DROP TABLE IF EXISTS `t_s_notice_authority_role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_notice_authority_role` (
`id` varchar(36) NOT NULL DEFAULT '' COMMENT 'ID',
`notice_id` varchar(36) DEFAULT NULL COMMENT '通告ID',
`role_id` varchar(32) DEFAULT NULL COMMENT '授权角色ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='通告授权角色表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_notice_authority_role`
--
LOCK TABLES `t_s_notice_authority_role` WRITE;
/*!40000 ALTER TABLE `t_s_notice_authority_role` DISABLE KEYS */;
INSERT INTO `t_s_notice_authority_role` VALUES ('402880f25b0da07e015b0dc68e870052','402880f25b0da07e015b0dc68e7b0051','8a8ab0b246dc81120146dc8181870050');
/*!40000 ALTER TABLE `t_s_notice_authority_role` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_notice_authority_user`
--
DROP TABLE IF EXISTS `t_s_notice_authority_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_notice_authority_user` (
`id` varchar(36) NOT NULL DEFAULT '' COMMENT 'ID',
`notice_id` varchar(36) DEFAULT NULL COMMENT '通告ID',
`user_id` varchar(32) DEFAULT NULL COMMENT '授权用户ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='通告授权用户表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_notice_authority_user`
--
LOCK TABLES `t_s_notice_authority_user` WRITE;
/*!40000 ALTER TABLE `t_s_notice_authority_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `t_s_notice_authority_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_notice_read_user`
--
DROP TABLE IF EXISTS `t_s_notice_read_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_notice_read_user` (
`id` varchar(36) NOT NULL DEFAULT '' COMMENT 'ID',
`notice_id` varchar(36) DEFAULT NULL COMMENT '通告ID',
`user_id` varchar(32) DEFAULT NULL COMMENT '用户ID',
`is_read` smallint(2) NOT NULL DEFAULT '0' COMMENT '是否已阅读',
`del_flag` smallint(2) NOT NULL DEFAULT '0' COMMENT '是否已删除',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`),
KEY `notice_id_index` (`notice_id`) USING BTREE,
KEY `user_id_index` (`user_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='通告已读用户表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_notice_read_user`
--
LOCK TABLES `t_s_notice_read_user` WRITE;
/*!40000 ALTER TABLE `t_s_notice_read_user` DISABLE KEYS */;
INSERT INTO `t_s_notice_read_user` VALUES ('402880f25b0da07e015b0dc68e960055','402880f25b0da07e015b0dc68e7b0051','8a8ab0b246dc81120146dc8181a60055',0,0,'2017-03-27 11:19:28'),('402880f25b0da07e015b0dc68ea30056','402880f25b0da07e015b0dc68e7b0051','8a8ab0b246dc81120146dc8181a10054',0,0,'2017-03-27 11:19:28'),('402880f25b0da07e015b0dc68eaf0057','402880f25b0da07e015b0dc68e7b0051','8a8ab0b246dc81120146dc8181950052',1,0,'2017-03-27 11:19:28');
/*!40000 ALTER TABLE `t_s_notice_read_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_operation`
--
DROP TABLE IF EXISTS `t_s_operation`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_operation` (
`ID` varchar(32) NOT NULL COMMENT 'id',
`operationcode` varchar(50) DEFAULT NULL COMMENT '页面控件code',
`operationicon` varchar(100) DEFAULT NULL COMMENT '图标',
`operationname` varchar(50) DEFAULT NULL COMMENT '页面名字',
`status` smallint(6) DEFAULT NULL COMMENT '状态',
`functionid` varchar(32) DEFAULT NULL COMMENT '菜单ID',
`iconid` varchar(32) DEFAULT NULL COMMENT '图标ID',
`operationtype` smallint(6) DEFAULT NULL COMMENT '规则类型1/禁用 0/隐藏',
PRIMARY KEY (`ID`),
KEY `FK_pceuy41wr2fjbcilyc7mk3m1f` (`functionid`) USING BTREE,
KEY `FK_ny5de7922l39ta2pkhyspd5f` (`iconid`) USING BTREE,
CONSTRAINT `t_s_operation_ibfk_1` FOREIGN KEY (`iconid`) REFERENCES `t_s_icon` (`ID`),
CONSTRAINT `t_s_operation_ibfk_2` FOREIGN KEY (`functionid`) REFERENCES `t_s_function` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='InnoDB free: 599040 kB; (`iconid`) REFER `jeecg/t_s_icon`(`I';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_operation`
--
LOCK TABLES `t_s_operation` WRITE;
/*!40000 ALTER TABLE `t_s_operation` DISABLE KEYS */;
INSERT INTO `t_s_operation` VALUES ('40288088481d019401481d30a0d1000f','add_phnoe',NULL,'手机号码录入',0,'40288088481d019401481d2fcebf000d','8a8ab0b246dc81120146dc8180460000',1),('402880f25a87b619015a8800be110008','hol_reson',NULL,'请假原因隐藏',0,'4028ef815378741f01537879315e0009','8a8ab0b246dc81120146dc8180460000',0),('402880f25a980e2a015a981e9e460008','leave_reason',NULL,'请假原因隐藏',0,'402880f25a980e2a015a981dc8de0005','8a8ab0b246dc81120146dc8180460000',0),('402880f25a9833f5015a9844ed14000f','订单客户.订单号',NULL,'列表订单号隐藏',0,'402880f25a9833f5015a9843218f000c','8a8ab0b246dc81120146dc8180460000',0),('402880f25b182dcf015b183926370003','db_generate_form',NULL,'隐藏数据库导入表单',0,'8a8ab0b246dc81120146dc818106002d','8a8ab0b246dc81120146dc8180460000',0),('402880f25b182dcf015b1839762c0005','copyOnlineTable',NULL,'隐藏复制表单功能',0,'8a8ab0b246dc81120146dc818106002d','8a8ab0b246dc81120146dc8180460000',0),('402880f25b182dcf015b184c4885001b','sql_enhance',NULL,'隐藏SQL增强按钮',0,'8a8ab0b246dc81120146dc818106002d','8a8ab0b246dc81120146dc8180460000',0),('402880f25b182dcf015b1860f334002f','#mail_id',NULL,'隐藏邮箱字段',0,'4028f6815af5ca04015af5cbf9300001','8a8ab0b246dc81120146dc8180460000',0),('402880f25b182dcf015b18632e970036','phone_code',NULL,'隐藏手机号字段',0,'4028f6815af5ca04015af5cbf9300001','8a8ab0b246dc81120146dc8180460000',0),('402880f25b182dcf015b187b464a004b','#money_id',NULL,'禁用金额字段',0,'4028f6815af5ca04015af5cbf9300001','8a8ab0b246dc81120146dc8180460000',1),('402880f25b1d5a3a015b1d77ff6a0015','day_num',NULL,'禁用请假天数',0,'402880f25b1d5a3a015b1d772c2b0013','8a8ab0b246dc81120146dc8180460000',1),('402880f25b1d5a3a015b1d901da00028','hol_dept',NULL,'列表隐藏请假部门',0,'402880e74d76e784014d76f5cc2e0014','8a8ab0b246dc81120146dc8180460000',0),('402880f25b1d5a3a015b1d941094002e','#import',NULL,'隐藏excel导入按钮',0,'402880e74d76e784014d76f5cc2e0014','8a8ab0b246dc81120146dc8180460000',0),('402880f25b1d5a3a015b1d97b13d0039','#delete',NULL,'隐藏批量删除按钮',0,'402880e74d76e784014d76f5cc2e0014','8a8ab0b246dc81120146dc8180460000',0),('402880f25b1df029015b1e19a8890027','#bohui',NULL,'隐藏按钮驳回',0,'402880e74d76e784014d76f5cc2e0014','8a8ab0b246dc81120146dc8180460000',0),('402880f25b1df029015b1e19e0d00029','#pizhun',NULL,'隐藏按钮批准',0,'402880e74d76e784014d76f5cc2e0014','8a8ab0b246dc81120146dc8180460000',0),('402880f25b23a635015b23ab94b60006','order_date',NULL,'隐藏订单日期',0,'402880f25b23a635015b23a992f10003','8a8ab0b246dc81120146dc8180460000',0),('402880f25b23a635015b23ad152f000d','jform_order_customer.telphone',NULL,'隐藏客户手机号',0,'402880f25b23a635015b23a992f10003','8a8ab0b246dc81120146dc8180460000',0),('402881855ab8c48a015ab8c945a70008','contact_way',NULL,'联系方式隐藏',0,'402880f25a980e2a015a981dc8de0005','8a8ab0b246dc81120146dc8180460000',0),('402881855ab8c48a015ab8caa347000a','GO_RETURN_PRICE',NULL,'合同定金',0,'402880f25a9833f5015a9843218f000c','8a8ab0b246dc81120146dc8180460000',0),('402881855ab8c48a015ab8d331b1001e','content',NULL,'隐藏审批意见',0,'402881855ab8c48a015ab8d1f96f001b','8a8ab0b246dc81120146dc8180460000',0),('402881875b1a8040015b1a84fd800001','phone',NULL,'列表隐藏手机号',0,'4028f6815af5e479015af5f08dc4001a','8a8ab0b246dc81120146dc8180460000',0),('402881b265e2f9050165e2fb56fe0030','export',NULL,'export',0,'8a7ba3345e89c253015e9051b0cc0858','8a8ab0b246dc81120146dc8180460000',0);
/*!40000 ALTER TABLE `t_s_operation` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_region`
--
DROP TABLE IF EXISTS `t_s_region`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_region` (
`ID` varchar(10) NOT NULL COMMENT 'ID',
`NAME` varchar(50) NOT NULL COMMENT '城市名',
`PID` varchar(10) NOT NULL COMMENT '父ID',
`NAME_EN` varchar(100) NOT NULL COMMENT '英文名',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_region`
--
LOCK TABLES `t_s_region` WRITE;
/*!40000 ALTER TABLE `t_s_region` DISABLE KEYS */;
INSERT INTO `t_s_region` VALUES ('1','中国','0','Zhong Guo'),('10','上海市','1','Shanghai Shi'),('100','伊春市','9','Yichun Shi'),('1000','前郭尔罗斯蒙古族自治县','91','Qian Gorlos Mongolzu Zizhixian'),('1001','长岭县','91','Changling Xian'),('1002','乾安县','91','Qian,an Xian'),('1003','扶余县','91','Fuyu Xian'),('1004','市辖区','92','Shixiaqu'),('1005','洮北区','92','Taobei Qu'),('1006','镇赉县','92','Zhenlai Xian'),('1007','通榆县','92','Tongyu Xian'),('1008','洮南市','92','Taonan Shi'),('1009','大安市','92','Da,an Shi'),('101','佳木斯市','9','Jiamusi Shi'),('1010','延吉市','93','Yanji Shi'),('1011','图们市','93','Tumen Shi'),('1012','敦化市','93','Dunhua Shi'),('1013','珲春市','93','Hunchun Shi'),('1014','龙井市','93','Longjing Shi'),('1015','和龙市','93','Helong Shi'),('1016','汪清县','93','Wangqing Xian'),('1017','安图县','93','Antu Xian'),('1018','市辖区','94','Shixiaqu'),('1019','道里区','94','Daoli Qu'),('102','七台河市','9','Qitaihe Shi'),('1020','南岗区','94','Nangang Qu'),('1021','道外区','94','Daowai Qu'),('1022','香坊区','94','Xiangfang Qu'),('1024','平房区','94','Pingfang Qu'),('1025','松北区','94','Songbei Qu'),('1026','呼兰区','94','Hulan Qu'),('1027','依兰县','94','Yilan Xian'),('1028','方正县','94','Fangzheng Xian'),('1029','宾县','94','Bin Xian'),('103','牡丹江市','9','Mudanjiang Shi'),('1030','巴彦县','94','Bayan Xian'),('1031','木兰县','94','Mulan Xian '),('1032','通河县','94','Tonghe Xian'),('1033','延寿县','94','Yanshou Xian'),('1034','阿城区','94','Acheng Shi'),('1035','双城市','94','Shuangcheng Shi'),('1036','尚志市','94','Shangzhi Shi'),('1037','五常市','94','Wuchang Shi'),('1038','市辖区','95','Shixiaqu'),('1039','龙沙区','95','Longsha Qu'),('104','黑河市','9','Heihe Shi'),('1040','建华区','95','Jianhua Qu'),('1041','铁锋区','95','Tiefeng Qu'),('1042','昂昂溪区','95','Ang,angxi Qu'),('1043','富拉尔基区','95','Hulan Ergi Qu'),('1044','碾子山区','95','Nianzishan Qu'),('1045','梅里斯达斡尔族区','95','Meilisidawoerzu Qu'),('1046','龙江县','95','Longjiang Xian'),('1047','依安县','95','Yi,an Xian'),('1048','泰来县','95','Tailai Xian'),('1049','甘南县','95','Gannan Xian'),('105','绥化市','9','Suihua Shi'),('1050','富裕县','95','Fuyu Xian'),('1051','克山县','95','Keshan Xian'),('1052','克东县','95','Kedong Xian'),('1053','拜泉县','95','Baiquan Xian'),('1054','讷河市','95','Nehe Shi'),('1055','市辖区','96','Shixiaqu'),('1056','鸡冠区','96','Jiguan Qu'),('1057','恒山区','96','Hengshan Qu'),('1058','滴道区','96','Didao Qu'),('1059','梨树区','96','Lishu Qu'),('106','大兴安岭地区','9','Da Hinggan Ling Diqu'),('1060','城子河区','96','Chengzihe Qu'),('1061','麻山区','96','Mashan Qu'),('1062','鸡东县','96','Jidong Xian'),('1063','虎林市','96','Hulin Shi'),('1064','密山市','96','Mishan Shi'),('1065','市辖区','97','Shixiaqu'),('1066','向阳区','97','Xiangyang Qu '),('1067','工农区','97','Gongnong Qu'),('1068','南山区','97','Nanshan Qu'),('1069','兴安区','97','Xing,an Qu'),('107','市辖区','10','Shixiaqu'),('1070','东山区','97','Dongshan Qu'),('1071','兴山区','97','Xingshan Qu'),('1072','萝北县','97','Luobei Xian'),('1073','绥滨县','97','Suibin Xian'),('1074','市辖区','98','Shixiaqu'),('1075','尖山区','98','Jianshan Qu'),('1076','岭东区','98','Lingdong Qu'),('1077','四方台区','98','Sifangtai Qu'),('1078','宝山区','98','Baoshan Qu'),('1079','集贤县','98','Jixian Xian'),('108','','10','Xian'),('1080','友谊县','98','Youyi Xian'),('1081','宝清县','98','Baoqing Xian'),('1082','饶河县','98','Raohe Xian '),('1083','市辖区','99','Shixiaqu'),('1084','萨尔图区','99','Sairt Qu'),('1085','龙凤区','99','Longfeng Qu'),('1086','让胡路区','99','Ranghulu Qu'),('1087','红岗区','99','Honggang Qu'),('1088','大同区','99','Datong Qu'),('1089','肇州县','99','Zhaozhou Xian'),('109','南京市','11','Nanjing Shi'),('1
/*!40000 ALTER TABLE `t_s_region` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_role`
--
DROP TABLE IF EXISTS `t_s_role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_role` (
`ID` varchar(32) NOT NULL COMMENT 'ID',
`rolecode` varchar(10) DEFAULT NULL COMMENT '角色编码',
`rolename` varchar(100) NOT NULL COMMENT '角色名字',
`update_name` varchar(32) DEFAULT NULL COMMENT '修改人',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
`update_by` varchar(32) DEFAULT NULL COMMENT '修改人id',
`create_name` varchar(32) DEFAULT NULL COMMENT '创建人',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(32) DEFAULT NULL COMMENT '创建人id',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_role`
--
LOCK TABLES `t_s_role` WRITE;
/*!40000 ALTER TABLE `t_s_role` DISABLE KEYS */;
INSERT INTO `t_s_role` VALUES ('402880e74d75c4dd014d75d3c5f40001','demo','出库管理','初始','2018-10-28 08:29:29','admin',NULL,NULL,NULL),('402881875b19f141015b19fb1d490019','dep_jingli','入库管理','初始','2018-10-28 08:29:19','admin',NULL,NULL,NULL),('402881885eab29a8015eabb9d3c5005e','caiwu','盘点管理','初始','2018-10-28 08:29:42','admin',NULL,NULL,NULL),('402881885ebf0a1c015ebf210ec80033','cangguan','退货管理','初始','2018-10-28 08:30:58','admin',NULL,NULL,NULL),('402881885ee34c78015ee56738ed002b','yunyjl','基础管理','初始','2018-10-28 08:29:10','admin',NULL,NULL,NULL),('402881885f16ae51015f18ec2088004e','YUNYING','权限管理','初始','2018-10-28 08:31:45','admin',NULL,NULL,NULL),('4028818860349222016039d74e3b14a9','tiaozhang','库内转移','初始','2018-10-28 08:45:24','admin',NULL,NULL,NULL),('402881b265e2f9050165e2f9b5820003','QUERY','查询',NULL,NULL,NULL,'初始','2018-09-16 23:22:20','admin'),('8a7ba3345e89c253015e89c72856000b','cunkong','存控',NULL,NULL,NULL,'admin','2017-09-16 16:21:24','admin'),('8a7ba3345e89c253015e9051f38e085a','CUS','客户',NULL,NULL,NULL,'admin','2017-09-17 22:50:43','admin'),('8a8ab0b246dc81120146dc8181870050','admin','管理员',NULL,NULL,NULL,NULL,NULL,NULL);
/*!40000 ALTER TABLE `t_s_role` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_role_function`
--
DROP TABLE IF EXISTS `t_s_role_function`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_role_function` (
`ID` varchar(32) NOT NULL COMMENT 'ID',
`operation` varchar(2000) DEFAULT NULL COMMENT '页面控件权限编码',
`functionid` varchar(32) DEFAULT NULL COMMENT '菜单ID',
`roleid` varchar(32) DEFAULT NULL COMMENT '角色ID',
`datarule` varchar(1000) DEFAULT NULL COMMENT '数据权限规则ID',
PRIMARY KEY (`ID`),
KEY `FK_fvsillj2cxyk5thnuu625urab` (`functionid`) USING BTREE,
KEY `FK_9dww3p4w8jwvlrgwhpitsbfif` (`roleid`) USING BTREE,
CONSTRAINT `t_s_role_function_ibfk_1` FOREIGN KEY (`roleid`) REFERENCES `t_s_role` (`ID`),
CONSTRAINT `t_s_role_function_ibfk_2` FOREIGN KEY (`functionid`) REFERENCES `t_s_function` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='InnoDB free: 599040 kB; (`roleid`) REFER `jeecg/t_s_role`(`I';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_role_function`
--
LOCK TABLES `t_s_role_function` WRITE;
/*!40000 ALTER TABLE `t_s_role_function` DISABLE KEYS */;
INSERT INTO `t_s_role_function` VALUES ('402880ef5aff3ede015aff44230f0003',NULL,'8a8ab0b246dc81120146dc81811d0032','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423120004',NULL,'8a8ab0b246dc81120146dc8180ce0019','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423120005',NULL,'8a8ab0b246dc81120146dc8181100030','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423120006',NULL,'8a8ab0b246dc81120146dc818109002e','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423120007',NULL,'40287d81522a428401522a44aafb0002','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423120009',NULL,'8a8ab0b246dc81120146dc8180df001f','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff442312000b',NULL,'402882b54df53718014df538fc100001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff442313000c',NULL,'8a8ab0b246dc81120146dc8181250034','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff442313000d',NULL,'8a8ab0b246dc81120146dc8180e70023','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff442313000e',NULL,'8a8ab0b246dc81120146dc8180ee0025','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff442313000f',NULL,'402885814e3d2d09014e3d2e77800001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423130010',NULL,'8a8ab0b246dc81120146dc818106002d','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423130011',NULL,'8a8ab0b246dc81120146dc8180f60028','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423130012',NULL,'8a8ab0b246dc81120146dc8180d9001d','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423130013',NULL,'4028bc934869765001486977f0980001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423130014',NULL,'4028f6815af3ce54015af3d1ad610001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423140016',NULL,'402881c746de1ea60146de207d770001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff3ede015aff4423140017',NULL,'2c90ac564c9d1734014c9d6f4e370024','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff7f22015aff7f927b0001',NULL,'4028f6815af3ce54015af3d1f52c0003','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff7f22015aff7f927e0002',NULL,'4028f6815af750eb015af755e1ca0001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff7f22015aff7f927e0003',NULL,'4028f6815af9fb56015af9fc51d30001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff7f22015aff7f927e0004',NULL,'4028f6815af5ca04015af5cbf9300001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff7f22015aff7f927e0005',NULL,'4028f6815af6de95015af6e078420001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff7f22015aff7f927f0006',NULL,'4028f6815afa8964015afa8a63e20001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5aff7f22015aff7f927f0007',NULL,'4028f6815af5e479015af5f08dc4001a','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5affc86b015affda56680007',NULL,'4028ef8155fd32e40155fd344cdd0003','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5affc86b015affda566b0008',NULL,'4028ef8155fd32e40155fd33c6670001','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5affc86b015affda566b0009',NULL,'402881875992e76c015992eb2a3b0009','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5affc86b015affda566b000a',NULL,'4028ef8155fd32e40155fd348df80005','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5affc86b015affda566b000b',NULL,'4028ef8155fd32e40155fd344cddd3','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5affc86b015affda566b000c',NULL,'4028ef8155fd32e40155fd3564520008','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5b002b87015b004d332a0005',NULL,'4028ef815378be7c015378e1395d0008','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5b002b87015b004d332c0006',NULL,'4028ef815378be7c015378e3e6530013','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5b002b87015b004d332c0007',NULL,'4028ef815378be7c015378e30f760010','8a8ab0b246dc81120146dc8181870050',NULL),('402880ef5b002b87015b004d332c0008',NULL,'4028ef815378be7c015378e207cf000c','8a8
/*!40000 ALTER TABLE `t_s_role_function` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_role_org`
--
DROP TABLE IF EXISTS `t_s_role_org`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_role_org` (
`ID` varchar(32) NOT NULL COMMENT 'id',
`org_id` varchar(32) DEFAULT NULL COMMENT '机构ID',
`role_id` varchar(32) DEFAULT NULL COMMENT '角色ID',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_role_org`
--
LOCK TABLES `t_s_role_org` WRITE;
/*!40000 ALTER TABLE `t_s_role_org` DISABLE KEYS */;
/*!40000 ALTER TABLE `t_s_role_org` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_role_user`
--
DROP TABLE IF EXISTS `t_s_role_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_role_user` (
`ID` varchar(32) NOT NULL COMMENT 'ID',
`roleid` varchar(32) DEFAULT NULL COMMENT '角色ID',
`userid` varchar(32) DEFAULT NULL COMMENT '用户ID',
PRIMARY KEY (`ID`),
KEY `FK_n2ucxeorvpjy7qhnmuem01kbx` (`roleid`) USING BTREE,
KEY `FK_d4qb5xld2pfb0bkjx9iwtolda` (`userid`) USING BTREE,
CONSTRAINT `t_s_role_user_ibfk_1` FOREIGN KEY (`userid`) REFERENCES `t_s_user` (`id`),
CONSTRAINT `t_s_role_user_ibfk_2` FOREIGN KEY (`roleid`) REFERENCES `t_s_role` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='InnoDB free: 599040 kB; (`userid`) REFER `jeecg/t_s_user`(`i';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_role_user`
--
LOCK TABLES `t_s_role_user` WRITE;
/*!40000 ALTER TABLE `t_s_role_user` DISABLE KEYS */;
INSERT INTO `t_s_role_user` VALUES ('402881875988e889015988ec36940003','402880e74d75c4dd014d75d3c5f40001','402881875988e889015988ec36770001'),('40288188608e0b3e016091850e6a0108','8a8ab0b246dc81120146dc8181870050','4028b8815df2ac6c015df2b115940004'),('40288188608e0b3e016091850e890109','8a7ba3345e89c253015e9051f38e085a','4028b8815df2ac6c015df2b115940004'),('402881b265e2f9050165e31bc24d0040','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e31bc1b3003e'),('402881b265e2f9050165e31c25320044','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e31c24eb0042'),('402881b265e2f9050165e31c8fac0048','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e31c8f650046'),('402881b265e2f9050165e31d0312004c','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e31d02c7004a'),('402881b265e2f9050165e31d7d3d0050','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e31d7cbe004e'),('402881b265e2f9050165e31df1000054','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e31df0a00052'),('402881b265e2f9050165e31e54a30058','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e31e54600056'),('402881b265e2f9050165e31eb12d005c','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e31eb0ea005a'),('402881b265e2f9050165e31f16930060','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e31f164c005e'),('402881b2660e068b01662335dcf123fc','402881b265e2f9050165e2f9b5820003','402881b265e2f9050165e2fc212c0032'),('402881b2660e068b01662335dd8c23fd','402881885ebf0a1c015ebf210ec80033','402881b265e2f9050165e2fc212c0032'),('402881b26695b69a016695ba192d0003','8a7ba3345e89c253015e89c72856000b','402881b26695b69a016695ba18a00001'),('402881b266b505ce0166b81b414005dc','402881885f16ae51015f18ec2088004e','402881b266b505ce0166b81b40ec05da'),('402881b266b505ce0166b81b416205dd','8a7ba3345e89c253015e89c72856000b','402881b266b505ce0166b81b40ec05da'),('402881b266b505ce0166b81ccbcd05f7','8a7ba3345e89c253015e89c72856000b','402881b266b505ce0166b81ccb6005f5'),('402881b266b505ce0166b81ccbef05f8','402881885f16ae51015f18ec2088004e','402881b266b505ce0166b81ccb6005f5'),('402881b266b505ce0166b81e380805ff','8a7ba3345e89c253015e89c72856000b','402881b266b505ce0166b81e37a305fd'),('402881b266b505ce0166b81ecacc0603','8a7ba3345e89c253015e89c72856000b','402881b266b505ce0166b81eca8d0601'),('402881b266b505ce0166b81f31640607','8a7ba3345e89c253015e89c72856000b','402881b266b505ce0166b81f30f90605'),('402881b266b505ce0166b81f936a060b','8a7ba3345e89c253015e89c72856000b','402881b266b505ce0166b81f93030609'),('402881b266b505ce0166b820e153060f','402881875b19f141015b19fb1d490019','402881b266b505ce0166b820e0e9060d'),('402881b266b505ce0166b820e16e0610','4028818860349222016039d74e3b14a9','402881b266b505ce0166b820e0e9060d'),('402881b266b505ce0166b820e1850611','402881885ee34c78015ee56738ed002b','402881b266b505ce0166b820e0e9060d'),('402881b266b505ce0166b822c1a70624','402881875b19f141015b19fb1d490019','402881b266b505ce0166b822c16f0622'),('402881b266b505ce0166b822c1c80625','4028818860349222016039d74e3b14a9','402881b266b505ce0166b822c16f0622'),('402881b266b505ce0166b822c1ea0626','402881885ee34c78015ee56738ed002b','402881b266b505ce0166b822c16f0622'),('402881b266b505ce0166b8236fdc062a','402881875b19f141015b19fb1d490019','402881b266b505ce0166b8236f6d0628'),('402881b266b505ce0166b8236ffd062b','402880e74d75c4dd014d75d3c5f40001','402881b266b505ce0166b8236f6d0628'),('402881b266b505ce0166b8237043062c','402881885ee34c78015ee56738ed002b','402881b266b505ce0166b8236f6d0628'),('402881b266b505ce0166b8237061062d','4028818860349222016039d74e3b14a9','402881b266b505ce0166b8236f6d0628'),('402881b266b505ce0166b823fc280631','402880e74d75c4dd014d75d3c5f40001','402881b266b505ce0166b823fbb6062f'),('402881b266b505ce0166b823fc430632','4028818860349222016039d74e3b14a9','402881b266b505ce0166b823fbb6062f'),('402881b266b505ce0166b823fc640633','402881885ee34c78015ee56738ed002b','402881b266b505ce0166b823fbb6062f'),('402881b266b505ce0166b82487020637','402880e74d75c4dd014d75d3c5f40001','402881b266b505ce0166b82486c50635'),('402881b266b505ce0166b82487560638','402881885ee34c78015ee56738ed002b','402881b266b505ce0166b82486c50
/*!40000 ALTER TABLE `t_s_role_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_sms`
--
DROP TABLE IF EXISTS `t_s_sms`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_sms` (
`id` varchar(36) NOT NULL COMMENT 'ID',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`es_title` varchar(32) DEFAULT NULL COMMENT '消息标题',
`es_type` varchar(1) DEFAULT NULL COMMENT '消息类型',
`es_sender` varchar(50) DEFAULT NULL COMMENT '发送人',
`es_receiver` varchar(50) DEFAULT NULL COMMENT '接收人',
`es_content` longtext COMMENT '内容',
`es_sendtime` datetime DEFAULT NULL COMMENT '发送时间',
`remark` varchar(500) DEFAULT NULL COMMENT '备注',
`es_status` varchar(1) DEFAULT NULL COMMENT '发送状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_sms`
--
LOCK TABLES `t_s_sms` WRITE;
/*!40000 ALTER TABLE `t_s_sms` DISABLE KEYS */;
2019-02-21 16:30:01 +00:00
INSERT INTO `t_s_sms` VALUES ('2c9184e1690db7e301690db9f9ae0009','初始','admin','2019-02-21 09:44:46',NULL,NULL,NULL,'收货通知','3','admin','admin','1客户的订单RK20190221-0001将于送到请准备收货。','2019-02-21 09:44:50','发送成功','2'),('402880e74dc2f361014dc2f8411e0001','管理员','admin','2015-06-05 17:05:59','管理员','admin','2017-08-07 16:30:32','库存优化通知','2',NULL,'290813851@qq.com','张三你好你的订单4028d881436d514601436d521ae80165已付款!','2015-06-05 17:06:01','认证失败错误的用户名或者密码','3'),('402880ea533647b00153364e74770001','管理员','admin','2016-03-02 15:50:24','管理员','admin','2017-08-07 16:30:22','预警管理','3','admin','admin','你好,你的货物邻近保质期','2016-03-02 00:00:00',NULL,'2'),('402880ee5a17e711015a17f3188e013f','管理员','admin','2017-02-07 17:41:31','管理员','admin','2017-08-07 16:29:42','出库预约通知','2',NULL,'290813851@qq.com','张三你好你的订单4028d881436d514601436d521ae80165已付款!',NULL,NULL,'2'),('402880f05ab649b4015ab64b9cd80012','管理员','admin','2017-03-10 11:38:13','管理员','admin','2017-08-07 16:29:31','入库预约通知','2',NULL,'290813851@qq.com','张三你好你的订单4028d881436d514601436d521ae80165已付款!','2017-08-08 10:00:26','发送成功','2'),('402880f05ab7b035015ab7c4462c0004','管理员','admin','2017-03-10 18:29:37','管理员','admin','2017-08-07 16:28:33','入库预约通知','2',NULL,'290813851@qq.com','张三你好你的订单4028d881436d514601436d521ae80165已付款!','2017-08-08 10:00:26','发送成功','2'),('402881885eab29a8015eab9842ff0036','晋江市池店华苑调味品商行','HY009','2017-09-23 05:57:16',NULL,NULL,NULL,'收货通知','3','HY009','admin','晋江市池店华苑调味品商行客户的订单RK20170923-0001将于2017-9-23 13:54:23送到请准备收货。','2017-09-23 05:58:00','发送成功','2'),('402881885eab29a8015eabb0b5b90057','泉州其裕贸易有限公司','QY001','2017-09-23 06:23:58',NULL,NULL,NULL,'出货通知','3','QY001','admin','泉州其裕贸易有限公司客户的出货订单CK20170923-0003将于2017-9-23 14:21:44出货请准备出货。','2017-09-23 06:24:00','发送成功','2'),('402881885eaee977015eb19398880012','池新福','ODE0001','2017-09-24 09:49:54',NULL,NULL,NULL,'出货通知','3','ODE0001','admin','泉州其裕贸易有限公司客户的出货订单CK20170924-0001将于2017-9-24 9:47:08出货请准备出货。','2017-09-24 09:50:00','发送成功','2'),('402881885eaee977015eb2f17c44002d','池新福','ODE0001','2017-09-24 16:12:04',NULL,NULL,NULL,'出货通知','3','ODE0001','admin','泉州其裕贸易有限公司客户的出货订单CK20170924-0002将于2017-9-24 16:07:10出货请准备出货。','2017-09-24 16:13:00','发送成功','2'),('402881885eb4ef7f015eb523f5bf0013','黄佳怡','ODE0005','2017-09-25 02:26:26',NULL,NULL,NULL,'出货通知','3','ODE0005','admin','泉州其裕贸易有限公司客户的出货订单CK20170925-0001将于2017-9-25 10:30:00出货请准备出货。','2017-09-25 02:27:00','发送成功','2'),('402881885eb4ef7f015ebbcf6a1d080e','黄佳怡','ODE0005','2017-09-26 09:31:26',NULL,NULL,NULL,'出货通知','3','ODE0005','admin','泉州其裕贸易有限公司客户的出货订单CK20170926-0001将于2017-9-26 9:28:35出货请准备出货。','2017-09-26 09:32:00','发送成功','2'),('402881885ebad3e7015ebb0cc05f0070','黄佳怡','ODE0005','2017-09-26 05:58:49',NULL,NULL,NULL,'收货通知','3','ODE0005','admin','仁建福建商贸有限公司客户的订单RK20170926-0001将于2017-9-26 10:30:42送到请准备收货。','2017-09-26 05:59:00','发送成功','2'),('402881885ebf0a1c015ebf52f98700da','黄佳怡','ODE0005','2017-09-27 01:54:00',NULL,NULL,NULL,'出货通知','3','ODE0005','admin','泉州其裕贸易有限公司客户的出货订单CK20170927-0001将于2017-9-27 9:47:14出货请准备出货。','2017-09-27 01:54:00','发送成功','2'),('402881885ebf0a1c015ebf975b2500ef','黄佳怡','ODE0005','2017-09-27 03:08:41',NU
INSERT INTO `t_s_sms` VALUES ('4028818862776d5801633ebe7294731c','许双凤','ODE0010','2018-05-08 15:54:19',NULL,NULL,NULL,'出货通知','3','ODE0010','admin','莆田市涵江区国盛冷饮店客户的出货订单CK20180508-0023将于2018-5-8 15:43:32出货请准备出货。','2018-05-08 15:54:20','发送成功','2'),('4028818862776d5801633ec7a938733c','许双凤','ODE0010','2018-05-08 16:04:22',NULL,NULL,NULL,'收货通知','3','ODE0010','admin','晋江市黑白牧场餐饮管理有限公司客户的订单RK20180508-0004将于2018-5-8 15:57:35送到请准备收货。','2018-05-08 16:04:30','发送成功','2'),('4028818862776d5801633eed7fce7345','许双凤','ODE0010','2018-05-08 16:45:42',NULL,NULL,NULL,'出货通知','3','ODE0010','admin','鲤城区上官食品店客户的出货订单CK20180508-0024将于2018-5-8 16:42:29出货请准备出货。','2018-05-08 16:45:50','发送成功','2'),('4028818862776d5801633efda8477350','许双凤','ODE0010','2018-05-08 17:03:21',NULL,NULL,NULL,'出货通知','3','ODE0010','admin','晋江市黑白牧场餐饮管理有限公司客户的出货订单CK20180508-0025将于2018-5-8 17:02:48出货请准备出货。','2018-05-08 17:03:30','发送成功','2'),('4028818862776d580163421a63d7770c','晋江市池店华苑调味品商行','HY009','2018-05-09 07:33:36',NULL,NULL,NULL,'出货通知','3','HY009','admin','晋江市池店华苑调味品商行客户的出货订单CK20180509-0001将于2018-5-9 9:22:56出货请准备出货。','2018-05-09 07:33:40','发送成功','2'),('4028818862776d580163423de9e57723','新雅仕','XYS036','2018-05-09 08:12:24',NULL,NULL,NULL,'出货通知','3','XYS036','admin','新雅仕泉州冷藏物流有限公司客户的出货订单CK20180509-0002将于2018-5-9 8:09:50出货请准备出货。','2018-05-09 08:12:30','发送成功','2'),('4028818862776d580163424c432d7739','许双凤','ODE0010','2018-05-09 08:28:04',NULL,NULL,NULL,'出货通知','3','ODE0010','admin','牧源祥冻品经营部客户的出货订单CK20180509-0003将于2018-5-9 8:27:38出货请准备出货。','2018-05-09 08:28:10','发送成功','2'),('4028818862776d580163424eecb17743','许双凤','ODE0010','2018-05-09 08:30:59',NULL,NULL,NULL,'出货通知','3','ODE0010','admin','福气冷冻食品有限公司客户的出货订单CK20180509-0004将于2018-5-9 8:28:39出货请准备出货。','2018-05-09 08:31:00','发送成功','2'),('4028818862776d5801634251edeb774b','许双凤','ODE0010','2018-05-09 08:34:16',NULL,NULL,NULL,'出货通知','3','ODE0010','admin','泉州市喜膳鼎餐饮管理有限公司客户的出货订单CK20180509-0005将于2018-5-9 8:31:50出货请准备出货。','2018-05-09 08:34:20','发送成功','2'),('4028818862776d58016342850f75775d','许双凤','ODE0010','2018-05-09 09:30:07',NULL,NULL,NULL,'出货通知','3','ODE0010','admin','仁建福建商贸有限公司客户的出货订单CK20180509-0006将于2018-5-9 9:28:55出货请准备出货。','2018-05-09 09:30:10','发送成功','2'),('4028818862776d580163429427f678b2','许双凤','ODE0010','2018-05-09 09:46:36',NULL,NULL,NULL,'出货通知','3','ODE0010','admin','董正平客户的出货订单CK20180509-0007将于2018-5-9 9:43:56出货请准备出货。','2018-05-09 09:46:40','发送成功','2'),('4028818862776d5801634295f44978d8','许双凤','ODE0010','2018-05-09 09:48:34',NULL,NULL,NULL,'出货通知','3','ODE0010','admin','晋江市池店镇泰昌顺冷冻食品商行客户的出货订单CK20180509-0008将于2018-5-9 9:47:18出货请准备出货。','2018-05-09 09:48:40','发送成功','2'),('4028818862776d58016342c654817904','傅娜娜','ODE0009','2018-05-09 10:41:24',NULL,NULL,NULL,'收货通知','3','ODE0009','admin','董正平客户的订单RK20180509-0001将于2018-5-9 10:40:55送到请准备收货。','2018-05-09 10:41:30','发送成功','2'),('4028818862776d58016342c8801b7909','傅娜娜','ODE0009','2018-05-09 10:43:46',NULL,NULL,NULL,'出货通知','3','ODE0009','admin','鲤城区上官食品店客户的出货订单CK20180509-0009将于2018-5-9 10:42:05出货<E587BA>
2019-02-14 14:28:30 +00:00
/*!40000 ALTER TABLE `t_s_sms` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_sms_sql`
--
DROP TABLE IF EXISTS `t_s_sms_sql`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_sms_sql` (
`id` varchar(36) NOT NULL COMMENT '主键',
`sql_name` varchar(32) DEFAULT NULL COMMENT 'SQL名称',
`sql_content` varchar(1000) DEFAULT NULL COMMENT 'SQL内容',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_sms_sql`
--
LOCK TABLES `t_s_sms_sql` WRITE;
/*!40000 ALTER TABLE `t_s_sms_sql` DISABLE KEYS */;
INSERT INTO `t_s_sms_sql` VALUES ('4028b8815ddbca3a015ddbfb99a80007','SQL-查询收货预约','SELECT c.zhong_wen_qch as cus_name,h.notice_id as order_id,h.im_data as order_date FROM wm_im_notice_h h inner join md_cus c on h.cus_code = c.ke_hu_bian_ma where h.notice_id = :id;','2017-08-13 22:24:45','admin','管理员','2017-08-24 07:05:36','admin','admin'),('4028b8815e14fbcf015e1513ba0b000a','SQL-查询出货通知','SELECT c.zhong_wen_qch as cus_name,h.om_notice_id as order_id,h.delv_data as order_date FROM wm_om_notice_h h inner join md_cus c on h.cus_code = c.ke_hu_bian_ma where h.om_notice_id = :id;','2017-08-25 00:29:28','admin','admin','2017-08-25 00:29:43','admin','admin'),('8a71b40e4a386269014a3865f9a90001','SQL-查询用户姓名','SELECT NAME as name,ID as order_code from t_s_student where id = :id ','2014-12-11 16:10:14','4028d881436d514601436d5215ac0043','admin','2017-03-10 11:37:19','admin','管理员');
/*!40000 ALTER TABLE `t_s_sms_sql` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_sms_template`
--
DROP TABLE IF EXISTS `t_s_sms_template`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_sms_template` (
`id` varchar(36) NOT NULL COMMENT '主键',
`template_type` varchar(1) DEFAULT NULL COMMENT '模板类型',
`template_name` varchar(50) DEFAULT NULL COMMENT '模板名称',
`template_content` varchar(1000) DEFAULT NULL COMMENT '模板内容',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_sms_template`
--
LOCK TABLES `t_s_sms_template` WRITE;
/*!40000 ALTER TABLE `t_s_sms_template` DISABLE KEYS */;
INSERT INTO `t_s_sms_template` VALUES ('4028b8815ddbca3a015ddbf53d830004','2','收货预约通知','${cus_name}客户的订单${order_id}将于${order_date}送到,请准备收货。','2017-08-13 22:17:49','admin','管理员','2017-09-03 08:41:59','admin','admin'),('4028b8815e14fbcf015e1514a7c9000d','2','出货预约通知','${cus_name}客户的出货订单${order_id}将于${order_date}出货,请准备出货。','2017-08-25 00:30:29','admin','admin',NULL,'',''),('8a71b40e4a386269014a38701cff0005','1','充值短信提醒模板','${name}你好,你的订单${order_code}已付款!','2014-12-11 16:21:19','4028d881436d514601436d5215ac0043','admin','2014-12-14 21:11:00','4028d881436d514601436d5215ac0043','admin');
/*!40000 ALTER TABLE `t_s_sms_template` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_sms_template_sql`
--
DROP TABLE IF EXISTS `t_s_sms_template_sql`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_sms_template_sql` (
`id` varchar(36) NOT NULL COMMENT '主键',
`code` varchar(32) DEFAULT NULL COMMENT '配置CODE',
`name` varchar(32) DEFAULT NULL COMMENT '配置名称',
`sql_id` varchar(32) DEFAULT NULL COMMENT '业务SQLID',
`template_id` varchar(32) DEFAULT NULL COMMENT '消息模本ID',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_sms_template_sql`
--
LOCK TABLES `t_s_sms_template_sql` WRITE;
/*!40000 ALTER TABLE `t_s_sms_template_sql` DISABLE KEYS */;
INSERT INTO `t_s_sms_template_sql` VALUES ('4028b8815ddbca3a015ddbfc67d1000a','RKYYTZ','入库预约通知','4028b8815ddbca3a015ddbfb99a80007','4028b8815ddbca3a015ddbf53d830004','2017-08-13 22:25:38','admin','管理员',NULL,'',''),('4028b8815e14fbcf015e1515190f000f','CKYYTZ','出库预约通知','4028b8815e14fbcf015e1513ba0b000a','4028b8815e14fbcf015e1514a7c9000d','2017-08-25 00:30:58','admin','admin',NULL,'',''),('8a71b40e4a386269014a3871f5ee0008','CZTX','充值提醒配置','8a71b40e4a386269014a3865f9a90001','8a71b40e4a386269014a38701cff0005','2014-12-11 16:23:20','4028d881436d514601436d5215ac0043','admin',NULL,'','');
/*!40000 ALTER TABLE `t_s_sms_template_sql` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_timetask`
--
DROP TABLE IF EXISTS `t_s_timetask`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_timetask` (
`ID` varchar(32) NOT NULL COMMENT 'id',
`CREATE_BY` varchar(32) DEFAULT NULL COMMENT '创建人',
`CREATE_DATE` datetime DEFAULT NULL COMMENT '创建时间',
`CREATE_NAME` varchar(32) DEFAULT NULL COMMENT '创建人名字',
`CRON_EXPRESSION` varchar(100) NOT NULL COMMENT 'cron表达式',
`IS_EFFECT` varchar(1) NOT NULL COMMENT '是否生效 0/未生效,1/生效',
`IS_START` varchar(1) NOT NULL COMMENT '是否运行0停止,1运行',
`TASK_DESCRIBE` varchar(50) NOT NULL COMMENT '任务描述',
`TASK_ID` varchar(100) NOT NULL COMMENT '任务ID',
`UPDATE_BY` varchar(32) DEFAULT NULL COMMENT '修改人',
`UPDATE_DATE` datetime DEFAULT NULL COMMENT '修改时间',
`UPDATE_NAME` varchar(32) DEFAULT NULL COMMENT '修改人名称',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_timetask`
--
LOCK TABLES `t_s_timetask` WRITE;
/*!40000 ALTER TABLE `t_s_timetask` DISABLE KEYS */;
INSERT INTO `t_s_timetask` VALUES ('402880e74c79dd47014c79de88f70001','admin','2015-04-02 19:22:49','管理员','0/50 * * * * ?','1','1','消息中间件定时任务','smsSendTaskCronTrigger','admin','2018-09-12 06:58:51','初始'),('402881885ec4faf9015ec4fd47890001','admin','2017-09-28 04:18:07','admin','0 15 23 * * ?','1','1','计费','costTaskCronTrigger','admin','2018-09-13 11:33:33','初始'),('8a8ab0b246dc81120146dc81850c016a',NULL,NULL,NULL,'0 15 01 * * ?','1','1','商品效期管理','goodsMoveTaskCronTrigger','admin','2018-11-08 00:57:01','初始');
/*!40000 ALTER TABLE `t_s_timetask` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_type`
--
DROP TABLE IF EXISTS `t_s_type`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_type` (
`ID` varchar(32) NOT NULL COMMENT 'id',
`typecode` varchar(50) DEFAULT NULL COMMENT '字典编码',
`typename` varchar(50) DEFAULT NULL COMMENT '字典名称',
`typepid` varchar(32) DEFAULT NULL COMMENT '无用字段',
`typegroupid` varchar(32) DEFAULT NULL COMMENT '字典组ID',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_name` varchar(36) DEFAULT NULL COMMENT '创建用户',
PRIMARY KEY (`ID`),
KEY `FK_nw2b22gy7plh7pqows186odmq` (`typepid`) USING BTREE,
KEY `FK_3q40mr4ebtd0cvx79matl39x1` (`typegroupid`) USING BTREE,
CONSTRAINT `t_s_type_ibfk_1` FOREIGN KEY (`typegroupid`) REFERENCES `t_s_typegroup` (`ID`),
CONSTRAINT `t_s_type_ibfk_2` FOREIGN KEY (`typepid`) REFERENCES `t_s_type` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='InnoDB free: 599040 kB; (`typegroupid`) REFER `jeecg/t_s_typ';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_type`
--
LOCK TABLES `t_s_type` WRITE;
/*!40000 ALTER TABLE `t_s_type` DISABLE KEYS */;
INSERT INTO `t_s_type` VALUES ('297e201047e95ee30147e9baab5c000b','1','common.company',NULL,'297e201047e95ee30147e9ba56ce0009','2016-09-04 22:19:12','管理员'),('297e201047e95ee30147e9baef97000d','2','common.department',NULL,'297e201047e95ee30147e9ba56ce0009','2016-09-04 22:19:12','管理员'),('297e201047e95ee30147e9bb1210000f','3','common.position',NULL,'297e201047e95ee30147e9ba56ce0009','2016-09-04 22:19:12','管理员'),('2c90ac564c9d1734014c9db1e025002d','Y','',NULL,'2c90ac564c9d1734014c9db1a167002b','2016-09-04 22:19:12','管理员'),('2c90ac564c9d1734014c9db20b0d002f','N','',NULL,'2c90ac564c9d1734014c9db1a167002b','2016-09-04 22:19:12','管理员'),('402880884883eff4014884180bf80029','1','蔷薇七村',NULL,'402880884883eff401488415cbb60027','2016-09-04 22:19:12','管理员'),('402880cd4dbd4baa014dbd9c184f0003','WXTP','图片',NULL,'jglongjbtstypegourp2015060400001','2016-09-04 22:19:12','管理员'),('402881885ee7c2e4015eec89d19e01e8','I','初始',NULL,'2c90ac564c9d1734014c9db1a167002b','2017-10-05 20:36:49','admin'),('402881885f117b37015f152b5197006e','良品','良品',NULL,'402881885f117b37015f152afeb4006c','2017-10-13 17:58:01','admin'),('402881885f117b37015f152b6c530070','不良品','不良品',NULL,'402881885f117b37015f152afeb4006c','2017-10-13 17:58:08','admin'),('402881886017fd0801601ad3bad60025','计划中','计划中',NULL,'402881886017fd0801601ad37a230023','2017-12-03 13:22:52','admin'),('402881886017fd0801601ad3dbac0027','已完成','已完成',NULL,'402881886017fd0801601ad37a230023','2017-12-03 13:23:00','admin'),('402881886017fd0801601ad414ae0029','已过帐','已过帐',NULL,'402881886017fd0801601ad37a230023','2017-12-03 13:23:15','admin'),('402881886017fd0801601ad4460f002b','库存不足','库存不足',NULL,'402881886017fd0801601ad37a230023','2017-12-03 13:23:27','admin'),('402881886017fd0801601ad4a814002d','储位不存在','储位不存在',NULL,'402881886017fd0801601ad37a230023','2017-12-03 13:23:52','admin'),('402881886017fd0801601ad675c0002f','已删除','已删除',NULL,'402881886017fd0801601ad37a230023','2017-12-03 13:25:51','admin'),('402881a151f1af7c0151f1bb1b520004','cigong','辞工',NULL,'402881a151f1af7c0151f1b9d7f50002','2016-09-04 22:19:12','管理员'),('402881a151f1af7c0151f1bc55b10006','jicigong','急辞工',NULL,'402881a151f1af7c0151f1b9d7f50002','2016-09-04 22:19:12','管理员'),('402881a151f1af7c0151f1bca0680008','citui','辞退',NULL,'402881a151f1af7c0151f1b9d7f50002','2016-09-04 22:19:12','管理员'),('402881a151f1af7c0151f1bcbf62000a','kaichu','开除',NULL,'402881a151f1af7c0151f1b9d7f50002','2016-09-04 22:19:12','管理员'),('402881a151f1af7c0151f1bce839000c','zidonglizhi','自动离职',NULL,'402881a151f1af7c0151f1b9d7f50002','2016-09-04 22:19:12','管理员'),('402881e44df713f5014df73ef09a003d','table','form.db.type.table',NULL,'402881e44df713f5014df738349c002f','2016-09-04 22:19:12','管理员'),('402881e44df713f5014df73f1436003f','sql','form.db.type.sql',NULL,'402881e44df713f5014df738349c002f','2016-09-04 22:19:12','管理员'),('402881e44df713f5014df73f3f830041','clazz','form.db.type.clazz',NULL,'402881e44df713f5014df738349c002f','2016-09-04 22:19:12','管理员'),('402881e54dcb624a014dcbf65e5a0010','bdfl_ptbd','普通表单',NULL,'402881e54dcb624a014dcbf4912b000e','2016-09-04 22:19:12','管理员'),('402881e54dcb624a014dcbf6a4620012','bdfl_fzbd','复杂表单',NULL,'402881e54dcb624a014dcbf4912b000e','2016-09-04 22:19:12','管理员'),('402881e54dce16ba014dce17990c0001','bdfl_vipbd','VIP表单',NULL,'402881e54dcb624a014dcbf4912b000e','2016-09-04 22:19:12','管理员'),('402881e55af64f07015af683bd930006','text','单行文本输入框',NULL,'402881e55af64f07015af68356550004','2017-03-22 22:55:13','管理员'),('402881e55af64f07015af683f8910008','textarea','多行文本输入框',NULL,'402881e55af64f07015af68356550004','2017-03-22 22:55:28','管理员'),('402881e55af64f07015af6866f2f000a','select','下拉菜单',NULL,'402881e55af64f07015af68356550004','2017-03-22 22:58:10','管理员'),('402881e55af64f07015af686a8ca000c','radios','单选框',NULL,'402881e55af6
/*!40000 ALTER TABLE `t_s_type` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_typegroup`
--
DROP TABLE IF EXISTS `t_s_typegroup`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_typegroup` (
`ID` varchar(32) NOT NULL COMMENT 'id',
`typegroupcode` varchar(50) DEFAULT NULL COMMENT '字典分组编码',
`typegroupname` varchar(50) DEFAULT NULL COMMENT '字典分组名称',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_name` varchar(36) DEFAULT NULL COMMENT '创建用户',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_typegroup`
--
LOCK TABLES `t_s_typegroup` WRITE;
/*!40000 ALTER TABLE `t_s_typegroup` DISABLE KEYS */;
INSERT INTO `t_s_typegroup` VALUES ('297e201047e95ee30147e9ba56ce0009','orgtype','common.org.type','2016-09-04 22:19:12','管理员'),('2c90ac564c9d1734014c9db1a167002b','sf_yn','是否YN','2016-09-04 22:19:12','管理员'),('402880884883eff401488415cbb60027','smsTplType','模板类型','2016-09-04 22:19:12','管理员'),('402881885f117b37015f152afeb4006c','sf_lp','品质','2017-10-13 17:57:40','admin'),('402881886017fd0801601ad37a230023','move_sta','转移','2017-12-03 13:22:35','admin'),('402881a151f1af7c0151f1b9d7f50002','outType','离职方式','2016-09-04 22:19:12','管理员'),('402881e44df713f5014df738349c002f','formDbType','form.db.type','2016-09-04 22:19:12','管理员'),('402881e54dcb624a014dcbf4912b000e','bdfl','表单分类','2016-09-04 22:19:12','管理员'),('402881e55af64f07015af68356550004','widgetType','控件类型','2017-03-22 22:54:47','管理员'),('402881e64ca6fd1b014ca7044c370004','tblx','图表类型','2016-09-04 22:19:12','管理员'),('402881e946e71f5f0146e73619bb0002','lang','common.mutilang','2016-09-04 22:19:12','管理员'),('4028838850c35b6a0150c37251e00002','dataType','校验规则','2016-09-04 22:19:12','管理员'),('402889f647f797e30147f79e7ca60003','bpm_status','业务BPM流转状态','2017-02-23 15:17:53','管理员'),('4028ab8c5134f1ed0151350f08d90003','units','常用单位','2016-09-04 22:19:12','管理员'),('4028b881533ac16a01533adb50460001','graphType','动态图表类型','2016-09-04 22:19:12','管理员'),('4028b8815ddbaf03015ddbc2be500008','plat_oper','月台操作','2017-08-13 21:22:39','管理员'),('4028b8815e7baaf9015e7bc640560010','assgin','任务接收人','2017-09-13 23:05:44','admin'),('4028ef8154753f2601547546249f0005','pop_retype','POP返回类型','2016-09-04 22:19:12','管理员'),('4028efa25219c9f0015219d1d2720004','leaveType','请假类别','2016-09-04 22:19:12','管理员'),('8a1c7ee54e3e2ca9014e3e4b78f90009','enhanceType','java.enhance.type','2016-09-04 22:19:12','管理员'),('8a71b40e4a38319b014a3858fca40018','msgTplType','消息模板分类','2016-09-04 22:19:12','管理员'),('8a71b40e4a38319b014a385cb115001e','msgType','消息类别','2016-09-04 22:19:12','管理员'),('8a71b40e4a38319b014a386022bd0026','msgStatus','消息发送状态','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181aa0056','icontype','common.icon.type','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181b10057','order','lang.order.type','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181b50058','custom','lang.customer.type','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181b90059','service','lang.service.item.type','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181bc005a','searchmode','common.query.module','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181c0005b','yesorno','common.logic.condition','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181c3005c','fieldtype','field.type','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181c6005d','database','common.data.table','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181ca005e','fieltype','common.document.category','2016-09-04 22:19:12','管理员'),('8a8ab0b246dc81120146dc8181cd005f','sex','common.sex.type','2016-09-04 22:19:12','管理员'),('8a8ab0ba487c527201487c7732790019','dbtype','common.dbtype','2016-09-04 22:19:12','管理员'),('f852d85d47ed64a40147ed70894c0003','rulecon','规则条件','2016-09-04 22:19:12','管理员'),('jglongjbtstypegourp2015060400001','weixin','微信模板类型','2016-09-04 22:19:12','管理员');
/*!40000 ALTER TABLE `t_s_typegroup` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_user`
--
DROP TABLE IF EXISTS `t_s_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_user` (
`id` varchar(32) NOT NULL COMMENT 'id',
`email` varchar(50) DEFAULT NULL COMMENT '邮箱',
`mobilePhone` varchar(30) DEFAULT NULL COMMENT '手机号',
`officePhone` varchar(20) DEFAULT NULL COMMENT '办公座机',
`signatureFile` varchar(100) DEFAULT NULL COMMENT '签名文件',
`update_name` varchar(32) DEFAULT NULL COMMENT '修改人',
`update_date` datetime DEFAULT NULL COMMENT '修改时间',
`update_by` varchar(32) DEFAULT NULL COMMENT '修改人id',
`create_name` varchar(32) DEFAULT NULL COMMENT '创建人',
`create_date` datetime DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(32) DEFAULT NULL COMMENT '创建人id',
PRIMARY KEY (`id`),
KEY `FK_2cuji5h6yorrxgsr8ojndlmal` (`id`) USING BTREE,
CONSTRAINT `t_s_user_ibfk_1` FOREIGN KEY (`id`) REFERENCES `t_s_base_user` (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='InnoDB free: 599040 kB; (`id`) REFER `jeecg/t_s_base_user`(`';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_user`
--
LOCK TABLES `t_s_user` WRITE;
/*!40000 ALTER TABLE `t_s_user` DISABLE KEYS */;
INSERT INTO `t_s_user` VALUES ('402881875988e889015988ec36770001','','','',NULL,'管理员','2017-01-10 23:08:33','admin','管理员','2017-01-10 23:08:18','admin'),('402881b265e2f9050165e2fc212c0032','','','',NULL,'初始','2018-10-28 08:38:55','admin','初始','2018-09-16 23:24:59','admin'),('402881b265e2f9050165e31bc1b3003e','','','',NULL,'初始','2018-09-26 14:43:04','admin','初始','2018-09-16 23:59:32','admin'),('402881b265e2f9050165e31c24eb0042','','','',NULL,'初始','2018-10-28 08:38:59','admin','初始','2018-09-16 23:59:57','admin'),('402881b265e2f9050165e31c8f650046','','','',NULL,'初始','2018-09-26 14:43:06','admin','初始','2018-09-17 00:00:24','admin'),('402881b265e2f9050165e31d02c7004a','','','',NULL,'初始','2018-09-26 14:43:06','admin','初始','2018-09-17 00:00:54','admin'),('402881b265e2f9050165e31d7cbe004e','','','',NULL,'初始','2018-09-26 14:43:06','admin','初始','2018-09-17 00:01:25','admin'),('402881b265e2f9050165e31df0a00052','','','',NULL,'初始','2018-09-26 14:43:06','admin','初始','2018-09-17 00:01:55','admin'),('402881b265e2f9050165e31e54600056','','','',NULL,'初始','2018-09-26 14:43:06','admin','初始','2018-09-17 00:02:20','admin'),('402881b265e2f9050165e31eb0ea005a','','','',NULL,'初始','2018-09-26 14:43:06','admin','初始','2018-09-17 00:02:44','admin'),('402881b265e2f9050165e31f164c005e','','','',NULL,'初始','2018-10-28 08:39:06','admin','初始','2018-09-17 00:03:10','admin'),('402881b26695b69a016695ba18a00001','','','',NULL,'戴杰 ','2018-10-29 10:58:57','daij','初始','2018-10-21 16:24:53','admin'),('402881b266b505ce0166b81b40ec05da','','','',NULL,'戴杰 ','2018-10-29 08:08:08','daij','初始','2018-10-28 08:38:06','admin'),('402881b266b505ce0166b81ccb6005f5','','','',NULL,'戴杰 ','2018-11-03 07:59:47','daij','初始','2018-10-28 08:39:47','admin'),('402881b266b505ce0166b81e37a305fd','','','',NULL,'王晓慧','2018-10-29 08:13:31','wangxh','初始','2018-10-28 08:41:20','admin'),('402881b266b505ce0166b81eca8d0601','','','',NULL,'戴杰 ','2018-10-29 08:08:09','daij','初始','2018-10-28 08:41:58','admin'),('402881b266b505ce0166b81f30f90605','','','',NULL,'戴杰 ','2018-10-29 08:08:09','daij','初始','2018-10-28 08:42:24','admin'),('402881b266b505ce0166b81f93030609','','','',NULL,'王晓琪','2018-11-03 07:59:32','wangxq','初始','2018-10-28 08:42:49','admin'),('402881b266b505ce0166b820e0e9060d','','','',NULL,'戴杰 ','2018-10-29 08:08:09','daij','初始','2018-10-28 08:44:14','admin'),('402881b266b505ce0166b822c16f0622','','','',NULL,'任飞','2018-11-09 10:06:54','renf','初始','2018-10-28 08:46:17','admin'),('402881b266b505ce0166b8236f6d0628','','','',NULL,'戴杰 ','2018-10-29 08:08:09','daij','初始','2018-10-28 08:47:02','admin'),('402881b266b505ce0166b823fbb6062f','','','',NULL,'戴杰 ','2018-10-29 08:08:09','daij','初始','2018-10-28 08:47:38','admin'),('402881b266b505ce0166b82486c50635','','','',NULL,'戴杰 ','2018-10-29 08:08:09','daij','初始','2018-10-28 08:48:14','admin'),('402881b266b505ce0166b824ef2d063b','','','',NULL,'戴杰 ','2018-10-29 08:08:09','daij','初始','2018-10-28 08:48:40','admin'),('402881b266b505ce0166b82559b60641','','','',NULL,'戴杰 ','2018-10-29 08:08:09','daij','初始','2018-10-28 08:49:08','admin'),('402881b266b505ce0166b825c5cb0647','','','',NULL,NULL,NULL,NULL,'初始','2018-10-28 08:49:35','admin'),('402881b266b505ce0166b826331a064d','','','',NULL,NULL,NULL,NULL,'初始','2018-10-28 08:50:03','admin'),('4028b8815df2ac6c015df2b115940004','','','',NULL,'初始','2018-12-27 22:50:53','admin','管理员','2017-08-18 08:14:38','admin'),('4028ef81563ae5be01563ae92d7f0002','','','',NULL,'管理员','2016-07-30 16:26:20','admin','管理员','2016-07-30 16:26:15','admin'),('8a8ab0b246dc81120146dc8181a10054','','','',NULL,'管理员','2016-06-01 15:07:57','admin',NULL,'2016-07-10 16:26:15',NULL);
/*!40000 ALTER TABLE `t_s_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `t_s_user_org`
--
DROP TABLE IF EXISTS `t_s_user_org`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `t_s_user_org` (
`ID` varchar(32) NOT NULL COMMENT 'id',
`user_id` varchar(32) DEFAULT NULL COMMENT '用户id',
`org_id` varchar(32) DEFAULT NULL COMMENT '部门id',
PRIMARY KEY (`ID`),
KEY `index_user_id` (`user_id`) USING BTREE,
KEY `index_org_id` (`org_id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `t_s_user_org`
--
LOCK TABLES `t_s_user_org` WRITE;
/*!40000 ALTER TABLE `t_s_user_org` DISABLE KEYS */;
INSERT INTO `t_s_user_org` VALUES ('402881875988e889015988ec64590005','402881875988e889015988ec36770001','8a8ab0b246dc81120146dc8180a20016'),('40288188608e0b3e016091850e4b0107','4028b8815df2ac6c015df2b115940004','8a7ba3345d93bb87015d93e44fd90019'),('402881b265e2f9050165e31bc1e7003f','402881b265e2f9050165e31bc1b3003e','8a7ba3345d93bb87015d93e44fd90019'),('402881b265e2f9050165e31c250e0043','402881b265e2f9050165e31c24eb0042','8a7ba3345d93bb87015d93e44fd90019'),('402881b265e2f9050165e31c8f910047','402881b265e2f9050165e31c8f650046','8a7ba3345d93bb87015d93e44fd90019'),('402881b265e2f9050165e31d02e6004b','402881b265e2f9050165e31d02c7004a','8a7ba3345d93bb87015d93e44fd90019'),('402881b265e2f9050165e31d7cf0004f','402881b265e2f9050165e31d7cbe004e','8a7ba3345d93bb87015d93e44fd90019'),('402881b265e2f9050165e31df0c30053','402881b265e2f9050165e31df0a00052','8a7ba3345d93bb87015d93e44fd90019'),('402881b265e2f9050165e31e54800057','402881b265e2f9050165e31e54600056','8a7ba3345d93bb87015d93e44fd90019'),('402881b265e2f9050165e31eb111005b','402881b265e2f9050165e31eb0ea005a','8a7ba3345d93bb87015d93e44fd90019'),('402881b265e2f9050165e31f166f005f','402881b265e2f9050165e31f164c005e','8a7ba3345d93bb87015d93e44fd90019'),('402881b2660e068b01662335dc6323fb','402881b265e2f9050165e2fc212c0032','8a7ba3345d93bb87015d93e44fd90019'),('402881b26695b69a016695ba18ee0002','402881b26695b69a016695ba18a00001','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b81b411c05db','402881b266b505ce0166b81b40ec05da','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b81ccbb205f6','402881b266b505ce0166b81ccb6005f5','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b81e37c605fe','402881b266b505ce0166b81e37a305fd','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b81ecab10602','402881b266b505ce0166b81eca8d0601','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b81f31190606','402881b266b505ce0166b81f30f90605','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b81f934c060a','402881b266b505ce0166b81f93030609','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b820e108060e','402881b266b505ce0166b820e0e9060d','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b822c18c0623','402881b266b505ce0166b822c16f0622','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b8236f8e0629','402881b266b505ce0166b8236f6d0628','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b823fbd40630','402881b266b505ce0166b823fbb6062f','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b82486e70636','402881b266b505ce0166b82486c50635','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b824ef4c063c','402881b266b505ce0166b824ef2d063b','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b82559d60642','402881b266b505ce0166b82559b60641','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b825c5e90648','402881b266b505ce0166b825c5cb0647','8a7ba3345d93bb87015d93e44fd90019'),('402881b266b505ce0166b82633b3064e','402881b266b505ce0166b826331a064d','8a7ba3345d93bb87015d93e44fd90019'),('4028ef815500fa15015500fbc3290001','8a8ab0b246dc81120146dc8181a10054','8a8ab0b246dc81120146dc8180a20016'),('4028ef81563ae5be01563ae92dc20003','4028ef81563ae5be01563ae92d7f0002','8a8ab0b246dc81120146dc8180a20016');
/*!40000 ALTER TABLE `t_s_user_org` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `test_person`
--
DROP TABLE IF EXISTS `test_person`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `test_person` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
`name` varchar(32) DEFAULT NULL COMMENT '名字',
`sex` varchar(32) NOT NULL COMMENT '性别',
`birthday` datetime DEFAULT NULL COMMENT '生日',
`conets` varchar(32) DEFAULT NULL COMMENT '个人简介',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `test_person`
--
LOCK TABLES `test_person` WRITE;
/*!40000 ALTER TABLE `test_person` DISABLE KEYS */;
INSERT INTO `test_person` VALUES ('402880f25b85a061015b85a061640000','管理员','admin','2017-04-19 17:52:12','管理员','admin','2017-04-19 17:52:39','A03','A03','1','6666','0','2017-04-19 00:00:00','管理员'),('402880f25b85a061015b85a4418c0001','管理员','admin','2017-04-19 17:56:26',NULL,NULL,NULL,'A03','A03','1','555','1','2017-04-19 00:00:00','管理员');
/*!40000 ALTER TABLE `test_person` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tm_in_out`
--
DROP TABLE IF EXISTS `tm_in_out`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tm_in_out` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`in_date` datetime DEFAULT NULL COMMENT '进场时间',
`out_date` datetime DEFAULT NULL COMMENT '出场时间',
`car_no` varchar(32) DEFAULT NULL COMMENT '车号',
`tm_line` varchar(32) DEFAULT NULL COMMENT '线路',
`tm_sta` varchar(32) DEFAULT NULL COMMENT '状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tm_in_out`
--
LOCK TABLES `tm_in_out` WRITE;
/*!40000 ALTER TABLE `tm_in_out` DISABLE KEYS */;
/*!40000 ALTER TABLE `tm_in_out` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Temporary table structure for view `v_order_stat`
--
DROP TABLE IF EXISTS `v_order_stat`;
/*!50001 DROP VIEW IF EXISTS `v_order_stat`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `v_order_stat` (
`count` tinyint NOT NULL,
`month` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wave_fuhe`
--
DROP TABLE IF EXISTS `wave_fuhe`;
/*!50001 DROP VIEW IF EXISTS `wave_fuhe`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wave_fuhe` (
`id` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`order_id` tinyint NOT NULL,
`order_type` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_name` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`down_sta` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wave_fuhe_head`
--
DROP TABLE IF EXISTS `wave_fuhe_head`;
/*!50001 DROP VIEW IF EXISTS `wave_fuhe_head`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wave_fuhe_head` (
`order_id` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wave_to_down`
--
DROP TABLE IF EXISTS `wave_to_down`;
/*!50001 DROP VIEW IF EXISTS `wave_to_down`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wave_to_down` (
`id` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`wave_id` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_name` tinyint NOT NULL,
`im_cus_code` tinyint NOT NULL,
`om_bei_zhu` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`tin_id` tinyint NOT NULL,
`pro_data` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`base_unit` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wave_to_down_head`
--
DROP TABLE IF EXISTS `wave_to_down_head`;
/*!50001 DROP VIEW IF EXISTS `wave_to_down_head`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wave_to_down_head` (
`wave_id` tinyint NOT NULL,
`cus_name` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wave_to_fj`
--
DROP TABLE IF EXISTS `wave_to_fj`;
/*!50001 DROP VIEW IF EXISTS `wave_to_fj`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wave_to_fj` (
`id` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`om_notice_id` tinyint NOT NULL,
`iom_notice_item` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_name` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`tin_id` tinyint NOT NULL,
`pro_data` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`wave_id` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wave_to_fj_head`
--
DROP TABLE IF EXISTS `wave_to_fj_head`;
/*!50001 DROP VIEW IF EXISTS `wave_to_fj_head`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wave_to_fj_head` (
`om_notice_id` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`wave_id` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wave_to_zcfh`
--
DROP TABLE IF EXISTS `wave_to_zcfh`;
/*!50001 DROP VIEW IF EXISTS `wave_to_zcfh`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wave_to_zcfh` (
`id` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`om_notice_id` tinyint NOT NULL,
`iom_notice_item` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_name` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`tin_id` tinyint NOT NULL,
`pro_data` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`wave_id` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wave_to_zcfh_head`
--
DROP TABLE IF EXISTS `wave_to_zcfh_head`;
/*!50001 DROP VIEW IF EXISTS `wave_to_zcfh_head`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wave_to_zcfh_head` (
`om_notice_id` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`wave_id` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Table structure for table `wm_cost_conf`
--
DROP TABLE IF EXISTS `wm_cost_conf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_cost_conf` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cost_code` varchar(32) DEFAULT NULL COMMENT '费用编码',
`cost_yj` varchar(32) DEFAULT NULL COMMENT '价格',
`cost_zk` varchar(32) DEFAULT NULL COMMENT '折扣',
`cost_sl` varchar(32) DEFAULT NULL COMMENT '税率',
`cost_bhs` varchar(32) DEFAULT NULL COMMENT '不含税价',
`cost_hsj` varchar(32) DEFAULT NULL COMMENT '含税价',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_cost_conf`
--
LOCK TABLES `wm_cost_conf` WRITE;
/*!40000 ALTER TABLE `wm_cost_conf` DISABLE KEYS */;
/*!40000 ALTER TABLE `wm_cost_conf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_cus_cost_h`
--
DROP TABLE IF EXISTS `wm_cus_cost_h`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_cus_cost_h` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cus_code` varchar(32) DEFAULT NULL COMMENT '客户编码',
`begin_date` datetime DEFAULT NULL COMMENT '开始日期',
`end_date` datetime DEFAULT NULL COMMENT '结束日期',
`cus_beizhu` varchar(128) DEFAULT NULL COMMENT '备注',
`cus_hetongid` varchar(32) DEFAULT NULL COMMENT '合同编号',
`fujian` varchar(128) DEFAULT NULL COMMENT '附件',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_cus_cost_h`
--
LOCK TABLES `wm_cus_cost_h` WRITE;
/*!40000 ALTER TABLE `wm_cus_cost_h` DISABLE KEYS */;
/*!40000 ALTER TABLE `wm_cus_cost_h` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_cus_cost_i`
--
DROP TABLE IF EXISTS `wm_cus_cost_i`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_cus_cost_i` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cost_code` varchar(32) DEFAULT NULL COMMENT '费用名称',
`cost_jg` varchar(32) DEFAULT NULL COMMENT '价格RMB',
`cost_sl` varchar(32) DEFAULT NULL COMMENT '税率',
`cost_zk` varchar(32) DEFAULT NULL COMMENT '折扣',
`cost_bhs` varchar(32) DEFAULT NULL COMMENT '不含税价RMB',
`cost_hs` varchar(32) DEFAULT NULL COMMENT '含税价RMB',
`cus_cost_id` varchar(36) DEFAULT NULL COMMENT '费用ID',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_cus_cost_i`
--
LOCK TABLES `wm_cus_cost_i` WRITE;
/*!40000 ALTER TABLE `wm_cus_cost_i` DISABLE KEYS */;
/*!40000 ALTER TABLE `wm_cus_cost_i` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_day_cost`
--
DROP TABLE IF EXISTS `wm_day_cost`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_day_cost` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cus_code` varchar(32) DEFAULT NULL COMMENT '客户',
`cus_name` varchar(100) DEFAULT NULL COMMENT '客户名称',
`cost_code` varchar(32) DEFAULT NULL COMMENT '费用',
`cost_name` varchar(45) DEFAULT NULL COMMENT '费用名称',
`cost_data` datetime DEFAULT NULL COMMENT '费用日期',
`day_cost_yj` varchar(32) DEFAULT NULL COMMENT '每日费用',
`day_cost_bhs` varchar(45) DEFAULT NULL COMMENT '不含税价',
`day_cost_se` varchar(45) DEFAULT NULL COMMENT '税额',
`day_cost_hsj` varchar(45) DEFAULT NULL COMMENT '含税价',
`cost_ori` varchar(128) DEFAULT NULL COMMENT '费用来源',
`beizhu` varchar(64) DEFAULT NULL COMMENT '备注',
`cost_sta` varchar(45) DEFAULT NULL COMMENT '状态',
`cost_sl` varchar(45) DEFAULT NULL COMMENT '计费数量',
`cost_unit` varchar(45) DEFAULT NULL COMMENT '数量单位',
`cost_js` varchar(45) DEFAULT 'N' COMMENT '是否已结算',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_day_cost`
--
LOCK TABLES `wm_day_cost` WRITE;
/*!40000 ALTER TABLE `wm_day_cost` DISABLE KEYS */;
INSERT INTO `wm_day_cost` VALUES ('402881b26793c13b0167a2fc544902be',NULL,'system','2018-12-12 23:15:05',NULL,NULL,NULL,NULL,NULL,'xkn-D','xkn-D-欣康宁广州库','1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn-D/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成',NULL,NULL,NULL),('402881b26793c13b0167a2fc547702bf',NULL,'system','2018-12-12 23:15:05',NULL,NULL,NULL,NULL,NULL,'xkn-D','xkn-D-欣康宁广州库','1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn-D/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成',NULL,NULL,NULL),('402881b26793c13b0167a2fc54b602c0',NULL,'system','2018-12-12 23:15:05',NULL,NULL,NULL,NULL,NULL,'xkn-D','xkn-D-欣康宁广州库','1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn-D/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成',NULL,NULL,NULL),('402881b26793c13b0167a2fc54f402c1',NULL,'system','2018-12-12 23:15:05',NULL,NULL,NULL,NULL,NULL,'xkn-D','xkn-D-欣康宁广州库','1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn-D/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成',NULL,NULL,NULL),('402881b26793c13b0167a2fc553302c2',NULL,'system','2018-12-12 23:15:05',NULL,NULL,NULL,NULL,NULL,'xkn-D','xkn-D-欣康宁广州库','1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn-D/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成',NULL,NULL,NULL),('402881b26793c13b0167a2fc596702c3',NULL,'system','2018-12-12 23:15:06',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn/C030168/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成','0.055','',NULL),('402881b26793c13b0167a2fc598602c4',NULL,'system','2018-12-12 23:15:06',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn/F031893/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成','0.011','',NULL),('402881b26793c13b0167a2fc59c502c5',NULL,'system','2018-12-12 23:15:06',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn/F031099/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成','0.275','',NULL),('402881b26793c13b0167a2fc59f302c6',NULL,'system','2018-12-12 23:15:06',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn/A060197/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成','0.022','',NULL),('402881b26793c13b0167a2fc5a6102c7',NULL,'system','2018-12-12 23:15:06',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn/C030042/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成','0.132','',NULL),('402881b26793c13b0167a2fc5a9f02c8',NULL,'system','2018-12-12 23:15:07',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn/C030160/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成','0.308','',NULL),('402881b26793c13b0167a2fc5add02c9',NULL,'system','2018-12-12 23:15:07',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn/C030280/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成','0.011','',NULL),('402881b26793c13b0167a2fc5b3b02ca',NULL,'system','2018-12-12 23:15:07',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn/F030689/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成','0.011','',NULL),('402881b26793c13b0167a2fc5b7902cb',NULL,'system','2018-12-12 23:15:07',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-12 00:00:00','.00','.00','.00','.00','xkn/C010431/Wed Dec 12 00:00:00 CST 2018','费用合同无此费率','已生成','0.099','',NULL),('402881b26793c13b0167a2fc5ba802cc',NULL,'sy
INSERT INTO `wm_day_cost` VALUES ('402881b26793c13b0167cc2f8128137c',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn-D','xkn-D-欣康宁广州库','1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn-D/B011110/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','0.0','',NULL),('402881b26793c13b0167cc2f8147137d',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/C010076/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','0.011','',NULL),('402881b26793c13b0167cc2f8167137e',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/E010019/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','0.88','',NULL),('402881b26793c13b0167cc2f8195137f',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/F031737/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','0.066','',NULL),('402881b26793c13b0167cc2f81c41380',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/E010138/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','2.112','',NULL),('402881b26793c13b0167cc2f81f31381',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/F030409/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','0.88','',NULL),('402881b26793c13b0167cc2f82221382',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/F030529/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','0.759','',NULL),('402881b26793c13b0167cc2f82601383',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/E010132/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','13.2','',NULL),('402881b26793c13b0167cc2f827f1384',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/C030407/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','0.132','',NULL),('402881b26793c13b0167cc2f82ae1385',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/C030537/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','20.537','',NULL),('402881b26793c13b0167cc2f82cd1386',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/C030415/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','0.132','',NULL),('402881b26793c13b0167cc2f82ed1387',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/C030536/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','10.967','',NULL),('402881b26793c13b0167cc2f830c1388',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/C030535/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','2.42','',NULL),('402881b26793c13b0167cc2f832b1389',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,NULL,'xkn',NULL,'1011','正常仓租/吨','2018-12-20 00:00:00','.00','.00','.00','.00','xkn/C030656/Thu Dec 20 00:00:00 CST 2018','费用合同无此费率','已生成','0.022','',NULL),('402881b26793c13b0167cc2f834a138a',NULL,'system','2018-12-20 23:15:25',NULL,NULL,NULL,NULL,
/*!40000 ALTER TABLE `wm_day_cost` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_day_cost_bf` BEFORE INSERT ON `wms`.`wm_day_cost` FOR EACH ROW begin
set new.cost_name = (select cost_name from ba_cost where cost_code = new.cost_code limit 1);
set new.cus_name = (select cus_name from mv_cus where cus_code = new.cus_code limit 1);
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
--
-- Table structure for table `wm_day_cost_conf`
--
DROP TABLE IF EXISTS `wm_day_cost_conf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_day_cost_conf` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cost_date` datetime DEFAULT NULL COMMENT '计费日期',
`cost_sf` varchar(32) DEFAULT NULL COMMENT '是否已计费',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_day_cost_conf`
--
LOCK TABLES `wm_day_cost_conf` WRITE;
/*!40000 ALTER TABLE `wm_day_cost_conf` DISABLE KEYS */;
INSERT INTO `wm_day_cost_conf` VALUES ('1','admin','admin','2017-10-18 06:58:05','刘珊珊','PDC0001','2018-03-24 11:51:43','A04','A04','2017-09-15 00:00:00','Y'),('10',NULL,'system','2017-10-21 23:15:00','刘珊珊','PDC0001','2018-03-24 11:51:42',NULL,NULL,'2017-09-16 00:00:00','Y'),('11',NULL,'system','2017-10-22 23:15:00','刘珊珊','PDC0001','2018-03-24 11:51:39',NULL,NULL,'2017-09-17 00:00:00','Y'),('12',NULL,'system','2017-10-23 23:15:00','刘珊珊','PDC0001','2018-03-24 11:51:37',NULL,NULL,'2017-09-18 00:00:00','Y'),('13','admin','admin','2017-10-18 06:58:05','刘珊珊','PDC0001','2018-03-24 11:51:34','A04','A04','2017-09-19 00:00:00','Y'),('14','admin','admin','2017-10-18 06:58:14','刘珊珊','PDC0001','2018-03-24 11:51:32','A04','A04','2017-09-20 00:00:00','Y'),('15','admin','admin','2017-10-18 06:58:24','刘珊珊','PDC0001','2018-03-24 11:51:29','A04','A04','2017-09-21 00:00:00','Y'),('16','admin','admin','2017-10-18 06:58:30','刘珊珊','PDC0001','2018-03-24 11:51:27','A04','A04','2017-09-22 00:00:00','Y'),('17','admin','admin','2017-10-18 06:58:37','刘珊珊','PDC0001','2018-03-24 11:51:24','A04','A04','2017-09-23 00:00:00','Y'),('18','admin','admin','2017-10-18 13:14:15','刘珊珊','PDC0001','2018-03-24 11:51:21','A04','A04','2017-09-24 00:00:00','Y'),('19','admin','admin','2017-10-18 15:29:29','刘珊珊','PDC0001','2018-03-24 11:49:50','A04','A04','2017-09-25 00:00:00','Y'),('2','admin','admin','2017-10-18 06:58:14','刘珊珊','PDC0001','2018-03-24 11:49:48','A04','A04','2017-09-26 00:00:00','Y'),('20','admin','admin','2017-10-18 15:30:44','刘珊珊','PDC0001','2018-03-24 11:49:45','A04','A04','2017-09-27 00:00:00','Y'),('21',NULL,'system','2017-10-19 23:51:04','刘珊珊','PDC0001','2018-03-24 11:49:41',NULL,NULL,'2017-09-28 00:00:00','Y'),('22',NULL,'system','2017-10-21 23:15:00','刘珊珊','PDC0001','2018-03-24 11:49:38',NULL,NULL,'2017-09-29 00:00:00','Y'),('23',NULL,'system','2017-10-22 23:15:00','刘珊珊','PDC0001','2018-03-24 11:49:34',NULL,NULL,'2017-09-30 00:00:00','Y'),('24',NULL,'system','2017-10-23 23:15:00','刘珊珊','PDC0001','2018-03-24 11:49:31',NULL,NULL,'2017-10-01 00:00:00','Y'),('25',NULL,'system','2017-10-23 23:15:00','刘珊珊','PDC0001','2018-03-24 11:49:04',NULL,NULL,'2017-10-09 00:00:00','Y'),('26','admin','admin','2017-10-18 06:58:24','刘珊珊','PDC0001','2018-03-24 11:49:01','A04','A04','2017-10-10 00:00:00','Y'),('27','admin','admin','2017-10-18 06:58:30','刘珊珊','PDC0001','2018-03-24 11:48:57','A04','A04','2017-10-11 00:00:00','Y'),('28','admin','admin','2017-10-18 06:58:37','刘珊珊','PDC0001','2018-03-24 11:48:54','A04','A04','2017-10-12 00:00:00','Y'),('29','admin','admin','2017-10-18 13:14:15','刘珊珊','PDC0001','2018-03-24 11:48:50','A04','A04','2017-10-13 00:00:00','Y'),('3','admin','admin','2017-10-18 06:58:24','刘珊珊','PDC0001','2018-03-24 11:49:28','A04','A04','2017-10-02 00:00:00','Y'),('30','admin','admin','2017-10-18 15:29:29','刘珊珊','PDC0001','2018-03-24 11:48:46','A04','A04','2017-10-14 00:00:00','Y'),('31','admin','admin','2017-10-18 15:30:44','刘珊珊','PDC0001','2018-03-24 11:48:43','A04','A04','2017-10-15 00:00:00','Y'),('32',NULL,'system','2017-10-19 23:51:04','刘珊珊','PDC0001','2018-03-24 11:48:40',NULL,NULL,'2017-10-16 00:00:00','Y'),('33','admin','admin','2017-10-18 06:58:24','刘珊珊','PDC0001','2018-03-24 11:48:36','A04','A04','2017-10-17 00:00:00','Y'),('34','admin','admin','2017-10-18 06:58:30','刘珊珊','PDC0001','2018-03-24 11:48:33','A04','A04','2017-10-18 00:00:00','Y'),('35','admin','admin','2017-10-18 06:58:37','刘珊珊','PDC0001','2018-03-24 11:48:29','A04','A04','2017-10-19 00:00:00','Y'),('36','admin','admin','2017-10-18 13:14:15','刘珊珊','PDC0001','2018-03-24 11:48:26','A04','A04','2017-10-20 00:00:00','Y'),('37','admin','admin','2017-10-18 15:29:29','刘珊珊','PDC0001','2018-03-24 11:48:21','A04','A04','2017-10-21 00:00:00','Y'),('38','admin','admin','2017-10-18 15:30:44','刘珊珊','PDC0001','2018-03-24 11:48:14','A04','A04','2017-10-22 00:00:00','Y'),('39',NULL,'system','2017-10-19
/*!40000 ALTER TABLE `wm_day_cost_conf` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_day_his`
--
DROP TABLE IF EXISTS `wm_day_his`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_day_his` (
`id` varchar(45) DEFAULT NULL,
`his_date` varchar(45) DEFAULT NULL,
`his_day_in` varchar(45) DEFAULT NULL,
`his_day_out` varchar(45) DEFAULT NULL,
`his_day_amount` varchar(45) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='每日余额';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_day_his`
--
LOCK TABLES `wm_day_his` WRITE;
/*!40000 ALTER TABLE `wm_day_his` DISABLE KEYS */;
INSERT INTO `wm_day_his` VALUES ('2017-09-15 00:00:00','2017-09-15 00:00:00',NULL,NULL,NULL),('2017-09-16 00:00:00','2017-09-16 00:00:00',NULL,NULL,NULL),('2017-09-17 00:00:00','2017-09-17 00:00:00',NULL,NULL,NULL),('2017-09-18 00:00:00','2017-09-18 00:00:00',NULL,NULL,NULL),('2017-09-19 00:00:00','2017-09-19 00:00:00',NULL,NULL,NULL),('2017-09-20 00:00:00','2017-09-20 00:00:00',NULL,NULL,NULL),('2017-09-21 00:00:00','2017-09-21 00:00:00',NULL,NULL,NULL),('2017-09-22 00:00:00','2017-09-22 00:00:00',NULL,NULL,NULL),('2017-09-23 00:00:00','2017-09-23 00:00:00',NULL,NULL,NULL),('2017-09-24 00:00:00','2017-09-24 00:00:00',NULL,NULL,NULL),('2017-09-25 00:00:00','2017-09-25 00:00:00',NULL,NULL,NULL),('2017-09-26 00:00:00','2017-09-26 00:00:00',NULL,NULL,NULL),('2017-09-27 00:00:00','2017-09-27 00:00:00',NULL,NULL,NULL),('2017-09-28 00:00:00','2017-09-28 00:00:00',NULL,NULL,NULL),('2017-09-29 00:00:00','2017-09-29 00:00:00',NULL,NULL,NULL),('2017-09-30 00:00:00','2017-09-30 00:00:00',NULL,NULL,NULL),('2017-10-01 00:00:00','2017-10-01 00:00:00',NULL,NULL,NULL),('2017-10-02 00:00:00','2017-10-02 00:00:00',NULL,NULL,NULL),('2017-10-03 00:00:00','2017-10-03 00:00:00',NULL,NULL,NULL),('2017-10-04 00:00:00','2017-10-04 00:00:00',NULL,NULL,NULL),('2017-10-05 00:00:00','2017-10-05 00:00:00',NULL,NULL,NULL),('2017-10-06 00:00:00','2017-10-06 00:00:00',NULL,NULL,NULL),('2017-10-07 00:00:00','2017-10-07 00:00:00',NULL,NULL,NULL),('2017-10-08 00:00:00','2017-10-08 00:00:00',NULL,NULL,NULL),('2017-10-09 00:00:00','2017-10-09 00:00:00',NULL,NULL,NULL),('2017-10-10 00:00:00','2017-10-10 00:00:00',NULL,NULL,NULL),('2017-10-11 00:00:00','2017-10-11 00:00:00',NULL,NULL,NULL),('2017-10-12 00:00:00','2017-10-12 00:00:00',NULL,NULL,NULL),('2017-10-13 00:00:00','2017-10-13 00:00:00',NULL,NULL,NULL),('2017-10-14 00:00:00','2017-10-14 00:00:00',NULL,NULL,NULL),('2017-10-15 00:00:00','2017-10-15 00:00:00',NULL,NULL,NULL),('2017-10-16 00:00:00','2017-10-16 00:00:00',NULL,NULL,NULL),('2017-10-17 00:00:00','2017-10-17 00:00:00',NULL,NULL,NULL),('2017-10-18 00:00:00','2017-10-18 00:00:00',NULL,NULL,NULL),('2017-10-19 00:00:00','2017-10-19 00:00:00',NULL,NULL,NULL),('2017-10-20 00:00:00','2017-10-20 00:00:00',NULL,NULL,NULL),('2017-10-21 00:00:00','2017-10-21 00:00:00',NULL,NULL,NULL),('2017-10-22 00:00:00','2017-10-22 00:00:00',NULL,NULL,NULL),('2017-10-23 00:00:00','2017-10-23 00:00:00',NULL,NULL,NULL),('2017-10-24 00:00:00','2017-10-24 00:00:00',NULL,NULL,NULL),('2017-10-25 23:15:00','2017-10-25 23:15:00',NULL,NULL,NULL),('2017-10-26 00:00:00','2017-10-26 00:00:00',NULL,NULL,NULL),('2017-10-27 23:15:00','2017-10-27 23:15:00',NULL,NULL,NULL),('2017-10-28 23:15:00','2017-10-28 23:15:00',NULL,NULL,NULL),('2017-10-29 23:15:00','2017-10-29 23:15:00',NULL,NULL,NULL),('2017-10-30 23:15:00','2017-10-30 23:15:00',NULL,NULL,NULL),('2017-10-31 23:15:00','2017-10-31 23:15:00',NULL,NULL,NULL),('2017-11-01 23:15:00','2017-11-01 23:15:00',NULL,NULL,NULL),('2017-11-02 23:15:00','2017-11-02 23:15:00',NULL,NULL,NULL),('2017-11-03 23:15:00','2017-11-03 23:15:00',NULL,NULL,NULL),('2017-11-04 23:15:00','2017-11-04 23:15:00',NULL,NULL,NULL),('2017-11-05 23:15:00','2017-11-05 23:15:00',NULL,NULL,NULL),('2017-11-06 23:15:00','2017-11-06 23:15:00',NULL,NULL,NULL),('2017-11-07 23:15:00','2017-11-07 23:15:00',NULL,NULL,NULL),('2017-11-08 23:15:00','2017-11-08 23:15:00',NULL,NULL,NULL),('2017-11-09 23:15:00','2017-11-09 23:15:00',NULL,NULL,NULL),('2017-11-10 23:15:00','2017-11-10 23:15:00',NULL,NULL,NULL),('2017-11-11 23:15:00','2017-11-11 23:15:00',NULL,NULL,NULL),('2017-11-12 23:15:00','2017-11-12 23:15:00',NULL,NULL,NULL),('2017-11-13 23:15:00','2017-11-13 23:15:00',NULL,NULL,NULL),('2017-11-14 23:15:00','2017-11-14 23:15:00',NULL,NULL,NULL),('2017-11-15 23:15:00','2017-11-15 23:15:00',NULL,NULL,NULL),('2017-11-16 23:15:00','2017-11-16 23:15:00',NULL,NULL,NULL),('2017-11-17 23:15:00','2017-11-17 23:15:00',NULL,NULL,NULL),('2017-11-18 23:15:00','2017-11-18 23:15:00',NULL,NULL,NULL),('2017-11-19 23:15:00','2017-11-19 23:15:00',NULL,NULL,NULL),('2017-11-20 23:15:00','2017-11-20 23
/*!40000 ALTER TABLE `wm_day_his` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_his_stock`
--
DROP TABLE IF EXISTS `wm_his_stock`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_his_stock` (
`id` varchar(128) DEFAULT NULL COMMENT '主键',
`his_date` varchar(45) DEFAULT NULL COMMENT '结余日期',
`cus_code` varchar(45) DEFAULT NULL COMMENT '货主',
`ku_wei_bian_ma` varchar(45) DEFAULT NULL COMMENT '储位',
`bin_id` varchar(45) DEFAULT NULL COMMENT '托盘',
`goods_id` varchar(45) DEFAULT NULL COMMENT '商品',
`count` varchar(45) DEFAULT NULL COMMENT '数量',
`base_unit` varchar(45) DEFAULT NULL COMMENT '单位'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_his_stock`
--
LOCK TABLES `wm_his_stock` WRITE;
/*!40000 ALTER TABLE `wm_his_stock` DISABLE KEYS */;
INSERT INTO `wm_his_stock` VALUES ('2018-12-14xkn-D01-01-1AC030279','2018-12-14','xkn-D','01-01-1','A','C030279','56',''),('2018-12-14xkn-D01-02-1AC030350','2018-12-14','xkn-D','01-02-1','A','C030350','37',''),('2018-12-14xkn-D01-03-1AC030250','2018-12-14','xkn-D','01-03-1','A','C030250','180',''),('2018-12-14xkn-D01-04-1AC030223','2018-12-14','xkn-D','01-04-1','A','C030223','22',''),('2018-12-14xkn-D01-05-1AC030670','2018-12-14','xkn-D','01-05-1','A','C030670','50',''),('2018-12-14xkn-D01-06-1AC030280','2018-12-14','xkn-D','01-06-1','A','C030280','34',''),('2018-12-14xkn-D01-07-1AC030224','2018-12-14','xkn-D','01-07-1','A','C030224','100',''),('2018-12-14xkn-D01-08-1AC030249','2018-12-14','xkn-D','01-08-1','A','C030249','34',''),('2018-12-14xkn-D01-09-1AC030249','2018-12-14','xkn-D','01-09-1','A','C030249','60',''),('2018-12-14xkn-D01-10-1AC030249','2018-12-14','xkn-D','01-10-1','A','C030249','70',''),('2018-12-14xkn-D01-11-1AC030250','2018-12-14','xkn-D','01-11-1','A','C030250','40',''),('2018-12-14xkn-D01-12-1AC030241','2018-12-14','xkn-D','01-12-1','A','C030241','11',''),('2018-12-14xkn-D02-01-1AC030131','2018-12-14','xkn-D','02-01-1','A','C030131','36',''),('2018-12-14xkn-D02-02-1AC030292','2018-12-14','xkn-D','02-02-1','A','C030292','36',''),('2018-12-14xkn-D02-03-1AC030131','2018-12-14','xkn-D','02-03-1','A','C030131','22',''),('2018-12-14xkn-D02-04-1AC030307','2018-12-14','xkn-D','02-04-1','A','C030307','72',''),('2018-12-14xkn-D02-05-1AC030224','2018-12-14','xkn-D','02-05-1','A','C030224','79',''),('2018-12-14xkn-D02-06-1AC030950','2018-12-14','xkn-D','02-06-1','A','C030950','15',''),('2018-12-14xkn-D02-08-1AC030951','2018-12-14','xkn-D','02-08-1','A','C030951','35',''),('2018-12-14xkn-D02-09-1AC030306','2018-12-14','xkn-D','02-09-1','A','C030306','51',''),('2018-12-14xkn-D02-10-1AC030037','2018-12-14','xkn-D','02-10-1','A','C030037','22',''),('2018-12-14xkn-D02-11-1AC030077','2018-12-14','xkn-D','02-11-1','A','C030077','174',''),('2018-12-14xkn-D02-12-1AC030830','2018-12-14','xkn-D','02-12-1','A','C030830','7',''),('2018-12-14xkn-D03-01-1AC030535','2018-12-14','xkn-D','03-01-1','A','C030535','135',''),('2018-12-14xkn-D03-02-1AC030546','2018-12-14','xkn-D','03-02-1','A','C030546','192',''),('2018-12-14xkn-D03-03-1AC030535','2018-12-14','xkn-D','03-03-1','A','C030535','50',''),('2018-12-14xkn-D03-04-1AC030535','2018-12-14','xkn-D','03-04-1','A','C030535','156',''),('2018-12-14xkn-D03-05-1AC030545','2018-12-14','xkn-D','03-05-1','A','C030545','455',''),('2018-12-14xkn-D03-06-1AC030535','2018-12-14','xkn-D','03-06-1','A','C030535','7',''),('2018-12-14xkn-D03-07-1AC030544','2018-12-14','xkn-D','03-07-1','A','C030544','709',''),('2018-12-14xkn-D03-08-1AC030547','2018-12-14','xkn-D','03-08-1','A','C030547','57',''),('2018-12-14xkn-D03-09-1AC030537','2018-12-14','xkn-D','03-09-1','A','C030537','931',''),('2018-12-14xkn-D03-10-1AC030532','2018-12-14','xkn-D','03-10-1','A','C030532','665',''),('2018-12-14xkn-D04-01-1AC030449','2018-12-14','xkn-D','04-01-1','A','C030449','300',''),('2018-12-14xkn-D04-02-1AC030455','2018-12-14','xkn-D','04-02-1','A','C030455','456',''),('2018-12-14xkn-D04-03-1AC030457','2018-12-14','xkn-D','04-03-1','A','C030457','900',''),('2018-12-14xkn-D04-04-1AC030457','2018-12-14','xkn-D','04-04-1','A','C030457','804',''),('2018-12-14xkn-D04-05-1AC030630','2018-12-14','xkn-D','04-05-1','A','C030630','208',''),('2018-12-14xkn-D04-06-1AC030448','2018-12-14','xkn-D','04-06-1','A','C030448','1044',''),('2018-12-14xkn-D04-07-1AC030430','2018-12-14','xkn-D','04-07-1','A','C030430','152',''),('2018-12-14xkn-D04-09-1AC030436','2018-12-14','xkn-D','04-09-1','A','C030436','110',''),('2018-12-14xkn-D04-10-1AC050040','2018-12-14','xkn-D','04-10-1','A','C050040','441',''),('2018-12-14xkn-D04-11-1AC030681','2018-12-14','xkn-D','04-11-1','A','C030681','924',''),('2018-12-14xkn-D04-12-1AC030681','2018-12-14','xkn-D','04-12-1','A','C030681','504',''),('2018-12-14xkn-D05-01-1AC030435','20
/*!40000 ALTER TABLE `wm_his_stock` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_his_stock_ku`
--
DROP TABLE IF EXISTS `wm_his_stock_ku`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_his_stock_ku` (
`id` varchar(128) DEFAULT NULL COMMENT '主键',
`his_date` varchar(45) DEFAULT NULL COMMENT '结余日期',
`cus_code` varchar(45) DEFAULT NULL COMMENT '货主',
`ku_wei_bian_ma` varchar(45) DEFAULT NULL COMMENT '储位',
`bin_id` varchar(45) DEFAULT NULL COMMENT '托盘',
`goods_id` varchar(45) DEFAULT NULL COMMENT '商品',
`count` varchar(45) DEFAULT NULL COMMENT '数量',
`base_unit` varchar(45) DEFAULT NULL COMMENT '单位',
KEY `riqi` (`his_date`,`cus_code`,`ku_wei_bian_ma`,`bin_id`,`goods_id`) COMMENT '日期'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_his_stock_ku`
--
LOCK TABLES `wm_his_stock_ku` WRITE;
/*!40000 ALTER TABLE `wm_his_stock_ku` DISABLE KEYS */;
INSERT INTO `wm_his_stock_ku` VALUES ('','2018-12-14','xkn-D','A005','A',NULL,'4516',''),('2018-12-14xkn-D01-01-1AC010185','2018-12-14','xkn-D','01-01-1','A','C010185','6',''),('2018-12-14xkn-D01-01-1AC030083','2018-12-14','xkn-D','01-01-1','A','C030083','7',''),('2018-12-14xkn-D01-01-1AC030279','2018-12-14','xkn-D','01-01-1','A','C030279','3',''),('2018-12-14xkn-D01-01-1AE010179','2018-12-14','xkn-D','01-01-1','A','E010179','40',''),('2018-12-14xkn-D01-02-1AC030350','2018-12-14','xkn-D','01-02-1','A','C030350','30',''),('2018-12-14xkn-D01-02-1AC030750','2018-12-14','xkn-D','01-02-1','A','C030750','7',''),('2018-12-14xkn-D01-03-1AC030250','2018-12-14','xkn-D','01-03-1','A','C030250','180',''),('2018-12-14xkn-D01-04-1AC030223','2018-12-14','xkn-D','01-04-1','A','C030223','22',''),('2018-12-14xkn-D01-05-1AC030670','2018-12-14','xkn-D','01-05-1','A','C030670','50',''),('2018-12-14xkn-D01-06-1AC030223','2018-12-14','xkn-D','01-06-1','A','C030223','2',''),('2018-12-14xkn-D01-06-1AC030242','2018-12-14','xkn-D','01-06-1','A','C030242','6',''),('2018-12-14xkn-D01-06-1AC030251','2018-12-14','xkn-D','01-06-1','A','C030251','1',''),('2018-12-14xkn-D01-06-1AC030280','2018-12-14','xkn-D','01-06-1','A','C030280','1',''),('2018-12-14xkn-D01-06-1AC030636','2018-12-14','xkn-D','01-06-1','A','C030636','24',''),('2018-12-14xkn-D01-07-1AC030224','2018-12-14','xkn-D','01-07-1','A','C030224','100',''),('2018-12-14xkn-D01-08-1AC030249','2018-12-14','xkn-D','01-08-1','A','C030249','34',''),('2018-12-14xkn-D01-09-1AC030249','2018-12-14','xkn-D','01-09-1','A','C030249','60',''),('2018-12-14xkn-D01-10-1AC030249','2018-12-14','xkn-D','01-10-1','A','C030249','70',''),('2018-12-14xkn-D01-11-1AC030250','2018-12-14','xkn-D','01-11-1','A','C030250','40',''),('2018-12-14xkn-D01-12-1AC030241','2018-12-14','xkn-D','01-12-1','A','C030241','11',''),('2018-12-14xkn-D02-01-1AC030131','2018-12-14','xkn-D','02-01-1','A','C030131','36',''),('2018-12-14xkn-D02-02-1AC030119','2018-12-14','xkn-D','02-02-1','A','C030119','15',''),('2018-12-14xkn-D02-02-1AC030292','2018-12-14','xkn-D','02-02-1','A','C030292','5',''),('2018-12-14xkn-D02-02-1AC030762','2018-12-14','xkn-D','02-02-1','A','C030762','16',''),('2018-12-14xkn-D02-03-1AC030131','2018-12-14','xkn-D','02-03-1','A','C030131','22',''),('2018-12-14xkn-D02-04-1AC030307','2018-12-14','xkn-D','02-04-1','A','C030307','72',''),('2018-12-14xkn-D02-05-1AC030224','2018-12-14','xkn-D','02-05-1','A','C030224','79',''),('2018-12-14xkn-D02-06-1AC030950','2018-12-14','xkn-D','02-06-1','A','C030950','15',''),('2018-12-14xkn-D02-08-1AC030951','2018-12-14','xkn-D','02-08-1','A','C030951','35',''),('2018-12-14xkn-D02-09-1AC030306','2018-12-14','xkn-D','02-09-1','A','C030306','51',''),('2018-12-14xkn-D02-10-1AC030037','2018-12-14','xkn-D','02-10-1','A','C030037','6',''),('2018-12-14xkn-D02-10-1AC030115','2018-12-14','xkn-D','02-10-1','A','C030115','16',''),('2018-12-14xkn-D02-11-1AC030074','2018-12-14','xkn-D','02-11-1','A','C030074','126',''),('2018-12-14xkn-D02-11-1AC030077','2018-12-14','xkn-D','02-11-1','A','C030077','48',''),('2018-12-14xkn-D02-12-1AC030114','2018-12-14','xkn-D','02-12-1','A','C030114','2',''),('2018-12-14xkn-D02-12-1AC030791','2018-12-14','xkn-D','02-12-1','A','C030791','3',''),('2018-12-14xkn-D02-12-1AC030830','2018-12-14','xkn-D','02-12-1','A','C030830','2',''),('2018-12-14xkn-D03-01-1AC030534','2018-12-14','xkn-D','03-01-1','A','C030534','70',''),('2018-12-14xkn-D03-01-1AC030535','2018-12-14','xkn-D','03-01-1','A','C030535','7',''),('2018-12-14xkn-D03-01-1AC030549','2018-12-14','xkn-D','03-01-1','A','C030549','58',''),('2018-12-14xkn-D03-02-1AC030546','2018-12-14','xkn-D','03-02-1','A','C030546','192',''),('2018-12-14xkn-D03-03-1AC030535','2018-12-14','xkn-D','03-03-1','A','C030535','50',''),('2018-12-14xkn-D03-04-1AC030535','2018-12-14','xkn-D','03-04-1','A','C030535','156',''),('2018-12-14xkn-D03-05-1AC030545','2018-12-14','xkn-D','03-05-1','A','C030545','455',''),('2018-
/*!40000 ALTER TABLE `wm_his_stock_ku` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_im_notice_h`
--
DROP TABLE IF EXISTS `wm_im_notice_h`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_im_notice_h` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cus_code` varchar(32) DEFAULT NULL COMMENT '客户编码',
`im_data` datetime DEFAULT NULL COMMENT '预计到货时间',
`im_cus_code` varchar(32) DEFAULT NULL COMMENT '客户订单号',
`im_car_dri` varchar(32) DEFAULT NULL COMMENT '司机',
`im_car_mobile` varchar(32) DEFAULT NULL COMMENT '司机电话',
`im_car_no` varchar(32) DEFAULT NULL COMMENT '车号',
`order_type_code` varchar(32) DEFAULT NULL COMMENT '订单类型',
`platform_code` varchar(32) DEFAULT NULL COMMENT '月台',
`im_beizhu` varchar(320) DEFAULT NULL COMMENT '备注',
`im_sta` varchar(32) DEFAULT NULL COMMENT '单据状态',
`notice_id` varchar(32) DEFAULT NULL COMMENT '进货通知单号',
`FU_JIAN` varchar(64) DEFAULT NULL COMMENT '附件',
`READ_ONLY` varchar(45) DEFAULT NULL,
`WHERE_CON` varchar(45) DEFAULT NULL,
`sup_code` varchar(45) DEFAULT NULL COMMENT '供应商编码',
`sup_name` varchar(145) DEFAULT NULL COMMENT '供应商名称',
`pi_class` varchar(145) DEFAULT NULL COMMENT '对接单据类型',
`pi_master` varchar(45) DEFAULT NULL COMMENT '账套',
PRIMARY KEY (`id`),
KEY `notice_id` (`notice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_im_notice_h`
--
LOCK TABLES `wm_im_notice_h` WRITE;
/*!40000 ALTER TABLE `wm_im_notice_h` DISABLE KEYS */;
2019-02-21 16:30:01 +00:00
INSERT INTO `wm_im_notice_h` VALUES ('2c9184e1690db7e301690db9f8e40007','初始','admin','2019-02-21 09:44:46',NULL,NULL,NULL,'A04','A04','xkn',NULL,'','','','','01','','','操作中','RK20190221-0001',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402881b26793c13b0167c6921bfd0fd6','初始','admin','2018-12-19 21:05:23','初始','admin','2018-12-19 21:14:58','A04','A04','xkn-D',NULL,'LM-YS18120071','','','','01','',NULL,'已完成','RK20181219-0001',NULL,NULL,'where 1 = 1',NULL,NULL,NULL,NULL),('402882ec6821bf47016821e14105000c','初始','admin','2019-01-06 14:37:17',NULL,NULL,NULL,'A04','A04','xkn',NULL,'','','','','01','','','已完成','RK20190106-0001',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402882ec6821bf47016821fe97630029','初始','admin','2019-01-06 15:09:20',NULL,NULL,NULL,'A04','A04','xkn',NULL,'','','','','01','','','计划中','RK20190106-0002',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
2019-02-14 14:28:30 +00:00
/*!40000 ALTER TABLE `wm_im_notice_h` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_im_notice_i`
--
DROP TABLE IF EXISTS `wm_im_notice_i`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_im_notice_i` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`im_notice_id` varchar(36) DEFAULT NULL COMMENT '到货通知单号',
`im_notice_item` varchar(36) DEFAULT NULL COMMENT '到货通知项目',
`goods_code` varchar(32) DEFAULT NULL COMMENT '商品编码',
`goods_count` varchar(32) DEFAULT NULL COMMENT '数量',
`goods_prd_data` datetime DEFAULT NULL COMMENT '生产日期',
`goods_batch` varchar(32) DEFAULT NULL COMMENT '批次',
`bin_pre` varchar(32) DEFAULT NULL COMMENT '库位整理',
`goods_fvol` varchar(32) DEFAULT NULL COMMENT '体积',
`goods_weight` varchar(32) DEFAULT NULL COMMENT '重量',
`bin_plan` varchar(128) DEFAULT NULL COMMENT '计划库位',
`goods_unit` varchar(36) DEFAULT NULL COMMENT '单位',
`goods_wqm_count` varchar(32) DEFAULT NULL COMMENT '未清数量',
`goods_qm_count` varchar(32) DEFAULT NULL COMMENT '收货登记数量',
`noticei_sta` varchar(45) DEFAULT NULL COMMENT '行项目状态',
`base_unit` varchar(45) DEFAULT NULL COMMENT '基本单位',
`base_goodscount` varchar(45) DEFAULT NULL COMMENT '基本单位数量',
`base_qmcount` varchar(45) DEFAULT NULL COMMENT '基本单位收货数量',
`goods_name` varchar(145) DEFAULT NULL,
`other_id` varchar(145) DEFAULT NULL,
`im_cus_code` varchar(45) DEFAULT NULL,
`im_beizhu` varchar(320) DEFAULT NULL,
`barcode` varchar(145) DEFAULT NULL,
`shp_gui_ge` varchar(45) DEFAULT NULL COMMENT '规格',
2019-02-21 16:30:01 +00:00
`BZHI_QI` varchar(45) DEFAULT NULL,
2019-02-14 14:28:30 +00:00
PRIMARY KEY (`id`),
KEY `notice_id` (`im_notice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_im_notice_i`
--
LOCK TABLES `wm_im_notice_i` WRITE;
/*!40000 ALTER TABLE `wm_im_notice_i` DISABLE KEYS */;
2019-02-21 16:30:01 +00:00
INSERT INTO `wm_im_notice_i` VALUES ('2c9184e1690db7e301690db9f95f0008','初始','admin','2019-02-21 09:44:46',NULL,NULL,NULL,'A04','A04','RK20190221-0001',NULL,'F031701','1000',NULL,NULL,'Y','11000.0','7250.0',NULL,'',NULL,'1000',NULL,'','1000',NULL,'F031701-灵鹿谷演示数据-双',NULL,'','','',NULL,NULL),('402881b26793c13b0167c6921c5b0fd7','初始','admin','2018-12-19 21:05:24',NULL,NULL,NULL,'A04','A04','RK20181219-0001',NULL,'C030224','200',NULL,NULL,'Y','2200.0','2200.0',NULL,'',NULL,'200',NULL,'','200',NULL,'C030224-农夫山泉 饮用天然水 380ml*24瓶/箱-箱',NULL,'LM-YS18120071','深圳市恒久缘贸易有限公司(深圳史泰博直送单)','',NULL,NULL),('402882ec6821bf47016821e141d1000d','初始','admin','2019-01-06 14:37:17','初始','admin','2019-02-14 21:58:59','A04','A04','RK20190106-0001',NULL,'F031701','100',NULL,NULL,'Y','1100.0','1100.0','01-08-1','',NULL,'100',NULL,'','100',NULL,'F031701-灵鹿谷演示数据-双',NULL,'','','',NULL,NULL),('402882ec6821bf47016821fe9844002a','初始','admin','2019-01-06 15:09:20','初始','admin','2019-02-20 21:37:00','A04','A04','RK20190106-0002',NULL,'F031701','10',NULL,NULL,'N','110.0','110.0','01-08-1','',NULL,'0',NULL,'','10',NULL,'F031701-灵鹿谷演示数据-双',NULL,'','','',NULL,NULL);
2019-02-14 14:28:30 +00:00
/*!40000 ALTER TABLE `wm_im_notice_i` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_in_qm_h`
--
DROP TABLE IF EXISTS `wm_in_qm_h`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_in_qm_h` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`im_notice_id` varchar(32) DEFAULT NULL COMMENT '到货通知ID',
`im_platform_id` varchar(32) DEFAULT NULL COMMENT '月台',
`im_car_no` varchar(32) DEFAULT NULL COMMENT '车号',
`cus_code` varchar(32) DEFAULT NULL COMMENT '客户',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_in_qm_h`
--
LOCK TABLES `wm_in_qm_h` WRITE;
/*!40000 ALTER TABLE `wm_in_qm_h` DISABLE KEYS */;
/*!40000 ALTER TABLE `wm_in_qm_h` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_in_qm_i`
--
DROP TABLE IF EXISTS `wm_in_qm_i`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_in_qm_i` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`im_notice_id` varchar(36) DEFAULT NULL COMMENT '到货通知单',
`im_notice_item` varchar(36) DEFAULT NULL COMMENT '到货通知行项目',
`goods_id` varchar(36) DEFAULT NULL COMMENT '商品编码',
`im_quat` varchar(32) DEFAULT NULL COMMENT '到货数量',
`qm_ok_quat` varchar(32) DEFAULT NULL COMMENT '收货数量',
`item_text` varchar(32) DEFAULT NULL COMMENT '备注',
`pro_data` varchar(32) DEFAULT NULL COMMENT '生产日期',
`tin_id` varchar(32) DEFAULT NULL COMMENT '托盘',
`goods_unit` varchar(36) DEFAULT NULL COMMENT '单位',
`goods_batch` varchar(32) DEFAULT NULL COMMENT '批次',
`bin_id` varchar(32) DEFAULT NULL COMMENT '仓位',
`tin_tj` varchar(32) DEFAULT NULL COMMENT '体积',
`tin_zhl` varchar(32) DEFAULT NULL COMMENT '重量',
`bin_sta` varchar(32) DEFAULT NULL COMMENT '是否已上架',
`cus_code` varchar(36) DEFAULT NULL COMMENT '货主',
`rec_deg` varchar(32) DEFAULT NULL COMMENT '温度',
`base_unit` varchar(45) DEFAULT NULL COMMENT '基本单位',
`base_goodscount` varchar(45) DEFAULT NULL COMMENT '基本单位数量',
`base_qmcount` varchar(45) DEFAULT NULL COMMENT '基本单位收货数量',
`cus_name` varchar(145) DEFAULT NULL,
`goods_name` varchar(145) DEFAULT NULL,
`IM_CUS_CODE` varchar(145) DEFAULT NULL COMMENT '入库单号',
PRIMARY KEY (`id`),
KEY `inqm` (`im_notice_id`,`goods_id`,`pro_data`,`tin_id`,`bin_id`,`bin_sta`,`cus_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_in_qm_i`
--
LOCK TABLES `wm_in_qm_i` WRITE;
/*!40000 ALTER TABLE `wm_in_qm_i` DISABLE KEYS */;
2019-02-21 16:30:01 +00:00
INSERT INTO `wm_in_qm_i` VALUES ('2c9184e1690db7e301690dba4420000b','初始','admin','2019-02-21 09:45:05',NULL,NULL,NULL,'A04','A04','RK20190221-0001','2c9184e1690db7e301690db9f95f0008','F031701','1000','1000.0','良品','2099-12-31','','','2018-09-01','01-08-1','11000.0','7250.0','N','xkn','','','1000.0',NULL,NULL,'F031701-灵鹿谷演示数据-双',''),('402881b26793c13b0167c692ca160fd9','初始','admin','2018-12-19 21:06:08','初始','admin','2019-01-06 14:34:16','A04','A04','RK20181219-0001','402881b26793c13b0167c6921c5b0fd7','C030224','200','200','良品','2018-12-19','A','','2018-12-19','linshikuwei','2200.0','2200.0','Y','xkn-D','','','200',NULL,NULL,'C030224-农夫山泉 饮用天然水 380ml*24瓶/箱-箱','LM-YS18120071'),('402882ec6821bf47016821e3541c0010','初始','admin','2019-01-06 14:39:33','初始','admin','2019-01-06 14:40:32','A04','A04','RK20190106-0001','402882ec6821bf47016821e141d1000d','F031701','100','100.0','良品','2019-01-04','A','','2019-01-04','01-08-1','1100.0','1100.0','Y','xkn','1','','100.0',NULL,NULL,'F031701-灵鹿谷演示数据-双','');
2019-02-14 14:28:30 +00:00
/*!40000 ALTER TABLE `wm_in_qm_i` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_in_gr` AFTER INSERT ON `wms`.`wm_in_qm_i` FOR EACH ROW begin
set @notice_id = new.im_notice_id;
set @newid = new.im_notice_item;
set @id = new.id;
set @tj = new.tin_tj;
set @goodid = new.goods_id;
update wm_im_notice_i
set
goods_qm_count = (select
sum(qm_ok_quat)
from
wm_in_qm_i
where
im_notice_item = @newid)
where
id = @newid;
update wm_im_notice_i
set
bin_pre = 'Y'
where
id = @newid
and
goods_count = (select
sum(qm_ok_quat)
from
wm_in_qm_i
where
im_notice_item = @newid);
update wm_im_notice_h
set im_sta = '操作中'
where notice_id = @notice_id ;
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_in_gr_update` AFTER UPDATE ON `wms`.`wm_in_qm_i` FOR EACH ROW begin
set @newid = new.im_notice_item;
update wm_im_notice_i
set
goods_qm_count = (select
sum(qm_ok_quat)
from
wm_in_qm_i
where
im_notice_item = @newid)
where
id = @newid;
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_in_gr_delete` AFTER DELETE ON `wms`.`wm_in_qm_i` FOR EACH ROW begin
set @newid = old.im_notice_item;
update wm_im_notice_i
set
goods_qm_count = (select
sum(qm_ok_quat)
from
wm_in_qm_i
where
im_notice_item = @newid),
bin_pre = 'N'
where
id = @newid;
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
--
-- Table structure for table `wm_notice_conf`
--
DROP TABLE IF EXISTS `wm_notice_conf`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_notice_conf` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`wm_notice_id` varchar(36) DEFAULT NULL COMMENT '单号',
`beizhu` varchar(32) DEFAULT NULL COMMENT '备注',
`cus_code` varchar(36) DEFAULT NULL COMMENT '货主',
`hd_data` datetime DEFAULT NULL COMMENT '回单时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_notice_conf`
--
LOCK TABLES `wm_notice_conf` WRITE;
/*!40000 ALTER TABLE `wm_notice_conf` DISABLE KEYS */;
INSERT INTO `wm_notice_conf` VALUES ('402882ec6821bf47016821f0ed87001e','初始','admin','2019-01-06 14:54:24',NULL,NULL,NULL,'A04','A04','CK20190106-0001','OK','xkn','2019-01-07 00:00:00'),('Z09','admin','admin',NULL,NULL,NULL,NULL,NULL,NULL,'ZY','请勿删除',NULL,NULL);
/*!40000 ALTER TABLE `wm_notice_conf` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_notice_conf_add` AFTER INSERT ON `wms`.`wm_notice_conf` FOR EACH ROW begin
set @newid = new.wm_notice_id;
update wm_om_notice_h
set
om_sta = '已完成'
where
om_notice_id = @newid;
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
--
-- Table structure for table `wm_om_delv_h`
--
DROP TABLE IF EXISTS `wm_om_delv_h`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_om_delv_h` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`delv_beizhu` varchar(32) DEFAULT NULL COMMENT '备注',
`wm_om_notice_id` varchar(32) DEFAULT NULL COMMENT '出货单ID',
`fh_data` datetime DEFAULT NULL COMMENT '复核时间',
`cus_code` varchar(32) DEFAULT NULL COMMENT '货主',
`fh_sta` varchar(32) DEFAULT NULL COMMENT '复核状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_om_delv_h`
--
LOCK TABLES `wm_om_delv_h` WRITE;
/*!40000 ALTER TABLE `wm_om_delv_h` DISABLE KEYS */;
/*!40000 ALTER TABLE `wm_om_delv_h` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_om_delv_i`
--
DROP TABLE IF EXISTS `wm_om_delv_i`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_om_delv_i` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`wm_om_delv_id` varchar(36) DEFAULT NULL COMMENT '装车复核ID',
`goods_unit` varchar(36) DEFAULT NULL COMMENT '单位',
`order_id` varchar(36) DEFAULT NULL COMMENT '原始单据编码',
`goods_qua` varchar(32) DEFAULT NULL COMMENT '数量',
`goods_id` varchar(36) DEFAULT NULL COMMENT '物料编码',
`bin_id_to` varchar(36) DEFAULT NULL COMMENT '托盘',
`order_id_i` varchar(36) DEFAULT NULL COMMENT '原始单据行项目',
`goods_batch` varchar(32) DEFAULT NULL COMMENT '批次',
`goods_pro_data` datetime DEFAULT NULL COMMENT '生产日期',
`order_type_code` varchar(36) DEFAULT NULL COMMENT '原始单据类型',
`wm_om_notice_id` varchar(32) DEFAULT NULL COMMENT '出货单ID',
`delv_beizhu` varchar(32) DEFAULT NULL COMMENT '备注',
`fh_sta` varchar(32) DEFAULT NULL COMMENT '复核状态',
`cus_code` varchar(32) DEFAULT NULL COMMENT '货主',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_om_delv_i`
--
LOCK TABLES `wm_om_delv_i` WRITE;
/*!40000 ALTER TABLE `wm_om_delv_i` DISABLE KEYS */;
/*!40000 ALTER TABLE `wm_om_delv_i` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_om_notice_h`
--
DROP TABLE IF EXISTS `wm_om_notice_h`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_om_notice_h` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`cus_code` varchar(32) DEFAULT NULL COMMENT '客户',
`delv_data` datetime DEFAULT NULL COMMENT '要求交货时间',
`delv_member` varchar(32) DEFAULT NULL COMMENT '收货人',
`delv_mobile` varchar(32) DEFAULT NULL COMMENT '收货人电话',
`delv_addr` varchar(320) DEFAULT NULL COMMENT '收货人地址',
`re_member` varchar(32) DEFAULT NULL COMMENT '承运人',
`re_mobile` varchar(32) DEFAULT NULL COMMENT '承运人电话',
`re_carno` varchar(32) DEFAULT NULL COMMENT '承运人车号',
`om_plat_no` varchar(32) DEFAULT NULL COMMENT '发货月台',
`om_beizhu` varchar(320) DEFAULT NULL COMMENT '备注',
`om_sta` varchar(32) DEFAULT NULL COMMENT '状态',
`om_notice_id` varchar(32) DEFAULT NULL COMMENT '出货单号',
`fu_jian` varchar(128) DEFAULT NULL COMMENT '附件',
`READ_ONLY` varchar(45) DEFAULT NULL,
`WHERE_CON` varchar(45) DEFAULT NULL,
`order_type_code` varchar(45) DEFAULT NULL COMMENT '订单类型',
`ocus_code` varchar(45) DEFAULT NULL COMMENT '三方客户',
`ocus_name` varchar(145) DEFAULT NULL COMMENT '三方客户名称',
`IM_CUS_CODE` varchar(45) DEFAULT NULL,
`print_status` varchar(45) DEFAULT NULL,
`pi_class` varchar(145) DEFAULT NULL COMMENT '对接单据类型',
`pi_master` varchar(45) DEFAULT NULL COMMENT '账套',
PRIMARY KEY (`id`),
KEY `id` (`om_notice_id`),
KEY `notice_id` (`om_notice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_om_notice_h`
--
LOCK TABLES `wm_om_notice_h` WRITE;
/*!40000 ALTER TABLE `wm_om_notice_h` DISABLE KEYS */;
INSERT INTO `wm_om_notice_h` VALUES ('402881b26793c13b0167a4fee5100403','初始','admin','2018-12-13 08:37:07','初始','admin','2018-12-17 19:55:43','A04','A04','xkn-D','2018-12-13 00:00:00',NULL,NULL,'北京',NULL,NULL,NULL,NULL,'1','已删除','CK20181213-0001',NULL,NULL,NULL,'11','','','',NULL,NULL,NULL),('402881b26793c13b0167a4feee43041a','初始','admin','2018-12-13 08:37:10','初始','admin','2018-12-17 19:55:41','A04','A04','xkn-D','2018-12-13 00:00:00',NULL,NULL,'北京',NULL,NULL,NULL,NULL,'1','已删除','CK20181213-0002',NULL,NULL,NULL,'11','','','','已打印',NULL,NULL),('402882ec6821bf47016821e9eb6f0015','初始','admin','2019-01-06 14:46:45','初始','admin','2019-01-06 14:47:30','A04','A04','xkn',NULL,'','','','','','','','','已完成','CK20190106-0001',NULL,NULL,NULL,'11','',NULL,'','已打印',NULL,NULL),('402882ec6821bf47016821f1b6e70021','初始','admin','2019-01-06 14:55:16','初始','admin','2019-01-18 10:27:30','A04','A04','xkn',NULL,'','','','','','','','','计划中','CK20190106-0002',NULL,NULL,NULL,'11','',NULL,'','已打印',NULL,NULL);
/*!40000 ALTER TABLE `wm_om_notice_h` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_om_notice_i`
--
DROP TABLE IF EXISTS `wm_om_notice_i`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_om_notice_i` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`om_notice_id` varchar(36) DEFAULT NULL COMMENT '出货通知ID',
`goods_id` varchar(36) DEFAULT NULL COMMENT '出货商品',
`goods_qua` varchar(32) DEFAULT NULL COMMENT '出货数量',
`goods_unit` varchar(32) DEFAULT NULL COMMENT '出货单位',
`goods_pro_data` datetime DEFAULT NULL COMMENT '生产日期',
`goods_batch` varchar(32) DEFAULT NULL COMMENT '批次',
`bin_om` varchar(36) DEFAULT NULL COMMENT '出货仓位',
`goods_quaok` varchar(32) DEFAULT NULL COMMENT '已出货数量',
`delv_data` varchar(32) DEFAULT NULL COMMENT '预约出货时间',
`cus_code` varchar(32) DEFAULT NULL COMMENT '客户',
`cus_name` varchar(64) DEFAULT NULL COMMENT '客户名称',
`goods_text` varchar(45) DEFAULT NULL COMMENT '商品名称',
`wave_id` varchar(45) DEFAULT NULL COMMENT '波次号',
`om_sta` varchar(45) DEFAULT NULL COMMENT '状态',
`base_unit` varchar(45) DEFAULT NULL COMMENT '基本单位',
`base_goodscount` varchar(45) DEFAULT NULL COMMENT '基本单位数量',
`plan_sta` varchar(45) DEFAULT NULL COMMENT '下架计划生成',
`goods_name` varchar(145) DEFAULT NULL,
`other_id` varchar(145) DEFAULT NULL,
`bin_id` varchar(145) DEFAULT NULL,
`IM_CUS_CODE` varchar(45) DEFAULT NULL,
`OM_BEI_ZHU` varchar(320) DEFAULT NULL,
2019-02-21 00:37:56 +00:00
`BZHI_QI` varchar(45) DEFAULT NULL,
2019-02-14 14:28:30 +00:00
PRIMARY KEY (`id`),
KEY `notice_id` (`om_notice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_om_notice_i`
--
LOCK TABLES `wm_om_notice_i` WRITE;
/*!40000 ALTER TABLE `wm_om_notice_i` DISABLE KEYS */;
2019-02-21 00:37:56 +00:00
INSERT INTO `wm_om_notice_i` VALUES ('402881b26793c13b0167a4fee55e0404','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:43','A04','A04','CK20181213-0001','C030475','1','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','1','Y','C030475-川宁 豪门伯爵红茶 2g*25袋/盒-盒','1.0',NULL,'XKN-BC18120022','广州调北京 地址北京市通州区西集镇任辛庄村南9号 梁磊 18515478819',NULL),('402881b26793c13b0167a4fee5ac0405','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:43','A04','A04','CK20181213-0001','C030500','1','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','1','Y','C030500-川宁 金毫英式早餐红茶 3g*15袋/盒-盒','1.0',NULL,'XKN-BC18120022','广州调北京 地址北京市通州区西集镇任辛庄村南9号 梁磊 18515478819',NULL),('402881b26793c13b0167a4fee5fa0406','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:43','A04','A04','CK20181213-0001','C030495','1','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','1','Y','C030495-川宁 蜜桃果香红茶 2g*25袋/盒-盒','1.0',NULL,'XKN-BC18120022','广州调北京 地址北京市通州区西集镇任辛庄村南9号 梁磊 18515478819',NULL),('402881b26793c13b0167a4fee6480407','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:43','A04','A04','CK20181213-0001','C030467','14','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','14','Y','C030467-川宁 英式早餐红茶 2g*25袋/盒-盒','1.0',NULL,'XKN-BC18120022','广州调北京 地址北京市通州区西集镇任辛庄村南9号 梁磊 18515478819',NULL),('402881b26793c13b0167a4fee6960408','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:43','A04','A04','CK20181213-0001','C030715','12','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','12','Y','C030715-川宁 UK版 茉莉花茶 40g/盒-盒','1.0',NULL,'XKN-BC18120022','广州调北京 地址北京市通州区西集镇任辛庄村南9号 梁磊 18515478819',NULL),('402881b26793c13b0167a4fee6e40409','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:44','A04','A04','CK20181213-0001','C030711','12','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','12','Y','C030711-川宁 UK版 印度风情红茶 50g/盒-盒','1.0',NULL,'XKN-BC18120022','广州调北京 地址北京市通州区西集镇任辛庄村南9号 梁磊 18515478819',NULL),('402881b26793c13b0167a4fee722040a','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:44','A04','A04','CK20181213-0001','C030711','5','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','5','Y','C030711-川宁 UK版 印度风情红茶 50g/盒-盒','1.0',NULL,'XKN-BC18120022','广州调北京 地址北京市通州区西集镇任辛庄村南9号 梁磊 18515478819',NULL),('402881b26793c13b0167a4fee770040b','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:44','A04','A04','CK20181213-0001','C030478','6','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','6','Y','C030478-川宁 豪门伯爵红茶 100g/听-听','1.0',NULL,'XKN-BC18120022','广州调北京 地址北京市通州区西集镇任辛庄村南9号 梁磊 18515478819',NULL),('402881b26793c13b0167a4fee7be040c','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:44','A04','A04','CK20181213-0001','C030480','1','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','1','Y','C030480-川宁 豪门伯爵红茶 500g/听-听','1.0',NULL,'XKN-BC18120022','广州调北京 地址北京市通州区西集镇任辛庄村南9号 梁磊 18515478819',NULL),('402881b26793c13b0167a4fee80c040d','初始','admin','2018-12-13 08:37:08','初始','admin','2018-12-17 19:55:44','A04','A04','CK20181213-0001','C030467','24','',NULL,NULL,NULL,'0',NULL,'xkn-D',NULL,NULL,NULL,'已删除','','24','Y','C030467-川宁 英式早餐红茶 2g*25袋/盒-盒','1.0
2019-02-14 14:28:30 +00:00
/*!40000 ALTER TABLE `wm_om_notice_i` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_om_qm_i`
--
DROP TABLE IF EXISTS `wm_om_qm_i`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_om_qm_i` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`om_notice_id` varchar(36) DEFAULT NULL COMMENT '到货通知单',
`iom_notice_item` varchar(36) DEFAULT NULL COMMENT '到货通知行项目',
`goods_id` varchar(36) DEFAULT NULL COMMENT '商品编码',
`om_quat` varchar(32) DEFAULT NULL COMMENT '出货数量',
`qm_ok_quat` varchar(32) DEFAULT NULL COMMENT '数量',
`item_text` varchar(32) DEFAULT NULL COMMENT '备注',
`pro_data` varchar(32) DEFAULT NULL COMMENT '生产日期',
`tin_id` varchar(32) DEFAULT NULL COMMENT '托盘',
`goods_unit` varchar(36) DEFAULT NULL COMMENT '单位',
`goods_batch` varchar(32) DEFAULT NULL COMMENT '批次',
`bin_id` varchar(32) DEFAULT NULL COMMENT '仓位',
`tin_tj` varchar(32) DEFAULT NULL COMMENT '体积',
`tin_zhl` varchar(32) DEFAULT NULL COMMENT '重量',
`bin_sta` varchar(32) DEFAULT NULL COMMENT '是否已下架',
`cus_code` varchar(36) DEFAULT NULL COMMENT '货主',
`rec_deg` varchar(32) DEFAULT NULL COMMENT '温度',
`assign_to` varchar(50) DEFAULT NULL COMMENT '任务接收人',
`base_unit` varchar(45) DEFAULT NULL COMMENT '基本单位',
`base_goodscount` varchar(45) DEFAULT NULL COMMENT '基本单位数量',
`cus_name` varchar(145) DEFAULT NULL COMMENT '客户名称',
`goods_name` varchar(145) DEFAULT NULL COMMENT '商品名称',
`wave_id` varchar(45) DEFAULT NULL,
`im_cus_code` varchar(45) DEFAULT NULL,
`om_bei_zhu` varchar(320) DEFAULT NULL,
`BARCODE` varchar(45) DEFAULT NULL COMMENT '条码',
`baozhiqi` varchar(45) DEFAULT NULL COMMENT '保质期',
`shp_gui_ge` varchar(45) DEFAULT NULL COMMENT '规格',
`pick_notice` varchar(45) DEFAULT NULL COMMENT '拣货换算',
PRIMARY KEY (`id`),
KEY `omqm` (`om_notice_id`,`goods_id`,`pro_data`,`tin_id`,`bin_id`,`bin_sta`,`cus_code`,`wave_id`),
KEY `omntice` (`iom_notice_item`),
KEY `binsta` (`bin_sta`),
KEY `bin_goods` (`bin_id`,`goods_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_om_qm_i`
--
LOCK TABLES `wm_om_qm_i` WRITE;
/*!40000 ALTER TABLE `wm_om_qm_i` DISABLE KEYS */;
INSERT INTO `wm_om_qm_i` VALUES ('402882ec6821bf47016821ea02800019','初始','admin','2019-01-06 14:46:50','初始','admin','2019-02-14 22:24:19',NULL,NULL,'CK20190106-0001','402882ec6821bf47016821e9ec5a0016','F031701',NULL,'10.0',NULL,'2019-01-04','A','',NULL,'01-08-1','110.0','110.0','Y','xkn',NULL,NULL,'','10','xkn','F031701-灵鹿谷演示数据-双',NULL,'','','','1080','3','3箱1.0双'),('402882ec6821bf47016821f23fbf0025','初始','admin','2019-01-06 14:55:50','初始','admin','2019-02-14 22:24:28',NULL,NULL,'CK20190106-0002','402882ec6821bf47016821f1b7c00022','F031701',NULL,'2.0',NULL,'2019-01-04','A','',NULL,'01-08-1','22.0','22.0','N','xkn',NULL,NULL,'','2','xkn','F031701-灵鹿谷演示数据-双','BC20190106145616','','','','1080','3','2双');
/*!40000 ALTER TABLE `wm_om_qm_i` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_omqm_update` AFTER UPDATE ON `wms`.`wm_om_qm_i` FOR EACH ROW begin
if new.wave_id is not null then
update wm_om_notice_h set om_sta = '复核中' where om_notice_id = new.om_notice_id and (select count(*) from wm_om_qm_i where om_notice_id = new.om_notice_id and bin_sta = 'Z') > 0;
end if;
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
--
-- Table structure for table `wm_plat_io`
--
DROP TABLE IF EXISTS `wm_plat_io`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_plat_io` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`carno` varchar(32) DEFAULT NULL COMMENT '车号',
`doc_id` varchar(36) DEFAULT NULL COMMENT '单据编号',
`plat_id` varchar(36) DEFAULT NULL COMMENT '月台编号',
`in_data` datetime DEFAULT NULL COMMENT '进入时间',
`out_data` datetime DEFAULT NULL COMMENT '驶出时间',
`plat_sta` varchar(32) DEFAULT NULL COMMENT '月台状态',
`plat_beizhu` varchar(432) DEFAULT NULL COMMENT '备注',
`plan_indata` datetime DEFAULT NULL COMMENT '计划进入时间',
`plan_outdata` datetime DEFAULT NULL COMMENT '计划驶出时间',
`plat_oper` varchar(32) DEFAULT NULL COMMENT '月台操作',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_plat_io`
--
LOCK TABLES `wm_plat_io` WRITE;
/*!40000 ALTER TABLE `wm_plat_io` DISABLE KEYS */;
2019-02-21 16:30:01 +00:00
INSERT INTO `wm_plat_io` VALUES ('2c9184e1690db7e301690db88eea0002','初始','admin','2019-02-21 09:43:13',NULL,NULL,NULL,'A04','A04','','RK20190221-0001','',NULL,NULL,'计划中','司机:电话:',NULL,NULL,NULL),('2c9184e1690db7e301690db9f8d80006','初始','admin','2019-02-21 09:44:46',NULL,NULL,NULL,'A04','A04','','RK20190221-0001','',NULL,NULL,'计划中','司机:电话:',NULL,NULL,NULL),('402881b26793c13b0167c6921bde0fd5','初始','admin','2018-12-19 21:05:23',NULL,NULL,NULL,'A04','A04','','RK20181219-0001','',NULL,NULL,'计划中','司机:电话:',NULL,NULL,NULL),('402882ec6821bf47016821e140f8000b','初始','admin','2019-01-06 14:37:17',NULL,NULL,NULL,'A04','A04','','RK20190106-0001','',NULL,NULL,'计划中','司机:电话:',NULL,NULL,NULL),('402882ec6821bf47016821e9eb640014','初始','admin','2019-01-06 14:46:45',NULL,NULL,NULL,'A04','A04','','CK20190106-0001','',NULL,NULL,'计划中','司机:电话:',NULL,NULL,NULL),('402882ec6821bf47016821f1b6e00020','初始','admin','2019-01-06 14:55:16',NULL,NULL,NULL,'A04','A04','','CK20190106-0002','',NULL,NULL,'计划中','司机:电话:',NULL,NULL,NULL),('402882ec6821bf47016821fe97590028','初始','admin','2019-01-06 15:09:20',NULL,NULL,NULL,'A04','A04','','RK20190106-0002','',NULL,NULL,'计划中','司机:电话:',NULL,NULL,NULL);
2019-02-14 14:28:30 +00:00
/*!40000 ALTER TABLE `wm_plat_io` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_stt_in_goods`
--
DROP TABLE IF EXISTS `wm_stt_in_goods`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_stt_in_goods` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bin_id` varchar(36) DEFAULT NULL COMMENT '库位编码',
`tin_id` varchar(36) DEFAULT NULL COMMENT '托盘编码',
`goods_id` varchar(36) DEFAULT NULL COMMENT '商品编码',
`goods_name` varchar(245) DEFAULT NULL COMMENT '商品名称',
`goods_qua` varchar(32) DEFAULT NULL COMMENT '数量',
`goods_unit` varchar(36) DEFAULT NULL COMMENT '单位',
`goods_pro_data` varchar(32) DEFAULT NULL COMMENT '生产日期',
`goods_batch` varchar(32) DEFAULT NULL COMMENT '批次',
`stt_qua` varchar(32) DEFAULT NULL COMMENT '盘点数量',
`cus_name` varchar(245) DEFAULT NULL COMMENT '客户名称',
`cus_code` varchar(36) DEFAULT NULL COMMENT '客户',
`stt_sta` varchar(45) DEFAULT NULL COMMENT '盘点状态',
`base_unit` varchar(45) DEFAULT NULL COMMENT '基本单位',
`base_goodscount` varchar(45) DEFAULT NULL COMMENT '基本单位数量',
`stt_id` varchar(45) DEFAULT NULL,
`goods_code` varchar(36) DEFAULT NULL COMMENT '商品统一编码',
`stt_type` varchar(45) DEFAULT NULL COMMENT '盘点类型',
`dong_xian` varchar(45) DEFAULT NULL COMMENT '动线',
PRIMARY KEY (`id`),
KEY `ind1` (`bin_id`,`tin_id`,`goods_id`,`goods_pro_data`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_stt_in_goods`
--
LOCK TABLES `wm_stt_in_goods` WRITE;
/*!40000 ALTER TABLE `wm_stt_in_goods` DISABLE KEYS */;
INSERT INTO `wm_stt_in_goods` VALUES ('402881b26793c13b0167d9b78bf61943','初始','admin','2018-12-23 14:19:00','初始','admin','2018-12-23 14:19:19','A04','A04','A005','A','H030145','H030145-国产 档案袋350g/本-本','50','','2018-10-01','2018-10-01',NULL,'xkn-D','xkn-D','已删除',NULL,NULL,'2018-12-23 14:19',NULL,'01','');
/*!40000 ALTER TABLE `wm_stt_in_goods` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_stt_in_goods_bf` BEFORE INSERT ON `wms`.`wm_stt_in_goods` FOR EACH ROW begin
set new.create_date = new.stt_id;
set new.dong_xian = (select ming_xi3 from md_bin where ku_wei_bian_ma = new.bin_id limit 1);
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
--
-- Table structure for table `wm_to_down_goods`
--
DROP TABLE IF EXISTS `wm_to_down_goods`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_to_down_goods` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`goods_id` varchar(36) DEFAULT NULL COMMENT '商品编码',
`goods_qua` varchar(32) DEFAULT NULL COMMENT '数量',
`goods_quaok` varchar(36) DEFAULT NULL COMMENT '完成数量',
`order_id` varchar(36) DEFAULT NULL COMMENT '原始单据编码',
`order_id_i` varchar(36) DEFAULT NULL COMMENT '原始单据行项目',
`order_type` varchar(36) DEFAULT NULL COMMENT '原始单据类型',
`goods_unit` varchar(36) DEFAULT NULL COMMENT '单位',
`goods_pro_data` varchar(32) DEFAULT NULL COMMENT '生产日期',
`goods_batch` varchar(32) DEFAULT NULL COMMENT '批次',
`act_type_code` varchar(32) DEFAULT NULL COMMENT '作业类型',
`ku_wei_bian_ma` varchar(32) DEFAULT NULL COMMENT '库位编码',
`bin_id_to` varchar(32) DEFAULT NULL COMMENT '目标托盘',
`bin_id_from` varchar(32) DEFAULT NULL COMMENT '源托盘码',
`cus_code` varchar(32) DEFAULT NULL COMMENT '货主',
`down_sta` varchar(32) DEFAULT NULL COMMENT '状态',
`base_unit` varchar(45) DEFAULT NULL COMMENT '基本单位',
`base_goodscount` varchar(45) DEFAULT NULL COMMENT '基本单位数量',
`goods_name` varchar(145) DEFAULT NULL,
`im_cus_code` varchar(45) DEFAULT NULL,
`om_bei_zhu` varchar(320) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `bgtp` (`ku_wei_bian_ma`,`bin_id_from`,`goods_id`,`goods_pro_data`,`create_date`),
KEY `downall` (`goods_id`,`order_id`,`order_id_i`,`goods_pro_data`,`ku_wei_bian_ma`,`bin_id_to`,`bin_id_from`,`cus_code`,`down_sta`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_to_down_goods`
--
LOCK TABLES `wm_to_down_goods` WRITE;
/*!40000 ALTER TABLE `wm_to_down_goods` DISABLE KEYS */;
INSERT INTO `wm_to_down_goods` VALUES ('402882ec6821bf47016821ec70d0001b','初始','admin','2019-01-06 14:49:30','初始','admin','2019-01-06 14:53:50','A04','A04','F031701','10.0','10.0','CK20190106-0001','402882ec6821bf47016821ea02800019','01','','2019-01-04',NULL,NULL,'01-08-1','CK20190106-0001','A','xkn','复核中','','10','F031701-灵鹿谷演示数据-双','','');
/*!40000 ALTER TABLE `wm_to_down_goods` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_down` AFTER INSERT ON `wms`.`wm_to_down_goods` FOR EACH ROW begin
if new.order_type = '99' then
update wm_om_qm_i set bin_sta = 'Y' where wave_id = new.order_id and bin_id = new.ku_wei_bian_ma and tin_id = new.bin_id_from and pro_data = new.goods_pro_data and goods_id = new.goods_id ;
else
update wm_om_notice_h set om_sta = '操作中' where om_notice_id = new.order_id;
update wm_om_qm_i set bin_sta = 'Y' where id = new.order_id_i;
end if;
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_down_update` AFTER UPDATE ON `wms`.`wm_to_down_goods` FOR EACH ROW begin
if new.order_type = '99' then
update wm_om_qm_i set bin_sta = 'H' where wave_id = new.order_id and goods_id = new.goods_id and (select count(*) from wm_to_down_goods where order_id = new.order_id and goods_id = new.goods_id and down_sta is null ) = 0;
else
update wm_om_notice_h set om_sta = '复核完成' where om_notice_id = new.order_id and (select count(*) from wm_to_down_goods where order_id = new.order_id and down_sta is null ) = 0;
end if;
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
--
-- Table structure for table `wm_to_move_goods`
--
DROP TABLE IF EXISTS `wm_to_move_goods`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_to_move_goods` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`order_type_code` varchar(36) DEFAULT NULL COMMENT '原始单据类型',
`order_id` varchar(36) DEFAULT NULL COMMENT '原始单据编码',
`order_id_i` varchar(36) DEFAULT NULL COMMENT '原始单据行项目',
`goods_id` varchar(36) DEFAULT NULL COMMENT '商品编码',
`goods_name` varchar(245) DEFAULT NULL COMMENT '商品名称',
`goods_qua` varchar(32) DEFAULT NULL COMMENT '数量',
`goods_pro_data` varchar(32) DEFAULT NULL COMMENT '生产日期',
`goods_unit` varchar(36) DEFAULT NULL COMMENT '单位',
`cus_code` varchar(36) DEFAULT NULL COMMENT '客户编码',
`cus_name` varchar(245) DEFAULT NULL COMMENT '客户名称',
`tin_from` varchar(45) DEFAULT NULL COMMENT '源托盘',
`tin_id` varchar(45) DEFAULT NULL COMMENT '到托盘',
`bin_from` varchar(45) DEFAULT NULL COMMENT '源储位',
`bin_to` varchar(45) DEFAULT NULL COMMENT '到储位',
`move_sta` varchar(45) DEFAULT NULL COMMENT '状态',
`to_cus_code` varchar(45) DEFAULT NULL COMMENT '转移客户',
`to_cus_name` varchar(45) DEFAULT NULL COMMENT '转移客户名称',
`base_unit` varchar(45) DEFAULT NULL COMMENT '基本单位',
`base_goodscount` varchar(45) DEFAULT NULL COMMENT '基本单位数量',
`to_goods_pro_data` varchar(45) DEFAULT NULL COMMENT '到生产日期',
`run_sta` varchar(45) DEFAULT NULL COMMENT '执行状态',
PRIMARY KEY (`id`),
KEY `ind1` (`bin_from`,`tin_from`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_to_move_goods`
--
LOCK TABLES `wm_to_move_goods` WRITE;
/*!40000 ALTER TABLE `wm_to_move_goods` DISABLE KEYS */;
INSERT INTO `wm_to_move_goods` VALUES ('402881b26793c13b0167a36a1f0903e8',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030467','C030467-川宁 英式早餐红茶 2g*25袋/盒-盒','24','2016-10-07','','xkn-D','xkn-D','A','B','A004','A004','计划中','xkn-D','xkn-D','','24',NULL,NULL),('402881b26793c13b0167a36a1fa503e9',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030750','C030750-芬达 橙味 碳酸饮料 300ml*12瓶/箱-箱','7','2018-06-04','','xkn-D','xkn-D','A','B','01-02-1','01-02-1','计划中','xkn-D','xkn-D','','7',NULL,NULL),('402881b26793c13b0167a36a205103ea',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030750','C030750-芬达 橙味 碳酸饮料 300ml*12瓶/箱-箱','1','2018-05-21','','xkn-D','xkn-D','A','B','A002','A002','计划中','xkn-D','xkn-D','','1',NULL,NULL),('402881b26793c13b0167a36a20ce03eb',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030750','C030750-芬达 橙味 碳酸饮料 300ml*12瓶/箱-箱','4','2018-06-04','','xkn-D','xkn-D','A','B','A002','A002','计划中','xkn-D','xkn-D','','4',NULL,NULL),('402881b26793c13b0167a36a215a03ec',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030114','C030114-可口可乐 冰露饮用矿泉水 350ml*24瓶/箱-箱','2','2018-05-23','','xkn-D','xkn-D','A','B','02-12-1','02-12-1','计划中','xkn-D','xkn-D','','2',NULL,NULL),('402881b26793c13b0167a36a227303ed',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030350','C030350-雪碧 碳酸饮料 300ml*12瓶/箱-箱','10','2018-06-06','','xkn-D','xkn-D','A','B','01-02-1','01-02-1','计划中','xkn-D','xkn-D','','10',NULL,NULL),('402881b26793c13b0167a36a22ff03ee',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030280','C030280-维他 柠檬茶 16盒/箱-箱','1','2018-04-27','','xkn-D','xkn-D','A','B','01-06-1','01-06-1','计划中','xkn-D','xkn-D','','1',NULL,NULL),('402881b26793c13b0167a36a239b03ef',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030460','C030460-雀巢 拿铁即溶咖啡 500g/袋-袋','10','2018-02-03','','xkn-D','xkn-D','A','B','A003','A003','计划中','xkn-D','xkn-D','','10',NULL,NULL),('402881b26793c13b0167a36a242803f0',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030074','C030074-汇源 橙汁 1L/盒-盒','126','2018-03-01','','xkn-D','xkn-D','A','B','02-11-1','02-11-1','计划中','xkn-D','xkn-D','','126',NULL,NULL),('402881b26793c13b0167a36a250203f1',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030077','C030077-汇源 苹果汁 1L/盒-盒','48','2018-02-06','','xkn-D','xkn-D','A','B','02-11-1','02-11-1','计划中','xkn-D','xkn-D','','48',NULL,NULL),('402881b26793c13b0167a36a258e03f2',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030472','C030472-川宁 英式早餐红茶 500g/听-听','6','2017-11-27','','xkn-D','xkn-D','A','B','A004','A004','计划中','xkn-D','xkn-D','','6',NULL,NULL),('402881b26793c13b0167a36a261b03f3',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030480','C030480-川宁 豪门伯爵红茶 500g/听-听','1','2017-09-26','','xkn-D','xkn-D','A','B','A004','A004','计划中','xkn-D','xkn-D','','1',NULL,NULL),('402881b26793c13b0167a36a26a703f4',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C050040','C050040-雀巢 甜奶粉 800g/袋-袋','1','2017-02-22','','xkn-D','xkn-D','A','B','A004','A004','计划中','xkn-D','xkn-D','','1',NULL,NULL),('402881b26793c13b0167a36a273403f5',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030034','C030034-法国进口 依云天然矿泉水 330ml*24瓶/箱-箱','1','2017-06-01','','xkn-D','xkn-D','A','B','A004','A004','计划中','xkn-D','xkn-D','','1',NULL,NULL),('402881b26793c13b0167a36a27c003f6',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'TPZY',NULL,NULL,'C030034','C030034-法国进口 依云天然矿泉水 330ml*24瓶/箱-箱','12','2017-07-12','','xkn-D','xkn-D','A','B','A004','A004','计划中','xkn-D','xkn-D','','12',NULL,NULL),('402881b26793c13b0167a36a285c03f7',NULL,N
/*!40000 ALTER TABLE `wm_to_move_goods` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_to_up`
--
DROP TABLE IF EXISTS `wm_to_up`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_to_up` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bin_id` varchar(32) DEFAULT NULL COMMENT '托盘码',
`ku_wei_bian_ma` varchar(32) DEFAULT NULL COMMENT '库位编码',
`act_type_code` varchar(32) DEFAULT NULL COMMENT '作业类型',
`cus_code` varchar(32) DEFAULT NULL COMMENT '货主',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_to_up`
--
LOCK TABLES `wm_to_up` WRITE;
/*!40000 ALTER TABLE `wm_to_up` DISABLE KEYS */;
/*!40000 ALTER TABLE `wm_to_up` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_to_up_goods`
--
DROP TABLE IF EXISTS `wm_to_up_goods`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_to_up_goods` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`goods_id` varchar(36) DEFAULT NULL COMMENT '商品编码',
`goods_qua` varchar(32) DEFAULT NULL COMMENT '数量',
`order_type_code` varchar(36) DEFAULT NULL COMMENT '原始单据类型',
`order_id` varchar(36) DEFAULT NULL COMMENT '原始单据编码',
`order_id_i` varchar(36) DEFAULT NULL COMMENT '原始单据行项目',
`wm_to_up_id` varchar(36) DEFAULT NULL COMMENT '上架ID',
`goods_unit` varchar(36) DEFAULT NULL COMMENT '单位',
`goods_batch` varchar(32) DEFAULT NULL COMMENT '批次',
`goods_pro_data` varchar(32) DEFAULT NULL COMMENT '生产日期',
`act_type_code` varchar(32) DEFAULT NULL COMMENT '作业类型',
`ku_wei_bian_ma` varchar(32) DEFAULT NULL COMMENT '库位编码',
`bin_id` varchar(32) DEFAULT NULL COMMENT '托盘码',
`cus_code` varchar(32) DEFAULT NULL COMMENT '货主',
`base_unit` varchar(45) DEFAULT NULL COMMENT '基本单位',
`base_goodscount` varchar(45) DEFAULT NULL COMMENT '基本单位数量',
`goods_name` varchar(145) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `btgp` (`ku_wei_bian_ma`,`bin_id`,`goods_id`,`goods_pro_data`,`create_date`),
KEY `upgoods` (`goods_id`,`order_id`,`order_id_i`,`goods_pro_data`,`ku_wei_bian_ma`,`bin_id`,`cus_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_to_up_goods`
--
LOCK TABLES `wm_to_up_goods` WRITE;
/*!40000 ALTER TABLE `wm_to_up_goods` DISABLE KEYS */;
INSERT INTO `wm_to_up_goods` VALUES ('402881b267dba5ef0167e0e01c360003','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030549','35','01','初始化','1406','初始化','','2018-12-01','2018-12-01','初始化','A005','A','xkn-D','','35','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01c750004','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030534','2400','','初始化','1406','初始化','','2018-11-22','2018-11-22','初始化','A005','A','xkn-D','','2400','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01c940005','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030547','264','','初始化','1406','初始化','','2018-11-13','2018-11-13','初始化','A005','A','xkn-D','','264','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01ca40006','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030535','294','','初始化','1406','初始化','','2018-08-20','2018-08-20','初始化','A005','A','xkn-D','','294','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01cd20007','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030548','40','','初始化','1406','初始化','','2018-12-07','2018-12-07','初始化','A005','A','xkn-D','','40','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01cf20008','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030546','48','','初始化','1406','初始化','','2018-11-23','2018-11-23','初始化','A005','A','xkn-D','','48','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01d110009','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030544','480','','初始化','1406','初始化','','2018-11-14','2018-11-14','初始化','A005','A','xkn-D','','480','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01d20000a','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030536','1368','','初始化','1406','初始化','','2018-11-14','2018-11-14','初始化','A005','A','xkn-D','','1368','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01d40000b','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030532','102','','初始化','1406','初始化','','2018-10-06','2018-10-06','初始化','A005','A','xkn-D','','102','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01d6e000c','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030547','3','','初始化','1406','初始化','','2018-05-14','2018-05-14','初始化','07-02-1','A','xkn-D','','3','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01d8e000d','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030537','120','','初始化','1406','初始化','','2018-09-20','2018-09-20','初始化','07-02-1','A','xkn-D','','120','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01d9d000e','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030742','9','','初始化','1406','初始化','','2018-03-01','2018-03-01','初始化','07-02-1','A','xkn-D','','9','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01dbc000f','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030537','528','','初始化','1406','初始化','','2018-09-20','2018-09-20','初始化','07-03-1','A','xkn-D','','528','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01ddc0010','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030736','20','','初始化','1406','初始化','','2018-03-24','2018-03-24','初始化','07-04-1','A','xkn-D','','20','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01dfb0011','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030531','72','','初始化','1406','初始化','','2018-08-24','2018-08-24','初始化','07-04-1','A','xkn-D','','72','灵鹿谷演示数据'),('402881b267dba5ef0167e0e01e1a0012','初始','admin','2018-12-24 23:40:43',NULL,NULL,NULL,'A04','A04','C030744','36','','初始化','1406','初始化','','2018-01-26','2018-01-26','初始化','07-04-1','A','xkn-D','','36','灵鹿谷演示数据'),('402881b267dba5ef01
/*!40000 ALTER TABLE `wm_to_up_goods` ENABLE KEYS */;
UNLOCK TABLES;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO' */ ;
DELIMITER ;;
/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ /*!50003 TRIGGER `wm_up_gr` AFTER INSERT ON `wms`.`wm_to_up_goods` FOR EACH ROW begin
update wm_in_qm_i set bin_sta = 'Y' where id = new.order_id_i;
update wm_im_notice_h set im_sta = '已完成' where notice_id = new.order_id and (select count(*) from wm_im_notice_i where im_notice_id = new.order_id and bin_pre = 'N' ) = 0;
end */;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
--
-- Table structure for table `wm_tuopan`
--
DROP TABLE IF EXISTS `wm_tuopan`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_tuopan` (
`id` varchar(36) NOT NULL,
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
`tin_id` varchar(32) DEFAULT NULL COMMENT '托盘号',
`tin_sort` varchar(32) DEFAULT NULL COMMENT '托盘顺序',
`bin_id` varchar(32) DEFAULT NULL COMMENT '储位',
`tin_status` varchar(32) DEFAULT NULL COMMENT '托盘状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_tuopan`
--
LOCK TABLES `wm_tuopan` WRITE;
/*!40000 ALTER TABLE `wm_tuopan` DISABLE KEYS */;
/*!40000 ALTER TABLE `wm_tuopan` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wm_wendu`
--
DROP TABLE IF EXISTS `wm_wendu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wm_wendu` (
`id` varchar(36) NOT NULL COMMENT '主键',
`create_name` varchar(50) DEFAULT NULL COMMENT '创建人名称',
`create_by` varchar(50) DEFAULT NULL COMMENT '创建人登录名称',
`create_date` datetime DEFAULT NULL COMMENT '创建日期',
`update_name` varchar(50) DEFAULT NULL COMMENT '更新人名称',
`update_by` varchar(50) DEFAULT NULL COMMENT '更新人登录名称',
`update_date` datetime DEFAULT NULL COMMENT '更新日期',
`sys_org_code` varchar(50) DEFAULT NULL COMMENT '所属部门',
`sys_company_code` varchar(50) DEFAULT NULL COMMENT '所属公司',
`bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
`wendu_dd` varchar(32) DEFAULT NULL COMMENT '温度地点',
`wendu_cjsj` datetime DEFAULT NULL COMMENT '采集时间',
`wendu_zhi` varchar(32) DEFAULT NULL COMMENT '温度值摄氏度',
`wendu_bz` varchar(32) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wm_wendu`
--
LOCK TABLES `wm_wendu` WRITE;
/*!40000 ALTER TABLE `wm_wendu` DISABLE KEYS */;
INSERT INTO `wm_wendu` VALUES ('4028818860713add016071f2f7bc00e8','admin','admin','2017-12-20 11:23:56','admin','admin','2017-12-20 11:34:08','A04','A04','1','三楼','2017-12-20 11:22:56','-18','2'),('4028818860713add016071fc86b200e9','admin','admin','2017-12-20 11:34:23',NULL,NULL,NULL,'A04','A04','1','四楼','2017-12-20 11:33:37','-18',NULL);
/*!40000 ALTER TABLE `wm_wendu` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Temporary table structure for view `wv_avabin`
--
DROP TABLE IF EXISTS `wv_avabin`;
/*!50001 DROP VIEW IF EXISTS `wv_avabin`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_avabin` (
`id` tinyint NOT NULL,
`bin_store` tinyint NOT NULL,
`ku_wei_shu_xing` tinyint NOT NULL,
`chp_shu_xing` tinyint NOT NULL,
`binid` tinyint NOT NULL,
`suo_shu_ke_hu` tinyint NOT NULL,
`zui_da_ti_ji` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`chang` tinyint NOT NULL,
`kuan` tinyint NOT NULL,
`gao` tinyint NOT NULL,
`zui_da_tuo_pan` tinyint NOT NULL,
`ting_yong` tinyint NOT NULL,
`ku_wei_lei_xing` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_avabin_all`
--
DROP TABLE IF EXISTS `wv_avabin_all`;
/*!50001 DROP VIEW IF EXISTS `wv_avabin_all`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_avabin_all` (
`id` tinyint NOT NULL,
`bin_store` tinyint NOT NULL,
`ku_wei_shu_xing` tinyint NOT NULL,
`chp_shu_xing` tinyint NOT NULL,
`binid` tinyint NOT NULL,
`suo_shu_ke_hu` tinyint NOT NULL,
`zui_da_ti_ji` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`chang` tinyint NOT NULL,
`kuan` tinyint NOT NULL,
`gao` tinyint NOT NULL,
`zui_da_tuo_pan` tinyint NOT NULL,
`ting_yong` tinyint NOT NULL,
`ku_wei_lei_xing` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_bin`
--
DROP TABLE IF EXISTS `wv_bin`;
/*!50001 DROP VIEW IF EXISTS `wv_bin`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_bin` (
`id` tinyint NOT NULL,
`bin_store` tinyint NOT NULL,
`ku_wei_shu_xing` tinyint NOT NULL,
`chp_shu_xing` tinyint NOT NULL,
`binid` tinyint NOT NULL,
`suo_shu_ke_hu` tinyint NOT NULL,
`zui_da_ti_ji` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`chang` tinyint NOT NULL,
`kuan` tinyint NOT NULL,
`gao` tinyint NOT NULL,
`zui_da_tuo_pan` tinyint NOT NULL,
`ting_yong` tinyint NOT NULL,
`ku_wei_lei_xing` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_bin_all`
--
DROP TABLE IF EXISTS `wv_bin_all`;
/*!50001 DROP VIEW IF EXISTS `wv_bin_all`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_bin_all` (
`id` tinyint NOT NULL,
`bin_store` tinyint NOT NULL,
`ku_wei_shu_xing` tinyint NOT NULL,
`chp_shu_xing` tinyint NOT NULL,
`binid` tinyint NOT NULL,
`suo_shu_ke_hu` tinyint NOT NULL,
`zui_da_ti_ji` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`chang` tinyint NOT NULL,
`kuan` tinyint NOT NULL,
`gao` tinyint NOT NULL,
`zui_da_tuo_pan` tinyint NOT NULL,
`ting_yong` tinyint NOT NULL,
`ku_wei_lei_xing` tinyint NOT NULL,
`tincount` tinyint NOT NULL,
`des` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_day_cost_sum`
--
DROP TABLE IF EXISTS `wv_day_cost_sum`;
/*!50001 DROP VIEW IF EXISTS `wv_day_cost_sum`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_day_cost_sum` (
`id` tinyint NOT NULL,
`cost_data` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`cost_code` tinyint NOT NULL,
`cost_name` tinyint NOT NULL,
`cost_js` tinyint NOT NULL,
`yuanj` tinyint NOT NULL,
`bhsj` tinyint NOT NULL,
`shuie` tinyint NOT NULL,
`cost_sl` tinyint NOT NULL,
`hansj` tinyint NOT NULL,
`cost_unit` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_gi`
--
DROP TABLE IF EXISTS `wv_gi`;
/*!50001 DROP VIEW IF EXISTS `wv_gi`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_gi` (
`id` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`order_id` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_name` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`zhx_unit` tinyint NOT NULL,
`chl_shl` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`cus_name` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`down_sta` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_gi_head`
--
DROP TABLE IF EXISTS `wv_gi_head`;
/*!50001 DROP VIEW IF EXISTS `wv_gi_head`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_gi_head` (
`order_id` tinyint NOT NULL,
`cus_name` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_gi_notice`
--
DROP TABLE IF EXISTS `wv_gi_notice`;
/*!50001 DROP VIEW IF EXISTS `wv_gi_notice`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_gi_notice` (
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`update_date` tinyint NOT NULL,
`id` tinyint NOT NULL,
`om_notice_id` tinyint NOT NULL,
`iom_notice_item` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`tin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`gi_count` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`zhx_unit` tinyint NOT NULL,
`chl_shl` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`assign_To` tinyint NOT NULL,
2019-02-21 00:37:56 +00:00
`shp_gui_ge` tinyint NOT NULL,
2019-02-14 14:28:30 +00:00
`om_bei_zhu` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_gi_notice_head`
--
DROP TABLE IF EXISTS `wv_gi_notice_head`;
/*!50001 DROP VIEW IF EXISTS `wv_gi_notice_head`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_gi_notice_head` (
`om_notice_id` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_gr`
--
DROP TABLE IF EXISTS `wv_gr`;
/*!50001 DROP VIEW IF EXISTS `wv_gr`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_gr` (
`id` tinyint NOT NULL,
`im_notice_id` tinyint NOT NULL,
`kucunsta` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`tin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`qm_ok_quat` tinyint NOT NULL,
`pro_data` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`item_text` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_last_move`
--
DROP TABLE IF EXISTS `wv_last_move`;
/*!50001 DROP VIEW IF EXISTS `wv_last_move`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_last_move` (
`id` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_last_picking`
--
DROP TABLE IF EXISTS `wv_last_picking`;
/*!50001 DROP VIEW IF EXISTS `wv_last_picking`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_last_picking` (
`id` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_last_picking_stock`
--
DROP TABLE IF EXISTS `wv_last_picking_stock`;
/*!50001 DROP VIEW IF EXISTS `wv_last_picking_stock`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_last_picking_stock` (
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`shp_gui_ge` tinyint NOT NULL,
`chl_shl` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`dqr` tinyint NOT NULL,
`ku_wei_lei_xing` tinyint NOT NULL,
`qu_huo_ci_xu` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`bin_store` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`LAST_date` tinyint NOT NULL,
`keyongkucun` tinyint NOT NULL,
`daixiaj` tinyint NOT NULL,
`base_unit` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_no_use_bin`
--
DROP TABLE IF EXISTS `wv_no_use_bin`;
/*!50001 DROP VIEW IF EXISTS `wv_no_use_bin`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_no_use_bin` (
`id` tinyint NOT NULL,
`bin_store` tinyint NOT NULL,
`ku_wei_shu_xing` tinyint NOT NULL,
`chp_shu_xing` tinyint NOT NULL,
`binid` tinyint NOT NULL,
`suo_shu_ke_hu` tinyint NOT NULL,
`zui_da_ti_ji` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`chang` tinyint NOT NULL,
`kuan` tinyint NOT NULL,
`gao` tinyint NOT NULL,
`zui_da_tuo_pan` tinyint NOT NULL,
`ting_yong` tinyint NOT NULL,
`ku_wei_lei_xing` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_notice`
--
DROP TABLE IF EXISTS `wv_notice`;
/*!50001 DROP VIEW IF EXISTS `wv_notice`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_notice` (
`id` tinyint NOT NULL,
`notice_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`im_sta` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`shp_tiao_ma` tinyint NOT NULL,
`cf_wen_ceng` tinyint NOT NULL,
`mp_dan_ceng` tinyint NOT NULL,
`mp_ceng_gao` tinyint NOT NULL,
`ti_ji_cm` tinyint NOT NULL,
`goods_count` tinyint NOT NULL,
`goods_qm_count` tinyint NOT NULL,
`gr_count` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`goods_fvol` tinyint NOT NULL,
`goods_weight` tinyint NOT NULL,
`lastgrdate` tinyint NOT NULL,
`preprodate` tinyint NOT NULL,
`rec_deg` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_notice_head`
--
DROP TABLE IF EXISTS `wv_notice_head`;
/*!50001 DROP VIEW IF EXISTS `wv_notice_head`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_notice_head` (
`notice_id` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_stock`
--
DROP TABLE IF EXISTS `wv_stock`;
/*!50001 DROP VIEW IF EXISTS `wv_stock`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_stock` (
`id` tinyint NOT NULL,
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`kuctype` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`chl_shl` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`shp_gui_ge` tinyint NOT NULL,
`dqr` tinyint NOT NULL,
`ku_wei_lei_xing` tinyint NOT NULL,
`qu_huo_ci_xu` tinyint NOT NULL,
`shang_jia_ci_xu` tinyint NOT NULL,
`bin_store` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_stock_base`
--
DROP TABLE IF EXISTS `wv_stock_base`;
/*!50001 DROP VIEW IF EXISTS `wv_stock_base`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_stock_base` (
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`id` tinyint NOT NULL,
`kuctype` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`yushoutianshu` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`hiti` tinyint NOT NULL,
`shp_bian_makh` tinyint NOT NULL,
`chl_shl` tinyint NOT NULL,
`order_id` tinyint NOT NULL,
`zhl_kg` tinyint NOT NULL,
`shp_gui_ge` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_stock_base_bak`
--
DROP TABLE IF EXISTS `wv_stock_base_bak`;
/*!50001 DROP VIEW IF EXISTS `wv_stock_base_bak`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_stock_base_bak` (
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`id` tinyint NOT NULL,
`kuctype` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`yushoutianshu` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL,
`shl_dan_wei` tinyint NOT NULL,
`hiti` tinyint NOT NULL,
`shp_bian_makh` tinyint NOT NULL,
`chl_shl` tinyint NOT NULL,
`order_id` tinyint NOT NULL,
`zhl_kg` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_stock_base_stock`
--
DROP TABLE IF EXISTS `wv_stock_base_stock`;
/*!50001 DROP VIEW IF EXISTS `wv_stock_base_stock`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_stock_base_stock` (
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`id` tinyint NOT NULL,
`kuctype` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`order_id` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`base_unit` tinyint NOT NULL,
`base_goodscount` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_stock_last_stt`
--
DROP TABLE IF EXISTS `wv_stock_last_stt`;
/*!50001 DROP VIEW IF EXISTS `wv_stock_last_stt`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_stock_last_stt` (
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`id` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`yushoutianshu` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`last_move` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_stock_stt`
--
DROP TABLE IF EXISTS `wv_stock_stt`;
/*!50001 DROP VIEW IF EXISTS `wv_stock_stt`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_stock_stt` (
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`id` tinyint NOT NULL,
`kuctype` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_code` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`yushoutianshu` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`stt_sta` tinyint NOT NULL,
`move_sta` tinyint NOT NULL,
`last_move` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_stock_stt_bin`
--
DROP TABLE IF EXISTS `wv_stock_stt_bin`;
/*!50001 DROP VIEW IF EXISTS `wv_stock_stt_bin`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_stock_stt_bin` (
`create_date` tinyint NOT NULL,
`create_name` tinyint NOT NULL,
`create_by` tinyint NOT NULL,
`id` tinyint NOT NULL,
`kuctype` tinyint NOT NULL,
`ku_wei_bian_ma` tinyint NOT NULL,
`bin_id` tinyint NOT NULL,
`cus_code` tinyint NOT NULL,
`zhong_wen_qch` tinyint NOT NULL,
`goods_id` tinyint NOT NULL,
`goods_qua` tinyint NOT NULL,
`shp_ming_cheng` tinyint NOT NULL,
`goods_pro_data` tinyint NOT NULL,
`bzhi_qi` tinyint NOT NULL,
`goods_unit` tinyint NOT NULL,
`stt_sta` tinyint NOT NULL,
`move_sta` tinyint NOT NULL,
`last_move` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Temporary table structure for view `wv_stt_head`
--
DROP TABLE IF EXISTS `wv_stt_head`;
/*!50001 DROP VIEW IF EXISTS `wv_stt_head`*/;
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `wv_stt_head` (
`id` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;
--
-- Dumping events for database 'wms'
--
--
-- Dumping routines for database 'wms'
--
/*!50003 DROP PROCEDURE IF EXISTS `countfeiyong` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `countfeiyong`(IN `countDate` date)
BEGIN
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `update_rp_period_in_out` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `update_rp_period_in_out`(IN datefrom VARCHAR(45), IN dateto VARCHAR(45), IN username VARCHAR(45))
BEGIN
delete from `rp_period_in_out` where username = username;
INSERT INTO `rp_period_in_out`
(
`create_by`,
`date_period`,
`username`,
`goods_id`,
`goods_name`,
`goods_unit`,
`goods_guige`,
`goods_qc`,
`goods_in`,
`goods_out`,
`goods_qm`,
`goods_now`)
SELECT username, CONCAT(datefrom,dateto),username,wv.goods_id,wv.shp_ming_cheng,wv.shl_dan_wei,wv.shp_gui_ge,
(SELECT
SUM(IFNULL(iwm.base_goodscount,0) )
FROM
mv_down_and_up iwm
WHERE
TO_DAYS(iwm.create_date) < TO_DAYS(datefrom)
AND iwm.goods_id = wv.goods_id),
(SELECT
SUM(IFNULL(iwm.base_goodscount,0) )
FROM
wm_to_up_goods iwm
WHERE
TO_DAYS(iwm.create_date) >= TO_DAYS(datefrom) AND TO_DAYS(iwm.create_date) <= TO_DAYS(dateto)
AND iwm.order_id <> 'ZY' AND iwm.goods_id = wv.goods_id) ,
(SELECT
SUM(IFNULL(ABS(iwm.base_goodscount),0) )
FROM
wm_to_down_goods iwm
WHERE
TO_DAYS(iwm.create_date) >= TO_DAYS(datefrom) AND TO_DAYS(iwm.create_date) <= TO_DAYS(dateto)
AND iwm.order_id <> 'ZY' AND iwm.goods_id = wv.goods_id),
(SELECT
SUM(IFNULL( iwm.base_goodscount,0) )
FROM
mv_down_and_up iwm
WHERE
TO_DAYS(iwm.create_date) <= TO_DAYS(dateto)
AND iwm.goods_id = wv.goods_id),
SUM(IFNULL(base_goodscount,0)) FROM wv_stock wv GROUP BY wv.goods_id;
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
/*!50003 DROP PROCEDURE IF EXISTS `update_wm_his_stock` */;
/*!50003 SET @saved_cs_client = @@character_set_client */ ;
/*!50003 SET @saved_cs_results = @@character_set_results */ ;
/*!50003 SET @saved_col_connection = @@collation_connection */ ;
/*!50003 SET character_set_client = utf8 */ ;
/*!50003 SET character_set_results = utf8 */ ;
/*!50003 SET collation_connection = utf8_general_ci */ ;
/*!50003 SET @saved_sql_mode = @@sql_mode */ ;
/*!50003 SET sql_mode = 'STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;
DELIMITER ;;
CREATE DEFINER=`root`@`localhost` PROCEDURE `update_wm_his_stock`(IN wmdate VARCHAR(45))
BEGIN
DELETE FROM wm_his_stock WHERE his_date = wmdate;
DELETE FROM wm_his_stock_ku WHERE his_date = wmdate;
delete from wm_day_his WHERE his_date <> '9999-12-31';
DELETE FROM zzjee.wm_day_cost WHERE day_cost_yj = 0;
INSERT INTO wm_his_stock (
`id` ,
`his_date` ,
`cus_code` ,
`ku_wei_bian_ma` ,
`bin_id` ,
`goods_id` ,
`count` ,
`base_unit`
)
SELECT
CONCAT(wmdate,
mdp.cus_code,
mdp.ku_wei_bian_ma,
mdp.bin_id,
mdp.goods_id) AS id,
wmdate AS his_date,
mdp.cus_code,
mdp.ku_wei_bian_ma,
mdp.bin_id,
mdp.goods_id,
SUM(base_goodscount) AS COUNT,
mdp.base_unit
FROM
mv_down_and_up mdp
JOIN `md_bin` `mb`
WHERE (`mdp`.`ku_wei_bian_ma` = `mb`.`ku_wei_bian_ma`) AND(
(mdp.leixing = 'S'
AND TO_DAYS(mdp.create_date) <= TO_DAYS(wmdate))
OR (mdp.order_id <> 'ZY'
AND mdp.leixing = 'H'
AND TO_DAYS(mdp.create_date) < TO_DAYS(wmdate))
OR (mdp.order_id = 'ZY'
AND mdp.leixing = 'H'
AND TO_DAYS(mdp.create_date) <= TO_DAYS(wmdate)))
GROUP BY mdp.cus_code , mdp.ku_wei_bian_ma , mdp.bin_id
HAVING SUM(base_goodscount) <> 0
ORDER BY mdp.cus_code , mdp.create_date;
INSERT INTO wm_his_stock_ku (
`id` ,
`his_date` ,
`cus_code` ,
`ku_wei_bian_ma` ,
`bin_id` ,
`goods_id` ,
`count` ,
`base_unit`
)
SELECT
CONCAT(wmdate,
mdp.cus_code,
mdp.ku_wei_bian_ma,
mdp.bin_id,
mdp.goods_id) AS id,
wmdate AS his_date,
mdp.cus_code,
mdp.ku_wei_bian_ma,
mdp.bin_id,
mdp.goods_id,
SUM(base_goodscount) AS COUNT,
mdp.base_unit
FROM
mv_down_and_up mdp
JOIN `md_bin` `mb`
WHERE (`mdp`.`ku_wei_bian_ma` = `mb`.`ku_wei_bian_ma`) AND
((mdp.leixing = 'S'
AND TO_DAYS(mdp.create_date) <= TO_DAYS(wmdate))
OR (mdp.leixing = 'H'
AND TO_DAYS(mdp.create_date) <= TO_DAYS(wmdate)))
GROUP BY mdp.cus_code , mdp.ku_wei_bian_ma , mdp.bin_id,mdp.goods_id
HAVING SUM(base_goodscount) <> 0
ORDER BY mdp.cus_code , mdp.create_date;
INSERT INTO `wm_day_his`
(`id`,
`his_date`,
`his_day_in`,
`his_day_out`,
`his_day_amount`)
select
cost_date as id,
cost_date ,
(SELECT
sum(iwm.base_goodscount * iwm.zhl_kg)
FROM
mv_down_and_up iwm
where
to_days(iwm.create_date) = to_days(hku.cost_date)
and iwm.leixing = 'S') as his_day_in,
(SELECT
sum(owm.base_goodscount * owm.zhl_kg)
FROM
mv_down_and_up owm
where
to_days(owm.create_date) = to_days(hku.cost_date)
and owm.leixing = 'H') as his_day_out,
(SELECT
sum(iowm.base_goodscount * iowm.zhl_kg)
FROM
mv_down_and_up iowm
where
to_days(iowm.create_date) <= to_days(hku.cost_date)
) as his_day_amount
from
wm_day_cost_conf hku
group by cost_date
order by cost_date asc;
END ;;
DELIMITER ;
/*!50003 SET sql_mode = @saved_sql_mode */ ;
/*!50003 SET character_set_client = @saved_cs_client */ ;
/*!50003 SET character_set_results = @saved_cs_results */ ;
/*!50003 SET collation_connection = @saved_col_connection */ ;
--
-- Final view structure for view `mv_cus`
--
/*!50001 DROP TABLE IF EXISTS `mv_cus`*/;
/*!50001 DROP VIEW IF EXISTS `mv_cus`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `mv_cus` AS select `mc`.`id` AS `id`,`mc`.`ke_hu_bian_ma` AS `cus_code`,concat(`mc`.`ke_hu_bian_ma`,'-',`mc`.`zhong_wen_qch`) AS `cus_name` from `md_cus` `mc` order by `mc`.`ke_hu_bian_ma` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `mv_cus_cost`
--
/*!50001 DROP TABLE IF EXISTS `mv_cus_cost`*/;
/*!50001 DROP VIEW IF EXISTS `mv_cus_cost`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `mv_cus_cost` AS select `mc`.`id` AS `id`,`mc`.`ke_hu_bian_ma` AS `cus_code`,`mc`.`zhong_wen_qch` AS `cus_name`,(select `wc`.`cost_data` from `wm_day_cost` `wc` where (`wc`.`cus_code` = `mc`.`ke_hu_bian_ma`) limit 1) AS `cost_data` from `md_cus` `mc` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `mv_cus_other`
--
/*!50001 DROP TABLE IF EXISTS `mv_cus_other`*/;
/*!50001 DROP VIEW IF EXISTS `mv_cus_other`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `mv_cus_other` AS select `mc`.`id` AS `id`,`mc`.`suo_shu_ke_hu` AS `suo_shu_ke_hu`,`mc`.`ke_hu_bian_ma` AS `cus_code`,concat(`mc`.`ke_hu_bian_ma`,'-',`mc`.`zhong_wen_qch`) AS `cus_name` from `md_cus_other` `mc` order by `mc`.`ke_hu_bian_ma` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `mv_down_and_up`
--
/*!50001 DROP TABLE IF EXISTS `mv_down_and_up`*/;
/*!50001 DROP VIEW IF EXISTS `mv_down_and_up`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `mv_down_and_up` AS select 'H' AS `leixing`,`wm_to_down_goods`.`id` AS `id`,`wm_to_down_goods`.`create_name` AS `create_name`,`wm_to_down_goods`.`create_by` AS `create_by`,`wm_to_down_goods`.`create_date` AS `create_date`,`wm_to_down_goods`.`order_id` AS `order_id`,`wm_to_down_goods`.`order_id_i` AS `order_id_i`,`wm_to_down_goods`.`goods_unit` AS `goods_unit`,`wm_to_down_goods`.`goods_pro_data` AS `goods_pro_data`,`wm_to_down_goods`.`goods_batch` AS `goods_batch`,`wm_to_down_goods`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wm_to_down_goods`.`bin_id_from` AS `bin_id`,`wm_to_down_goods`.`cus_code` AS `cus_code`,`wm_to_down_goods`.`base_unit` AS `base_unit`,(0 - `wm_to_down_goods`.`base_goodscount`) AS `base_goodscount`,(select `md_goods`.`goods_id` from `mv_goods` `md_goods` where (`md_goods`.`goods_code` = `wm_to_down_goods`.`goods_id`)) AS `goods_id`,(select `md_goods`.`zhl_kg` from `mv_goods` `md_goods` where (`md_goods`.`goods_code` = `wm_to_down_goods`.`goods_id`)) AS `zhl_kg`,(select `md_goods`.`chl_shl` from `mv_goods` `md_goods` where (`md_goods`.`goods_code` = `wm_to_down_goods`.`goods_id`)) AS `chl_shl`,(select `md_goods`.`jf_shp_lei` from `mv_goods` `md_goods` where (`md_goods`.`goods_code` = `wm_to_down_goods`.`goods_id`)) AS `jf_shp_lei` from `wm_to_down_goods` union all select 'S' AS `leixing`,`wm_to_up_goods`.`id` AS `id`,`wm_to_up_goods`.`create_name` AS `create_name`,`wm_to_up_goods`.`create_by` AS `create_by`,`wm_to_up_goods`.`create_date` AS `create_date`,`wm_to_up_goods`.`order_id` AS `order_id`,`wm_to_up_goods`.`order_id_i` AS `order_id_i`,`wm_to_up_goods`.`goods_unit` AS `goods_unit`,`wm_to_up_goods`.`goods_pro_data` AS `goods_pro_data`,`wm_to_up_goods`.`goods_batch` AS `goods_batch`,`wm_to_up_goods`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wm_to_up_goods`.`bin_id` AS `bin_id`,`wm_to_up_goods`.`cus_code` AS `cus_code`,`wm_to_up_goods`.`base_unit` AS `base_unit`,`wm_to_up_goods`.`base_goodscount` AS `base_goodscount`,(select `md_goods`.`goods_id` from `mv_goods` `md_goods` where (`md_goods`.`goods_code` = `wm_to_up_goods`.`goods_id`)) AS `goods_id`,(select `md_goods`.`zhl_kg` from `mv_goods` `md_goods` where (`md_goods`.`goods_code` = `wm_to_up_goods`.`goods_id`)) AS `zhl_kg`,(select `md_goods`.`chl_shl` from `mv_goods` `md_goods` where (`md_goods`.`goods_code` = `wm_to_up_goods`.`goods_id`)) AS `chl_shl`,(select `md_goods`.`jf_shp_lei` from `mv_goods` `md_goods` where (`md_goods`.`goods_code` = `wm_to_up_goods`.`goods_id`)) AS `jf_shp_lei` from `wm_to_up_goods` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `mv_du_days`
--
/*!50001 DROP TABLE IF EXISTS `mv_du_days`*/;
/*!50001 DROP VIEW IF EXISTS `mv_du_days`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `mv_du_days` AS select date_format(`mv_down_and_up`.`create_date`,'yyyy-MM-dd') AS `date_format(create_date,'yyyy-MM-dd')` from `mv_down_and_up` group by date_format(`mv_down_and_up`.`create_date`,'yyyy-MM-dd') */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `mv_goods`
--
/*!50001 DROP TABLE IF EXISTS `mv_goods`*/;
/*!50001 DROP VIEW IF EXISTS `mv_goods`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `mv_goods` AS select `mg`.`id` AS `id`,`mg`.`suo_shu_ke_hu` AS `cus_code`,`mg`.`shp_bian_ma` AS `goods_id`,`mg`.`shp_bian_ma` AS `goods_code`,concat(`mg`.`shp_bian_ma`,'-',`mg`.`shp_ming_cheng`,'-',`mg`.`shl_dan_wei`) AS `goods_name`,`mg`.`shp_ming_cheng` AS `shp_ming_cheng`,`mg`.`jf_shp_lei` AS `jf_shp_lei`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,`mg`.`cf_wen_ceng` AS `cf_wen_ceng`,`mg`.`mp_dan_ceng` AS `mp_dan_ceng`,`mg`.`mp_ceng_gao` AS `mp_ceng_gao`,`mg`.`shp_tiao_ma` AS `shp_tiao_ma`,`mg`.`bzhi_qi` AS `bzhi_qi`,`mg`.`zhl_kgm` AS `zhl_kgm`,`mg`.`chl_shl` AS `chl_shl`,`mg`.`ti_ji_cm` AS `ti_ji_cm`,`mg`.`zhl_kg` AS `zhl_kg`,`mg`.`zhl_kg` AS `zhl_kg_zx`,`mg`.`chp_shu_xing` AS `chp_shu_xing`,`mg`.`jsh_dan_wei` AS `baseunit`,`mg`.`JIZHUN_WENDU` AS `jizhun_wendu`,`mg`.`SHP_BIAN_MAKH` AS `shp_bian_makh`,'N' AS `chailing`,`mg`.`shl_dan_wei` AS `zhx_unit`,`mg`.`shp_gui_ge` AS `shp_gui_ge` from `md_goods` `mg` union all select concat(`mg`.`id`,'l') AS `id`,`mg`.`suo_shu_ke_hu` AS `cus_code`,`mg`.`shp_bian_ma` AS `goods_id`,concat(`mg`.`shp_bian_ma`,'l') AS `goods_code`,concat(`mg`.`shp_bian_ma`,'l-',`mg`.`shp_ming_cheng`,'-',`mg`.`jsh_dan_wei`) AS `goods_name`,`mg`.`shp_ming_cheng` AS `shp_ming_cheng`,`mg`.`jf_shp_lei` AS `jf_shp_lei`,`mg`.`jsh_dan_wei` AS `shl_dan_wei`,`mg`.`cf_wen_ceng` AS `cf_wen_ceng`,`mg`.`mp_dan_ceng` AS `mp_dan_ceng`,`mg`.`mp_ceng_gao` AS `mp_ceng_gao`,`mg`.`shp_tiao_ma` AS `shp_tiao_ma`,`mg`.`bzhi_qi` AS `bzhi_qi`,`mg`.`zhl_kgm` AS `zhl_kgm`,`mg`.`chl_shl` AS `chl_shl`,cast((`mg`.`ti_ji_cm` / `mg`.`chl_shl`) as signed) AS `ti_ji_cm`,(`mg`.`zhl_kg` / `mg`.`chl_shl`) AS `zhl_kg`,`mg`.`zhl_kg` AS `zhl_kg_zx`,`mg`.`chp_shu_xing` AS `chp_shu_xing`,`mg`.`jsh_dan_wei` AS `baseunit`,`mg`.`JIZHUN_WENDU` AS `jizhun_wendu`,`mg`.`SHP_BIAN_MAKH` AS `shp_bian_makh`,'Y' AS `chailing`,`mg`.`shl_dan_wei` AS `zhx_unit`,`mg`.`shp_gui_ge` AS `shp_gui_ge` from `md_goods` `mg` where (`mg`.`chl_kong_zhi` = 'Y') */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `mv_stock_cus`
--
/*!50001 DROP TABLE IF EXISTS `mv_stock_cus`*/;
/*!50001 DROP VIEW IF EXISTS `mv_stock_cus`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `mv_stock_cus` AS select `wg`.`id` AS `id`,`wg`.`kuctype` AS `kuctype`,cast(sum(`wg`.`goods_qua`) as signed) AS `goods_qua`,`wg`.`goods_unit` AS `goods_unit`,cast(sum(`wg`.`base_goodscount`) as signed) AS `base_goodscount`,`wg`.`base_unit` AS `base_unit`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wg`.`bin_id` AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`zhong_wen_qch` AS `zhong_wen_qch`,`wg`.`goods_pro_data` AS `goods_pro_data`,`wg`.`bzhi_qi` AS `bzhi_qi`,(`wg`.`goods_pro_data` + interval `wg`.`bzhi_qi` day) AS `dqr`,`mb`.`ku_wei_lei_xing` AS `ku_wei_lei_xing`,`mb`.`qu_huo_ci_xu` AS `qu_huo_ci_xu`,`mb`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`wg`.`goods_id` AS `goods_id`,`wg`.`shp_ming_cheng` AS `shp_ming_cheng`,`wg`.`shl_dan_wei` AS `shl_dan_wei`,`wg`.`hiti` AS `hiti`,`wg`.`shp_bian_makh` AS `shp_bian_makh`,(cast(sum(`wg`.`base_goodscount`) as signed) * `wg`.`zhl_kg`) AS `zhong_liang` from (`wv_stock_base` `wg` left join `md_bin` `mb` on((`wg`.`ku_wei_bian_ma` = `mb`.`ku_wei_bian_ma`))) group by `wg`.`cus_code`,`wg`.`zhong_wen_qch`,`wg`.`goods_code`,`wg`.`goods_pro_data`,`wg`.`bzhi_qi`,`wg`.`kuctype` having (sum(`wg`.`base_goodscount`) <> 0) order by `wg`.`cus_code`,`wg`.`goods_id` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `mv_stock_yj`
--
/*!50001 DROP TABLE IF EXISTS `mv_stock_yj`*/;
/*!50001 DROP VIEW IF EXISTS `mv_stock_yj`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `mv_stock_yj` AS select `mv_stock_yj_base`.`id` AS `id`,`mv_stock_yj_base`.`kuctype` AS `kuctype`,`mv_stock_yj_base`.`base_goodscount` AS `base_goodscount`,`mv_stock_yj_base`.`base_unit` AS `base_unit`,`mv_stock_yj_base`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`mv_stock_yj_base`.`bin_id` AS `bin_id`,`mv_stock_yj_base`.`cus_code` AS `cus_code`,`mv_stock_yj_base`.`zhong_wen_qch` AS `zhong_wen_qch`,`mv_stock_yj_base`.`goods_id` AS `goods_id`,`mv_stock_yj_base`.`shp_ming_cheng` AS `shp_ming_cheng`,`mv_stock_yj_base`.`shl_dan_wei` AS `shl_dan_wei`,`mv_stock_yj_base`.`goods_pro_data` AS `goods_pro_data`,`mv_stock_yj_base`.`bzhi_qi` AS `bzhi_qi`,`mv_stock_yj_base`.`dqr` AS `dqr`,`mv_stock_yj_base`.`res_date` AS `res_date`,`mv_stock_yj_base`.`qu_huo_ci_xu` AS `qu_huo_ci_xu`,`mv_stock_yj_base`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`mv_stock_yj_base`.`shp_bian_makh` AS `shp_bian_makh`,cast((`mv_stock_yj_base`.`res_date` / `mv_stock_yj_base`.`bzhi_qi`) as decimal(10,2)) AS `guoqibili` from `mv_stock_yj_base` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `mv_stock_yj_base`
--
/*!50001 DROP TABLE IF EXISTS `mv_stock_yj_base`*/;
/*!50001 DROP VIEW IF EXISTS `mv_stock_yj_base`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `mv_stock_yj_base` AS select `wg`.`id` AS `id`,`wg`.`kuctype` AS `kuctype`,cast(sum(`wg`.`base_goodscount`) as signed) AS `base_goodscount`,`wg`.`base_unit` AS `base_unit`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wg`.`bin_id` AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`zhong_wen_qch` AS `zhong_wen_qch`,`mg`.`goods_id` AS `goods_id`,`mg`.`shp_ming_cheng` AS `shp_ming_cheng`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,`wg`.`goods_pro_data` AS `goods_pro_data`,`wg`.`bzhi_qi` AS `bzhi_qi`,(`wg`.`goods_pro_data` + interval `wg`.`bzhi_qi` day) AS `dqr`,(`wg`.`bzhi_qi` - (to_days(now()) - to_days(`wg`.`goods_pro_data`))) AS `res_date`,1 AS `qu_huo_ci_xu`,2 AS `shang_jia_ci_xu`,`mg`.`shp_bian_makh` AS `shp_bian_makh` from (`wv_stock_base` `wg` left join `mv_goods` `mg` on((`mg`.`goods_code` = `wg`.`goods_id`))) group by `wg`.`cus_code`,`wg`.`zhong_wen_qch`,`mg`.`goods_id`,`mg`.`shp_ming_cheng`,`wg`.`goods_pro_data`,`wg`.`bzhi_qi`,`wg`.`kuctype` having (sum(`wg`.`base_goodscount`) <> 0) order by `dqr`,`wg`.`cus_code` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `rp_wm_down_and_qm`
--
/*!50001 DROP TABLE IF EXISTS `rp_wm_down_and_qm`*/;
/*!50001 DROP VIEW IF EXISTS `rp_wm_down_and_qm`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `rp_wm_down_and_qm` AS select `t`.`id` AS `id`,`h`.`om_sta` AS `om_sta`,`t`.`om_notice_id` AS `om_notice_id`,`h`.`IM_CUS_CODE` AS `im_cus_code`,`h`.`ocus_code` AS `ocus_code`,`h`.`ocus_name` AS `ocus_name`,`h`.`om_beizhu` AS `om_beizhu`,`h`.`delv_addr` AS `delv_addr`,`t`.`goods_id` AS `goods_id`,`t`.`goods_name` AS `goods_name`,`t`.`base_goodscount` AS `base_goodscount`,`t`.`goods_unit` AS `goods_unit`,`t`.`plan_sta` AS `plan_sta`,(select sum(`om`.`base_goodscount`) from `wm_om_qm_i` `om` where (`om`.`iom_notice_item` = `t`.`id`)) AS `sumqua` from (`wm_om_notice_i` `t` join `wm_om_notice_h` `h`) where ((`t`.`om_notice_id` = `h`.`om_notice_id`) and ((`h`.`om_sta` <> '已删除') or isnull(`h`.`om_sta`))) order by `h`.`create_date` desc */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `rp_wm_his_stock_ku`
--
/*!50001 DROP TABLE IF EXISTS `rp_wm_his_stock_ku`*/;
/*!50001 DROP VIEW IF EXISTS `rp_wm_his_stock_ku`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `rp_wm_his_stock_ku` AS select `wh`.`id` AS `id`,`wh`.`his_date` AS `his_date`,`wh`.`cus_code` AS `cus_code`,`mc`.`zhong_wen_qch` AS `zhong_wen_qch`,`wh`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wh`.`bin_id` AS `bin_id`,`wh`.`goods_id` AS `goods_id`,`mg`.`shp_ming_cheng` AS `shp_ming_cheng`,`wh`.`count` AS `count`,`wh`.`base_unit` AS `base_unit`,(`mg`.`zhl_kg` / `mg`.`chl_shl`) AS `zhl_kg`,`mg`.`chl_shl` AS `chl_shl` from ((`wm_his_stock_ku` `wh` join `md_cus` `mc`) join `md_goods` `mg`) where ((`wh`.`cus_code` = `mc`.`ke_hu_bian_ma`) and (`wh`.`goods_id` = `mg`.`shp_bian_ma`)) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `rp_wm_in_qm`
--
/*!50001 DROP TABLE IF EXISTS `rp_wm_in_qm`*/;
/*!50001 DROP VIEW IF EXISTS `rp_wm_in_qm`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `rp_wm_in_qm` AS select `wg`.`id` AS `id`,`wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`im_notice_id` AS `im_notice_id`,`wg`.`item_text` AS `item_text`,`wg`.`rec_deg` AS `rec_deg`,`wg`.`bin_id` AS `ku_wei_bian_ma`,`wg`.`tin_id` AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`mc`.`zhong_wen_qch` AS `zhong_wen_qch`,`mg`.`goods_id` AS `goods_code`,`wg`.`goods_id` AS `goods_id`,`wg`.`qm_ok_quat` AS `goods_qua`,`mg`.`goods_name` AS `shp_ming_cheng`,`wg`.`pro_data` AS `goods_pro_data`,`mg`.`bzhi_qi` AS `bzhi_qi`,`wg`.`goods_unit` AS `goods_unit`,`wg`.`base_unit` AS `base_unit`,`wg`.`base_goodscount` AS `base_goodscount`,`mg`.`zhl_kg` AS `zhl_kg`,(`wg`.`base_goodscount` * `mg`.`zhl_kg`) AS `sumzhl` from ((`wm_in_qm_i` `wg` join `md_cus` `mc`) join `mv_goods` `mg`) where ((`wg`.`cus_code` = `mc`.`ke_hu_bian_ma`) and (`wg`.`goods_id` = `mg`.`goods_code`)) having (`wg`.`base_goodscount` > 0) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `rp_wm_to_down_goods`
--
/*!50001 DROP TABLE IF EXISTS `rp_wm_to_down_goods`*/;
/*!50001 DROP VIEW IF EXISTS `rp_wm_to_down_goods`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `rp_wm_to_down_goods` AS select `wg`.`id` AS `id`,`wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`order_id` AS `order_id`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wg`.`bin_id_from` AS `bin_id`,`wg`.`bin_id_to` AS `bin_id_to`,`wg`.`cus_code` AS `cus_code`,`mc`.`zhong_wen_qch` AS `zhong_wen_qch`,`mg`.`goods_id` AS `goods_code`,`mg`.`goods_name` AS `shp_ming_cheng`,`wg`.`goods_pro_data` AS `goods_pro_data`,`mg`.`bzhi_qi` AS `bzhi_qi`,`wg`.`base_unit` AS `base_unit`,`wg`.`base_goodscount` AS `base_goodscount`,`mg`.`zhl_kg` AS `zhl_kg`,(select `wm_om_notice_h`.`re_member` from `wm_om_notice_h` where (`wm_om_notice_h`.`om_notice_id` = `wg`.`order_id`)) AS `shouhuoren` from ((`wm_to_down_goods` `wg` join `md_cus` `mc`) join `mv_goods` `mg`) where ((`wg`.`cus_code` = `mc`.`ke_hu_bian_ma`) and (`wg`.`goods_id` = `mg`.`goods_code`)) order by `wg`.`create_date` desc */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `rp_wm_to_up_goods`
--
/*!50001 DROP TABLE IF EXISTS `rp_wm_to_up_goods`*/;
/*!50001 DROP VIEW IF EXISTS `rp_wm_to_up_goods`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `rp_wm_to_up_goods` AS select `wg`.`id` AS `id`,`wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`order_id` AS `order_id`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wg`.`bin_id` AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`mc`.`zhong_wen_qch` AS `zhong_wen_qch`,`mg`.`goods_id` AS `goods_code`,`mg`.`goods_name` AS `shp_ming_cheng`,`wg`.`goods_pro_data` AS `goods_pro_data`,`mg`.`bzhi_qi` AS `bzhi_qi`,`wg`.`base_unit` AS `base_unit`,`wg`.`base_goodscount` AS `base_goodscount`,`mg`.`zhl_kg` AS `zhl_kg` from ((`wm_to_up_goods` `wg` join `md_cus` `mc`) join `mv_goods` `mg`) where ((`wg`.`cus_code` = `mc`.`ke_hu_bian_ma`) and (`wg`.`goods_id` = `mg`.`goods_code`)) order by `wg`.`create_date` desc */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `rp_wm_up_and_down`
--
/*!50001 DROP TABLE IF EXISTS `rp_wm_up_and_down`*/;
/*!50001 DROP VIEW IF EXISTS `rp_wm_up_and_down`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `rp_wm_up_and_down` AS select `wv`.`id` AS `id`,`wv`.`create_date` AS `create_date`,`wv`.`order_id` AS `order_id`,`wv`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wv`.`bin_id` AS `bin_id`,`wv`.`cus_code` AS `cus_code`,`wv`.`zhong_wen_qch` AS `zhong_wen_qch`,`wv`.`goods_id` AS `goods_id`,`wv`.`shp_ming_cheng` AS `shp_ming_cheng`,`wv`.`goods_pro_data` AS `goods_pro_data`,`wv`.`base_goodscount` AS `base_goodscount`,`wv`.`base_unit` AS `base_unit`,`mb`.`ku_wei_lei_xing` AS `leixing` from (`wv_stock_base` `wv` join `md_bin` `mb`) where ((`wv`.`ku_wei_bian_ma` = `mb`.`ku_wei_bian_ma`) and (`wv`.`kuctype` = '库存')) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `v_order_stat`
--
/*!50001 DROP TABLE IF EXISTS `v_order_stat`*/;
/*!50001 DROP VIEW IF EXISTS `v_order_stat`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `v_order_stat` AS select count(`wm_im_notice_h`.`id`) AS `count`,left(`wm_im_notice_h`.`create_date`,7) AS `month` from `wm_im_notice_h` where (left(`wm_im_notice_h`.`create_date`,4) = left(sysdate(),4)) group by `month` order by `month` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wave_fuhe`
--
/*!50001 DROP TABLE IF EXISTS `wave_fuhe`*/;
/*!50001 DROP VIEW IF EXISTS `wave_fuhe`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wave_fuhe` AS select `wd`.`id` AS `id`,`wd`.`create_by` AS `create_by`,`wd`.`create_name` AS `create_name`,`wd`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wd`.`order_id` AS `order_id`,`wd`.`order_type` AS `order_type`,`wd`.`goods_id` AS `goods_id`,`mg`.`goods_name` AS `goods_name`,`wd`.`base_goodscount` AS `goods_qua`,`mg`.`baseunit` AS `shl_dan_wei`,`wd`.`cus_code` AS `cus_code`,`mc`.`cus_name` AS `cus_name`,`wd`.`goods_pro_data` AS `goods_pro_data`,`wd`.`down_sta` AS `down_sta` from ((`wm_to_down_goods` `wd` join `mv_goods` `mg`) join `mv_cus` `mc`) where ((`wd`.`cus_code` = `mc`.`cus_code`) and (`wd`.`goods_id` = `mg`.`goods_code`) and (`wd`.`order_type` = '99') and isnull(`wd`.`down_sta`)) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wave_fuhe_head`
--
/*!50001 DROP TABLE IF EXISTS `wave_fuhe_head`*/;
/*!50001 DROP VIEW IF EXISTS `wave_fuhe_head`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wave_fuhe_head` AS select `wave_fuhe`.`order_id` AS `order_id`,`wave_fuhe`.`cus_name` AS `cus_name`,`wave_fuhe`.`create_by` AS `create_by` from `wave_fuhe` group by `wave_fuhe`.`order_id`,`wave_fuhe`.`cus_name`,`wave_fuhe`.`create_by` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wave_to_down`
--
/*!50001 DROP TABLE IF EXISTS `wave_to_down`*/;
/*!50001 DROP VIEW IF EXISTS `wave_to_down`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wave_to_down` AS select `wo`.`id` AS `id`,`wo`.`create_by` AS `create_by`,`wo`.`create_name` AS `create_name`,`wo`.`cus_code` AS `cus_code`,`wo`.`cus_name` AS `cus_name`,`wo`.`wave_id` AS `wave_id`,`wo`.`goods_id` AS `goods_id`,`wo`.`goods_name` AS `goods_name`,`wo`.`im_cus_code` AS `im_cus_code`,`wo`.`om_bei_zhu` AS `om_bei_zhu`,`wo`.`bin_id` AS `bin_id`,`wo`.`tin_id` AS `tin_id`,`wo`.`pro_data` AS `pro_data`,sum(`wo`.`base_goodscount`) AS `base_goodscount`,`wo`.`base_unit` AS `base_unit` from `wm_om_qm_i` `wo` where ((`wo`.`wave_id` is not null) and (`wo`.`bin_sta` = 'N')) group by `wo`.`cus_code`,`wo`.`cus_name`,`wo`.`wave_id`,`wo`.`goods_id`,`wo`.`goods_name`,`wo`.`im_cus_code`,`wo`.`om_bei_zhu`,`wo`.`bin_id`,`wo`.`tin_id`,`wo`.`pro_data` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wave_to_down_head`
--
/*!50001 DROP TABLE IF EXISTS `wave_to_down_head`*/;
/*!50001 DROP VIEW IF EXISTS `wave_to_down_head`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wave_to_down_head` AS select `wave_to_down`.`wave_id` AS `wave_id`,`wave_to_down`.`cus_name` AS `cus_name` from `wave_to_down` group by `wave_to_down`.`wave_id`,`wave_to_down`.`cus_name` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wave_to_fj`
--
/*!50001 DROP TABLE IF EXISTS `wave_to_fj`*/;
/*!50001 DROP VIEW IF EXISTS `wave_to_fj`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wave_to_fj` AS select `wo`.`id` AS `id`,`wo`.`create_by` AS `create_by`,`wo`.`create_name` AS `create_name`,`wo`.`cus_code` AS `cus_code`,`wo`.`cus_name` AS `cus_name`,`wo`.`om_notice_id` AS `om_notice_id`,`wo`.`iom_notice_item` AS `iom_notice_item`,`wo`.`goods_id` AS `goods_id`,`wo`.`goods_name` AS `goods_name`,`wo`.`bin_id` AS `bin_id`,`wo`.`tin_id` AS `tin_id`,`wo`.`pro_data` AS `pro_data`,sum(`wo`.`base_goodscount`) AS `base_goodscount`,`wo`.`base_unit` AS `base_unit`,`wo`.`wave_id` AS `wave_id` from `wm_om_qm_i` `wo` where ((`wo`.`wave_id` is not null) and (`wo`.`bin_sta` = 'H')) group by `wo`.`cus_code`,`wo`.`cus_name`,`wo`.`om_notice_id`,`wo`.`iom_notice_item`,`wo`.`goods_id`,`wo`.`goods_name`,`wo`.`bin_id`,`wo`.`tin_id` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wave_to_fj_head`
--
/*!50001 DROP TABLE IF EXISTS `wave_to_fj_head`*/;
/*!50001 DROP VIEW IF EXISTS `wave_to_fj_head`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wave_to_fj_head` AS select `wave_to_fj`.`om_notice_id` AS `om_notice_id`,`wave_to_fj`.`cus_name` AS `cus_name`,`wave_to_fj`.`wave_id` AS `wave_id` from `wave_to_fj` group by `wave_to_fj`.`om_notice_id`,`wave_to_fj`.`cus_name`,`wave_to_fj`.`wave_id` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wave_to_zcfh`
--
/*!50001 DROP TABLE IF EXISTS `wave_to_zcfh`*/;
/*!50001 DROP VIEW IF EXISTS `wave_to_zcfh`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wave_to_zcfh` AS select `wo`.`id` AS `id`,`wo`.`create_by` AS `create_by`,`wo`.`create_name` AS `create_name`,`wo`.`cus_code` AS `cus_code`,`wo`.`cus_name` AS `cus_name`,`wo`.`om_notice_id` AS `om_notice_id`,`wo`.`iom_notice_item` AS `iom_notice_item`,`wo`.`goods_id` AS `goods_id`,`wo`.`goods_name` AS `goods_name`,`wo`.`bin_id` AS `bin_id`,`wo`.`tin_id` AS `tin_id`,`wo`.`pro_data` AS `pro_data`,sum(`wo`.`base_goodscount`) AS `base_goodscount`,`wo`.`base_unit` AS `base_unit`,`wo`.`wave_id` AS `wave_id` from `wm_om_qm_i` `wo` where ((`wo`.`wave_id` is not null) and (`wo`.`bin_sta` = 'F')) group by `wo`.`cus_code`,`wo`.`cus_name`,`wo`.`om_notice_id`,`wo`.`iom_notice_item`,`wo`.`goods_id`,`wo`.`goods_name`,`wo`.`bin_id`,`wo`.`tin_id` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wave_to_zcfh_head`
--
/*!50001 DROP TABLE IF EXISTS `wave_to_zcfh_head`*/;
/*!50001 DROP VIEW IF EXISTS `wave_to_zcfh_head`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wave_to_zcfh_head` AS select `wave_to_zcfh`.`om_notice_id` AS `om_notice_id`,`wave_to_zcfh`.`cus_name` AS `cus_name`,`wave_to_zcfh`.`wave_id` AS `wave_id` from `wave_to_zcfh` group by `wave_to_zcfh`.`om_notice_id`,`wave_to_zcfh`.`cus_name`,`wave_to_zcfh`.`wave_id` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_avabin`
--
/*!50001 DROP TABLE IF EXISTS `wv_avabin`*/;
/*!50001 DROP VIEW IF EXISTS `wv_avabin`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_avabin` AS select `md`.`id` AS `id`,`md`.`bin_store` AS `bin_store`,`md`.`ku_wei_shu_xing` AS `ku_wei_shu_xing`,`md`.`CHP_SHU_XING` AS `chp_shu_xing`,`md`.`ku_wei_bian_ma` AS `binid`,`md`.`suo_shu_ke_hu` AS `suo_shu_ke_hu`,`md`.`zui_da_ti_ji` AS `zui_da_ti_ji`,`md`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`md`.`chang` AS `chang`,`md`.`kuan` AS `kuan`,`md`.`gao` AS `gao`,`md`.`zui_da_tuo_pan` AS `zui_da_tuo_pan`,`md`.`ting_yong` AS `ting_yong`,`md`.`ku_wei_lei_xing` AS `ku_wei_lei_xing` from `md_bin` `md` where ((`md`.`ting_yong` <> 'Y') and (`md`.`zui_da_tuo_pan` > (select count(0) from `wv_stock` `ws` where ((`ws`.`goods_qua` <> 0) and (`ws`.`ku_wei_bian_ma` = `md`.`ku_wei_bian_ma`))))) order by `md`.`shang_jia_ci_xu` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_avabin_all`
--
/*!50001 DROP TABLE IF EXISTS `wv_avabin_all`*/;
/*!50001 DROP VIEW IF EXISTS `wv_avabin_all`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_avabin_all` AS select `md`.`id` AS `id`,`md`.`bin_store` AS `bin_store`,`md`.`ku_wei_shu_xing` AS `ku_wei_shu_xing`,`md`.`CHP_SHU_XING` AS `chp_shu_xing`,`md`.`ku_wei_bian_ma` AS `binid`,`md`.`suo_shu_ke_hu` AS `suo_shu_ke_hu`,`md`.`zui_da_ti_ji` AS `zui_da_ti_ji`,`md`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`md`.`chang` AS `chang`,`md`.`kuan` AS `kuan`,`md`.`gao` AS `gao`,`md`.`zui_da_tuo_pan` AS `zui_da_tuo_pan`,`md`.`ting_yong` AS `ting_yong`,`md`.`ku_wei_lei_xing` AS `ku_wei_lei_xing` from `md_bin` `md` where (`md`.`ting_yong` <> 'Y') order by `md`.`shang_jia_ci_xu` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_bin`
--
/*!50001 DROP TABLE IF EXISTS `wv_bin`*/;
/*!50001 DROP VIEW IF EXISTS `wv_bin`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_bin` AS select `md`.`id` AS `id`,`md`.`bin_store` AS `bin_store`,`md`.`ku_wei_shu_xing` AS `ku_wei_shu_xing`,`md`.`CHP_SHU_XING` AS `chp_shu_xing`,`md`.`ku_wei_bian_ma` AS `binid`,`md`.`suo_shu_ke_hu` AS `suo_shu_ke_hu`,`md`.`zui_da_ti_ji` AS `zui_da_ti_ji`,`md`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`md`.`chang` AS `chang`,`md`.`kuan` AS `kuan`,`md`.`gao` AS `gao`,`md`.`zui_da_tuo_pan` AS `zui_da_tuo_pan`,`md`.`ting_yong` AS `ting_yong`,`md`.`ku_wei_lei_xing` AS `ku_wei_lei_xing` from `md_bin` `md` where (`md`.`ting_yong` <> 'Y') order by `md`.`shang_jia_ci_xu` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_bin_all`
--
/*!50001 DROP TABLE IF EXISTS `wv_bin_all`*/;
/*!50001 DROP VIEW IF EXISTS `wv_bin_all`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_bin_all` AS select `md`.`id` AS `id`,`md`.`bin_store` AS `bin_store`,`md`.`ku_wei_shu_xing` AS `ku_wei_shu_xing`,`md`.`CHP_SHU_XING` AS `chp_shu_xing`,`md`.`ku_wei_bian_ma` AS `binid`,`md`.`suo_shu_ke_hu` AS `suo_shu_ke_hu`,`md`.`zui_da_ti_ji` AS `zui_da_ti_ji`,`md`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`md`.`chang` AS `chang`,`md`.`kuan` AS `kuan`,`md`.`gao` AS `gao`,`md`.`zui_da_tuo_pan` AS `zui_da_tuo_pan`,`md`.`ting_yong` AS `ting_yong`,`md`.`ku_wei_lei_xing` AS `ku_wei_lei_xing`,(select count(0) from `wv_stock` `ws` where ((`ws`.`goods_qua` <> 0) and (`ws`.`ku_wei_bian_ma` = `md`.`ku_wei_bian_ma`))) AS `tincount`,(select group_concat('货主:',`ws`.`zhong_wen_qch`,', 商品:',`ws`.`shp_ming_cheng`,', 生产日期:',`ws`.`goods_pro_data`,', 数量:',`ws`.`base_goodscount`,', 单位:',`ws`.`shl_dan_wei` separator '|') AS `des` from `wv_stock` `ws` where ((`ws`.`goods_qua` <> 0) and (`ws`.`ku_wei_bian_ma` = `md`.`ku_wei_bian_ma`))) AS `des` from `md_bin` `md` order by `md`.`ming_xi3`,`md`.`ku_wei_bian_ma` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_day_cost_sum`
--
/*!50001 DROP TABLE IF EXISTS `wv_day_cost_sum`*/;
/*!50001 DROP VIEW IF EXISTS `wv_day_cost_sum`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_day_cost_sum` AS select concat(`wc`.`cost_data`,`wc`.`cus_code`,`wc`.`cost_code`) AS `id`,`wc`.`cost_data` AS `cost_data`,`wc`.`cus_code` AS `cus_code`,`wc`.`cus_name` AS `cus_name`,`wc`.`cost_code` AS `cost_code`,`wc`.`cost_name` AS `cost_name`,`wc`.`cost_js` AS `cost_js`,round(sum(`wc`.`day_cost_yj`),2) AS `yuanj`,round(sum(`wc`.`day_cost_bhs`),2) AS `bhsj`,round(sum(`wc`.`day_cost_se`),2) AS `shuie`,round(sum(`wc`.`cost_sl`),2) AS `cost_sl`,round(sum(`wc`.`day_cost_hsj`),2) AS `hansj`,`wc`.`cost_unit` AS `cost_unit` from `wm_day_cost` `wc` group by `wc`.`cus_code`,`wc`.`cus_name`,`wc`.`cost_code`,`wc`.`cost_name`,`wc`.`cost_data`,`wc`.`cost_js`,`wc`.`cost_unit` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_gi`
--
/*!50001 DROP TABLE IF EXISTS `wv_gi`*/;
/*!50001 DROP VIEW IF EXISTS `wv_gi`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_gi` AS select `wd`.`id` AS `id`,`wd`.`create_date` AS `create_date`,`wd`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wd`.`order_id` AS `order_id`,`wd`.`goods_id` AS `goods_id`,`mg`.`goods_name` AS `goods_name`,`wd`.`base_goodscount` AS `goods_qua`,`mg`.`baseunit` AS `shl_dan_wei`,`mg`.`zhx_unit` AS `zhx_unit`,`mg`.`chl_shl` AS `chl_shl`,`wd`.`cus_code` AS `cus_code`,`mc`.`cus_name` AS `cus_name`,`wd`.`goods_pro_data` AS `goods_pro_data`,`wd`.`down_sta` AS `down_sta` from ((`wm_to_down_goods` `wd` join `mv_goods` `mg`) join `mv_cus` `mc`) where ((`wd`.`cus_code` = `mc`.`cus_code`) and (`wd`.`goods_id` = `mg`.`goods_code`)) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_gi_head`
--
/*!50001 DROP TABLE IF EXISTS `wv_gi_head`*/;
/*!50001 DROP VIEW IF EXISTS `wv_gi_head`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_gi_head` AS select `wv_gi`.`order_id` AS `order_id`,`wv_gi`.`cus_name` AS `cus_name` from `wv_gi` where isnull(`wv_gi`.`down_sta`) group by `wv_gi`.`order_id`,`wv_gi`.`cus_name` order by `wv_gi`.`order_id` desc */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_gi_notice`
--
/*!50001 DROP TABLE IF EXISTS `wv_gi_notice`*/;
/*!50001 DROP VIEW IF EXISTS `wv_gi_notice`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
2019-02-21 00:37:56 +00:00
/*!50001 VIEW `wv_gi_notice` AS select `wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`update_date` AS `update_date`,`wg`.`id` AS `id`,`wg`.`om_notice_id` AS `om_notice_id`,`wg`.`iom_notice_item` AS `iom_notice_item`,`wg`.`bin_id` AS `bin_id`,`wg`.`tin_id` AS `tin_id`,`wg`.`cus_code` AS `cus_code`,`mc`.`zhong_wen_qch` AS `zhong_wen_qch`,`wg`.`goods_id` AS `goods_id`,`wg`.`qm_ok_quat` AS `gi_count`,`mg`.`goods_name` AS `shp_ming_cheng`,`wg`.`pro_data` AS `goods_pro_data`,`mg`.`bzhi_qi` AS `bzhi_qi`,`mg`.`zhx_unit` AS `zhx_unit`,`mg`.`chl_shl` AS `chl_shl`,`wg`.`goods_unit` AS `shl_dan_wei`,`wg`.`goods_unit` AS `goods_unit`,`wg`.`base_unit` AS `base_unit`,`wg`.`base_goodscount` AS `base_goodscount`,`wg`.`assign_to` AS `assign_To`,`mg`.`shp_gui_ge` AS `shp_gui_ge`,(select `wm_om_notice_h`.`om_beizhu` from `wm_om_notice_h` where (`wm_om_notice_h`.`om_notice_id` = `wg`.`om_notice_id`)) AS `om_bei_zhu` from ((`wm_om_qm_i` `wg` join `md_cus` `mc`) join `mv_goods` `mg`) where ((`wg`.`cus_code` = `mc`.`ke_hu_bian_ma`) and (`wg`.`goods_id` = `mg`.`goods_code`) and (`wg`.`bin_sta` = 'N')) order by `wg`.`bin_id` */;
2019-02-14 14:28:30 +00:00
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_gi_notice_head`
--
/*!50001 DROP TABLE IF EXISTS `wv_gi_notice_head`*/;
/*!50001 DROP VIEW IF EXISTS `wv_gi_notice_head`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_gi_notice_head` AS select `wv_gi_notice`.`om_notice_id` AS `om_notice_id`,`wv_gi_notice`.`zhong_wen_qch` AS `zhong_wen_qch` from `wv_gi_notice` group by `wv_gi_notice`.`om_notice_id`,`wv_gi_notice`.`zhong_wen_qch` order by `wv_gi_notice`.`om_bei_zhu` desc */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_gr`
--
/*!50001 DROP TABLE IF EXISTS `wv_gr`*/;
/*!50001 DROP VIEW IF EXISTS `wv_gr`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_gr` AS select `i`.`id` AS `id`,`i`.`im_notice_id` AS `im_notice_id`,'托盘上' AS `kucunsta`,`i`.`bin_id` AS `bin_id`,`i`.`tin_id` AS `tin_id`,`i`.`cus_code` AS `cus_code`,`mc`.`zhong_wen_qch` AS `zhong_wen_qch`,`i`.`goods_id` AS `goods_id`,`mg`.`goods_name` AS `shp_ming_cheng`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,`i`.`qm_ok_quat` AS `qm_ok_quat`,`i`.`pro_data` AS `pro_data`,`i`.`create_date` AS `create_date`,`i`.`item_text` AS `item_text`,`mg`.`bzhi_qi` AS `bzhi_qi` from ((`md_cus` `mc` join `mv_goods` `mg`) join `wm_in_qm_i` `i`) where ((`i`.`cus_code` = `mc`.`ke_hu_bian_ma`) and (`i`.`goods_id` = `mg`.`goods_code`) and (`i`.`bin_sta` = 'N')) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_last_move`
--
/*!50001 DROP TABLE IF EXISTS `wv_last_move`*/;
/*!50001 DROP VIEW IF EXISTS `wv_last_move`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_last_move` AS select `wt`.`id` AS `id`,`wt`.`create_date` AS `create_date`,`wt`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wt`.`bin_id` AS `bin_id`,`wt`.`goods_id` AS `goods_id`,`wt`.`goods_pro_data` AS `goods_pro_data` from `wm_to_up_goods` `wt` union all select `wt`.`id` AS `id`,`wt`.`create_date` AS `create_date`,`wt`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wt`.`bin_id_from` AS `bin_id`,`wt`.`goods_id` AS `goods_id`,`wt`.`goods_pro_data` AS `goods_pro_data` from `wm_to_down_goods` `wt` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_last_picking`
--
/*!50001 DROP TABLE IF EXISTS `wv_last_picking`*/;
/*!50001 DROP VIEW IF EXISTS `wv_last_picking`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_last_picking` AS select `wt`.`id` AS `id`,`wt`.`create_date` AS `create_date`,`wt`.`bin_id` AS `ku_wei_bian_ma`,`wt`.`tin_id` AS `bin_id`,`wt`.`goods_id` AS `goods_id`,`wt`.`pro_data` AS `goods_pro_data` from `wm_om_qm_i` `wt` order by `wt`.`create_date` desc */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_last_picking_stock`
--
/*!50001 DROP TABLE IF EXISTS `wv_last_picking_stock`*/;
/*!50001 DROP VIEW IF EXISTS `wv_last_picking_stock`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_last_picking_stock` AS select `wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wg`.`bin_id` AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`zhong_wen_qch` AS `zhong_wen_qch`,`wg`.`goods_id` AS `goods_id`,`wg`.`goods_code` AS `goods_code`,`wg`.`shp_ming_cheng` AS `shp_ming_cheng`,`wg`.`shp_gui_ge` AS `shp_gui_ge`,`wg`.`chl_shl` AS `chl_shl`,`wg`.`goods_pro_data` AS `goods_pro_data`,`wg`.`bzhi_qi` AS `bzhi_qi`,`wg`.`dqr` AS `dqr`,`wg`.`ku_wei_lei_xing` AS `ku_wei_lei_xing`,`wg`.`qu_huo_ci_xu` AS `qu_huo_ci_xu`,`wg`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`wg`.`bin_store` AS `bin_store`,`wg`.`base_goodscount` AS `base_goodscount`,(select `wv_last_picking`.`create_date` from `wv_last_picking` where ((`wv_last_picking`.`ku_wei_bian_ma` = `wg`.`ku_wei_bian_ma`) and (`wv_last_picking`.`goods_id` = `wg`.`goods_id`)) limit 1) AS `LAST_date`,sum(`wg`.`base_goodscount`) AS `keyongkucun`,sum((case when (`wg`.`kuctype` = '待下架') then `wg`.`base_goodscount` end)) AS `daixiaj`,`wg`.`base_unit` AS `base_unit` from `wv_stock` `wg` group by `wg`.`ku_wei_bian_ma`,`wg`.`bin_id`,`wg`.`cus_code`,`wg`.`goods_id`,`wg`.`goods_pro_data` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_no_use_bin`
--
/*!50001 DROP TABLE IF EXISTS `wv_no_use_bin`*/;
/*!50001 DROP VIEW IF EXISTS `wv_no_use_bin`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_no_use_bin` AS select `md`.`id` AS `id`,`md`.`bin_store` AS `bin_store`,`md`.`ku_wei_shu_xing` AS `ku_wei_shu_xing`,`md`.`CHP_SHU_XING` AS `chp_shu_xing`,`md`.`ku_wei_bian_ma` AS `binid`,`md`.`suo_shu_ke_hu` AS `suo_shu_ke_hu`,`md`.`zui_da_ti_ji` AS `zui_da_ti_ji`,`md`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`md`.`chang` AS `chang`,`md`.`kuan` AS `kuan`,`md`.`gao` AS `gao`,`md`.`zui_da_tuo_pan` AS `zui_da_tuo_pan`,`md`.`ting_yong` AS `ting_yong`,`md`.`ku_wei_lei_xing` AS `ku_wei_lei_xing` from `md_bin` `md` where ((`md`.`ting_yong` <> 'Y') and (1 > (select count(0) from `wv_stock` `ws` where ((`ws`.`goods_qua` <> 0) and (`ws`.`ku_wei_bian_ma` = `md`.`ku_wei_bian_ma`))))) order by `md`.`shang_jia_ci_xu` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_notice`
--
/*!50001 DROP TABLE IF EXISTS `wv_notice`*/;
/*!50001 DROP VIEW IF EXISTS `wv_notice`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_notice` AS select `i`.`id` AS `id`,`h`.`notice_id` AS `notice_id`,`h`.`cus_code` AS `cus_code`,`mc`.`zhong_wen_qch` AS `zhong_wen_qch`,`h`.`im_sta` AS `im_sta`,`i`.`goods_code` AS `goods_code`,`mg`.`goods_name` AS `shp_ming_cheng`,`mg`.`shp_tiao_ma` AS `shp_tiao_ma`,`mg`.`cf_wen_ceng` AS `cf_wen_ceng`,`mg`.`mp_dan_ceng` AS `mp_dan_ceng`,`mg`.`mp_ceng_gao` AS `mp_ceng_gao`,`mg`.`ti_ji_cm` AS `ti_ji_cm`,`i`.`goods_count` AS `goods_count`,ifnull(`i`.`goods_qm_count`,0) AS `goods_qm_count`,(`i`.`goods_count` - ifnull(`i`.`goods_qm_count`,0)) AS `gr_count`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,`i`.`goods_fvol` AS `goods_fvol`,`i`.`goods_weight` AS `goods_weight`,(curdate() - interval (`mg`.`bzhi_qi` - `mg`.`zhl_kgm`) day) AS `lastgrdate`,(select `wm_in_qm_i`.`pro_data` from `wm_in_qm_i` where ((`wm_in_qm_i`.`goods_id` = `i`.`goods_code`) and (`wm_in_qm_i`.`im_notice_id` <> `i`.`im_notice_id`)) order by `wm_in_qm_i`.`create_date` desc limit 1) AS `preprodate`,(select `wm_in_qm_i`.`rec_deg` from `wm_in_qm_i` where (`wm_in_qm_i`.`im_notice_id` = `i`.`im_notice_id`) order by `wm_in_qm_i`.`create_date` desc limit 1) AS `rec_deg` from (((`wm_im_notice_h` `h` join `wm_im_notice_i` `i`) join `md_cus` `mc`) join `mv_goods` `mg`) where ((`h`.`notice_id` = `i`.`im_notice_id`) and (`h`.`cus_code` = `mc`.`ke_hu_bian_ma`) and (`i`.`bin_pre` = 'N') and (`i`.`goods_code` = `mg`.`goods_code`) and (`h`.`order_type_code` <> '04')) order by `h`.`notice_id` desc */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_notice_head`
--
/*!50001 DROP TABLE IF EXISTS `wv_notice_head`*/;
/*!50001 DROP VIEW IF EXISTS `wv_notice_head`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_notice_head` AS select `wv_notice`.`notice_id` AS `notice_id`,`wv_notice`.`zhong_wen_qch` AS `zhong_wen_qch` from `wv_notice` group by `wv_notice`.`notice_id`,`wv_notice`.`zhong_wen_qch` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_stock`
--
/*!50001 DROP TABLE IF EXISTS `wv_stock`*/;
/*!50001 DROP VIEW IF EXISTS `wv_stock`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_stock` AS select concat(`wg`.`ku_wei_bian_ma`,`wg`.`bin_id`,`wg`.`goods_id`,`wg`.`goods_pro_data`) AS `id`,`wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`kuctype` AS `kuctype`,cast(sum(`wg`.`base_goodscount`) as signed) AS `goods_qua`,`wg`.`goods_unit` AS `goods_unit`,cast(sum(`wg`.`base_goodscount`) as signed) AS `base_goodscount`,`wg`.`base_unit` AS `base_unit`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wg`.`bin_id` AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`zhong_wen_qch` AS `zhong_wen_qch`,`wg`.`goods_id` AS `goods_id`,`wg`.`goods_code` AS `goods_code`,`wg`.`shp_ming_cheng` AS `shp_ming_cheng`,`wg`.`shl_dan_wei` AS `shl_dan_wei`,`wg`.`chl_shl` AS `chl_shl`,`wg`.`goods_pro_data` AS `goods_pro_data`,`wg`.`bzhi_qi` AS `bzhi_qi`,`wg`.`shp_gui_ge` AS `shp_gui_ge`,(`wg`.`goods_pro_data` + interval ifnull(`wg`.`bzhi_qi`,0) day) AS `dqr`,`mb`.`ku_wei_lei_xing` AS `ku_wei_lei_xing`,`mb`.`qu_huo_ci_xu` AS `qu_huo_ci_xu`,`mb`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`mb`.`bin_store` AS `bin_store` from (`wv_stock_base` `wg` join `md_bin` `mb`) where (`wg`.`ku_wei_bian_ma` = `mb`.`ku_wei_bian_ma`) group by `wg`.`ku_wei_bian_ma`,`wg`.`bin_id`,`wg`.`cus_code`,`wg`.`goods_id`,`wg`.`goods_pro_data`,`wg`.`kuctype` having (sum(`wg`.`base_goodscount`) <> 0) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_stock_base`
--
/*!50001 DROP TABLE IF EXISTS `wv_stock_base`*/;
/*!50001 DROP VIEW IF EXISTS `wv_stock_base`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_stock_base` AS select `wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`id` AS `id`,`wg`.`kuctype` AS `kuctype`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,trim(`wg`.`bin_id`) AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`cus_code` AS `zhong_wen_qch`,`mg`.`goods_id` AS `goods_code`,`wg`.`goods_id` AS `goods_id`,`wg`.`goods_qua` AS `goods_qua`,`mg`.`goods_name` AS `shp_ming_cheng`,`wg`.`goods_pro_data` AS `goods_pro_data`,`mg`.`bzhi_qi` AS `bzhi_qi`,`mg`.`zhl_kgm` AS `yushoutianshu`,`wg`.`goods_unit` AS `goods_unit`,`wg`.`base_unit` AS `base_unit`,`wg`.`base_goodscount` AS `base_goodscount`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,concat(`mg`.`mp_ceng_gao`,'*',`mg`.`mp_dan_ceng`) AS `hiti`,`mg`.`shp_bian_makh` AS `shp_bian_makh`,`mg`.`chl_shl` AS `chl_shl`,`wg`.`order_id` AS `order_id`,`mg`.`zhl_kg` AS `zhl_kg`,`mg`.`shp_gui_ge` AS `shp_gui_ge` from (`wv_stock_base_stock` `wg` left join `mv_goods` `mg` on((`wg`.`goods_id` = `mg`.`goods_code`))) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_stock_base_bak`
--
/*!50001 DROP TABLE IF EXISTS `wv_stock_base_bak`*/;
/*!50001 DROP VIEW IF EXISTS `wv_stock_base_bak`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_stock_base_bak` AS select `wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`id` AS `id`,'库存' AS `kuctype`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,trim(`wg`.`bin_id`) AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`cus_code` AS `zhong_wen_qch`,`mg`.`goods_id` AS `goods_code`,`wg`.`goods_id` AS `goods_id`,sum(`wg`.`goods_qua`) AS `goods_qua`,`mg`.`goods_name` AS `shp_ming_cheng`,`wg`.`goods_pro_data` AS `goods_pro_data`,`mg`.`bzhi_qi` AS `bzhi_qi`,`mg`.`zhl_kgm` AS `yushoutianshu`,`wg`.`goods_unit` AS `goods_unit`,`wg`.`base_unit` AS `base_unit`,sum(`wg`.`base_goodscount`) AS `base_goodscount`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,concat(`mg`.`mp_ceng_gao`,'*',`mg`.`mp_dan_ceng`) AS `hiti`,`mg`.`shp_bian_makh` AS `shp_bian_makh`,`mg`.`chl_shl` AS `chl_shl`,`wg`.`order_id` AS `order_id`,`mg`.`zhl_kg` AS `zhl_kg` from (`wm_to_up_goods` `wg` left join `mv_goods` `mg` on((`wg`.`goods_id` = `mg`.`goods_code`))) group by `wg`.`ku_wei_bian_ma`,`wg`.`bin_id`,`wg`.`cus_code`,`wg`.`goods_id`,`wg`.`goods_pro_data` union all select `wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`id` AS `id`,'库存' AS `kuctype`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,trim(`wg`.`bin_id_from`) AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`cus_code` AS `zhong_wen_qch`,`mg`.`goods_id` AS `goods_code`,`wg`.`goods_id` AS `goods_id`,sum((0 - `wg`.`goods_quaok`)) AS `goods_qua`,`mg`.`goods_name` AS `shp_ming_cheng`,`wg`.`goods_pro_data` AS `goods_pro_data`,`mg`.`bzhi_qi` AS `bzhi_qi`,`mg`.`zhl_kgm` AS `yushoutianshu`,`wg`.`goods_unit` AS `goods_unit`,`wg`.`base_unit` AS `base_unit`,sum((0 - `wg`.`base_goodscount`)) AS `base_goodscount`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,`mg`.`chl_shl` AS `chl_shl`,concat(`mg`.`mp_ceng_gao`,'*',`mg`.`mp_dan_ceng`) AS `hiti`,`mg`.`shp_bian_makh` AS `shp_bian_makh`,`wg`.`order_id` AS `order_id`,`mg`.`zhl_kg` AS `zhl_kg` from (`wm_to_down_goods` `wg` left join `mv_goods` `mg` on((`wg`.`goods_id` = `mg`.`goods_code`))) group by `wg`.`ku_wei_bian_ma`,`wg`.`bin_id_from`,`wg`.`cus_code`,`wg`.`goods_id`,`wg`.`goods_pro_data` union all select `wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`id` AS `id`,'待下架' AS `kuctype`,`wg`.`bin_id` AS `ku_wei_bian_ma`,trim(`wg`.`tin_id`) AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`cus_code` AS `zhong_wen_qch`,`mg`.`goods_id` AS `goods_code`,`wg`.`goods_id` AS `goods_id`,sum((0 - `wg`.`qm_ok_quat`)) AS `goods_qua`,`mg`.`goods_name` AS `shp_ming_cheng`,`wg`.`pro_data` AS `goods_pro_data`,`mg`.`bzhi_qi` AS `bzhi_qi`,`mg`.`zhl_kgm` AS `yushoutianshu`,`wg`.`goods_unit` AS `goods_unit`,`wg`.`base_unit` AS `base_unit`,sum((0 - `wg`.`base_goodscount`)) AS `base_goodscount`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,`mg`.`chl_shl` AS `chl_shl`,concat(`mg`.`mp_ceng_gao`,'*',`mg`.`mp_dan_ceng`) AS `hiti`,`mg`.`shp_bian_makh` AS `shp_bian_makh`,`wg`.`om_notice_id` AS `order_id`,`mg`.`zhl_kg` AS `zhl_kg` from (`wm_om_qm_i` `wg` left join `mv_goods` `mg` on((`wg`.`goods_id` = `mg`.`goods_code`))) where ((`wg`.`bin_sta` = 'N') or (`wg`.`bin_sta` = 'I')) group by `wg`.`bin_id`,`wg`.`tin_id`,`wg`.`cus_code`,`wg`.`goods_id`,`wg`.`pro_data` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_stock_base_stock`
--
/*!50001 DROP TABLE IF EXISTS `wv_stock_base_stock`*/;
/*!50001 DROP VIEW IF EXISTS `wv_stock_base_stock`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_stock_base_stock` AS select `wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`id` AS `id`,'库存' AS `kuctype`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,trim(`wg`.`bin_id`) AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`cus_code` AS `zhong_wen_qch`,`wg`.`goods_id` AS `goods_id`,`wg`.`goods_qua` AS `goods_qua`,`wg`.`order_id` AS `order_id`,`wg`.`goods_pro_data` AS `goods_pro_data`,`wg`.`goods_unit` AS `goods_unit`,`wg`.`base_unit` AS `base_unit`,`wg`.`base_goodscount` AS `base_goodscount` from `wm_to_up_goods` `wg` union all select `wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`id` AS `id`,'库存' AS `kuctype`,`wg`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,trim(`wg`.`bin_id_from`) AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`cus_code` AS `zhong_wen_qch`,`wg`.`goods_id` AS `goods_id`,(0 - `wg`.`goods_quaok`) AS `goods_qua`,`wg`.`order_id` AS `order_id`,`wg`.`goods_pro_data` AS `goods_pro_data`,`wg`.`goods_unit` AS `goods_unit`,`wg`.`base_unit` AS `base_unit`,(0 - `wg`.`base_goodscount`) AS `base_goodscount` from `wm_to_down_goods` `wg` union all select `wg`.`create_date` AS `create_date`,`wg`.`create_name` AS `create_name`,`wg`.`create_by` AS `create_by`,`wg`.`id` AS `id`,'待下架' AS `kuctype`,`wg`.`bin_id` AS `ku_wei_bian_ma`,trim(`wg`.`tin_id`) AS `bin_id`,`wg`.`cus_code` AS `cus_code`,`wg`.`cus_code` AS `zhong_wen_qch`,`wg`.`goods_id` AS `goods_id`,(0 - `wg`.`qm_ok_quat`) AS `goods_qua`,`wg`.`om_notice_id` AS `order_id`,`wg`.`pro_data` AS `goods_pro_data`,`wg`.`goods_unit` AS `goods_unit`,`wg`.`base_unit` AS `base_unit`,(0 - `wg`.`base_goodscount`) AS `base_goodscount` from `wm_om_qm_i` `wg` where ((`wg`.`bin_sta` = 'N') or (`wg`.`bin_sta` = 'I')) */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_stock_last_stt`
--
/*!50001 DROP TABLE IF EXISTS `wv_stock_last_stt`*/;
/*!50001 DROP VIEW IF EXISTS `wv_stock_last_stt`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_stock_last_stt` AS select `ws`.`create_date` AS `create_date`,`ws`.`create_name` AS `create_name`,`ws`.`create_by` AS `create_by`,concat(`ws`.`ku_wei_bian_ma`,`ws`.`bin_id`,`ws`.`goods_id`,`ws`.`goods_pro_data`) AS `id`,`ws`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`ws`.`bin_id` AS `bin_id`,`ws`.`cus_code` AS `cus_code`,`ws`.`zhong_wen_qch` AS `zhong_wen_qch`,`ws`.`goods_code` AS `goods_code`,`ws`.`goods_id` AS `goods_id`,cast(sum(`ws`.`base_goodscount`) as signed) AS `goods_qua`,`ws`.`shp_ming_cheng` AS `shp_ming_cheng`,`ws`.`goods_pro_data` AS `goods_pro_data`,`ws`.`bzhi_qi` AS `bzhi_qi`,`ws`.`yushoutianshu` AS `yushoutianshu`,`ws`.`base_unit` AS `goods_unit`,(select max(`wvp`.`create_date`) from `wv_last_picking` `wvp` where ((`wvp`.`ku_wei_bian_ma` = `ws`.`ku_wei_bian_ma`) and (`wvp`.`goods_id` = `ws`.`goods_id`))) AS `last_move` from `wv_stock_base` `ws` where ((`ws`.`kuctype` = '库存') or (`ws`.`kuctype` = ' 待下架')) group by `ws`.`ku_wei_bian_ma`,`ws`.`bin_id`,`ws`.`cus_code`,`ws`.`zhong_wen_qch`,`ws`.`goods_code`,`ws`.`goods_pro_data`,`ws`.`bzhi_qi` having (sum(`ws`.`base_goodscount`) > 0) order by `ws`.`ku_wei_bian_ma` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_stock_stt`
--
/*!50001 DROP TABLE IF EXISTS `wv_stock_stt`*/;
/*!50001 DROP VIEW IF EXISTS `wv_stock_stt`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_stock_stt` AS select `ws`.`create_date` AS `create_date`,`ws`.`create_name` AS `create_name`,`ws`.`create_by` AS `create_by`,concat(`ws`.`ku_wei_bian_ma`,`ws`.`bin_id`,`ws`.`goods_id`,`ws`.`goods_pro_data`) AS `id`,`ws`.`kuctype` AS `kuctype`,`ws`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`ws`.`bin_id` AS `bin_id`,`ws`.`cus_code` AS `cus_code`,`ws`.`zhong_wen_qch` AS `zhong_wen_qch`,`ws`.`goods_code` AS `goods_code`,`ws`.`goods_id` AS `goods_id`,cast(sum(`ws`.`base_goodscount`) as signed) AS `goods_qua`,`ws`.`shp_ming_cheng` AS `shp_ming_cheng`,`ws`.`goods_pro_data` AS `goods_pro_data`,`ws`.`bzhi_qi` AS `bzhi_qi`,`ws`.`yushoutianshu` AS `yushoutianshu`,`ws`.`base_unit` AS `goods_unit`,(select `wm_stt_in_goods`.`stt_sta` from `wm_stt_in_goods` where ((`wm_stt_in_goods`.`bin_id` = `ws`.`ku_wei_bian_ma`) and (`wm_stt_in_goods`.`tin_id` = `ws`.`bin_id`) and (`wm_stt_in_goods`.`goods_id` = `ws`.`goods_id`) and (`wm_stt_in_goods`.`goods_pro_data` = `ws`.`goods_pro_data`)) limit 1) AS `stt_sta`,(select `wm_to_move_goods`.`move_sta` from `wm_to_move_goods` where ((`wm_to_move_goods`.`bin_from` = `ws`.`ku_wei_bian_ma`) and (`wm_to_move_goods`.`tin_from` = `ws`.`bin_id`) and (`wm_to_move_goods`.`goods_id` = `ws`.`goods_id`) and (`wm_to_move_goods`.`goods_pro_data` = `ws`.`goods_pro_data`)) order by `wm_to_move_goods`.`create_date` desc limit 1) AS `move_sta`,(select `wv_last_move`.`create_date` from `wv_last_move` where ((`wv_last_move`.`ku_wei_bian_ma` = `ws`.`ku_wei_bian_ma`) and (`wv_last_move`.`bin_id` = `ws`.`bin_id`) and (`wv_last_move`.`goods_id` = `ws`.`goods_id`) and (`wv_last_move`.`goods_pro_data` = `ws`.`goods_pro_data`)) order by `wv_last_move`.`create_date` desc limit 1) AS `last_move` from `wv_stock_base` `ws` where ((`ws`.`kuctype` = '库存') or (`ws`.`kuctype` = ' 待下架')) group by `ws`.`ku_wei_bian_ma`,`ws`.`bin_id`,`ws`.`cus_code`,`ws`.`zhong_wen_qch`,`ws`.`goods_code`,`ws`.`goods_pro_data`,`ws`.`bzhi_qi`,`ws`.`kuctype` having (sum(`ws`.`base_goodscount`) > 0) order by `ws`.`ku_wei_bian_ma` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_stock_stt_bin`
--
/*!50001 DROP TABLE IF EXISTS `wv_stock_stt_bin`*/;
/*!50001 DROP VIEW IF EXISTS `wv_stock_stt_bin`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_stock_stt_bin` AS select `ws`.`create_date` AS `create_date`,`ws`.`create_name` AS `create_name`,`ws`.`create_by` AS `create_by`,concat(`ws`.`ku_wei_bian_ma`,`ws`.`goods_id`,`ws`.`goods_pro_data`) AS `id`,`ws`.`kuctype` AS `kuctype`,`ws`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`ws`.`bin_id` AS `bin_id`,`ws`.`cus_code` AS `cus_code`,`ws`.`zhong_wen_qch` AS `zhong_wen_qch`,`ws`.`goods_id` AS `goods_id`,cast(sum(`ws`.`goods_qua`) as signed) AS `goods_qua`,`ws`.`shp_ming_cheng` AS `shp_ming_cheng`,`ws`.`goods_pro_data` AS `goods_pro_data`,`ws`.`bzhi_qi` AS `bzhi_qi`,`ws`.`goods_unit` AS `goods_unit`,(select `wm_stt_in_goods`.`stt_sta` from `wm_stt_in_goods` where (`wm_stt_in_goods`.`bin_id` = `ws`.`ku_wei_bian_ma`) order by `wm_stt_in_goods`.`create_date` desc limit 1) AS `stt_sta`,(select `wm_to_move_goods`.`move_sta` from `wm_to_move_goods` where (`wm_to_move_goods`.`bin_from` = `ws`.`ku_wei_bian_ma`) order by `wm_to_move_goods`.`create_date` desc limit 1) AS `move_sta`,(select `wv_last_move`.`create_date` from `wv_last_move` where ((`wv_last_move`.`ku_wei_bian_ma` = `ws`.`ku_wei_bian_ma`) and (`wv_last_move`.`goods_id` = `ws`.`goods_id`)) order by `wv_last_move`.`create_date` desc limit 1) AS `last_move` from `wv_stock_base` `ws` where (`ws`.`kuctype` = '库存') group by `ws`.`ku_wei_bian_ma`,`ws`.`cus_code`,`ws`.`zhong_wen_qch`,`ws`.`goods_id`,`ws`.`goods_pro_data`,`ws`.`bzhi_qi`,`ws`.`kuctype` order by `ws`.`ku_wei_bian_ma` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
--
-- Final view structure for view `wv_stt_head`
--
/*!50001 DROP TABLE IF EXISTS `wv_stt_head`*/;
/*!50001 DROP VIEW IF EXISTS `wv_stt_head`*/;
/*!50001 SET @saved_cs_client = @@character_set_client */;
/*!50001 SET @saved_cs_results = @@character_set_results */;
/*!50001 SET @saved_col_connection = @@collation_connection */;
/*!50001 SET character_set_client = utf8 */;
/*!50001 SET character_set_results = utf8 */;
/*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_stt_head` AS select `wm_stt_in_goods`.`create_date` AS `id` from `wm_stt_in_goods` where (`wm_stt_in_goods`.`stt_sta` = '计划中') group by `wm_stt_in_goods`.`create_date` */;
/*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
2019-02-21 16:30:01 +00:00
-- Dump completed on 2019-02-22 0:27:29