9898 lines
6.6 MiB
MySQL
9898 lines
6.6 MiB
MySQL
|
CREATE DATABASE IF NOT EXISTS `wms` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci */;
|
|||
|
USE `wms`;
|
|||
|
-- MySQL dump 10.13 Distrib 8.0.28, for Win64 (x86_64)
|
|||
|
--
|
|||
|
-- Host: localhost Database: wms
|
|||
|
-- ------------------------------------------------------
|
|||
|
-- Server version 5.7.21-log
|
|||
|
|
|||
|
/*!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 */;
|
|||
|
/*!50503 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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2c9221a470ecede10170facc771a0008','初始','admin','2020-03-21 09:54:28',NULL,NULL,NULL,'A04','A04','收货储位','收货储位'),('2c9221a470ecede10170facc95b90009','初始','admin','2020-03-21 09:54:36',NULL,NULL,NULL,'A04','A04','存储储位','存储储位'),('2c9221a470ecede10170faccafc2000a','初始','admin','2020-03-21 09:54:43',NULL,NULL,NULL,'A04','A04','发货储位','发货储位'),('2c9221a470ecede10170faccc25e000b','初始','admin','2020-03-21 09:54:48',NULL,NULL,NULL,'A04','A04','暂存储位','暂存储位'),('402882f1791b285101791b29e6320001','管理员','admin','2021-04-29 09:06:41',NULL,NULL,NULL,'A05','A05','良品区','良品区'),('402882f1791b285101791b2a13290002','管理员','admin','2021-04-29 09:06:52',NULL,NULL,NULL,'A05','A05','不良品区','不良品区');
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('4028804072df34cc0174a460079f0011','管理员','admin','2020-09-19 11:19:50',NULL,NULL,NULL,'A05','A05','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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('4028804072df34cc0174a95c083d0016','管理员','admin','2020-09-20 10:33:35',NULL,NULL,NULL,'A05','A05','2001','按托盘计费','01'),('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<E68A9B><35>
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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_category`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `ba_goods_category`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `ba_goods_category` (
|
|||
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
|||
|
`create_name` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '创建人名称',
|
|||
|
`create_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '创建人登录名称',
|
|||
|
`create_time` datetime(3) DEFAULT NULL COMMENT '创建日期',
|
|||
|
`update_name` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '更新人名称',
|
|||
|
`update_by` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '更新人登录名称',
|
|||
|
`update_time` datetime(3) DEFAULT NULL COMMENT '更新日期',
|
|||
|
`sys_org_code` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '所属部门',
|
|||
|
`category_code` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '类目编码',
|
|||
|
`category_name` varchar(50) CHARACTER SET utf8 DEFAULT NULL COMMENT '类目名称',
|
|||
|
`category_level` int(11) DEFAULT NULL COMMENT '类目级别',
|
|||
|
`pid` int(11) DEFAULT NULL COMMENT '父级目录',
|
|||
|
`top_node` varchar(10) CHARACTER SET utf8 DEFAULT NULL COMMENT '是否为顶级目录',
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB AUTO_INCREMENT=11815 DEFAULT CHARSET=utf8mb4;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `ba_goods_category`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `ba_goods_category` WRITE;
|
|||
|
/*!40000 ALTER TABLE `ba_goods_category` DISABLE KEYS */;
|
|||
|
INSERT INTO `ba_goods_category` VALUES (1,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259447','焊接',1,NULL,'1'),(2,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259456','电子电焊',2,1,'0'),(3,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260045','电焊台',3,2,'0'),(4,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260878','防静电数显无铅温控焊台',4,3,'0'),(5,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259434','仪器仪表',1,NULL,'1'),(6,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259580','环境测量',2,5,'0'),(7,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260440','风速计',3,6,'0'),(8,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260879','热线式风速计',4,7,'0'),(9,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259443','化学试剂',1,NULL,'1'),(10,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259518','材料化学',2,9,'0'),(11,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260563','高分子材料',3,10,'0'),(12,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260880','聚乙二醇修饰剂',4,11,'0'),(13,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259426','胶粘剂',1,NULL,'1'),(14,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259522','结构粘接胶',2,13,'0'),(15,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259751','环氧结构粘接胶',3,14,'0'),(16,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260881','环氧结构粘接胶-光纤胶',4,15,'0'),(17,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259453','手工具',1,NULL,'1'),(18,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259544','扳手',2,17,'0'),(19,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260483','棘轮两用扳手',3,18,'0'),(20,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260882','英制棘轮两用快扳',4,19,'0'),(21,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259479','DIY',2,13,'0'),(22,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260448','装修粘接胶',3,21,'0'),(23,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260885','万能强力胶',4,22,'0'),(24,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259568','套筒及旋具头',2,17,'0'),(25,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260446','弓型套筒扳杆',3,24,'0'),(26,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260886','25MM系列弓形扳杆',4,25,'0'),(27,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259448','搬运存储',1,NULL,'1'),(28,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259554','搬运堆高设备',2,27,'0'),(29,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260654','堆高车',3,28,'0'),(30,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260887','手动堆高车',4,29,'0'),(31,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259593','特殊材料',2,13,'0'),(32,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259967','表面处理材料',3,31,'0'),(33,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260888','甲苯溶剂',4,32,'0'),(34,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260753','两用扳手',3,18,'0'),(35,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260889','公制两用短扳手',4,34,'0'),(36,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259482','防爆工具',2,17,'0'),(37,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260595','防爆钣金类',3,36,'0'),(38,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260891','防爆听针',4,37,'0'),(39,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259588','工具车/箱/包',2,17,'0'),(40,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260859','帆布工具包',3,39,'0'),(41,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260892','钢管帆布工具包',4,40,'0'),(42,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259438','润滑剂',1,NULL,'1'),(43,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259470','工业润滑油',2,42,'0'),(44,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259970','涡轮机油',3,43,'0'),(45,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260893','经济涡轮机油',4,44,'0'),(46,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259558','锯/锉',2,17,'0'),(47,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260656','半圆锉',3,46,'0'),(48,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260894','半圆锉粗齿',4,47,'0'),(49,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'259524','钳',2,17,'0'),(50,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260874','迷你尖嘴钳',3,49,'0'),(51,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'260895','沾塑柄迷你尖嘴钳',4,50,'0'),(52,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'270833','实验室仪器',1,NULL,'1'),(53,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'270888','检测仪器',2,52,'0'),(54,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'270889','电<EFBFBD>
|
|||
|
/*!40000 ALTER TABLE `ba_goods_category` 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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2c9221a4715e0a1b017177a441480006','初始','admin','2020-04-14 15:43:05','管理员','admin','2020-09-20 09:45:10','A05','A05','肉类','肉类'),('4028804072df34cc0174a92fde8f0014','管理员','admin','2020-09-20 09:45:20',NULL,NULL,NULL,'A05','A05','海鲜','海鲜'),('4028804072df34cc0174a93021e90015','管理员','admin','2020-09-20 09:45:38',NULL,NULL,NULL,'A05','A05','加工食品','加工食品'),('402882f1791b285101791b2851a20000','管理员','admin','2021-04-29 09:04:57',NULL,NULL,NULL,'A05','A05','汽车零配件','汽车零配件');
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('4028804072df34cc0172ffeaca69000e','管理员','admin','2020-06-29 19:51:16','管理员','admin','2020-09-20 09:36:00','A05','A05','10','按吨'),('4028804072df34cc0172ffebc2a2000f','管理员','admin','2020-06-29 19:52:20','管理员','admin','2020-09-20 09:36:13','A05','A05','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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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','其他出库'),('402881eb7f8c631c017f8c631cf90000','管理员','admin','2022-03-15 15:03:00',NULL,NULL,NULL,'A05','A05','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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('40289a817c9d1fe0017c9d39b5030013','管理员','admin','2021-10-20 18:22:57',NULL,NULL,NULL,'A05','A05','1','1',NULL),('40289a817c9d1fe0017c9d39c40f0015','管理员','admin','2021-10-20 18:23:01',NULL,NULL,NULL,'A05','A05','2','2',NULL),('40289a817c9d1fe0017c9d39d1970017','管理员','admin','2021-10-20 18:23:05',NULL,NULL,NULL,'A05','A05','3','3',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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('4028804072df34cc0172df61a9520002','管理员','admin','2020-06-23 12:13:39',NULL,NULL,NULL,'A05','A05','BJTZ7','7号库',NULL);
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2c9221a46f94058f016f94058f5d0000','初始','admin','2020-01-11 17:53:09',NULL,NULL,NULL,'A04','A04','份','份','份',NULL,NULL,NULL),('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','辆','辆','辆',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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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',_binary '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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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',_binary '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',_binary '$(\"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 .e
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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),('40286a816ef27b42016ef27d170e0001','运费配置','admin','2019-12-11 09:05:15','初始','Y','Y','Y','N','','UUID',1,'2','group',0,NULL,NULL,'tms_yufei_conf','admin','2019-12-11 09:05:53','初始',NULL,'id',NULL,'bdfl_ptbd','','','',NULL,NULL),('40286a816ef27b42016ef27f1ce10014','波次配置','admin','2019-12-11 09:07:27','初始','N','Y','Y','N','','UUID',1,'1','single',0,NULL,NULL,'wms_wave_conf','admin','2019-12-11 09:07:30','初始',NULL,'id',NULL,'bdfl_ptbd','','','',NULL,NULL),('40286a816ef2fcfd016ef30239190001','wave_to_down','admin','2019-12-11 11:30:40','初始','Y','Y','Y','N',NULL,'UUID',1,'1','group',NULL,NULL,NULL,'wave_to_down',NULL,NULL,NULL,NULL,NULL,NULL,'bdfl_ptbd',NULL,NULL,NULL,NULL,NULL),('40286a816ef2fcfd016ef3023a710018','wave_to_fj','admin','2019-12-11 11:30:40','初始','Y','Y','Y','N',NULL,'UUID',1,'1','group',NULL,NULL,NULL,'wave_to_fj',NULL,NULL,NULL,NULL,NULL,NULL,'bdfl_ptbd',NULL,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),('402880e972c991620172c99b061c0003','RFID表','admin','2020-06-19 06:44:40','管理员','N','Y','Y','N','','UUID',1,'1','single',0,NULL,NULL,'rfid_buse','admin','2020-06-19 06:44:43','管理员',NULL,'id',NULL,'bdfl_ptbd','','','',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-
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `erp_im_item`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `erp_im_item`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `erp_im_item`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `erp_im_item` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `update_name`,
|
|||
|
1 AS `update_by`,
|
|||
|
1 AS `update_date`,
|
|||
|
1 AS `sys_org_code`,
|
|||
|
1 AS `sys_company_code`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `order_type_code`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `order_id_i`,
|
|||
|
1 AS `wm_to_up_id`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `goods_batch`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `act_type_code`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `wms_id`,
|
|||
|
1 AS `erp_id`,
|
|||
|
1 AS `im_cus_code`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `erp_om_item`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `erp_om_item`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `erp_om_item`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `erp_om_item` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `update_name`,
|
|||
|
1 AS `update_by`,
|
|||
|
1 AS `update_date`,
|
|||
|
1 AS `sys_org_code`,
|
|||
|
1 AS `sys_company_code`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `goods_quaok`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `order_id_i`,
|
|||
|
1 AS `order_type`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `goods_batch`,
|
|||
|
1 AS `act_type_code`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id_to`,
|
|||
|
1 AS `bin_id_from`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `down_sta`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `im_cus_code`,
|
|||
|
1 AS `om_bei_zhu`,
|
|||
|
1 AS `wms_id`,
|
|||
|
1 AS `erp_id`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `fxj_other_login`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `fxj_other_login`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `fxj_other_login` (
|
|||
|
`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 '流程状态',
|
|||
|
`username` varchar(32) DEFAULT NULL COMMENT '用户名',
|
|||
|
`realname` varchar(32) DEFAULT NULL COMMENT '姓名',
|
|||
|
`otherid` varchar(232) DEFAULT NULL COMMENT '三方id',
|
|||
|
`otherre1` varchar(232) DEFAULT NULL COMMENT '三方1',
|
|||
|
`otherre2` varchar(232) DEFAULT NULL COMMENT '三方2',
|
|||
|
`otherre3` varchar(232) DEFAULT NULL COMMENT '三方3',
|
|||
|
`otherre4` varchar(232) DEFAULT NULL COMMENT '三方4',
|
|||
|
`other_type` 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 `fxj_other_login`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `fxj_other_login` WRITE;
|
|||
|
/*!40000 ALTER TABLE `fxj_other_login` DISABLE KEYS */;
|
|||
|
/*!40000 ALTER TABLE `fxj_other_login` 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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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(select sup_code from wm_im_notice_h where notice_id = wg.im_notice_id limit 1) as supcode,\r\n(select sup_name from wm_im_notice_h where notice_id = wg.im_notice_id limit 1) as supname\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','','验收明细','管理员','2022-03-15 20:02:06','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
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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> <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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 '动线',
|
|||
|
`LORA_bqid` varchar(45) DEFAULT NULL,
|
|||
|
`xnode` varchar(45) DEFAULT NULL,
|
|||
|
`ynode` varchar(45) DEFAULT NULL,
|
|||
|
`znode` varchar(45) DEFAULT NULL,
|
|||
|
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 ('4028804074beadae0174d2239a4c0020','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','010301','010301','收货储位','冷藏','010301','010301','','0','5.0','右库口','2160000000','1500','0103A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','03','01'),('4028804074beadae0174d2239a4c0021','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','010401','010401','收货储位','冷藏','010401','010401','','0','5.0','右库口','2160000000','1500','0104A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','04','01'),('4028804074beadae0174d2239a550022','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','010501','010501','收货储位','冷藏','010501','010501','','0','5.0','右库口','2160000000','1500','0105A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','05','01'),('4028804074beadae0174d2239a5f0023','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','010601','010601','收货储位','冷藏','010601','010601','','0','5.0','右库口','2160000000','1500','0106A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','06','01'),('4028804074beadae0174d2239a690024','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','010701','010701','收货储位','冷藏','010701','010701','','0','5.0','右库口','2160000000','1500','0107A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','07','01'),('4028804074beadae0174d2239a690025','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','010801','010801','收货储位','冷藏','010801','010801','','0','5.0','右库口','2160000000','1500','0108A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','08','01'),('4028804074beadae0174d2239a730026','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','010901','010901','收货储位','冷藏','010901','010901','','0','5.0','右库口','2160000000','1500','0109A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','09','01'),('4028804074beadae0174d2239a730027','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','011001','011001','收货储位','冷藏','011001','011001','','0','5.0','右库口','2160000000','1500','0110A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','10','01'),('4028804074beadae0174d2239a7d0028','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','011101','011101','收货储位','冷藏','011101','011101','','0','5.0','右库口','2160000000','1500','0111A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','11','01'),('4028804074beadae0174d2239a7d0029','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','011301','011301','收货储位','冷藏','011301','011301','','0','5.0','右库口','2160000000','1500','0113A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','13','01'),('4028804074beadae0174d2239a86002a','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','011401','011401','收货储位','冷藏','011401','011401','','0','5.0','右库口','2160000000','1500','0114A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','14','01'),('4028804074beadae0174d2239a90002b','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41','A05','A05','A01','011501','011501','收货储位','冷藏','011501','011501','','0','5.0','右库口','2160000000','1500','0115A1','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','01','15','01'),('4028804074beadae0174d2239aa3002c','管理员','admin','2020-09-28 08:36:23','管理员','admin','2020-10-07 15:27:41'
|
|||
|
INSERT INTO `md_bin` VALUES ('4028804074beadae0174d22407820c6e','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','032025','032025','收货储位','冷藏','032025','032025','','0','9999.0','左库口','2160000000','1500','0320A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','20','03'),('4028804074beadae0174d224078c0c6f','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','032125','032125','收货储位','冷藏','032125','032125','','0','9999.0','左库口','2160000000','1500','0321A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','21','03'),('4028804074beadae0174d22407a00c70','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','032225','032225','收货储位','冷藏','032225','032225','','0','9999.0','左库口','2160000000','1500','0322A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','22','03'),('4028804074beadae0174d22407a90c71','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','032325','032325','收货储位','冷藏','032325','032325','','0','9999.0','左库口','2160000000','1500','0323A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','23','03'),('4028804074beadae0174d22407b30c72','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','032525','032525','收货储位','冷藏','032525','032525','','0','9999.0','左库口','2160000000','1500','0325A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','25','03'),('4028804074beadae0174d22407bd0c73','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','032625','032625','收货储位','冷藏','032625','032625','','0','9999.0','左库口','2160000000','1500','0326A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','26','03'),('4028804074beadae0174d22407d10c74','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','032725','032725','收货储位','冷藏','032725','032725','','0','9999.0','左库口','2160000000','1500','0327A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','27','03'),('4028804074beadae0174d22407da0c75','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','032825','032825','收货储位','冷藏','032825','032825','','0','9999.0','左库口','2160000000','1500','0328A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','28','03'),('4028804074beadae0174d22407e40c76','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','032925','032925','收货储位','冷藏','032925','032925','','0','9999.0','左库口','2160000000','1500','0329A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','29','03'),('4028804074beadae0174d22407ee0c77','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','033025','033025','收货储位','冷藏','033025','033025','','0','9999.0','左库口','2160000000','1500','0330A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','30','03'),('4028804074beadae0174d22408010c78','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','033225','033225','收货储位','冷藏','033225','033225','','0','9999.0','左库口','2160000000','1500','0332A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','32','03'),('4028804074beadae0174d224080b0c79','管理员','admin','2020-09-28 08:36:51','管理员','admin','2020-10-07 15:28:15','A05','A05','A01','033325','033325','收货储位','冷藏','033325','033325','','0','9999.0','左库口','2160000000','1500','0333A3','1','1200','1200','1500','N','','BJTZ7','肉类','','','','','25','33','03'),('4028804074beadae0174d22408150c7a','管理员','admin','2020-09-28 08:36:51','管<EFBFBD>
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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(132) 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 ('297e363f7deb92cd017deba50cd70003','管理员','admin','2021-12-24 16:53:22',NULL,NULL,NULL,'A05','A05','1','1',NULL,'A01',NULL,NULL,NULL,'10','01',NULL,NULL,NULL,NULL,NULL,'10',NULL,NULL,NULL,NULL,'',NULL,'','','',NULL,'',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','',''),('4028804072de5db4017393807ede00e1','测试','test','2020-07-28 11:38:59',NULL,NULL,NULL,'A05','A05','北京同仁堂','',NULL,'001122',NULL,NULL,NULL,'20','',NULL,NULL,NULL,NULL,NULL,'10',NULL,NULL,NULL,NULL,'北京',NULL,'ABC','','11111111111',NULL,'',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','',''),('4028804072de5db40174a91f5fbe015b','测试','test','2020-09-20 09:27:20','管理员','admin','2020-09-20 09:37:53','A05','A05','北京01','001',NULL,'BJ01',NULL,NULL,NULL,'10','01',NULL,NULL,NULL,NULL,NULL,'20',NULL,NULL,NULL,NULL,'北京',NULL,'','','',NULL,'',NULL,NULL,NULL,NULL,NULL,'001',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','',''),('4028804072de5db40174a958a6f40189','管理员','admin','2020-09-20 10:29:54','管理员','admin','2020-09-20 16:00:47','A05','A05','内蒙古额里图食品有限公司','NMELT01',NULL,'NMELT',NULL,NULL,NULL,'20','01',NULL,NULL,NULL,NULL,NULL,'20',NULL,NULL,NULL,NULL,'内蒙古锡林郭勒盟正镶白旗额里图农场',NULL,'汪涛','','15149165566',NULL,'',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','',''),('402882f17917a3b4017917a8259d0003','管理员','admin','2021-04-28 16:46:06',NULL,NULL,NULL,'A05','A05','中储粮','',NULL,'001',NULL,NULL,NULL,'10','01',NULL,NULL,NULL,NULL,NULL,'10',NULL,NULL,NULL,NULL,'',NULL,'','','',NULL,'',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','',''),('402882f17917a3b401791b277b7a0021','管理员','admin','2021-04-29 09:04:03',NULL,NULL,NULL,'A05','A05','芜湖众力','',NULL,'8AR',NULL,NULL,NULL,'10','01',NULL,NULL,NULL,NULL,NULL,'10',NULL,NULL,NULL,NULL,'',NULL,'','','',NULL,'',NULL,NULL,NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'','',''),('ff80808178f747c30178f74bdf7d0003','管理员','admin','2021-04-22 09:57:28',NULL,NULL,NULL,'A05','A05','商米','',NULL,'0001',NULL,NULL,NULL,'10','01',NULL,NULL,NULL,NULL,NULL,'10',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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
INSERT INTO `md_cus_other` VALUES ('40288bcd7fa5dff2017fa5e12c540001','管理员','admin','2022-03-20 13:51:12',NULL,NULL,NULL,'A05','A05','NMELT','客户测试','','客户测试1','111112','','','','','','','',NULL,NULL,NULL,'','','','','','','','','','','','','','','','','','','','','','','','','',NULL,'','',''),('40289a817d469a1b017d4735c2f10003','管理员','admin','2021-11-22 18:34:05',NULL,NULL,NULL,'A05','A05','NMELT','客户测试','','客户测试','11111','','','','','','','',NULL,NULL,NULL,'','','','','','','','','','','','','','','','','','','',NULL,'','','','','',NULL,'','','');
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 '基准温度',
|
|||
|
`yw_ming_cheng` varchar(300) DEFAULT NULL,
|
|||
|
`rw_ming_cheng` varchar(300) DEFAULT NULL,
|
|||
|
`cus_name` varchar(145) DEFAULT NULL,
|
|||
|
`peisongdian` varchar(45) DEFAULT NULL,
|
|||
|
`category_code` varchar(45) DEFAULT NULL COMMENT '分类',
|
|||
|
`category_id` varchar(45) DEFAULT NULL,
|
|||
|
`min_stock` varchar(45) DEFAULT NULL,
|
|||
|
`sku` varchar(45) DEFAULT NULL,
|
|||
|
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 ('297e363f7deb92cd017deba616df0006','管理员','admin','2021-12-24 16:54:30',NULL,NULL,NULL,'A05','A05','8AR','1',NULL,'8AR70000001',NULL,'11',NULL,'海鲜','冷藏','N','','','10',NULL,'111','111','','个','个','','1','1',NULL,NULL,NULL,NULL,NULL,NULL,'1','','','',NULL,NULL,'','111',NULL,'1','1',NULL,NULL,'7',NULL,'',NULL),('4028804072de5db40174a4b5e51c0135','管理员','admin','2020-09-19 12:53:38','管理员','admin','2021-12-24 16:53:52','A05','A05','BJ01','牛肉',NULL,'BJ0101001',NULL,'BJ0101',NULL,'海鲜','恒温','N','6','5','10',NULL,'695001','1','366','箱','箱','250000','50','1',NULL,NULL,NULL,NULL,NULL,NULL,'120','100','50','50',NULL,NULL,'240','BJ0101001',NULL,'','',NULL,NULL,NULL,NULL,NULL,NULL),('4028804072de5db40174aa0a947e0199','测试','test','2020-09-20 13:44:14','管理员','admin','2022-03-15 15:35:46','A05','A05','NMELT','牛羊肉成品牛羊肉成品牛羊肉成品',NULL,'NMELT0001',NULL,'',NULL,'肉类','冷藏','N','8','6','20',NULL,'NMELT0001','','','箱','箱','27552','25','1',NULL,NULL,NULL,NULL,NULL,NULL,'7.4','41','28','24',NULL,NULL,'','NMELT0001',NULL,'','',NULL,NULL,NULL,NULL,NULL,NULL),('4028804074beadae0174d3ebc8e8133e','测试','test','2020-09-28 16:54:39','测试','test','2020-09-29 15:44:31','A05','A05','NMELT','牛羊肉半成品',NULL,'NMELT0002',NULL,'',NULL,'肉类','冷藏','N','4','4','20',NULL,'NMELT0002','','','斤','箱','','500','1',NULL,NULL,NULL,NULL,NULL,NULL,'7.4','50','50','',NULL,NULL,'','NMELT0002',NULL,'','',NULL,NULL,NULL,NULL,NULL,NULL),('402882f17917a3b4017917a9cc230005','管理员','admin','2021-04-28 16:47:54',NULL,NULL,NULL,'A05','A05','001','成品油',NULL,'001001',NULL,'',NULL,'肉类','常温','N','111','1111','10',NULL,'','','360','份','份','','1','1',NULL,NULL,NULL,NULL,NULL,NULL,'1','','','',NULL,NULL,'240','',NULL,'','',NULL,NULL,NULL,NULL,NULL,NULL),('402882f17917a3b401791b2e3e78006e','管理员','admin','2021-04-29 09:11:26',NULL,NULL,NULL,'A05','A05','8AR','左A柱上护板总成',NULL,'S11-5402010',NULL,'',NULL,'汽车零配件','常温','N','1','1','','','','','无','个','个','1','1','1',NULL,NULL,NULL,NULL,NULL,NULL,'','','','',NULL,NULL,'','S11-5402010',NULL,'','','芜湖众力','',NULL,NULL,NULL,NULL),('402882f17917a3b401791b2e3e8b006f','管理员','admin','2021-04-29 09:11:26',NULL,NULL,NULL,'A05','A05','8AR','右A柱上护板总成',NULL,'S11-5402020',NULL,'',NULL,'汽车零配件','常温','N','1','1','','','','','无','个','个','1','1','1',NULL,NULL,NULL,NULL,NULL,NULL,'','','','',NULL,NULL,'','S11-5402020',NULL,'','','芜湖众力','',NULL,NULL,NULL,NULL),('402882f17917a3b401791b2e3e9c0070','管理员','admin','2021-04-29 09:11:26',NULL,NULL,NULL,'A05','A05','8AR','左A柱下护板总成',NULL,'S11-5402030',NULL,'',NULL,'汽车零配件','常温','N','4','3','','','','','无','个','个','1','1','1',NULL,NULL,NULL,NULL,NULL,NULL,'','','','',NULL,NULL,'','S11-5402030',NULL,'','','芜湖众力','',NULL,NULL,NULL,NULL),('402882f17917a3b401791b2e3eaf0071','管理员','admin','2021-04-29 09:11:26',NULL,NULL,NULL,'A05','A05','8AR','右A柱下护板总成',NULL,'S11-5402040',NULL,'',NULL,'汽车零配件','常温','N','4','3','','','','','无','个','个','1','1','1',NULL,NULL,NULL,NULL,NULL,NULL,'','','','',NULL,NULL,'','S11-5402040',NULL,'','','芜湖众力','',NULL,NULL,NULL,NULL),('402882f17917a3b401791b2e3ebf0072','管理员','admin','2021-04-29 09:11:26',NULL,NULL,NULL,'A05','A05','8AR','左B柱上护板总成',NULL,'S11-5402050',NULL,'',NULL,'汽车零配件','常温','N','1','1','','','','','无','个','个','1','1','1',NULL,NULL,NULL,NULL,NULL,NULL,'','','','',NULL,NULL,'','S11-5402050',NULL,'','','芜湖众力','',NULL,NULL,NULL,NULL),('402882f17917a3b401791b2e3ecf0073','管理员','admin','2021-04-29 09:11:26',NULL,NULL,NULL,'A05','A05','8AR','右B柱上护板总成',NULL,'S11-5402060',NULL,'',NULL,'汽车零配件','常温','N','1','1','','','','','无','个','个','1','1','1',NULL,NULL,NULL,NULL,NULL,NULL,'','','','',NULL,NULL,'','S11-5402060',NULL,'','','芜湖众力','',NULL,NULL,NULL,NULL)
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
INSERT INTO `md_sup` VALUES ('40289a817da9f3cc017daa2a00ec000e','管理员','admin','2021-12-11 23:43:39',NULL,NULL,NULL,'A05','A05','sup01',NULL,NULL,'sup01',NULL,NULL,NULL,NULL,'01',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 `md_sup` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `mobile`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `mobile`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `mv_cus` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `cus_name`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `mv_cus_cost` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `cost_data`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `mv_cus_other` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `suo_shu_ke_hu`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `cus_name`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `mv_down_and_up` AS SELECT
|
|||
|
1 AS `leixing`,
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `order_id_i`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `goods_batch`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `zhl_kg`,
|
|||
|
1 AS `chl_shl`,
|
|||
|
1 AS `jf_shp_lei`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `mv_goods` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `jf_shp_lei`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `cf_wen_ceng`,
|
|||
|
1 AS `mp_dan_ceng`,
|
|||
|
1 AS `mp_ceng_gao`,
|
|||
|
1 AS `shp_tiao_ma`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `zhl_kgm`,
|
|||
|
1 AS `chl_shl`,
|
|||
|
1 AS `ti_ji_cm`,
|
|||
|
1 AS `zhl_kg`,
|
|||
|
1 AS `zhl_kg_zx`,
|
|||
|
1 AS `chp_shu_xing`,
|
|||
|
1 AS `baseunit`,
|
|||
|
1 AS `jizhun_wendu`,
|
|||
|
1 AS `shp_bian_makh`,
|
|||
|
1 AS `chailing`,
|
|||
|
1 AS `zhx_unit`,
|
|||
|
1 AS `shp_gui_ge`,
|
|||
|
1 AS `SHP_PIN_PAI`,
|
|||
|
1 AS `GAO_ZH_XIANG`,
|
|||
|
1 AS `KU_ZH_XIANG`,
|
|||
|
1 AS `CH_ZH_XIANG`,
|
|||
|
1 AS `gao_dan_pin`,
|
|||
|
1 AS `sku`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `mv_stock_cus` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `dqr`,
|
|||
|
1 AS `ku_wei_lei_xing`,
|
|||
|
1 AS `qu_huo_ci_xu`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `hiti`,
|
|||
|
1 AS `shp_bian_makh`,
|
|||
|
1 AS `zhong_liang`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `mv_stock_yj` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `dqr`,
|
|||
|
1 AS `res_date`,
|
|||
|
1 AS `qu_huo_ci_xu`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `shp_bian_makh`,
|
|||
|
1 AS `guoqibili`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `mv_stock_yj_base` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `dqr`,
|
|||
|
1 AS `res_date`,
|
|||
|
1 AS `qu_huo_ci_xu`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `shp_bian_makh`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `oms_oeder_detail`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `oms_oeder_detail`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `oms_oeder_detail` (
|
|||
|
`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 '流程状态',
|
|||
|
`oms_wmx1` varchar(132) DEFAULT NULL COMMENT '字段1',
|
|||
|
`oms_wmx3` varchar(132) DEFAULT NULL COMMENT '字段3',
|
|||
|
`oms_wmx2` varchar(132) DEFAULT NULL COMMENT '字段2',
|
|||
|
`oms_wmx4` varchar(132) DEFAULT NULL COMMENT '字段4',
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `oms_oeder_detail`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `oms_oeder_detail` WRITE;
|
|||
|
/*!40000 ALTER TABLE `oms_oeder_detail` DISABLE KEYS */;
|
|||
|
/*!40000 ALTER TABLE `oms_oeder_detail` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `rfid_buse`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `rfid_buse`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `rfid_buse` (
|
|||
|
`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 '流程状态',
|
|||
|
`rfid_type` varchar(128) DEFAULT NULL COMMENT '类型',
|
|||
|
`rfid_buseno` varchar(128) DEFAULT NULL COMMENT '业务编号',
|
|||
|
`rfid_busecont` varchar(128) DEFAULT NULL COMMENT '业务内容',
|
|||
|
`rfid_id1` varchar(128) DEFAULT NULL COMMENT 'RFID1',
|
|||
|
`rfid_id2` varchar(128) DEFAULT NULL COMMENT 'RFID2',
|
|||
|
`rfid_id3` varchar(128) DEFAULT NULL COMMENT 'RFID3',
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `rfid_buse`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `rfid_buse` WRITE;
|
|||
|
/*!40000 ALTER TABLE `rfid_buse` DISABLE KEYS */;
|
|||
|
INSERT INTO `rfid_buse` VALUES ('4028804074fff50e0175023f4c8b002e',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000005','21.0','0'),('4028804074fff50e01750242ef5d0030',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000005','21.0','0'),('4028804074fff50e01750250f24c0033',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000004','20.5','0'),('4028804074fff50e01750259bcd3003b',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000018','21.0','0'),('4028804074fff50e0175025c174a003e',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000018','21.0','0'),('4028804074fff50e01750274a7030046',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000016','21.0','0'),('4028804074fff50e01750275d2280048',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000016','21.0','0'),('4028804074fff50e01750278c61e004a',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000017','20.5','0'),('4028804074fff50e017502b6678e0075',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000005','20.5','0'),('4028804074fff50e017502b882b80077',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000004','21.0','0'),('4028804074fff50e017502b9821d0079',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000018','20.5','0'),('4028804074fff50e017502badf63007c',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000016','21.0','0'),('4028804074fff50e017502ce6bdc0080',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'DF000017','21.0','0');
|
|||
|
/*!40000 ALTER TABLE `rfid_buse` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `rp_period_in_out`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `rp_period_in_out`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 '现库存',
|
|||
|
`sup_code` varchar(255) DEFAULT NULL,
|
|||
|
`sup_name` varchar(255) DEFAULT NULL,
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|||
|
/*!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 */;
|
|||
|
/*!40000 ALTER TABLE `rp_period_in_out` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `rp_wm_down_and_qm` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `om_sta`,
|
|||
|
1 AS `om_notice_id`,
|
|||
|
1 AS `im_cus_code`,
|
|||
|
1 AS `ocus_code`,
|
|||
|
1 AS `ocus_name`,
|
|||
|
1 AS `om_beizhu`,
|
|||
|
1 AS `delv_addr`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `plan_sta`,
|
|||
|
1 AS `sumqua`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `rp_wm_his_stock_ku` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `his_date`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `count`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `zhl_kg`,
|
|||
|
1 AS `chl_shl`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `rp_wm_in_qm` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `im_notice_id`,
|
|||
|
1 AS `item_text`,
|
|||
|
1 AS `rec_deg`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `zhl_kg`,
|
|||
|
1 AS `sumzhl`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `rp_wm_to_down_goods` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `bin_id_to`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `zhl_kg`,
|
|||
|
1 AS `shouhuoren`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `rp_wm_to_up_goods` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `zhl_kg`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `rp_wm_up_and_down` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `leixing`*/;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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(20) 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 ('2c9221a4717bb44c01717d01c6ff0540',NULL,NULL,'33beb63a7f11dbd2','管理员',NULL,1,'管理员','admin',NULL,0,NULL),('4028804072de5db40172e011787a0057',NULL,NULL,'ac4a5a2da439ab01','测试',NULL,1,'测试,仓库经理,仓管,客户','test',NULL,0,NULL),('4028804072de5db40172e1a606e30065',NULL,NULL,'52c356a463b5d4fc','测试1',NULL,1,'测试,仓库经理,仓管,客户,管理员','test1',NULL,0,NULL),('4028804072de5db40172e40d45930074',NULL,NULL,'a2fef23ac217912c','SWL',NULL,1,'管理员','SWL',NULL,0,NULL),('4028804072de5db40172ff898d1a008c',NULL,NULL,'a8e6efa1d3cac92a','WCS',NULL,1,'管理员','WCS',NULL,0,NULL),('4028804072de5db40174a91fe409015d',NULL,NULL,'279530544fa3744c','北京01',NULL,1,NULL,'BJ01',NULL,0,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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2c9221a470adc6fc0170ecef9dd4029e','厦门广州','',NULL,'A05','1','','','',NULL);
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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,'管理员'),('402880e972c991620172c9a542f20015',NULL,1,'RFID','60','rfidBuseController.do?list','8a7ba3345d93bb87015d93e5f08f001d','8a8ab0b246dc81120146dc8180460000','8a8ab0b246dc81120146dc8180dd001e',0,'','admin','管理员',NULL,NULL,'2020-06-19 06:55:51',NULL),('402880ea53303a060153304a9ad50001',NULL,1,'系统公告','7','noticeController.do?tSNotice','8a8ab0b246dc81120146dc8180
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
INSERT INTO `t_s_log` VALUES ('297e363f7deb92cd017deb93c2cc0000','Chrome','用户: admin[厦门广州]common.login.success',1,'169.254.182.191','2021-12-24 16:34:29',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deb93c4260001','Chrome','用户: admin[厦门广州]common.login.success',1,'169.254.182.191','2021-12-24 16:34:30',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deb93c4610002','Chrome','用户: admin[厦门广州]common.login.success',1,'169.254.182.191','2021-12-24 16:34:30',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba50cdc0004','Chrome','客户添加成功',3,'169.254.182.191','2021-12-24 16:53:22',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba582eb0005','Chrome','商品信息更新成功',5,'169.254.182.191','2021-12-24 16:53:52',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba616e20007','Chrome','商品信息添加成功',3,'169.254.182.191','2021-12-24 16:54:30',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba6b101000c','Chrome','进货通知添加成功',3,'169.254.182.191','2021-12-24 16:55:10',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba71270000e','Chrome','批量收货001001',3,'169.254.182.191','2021-12-24 16:55:35',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba71273000f','Chrome','批量收货添加成功',4,'169.254.182.191','2021-12-24 16:55:35',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba719af0010','Chrome','错误异常: NumberFormatException,错误描述:empty String',6,'169.254.182.191','2021-12-24 16:55:37',3,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba74e730012','Chrome','批量收货NMELT0002',3,'169.254.182.191','2021-12-24 16:55:50',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba74e750013','Chrome','批量收货添加成功',4,'169.254.182.191','2021-12-24 16:55:50',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba75c080014','Chrome','错误异常: BusinessException,错误描述:储位不存在!',6,'169.254.182.191','2021-12-24 16:55:54',3,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba75f6f0015','Chrome','错误异常: BusinessException,错误描述:储位不存在!',6,'169.254.182.191','2021-12-24 16:55:54',3,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba7603a0016','Chrome','错误异常: BusinessException,错误描述:储位不存在!',6,'169.254.182.191','2021-12-24 16:55:55',3,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba77cfa0017','Chrome','批量收货更新成功',5,'169.254.182.191','2021-12-24 16:56:02',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba782c00019','Chrome','上架:NMELT0002',4,'169.254.182.191','2021-12-24 16:56:04',1,'2c9221a4717bb44c01717d01c6ff0540'),('297e363f7deb92cd017deba782c4001a','Chrome','上架成功',4,'169.254.182.191','2021-12-24 16:56:04',1,'2c9221a4717bb44c01717d01c6ff0540'),('4028804072de5db40172de5f6a160000','Chrome','用户: admin[东莞市到家点点电子商务有限公司]common.login.success',1,'192.168.0.192','2020-06-23 07:31:35',1,'2c9221a4717bb44c01717d01c6ff0540'),('4028804072de5db40172de5f6d430001','Chrome','用户: admin[东莞市到家点点电子商务有限公司]common.login.success',1,'192.168.0.192','2020-06-23 07:31:35',1,'2c9221a4717bb44c01717d01c6ff0540'),('4028804072de5db40172de5f6d800002','Chrome','用户: admin[东莞市到家点点电子商务有限公司]common.login.success',1,'192.168.0.192','2020-06-23 07:31:35',1,'2c9221a4717bb44c01717d01c6ff0540'),('4028804072de5db40172de601da60003','Chrome','语言 更新成功',5,'192.168.0.192','2020-06-23 07:32:21',1,'2c9221a4717bb44c01717d01c6ff0540'),('4028804072de5db40172de60315a0004','Chrome','语言 更新成功',5,'192.168.0.192','2020-06-23 07:32:26',1,'2c9221a4717bb44c01717d01c6ff0540'),('4028804072de5db40172de60ab300005','Chrome','组织机构 更新成功',5,'192.168.0.192','2020-06-23 07:32:57',1,'2c9221a4717bb44c01717d01c6ff0540'),('4028804072de5db40172de60eaa90006','Chrome','用户:lzp删除成功',4,'
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2c9221a471e7ec49017207089d2611bb','delinqm',NULL,'删除',0,'4028b8815e5272f8015e527538d80001','8a8ab0b246dc81120146dc8180460000',0),('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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2c9221a4717bb44c01717ce20ca00411','cs','测试',NULL,NULL,NULL,'初始','2020-04-15 16:08:41','admin'),('2c9221a4717bb44c01717ced1eb70425','ckjl','仓库经理','初始','2020-04-15 16:22:26','admin',NULL,NULL,NULL),('2c9221a4717bb44c01717cf9cc2a04e6','cg','仓管','初始','2020-04-15 16:37:26','admin',NULL,NULL,NULL),('4028804072de5db40172df63e359001d','KH','客户',NULL,NULL,NULL,'管理员','2020-06-23 12:16:05','admin'),('8a8ab0b246dc81120146dc8181870050','gly','管理员','初始','2020-04-15 16:33:39','admin',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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2c9221a4717bb44c01717ce52282041f',NULL,NULL,'402880e74d75c4dd014d75d3c5f40001',NULL),('2c9221a4717bb44c01717cf7073c0445',NULL,'8a7ba3345d9e6e2b015db556b71602b7','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073c0449',NULL,'4028b8815e73d810015e73ebb9c90002','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073c044d',NULL,'4028818469d64a0b0169d64d47a50005','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073c044e',NULL,'8a7ba3345d93bb87015d93fe188e005a','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073c044f',NULL,'4028b8815e11c8f1015e12066c5e0021','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073c0451',NULL,'8a7ba3345d93bb87015d93e88cf20029','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073c0454',NULL,'402881885eb4cee3015eb4d0a3680001','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073c0458',NULL,'8a7ba3345d9e6e2b015dc45f41f7041f','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073c045b',NULL,'4028818469d64a0b0169d64ee5d2000d','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073c045c',NULL,'402881885f72f685015f75ac80300776','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d0464',NULL,'8a7ba3345d93bb87015d94015b040066','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d046c',NULL,'402881885f72f685015f75abedb40774','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d046e',NULL,'8a7ba3345d93bb87015d93e7de490025','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d047b',NULL,'402881885eec9d14015eeca133e40007','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d047f',NULL,'402881885f193f67015f19c7073e0010','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d0480',NULL,'8a7ba3345d9e6e2b015db556358102b4','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d0482',NULL,'402881b265ece4100165ecf2d5cc0001','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d0491','2c9221a471e7ec49017207089d2611bb,','4028b8815e5272f8015e527538d80001','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d0493',NULL,'402881885f193f67015f19c74bba0012','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d0499',NULL,'4028b8815e61e487015e61e71a1d0001','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073d049e',NULL,'4028818469d64a0b0169d64e956d000b','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04a3',NULL,'8a7ba3345d9e6e2b015da55200f90242','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04ab',NULL,'402881885f193f67015f19c6a8c3000e','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04ad',NULL,'8a7ba3345d93bb87015d93e846290027','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04ae',NULL,'8a7ba3345d93bb87015d93e5f08f001d','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04b7',NULL,'4028b8815e16ec74015e16f911760011','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04bb',NULL,'8a7ba3345d93bb87015d93e9c8220031','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04bf',NULL,'8a7ba3345d9e6e2b015da5516d22023e','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04c1',NULL,'8a7ba3345d93bb87015d93e67ba4001f','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04c2',NULL,'8a7ba3345d93bb87015d93fe99c4005c','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04c4',NULL,'402881885f450361015f4751c20e0063','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04c5',NULL,'8a7ba3345d93bb87015d93fdaf110058','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04ca',NULL,'4028818469d64a0b0169d64cd7870003','2c9221a4717bb44c01717ced1eb70425',NULL),('2c9221a4717bb44c01717cf7073e04cf',NULL,'8a7ba3345d9e6e2b015da54f7ffe0238','
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2c9221a4715dbbff017173299b8301ce','8a8ab0b246dc81120146dc8181870050','8a8ab0b246dc81120146dc8181a10054'),('2c9221a4715dbbff01717329cc6301d1','402880e74d75c4dd014d75d3c5f40001','4028ef81563ae5be01563ae92d7f0002'),('2c9221a4715dbbff01717334dc4501d7','402880e74d75c4dd014d75d3c5f40001','402881875988e889015988ec36770001'),('2c9221a4717bb44c01717d01c7140542','8a8ab0b246dc81120146dc8181870050','2c9221a4717bb44c01717d01c6ff0540'),('4028804072de5db40172e01178830059','2c9221a4717bb44c01717ce20ca00411','4028804072de5db40172e011787a0057'),('4028804072de5db40172e011788d005a','2c9221a4717bb44c01717ced1eb70425','4028804072de5db40172e011787a0057'),('4028804072de5db40172e0117897005b','2c9221a4717bb44c01717cf9cc2a04e6','4028804072de5db40172e011787a0057'),('4028804072de5db40172e01178a0005c','4028804072de5db40172df63e359001d','4028804072de5db40172e011787a0057'),('4028804072de5db40172e1a606f60067','2c9221a4717bb44c01717ce20ca00411','4028804072de5db40172e1a606e30065'),('4028804072de5db40172e1a607620068','2c9221a4717bb44c01717ced1eb70425','4028804072de5db40172e1a606e30065'),('4028804072de5db40172e1a607620069','2c9221a4717bb44c01717cf9cc2a04e6','4028804072de5db40172e1a606e30065'),('4028804072de5db40172e1a6076b006a','4028804072de5db40172df63e359001d','4028804072de5db40172e1a606e30065'),('4028804072de5db40172e1a6076b006b','8a8ab0b246dc81120146dc8181870050','4028804072de5db40172e1a606e30065'),('4028804072de5db40172e40d45ff0076','8a8ab0b246dc81120146dc8181870050','4028804072de5db40172e40d45930074'),('4028804072de5db40172ff898d37008e','8a8ab0b246dc81120146dc8181870050','4028804072de5db40172ff898d1a008c'),('4028804072de5db40174a91fe457015f','4028804072de5db40172df63e359001d','4028804072de5db40174a91fe409015d');
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
INSERT INTO `t_s_sms` VALUES ('297e363f7deb92cd017deba6b0fe000b','管理员','admin','2021-12-24 16:55:10',NULL,NULL,NULL,'收货通知','3','admin','admin','中储粮客户的订单QTRK20211224-0001将于送到,请准备收货。','2021-12-24 16:55:50','发送成功','2'),('2c9184e1690db7e301690db9f9ae0009','初始','admin','2019-02-21 09:44:46',NULL,NULL,NULL,'收货通知','3','admin','admin','1客户的订单RK20190221-0001将于送到,请准备收货。','2019-02-21 09:44:50','发送成功','2'),('2c9221a46f93b677016f93eab3b10019','初始','admin','2020-01-11 17:23:50',NULL,NULL,NULL,'收货通知','3','admin','admin','刘阳蔬菜批发部客户的订单RK20200111-0001将于送到,请准备收货。','2020-01-11 17:23:50','发送成功','2'),('2c9221a46f9d67ba016fa2c1fe6b0010','初始','admin','2020-01-14 14:33:40',NULL,NULL,NULL,'出货通知','3','admin','admin','深圳供应商(测试)客户的出货订单CK20200114-0001将于出货,请准备出货。','2020-01-14 14:33:50','发送成功','2'),('2c9221a46f9d67ba016fa2c24be20015','初始','admin','2020-01-14 14:34:00',NULL,NULL,NULL,'出货通知','3','admin','admin','深圳供应商(测试)客户的出货订单CK20200114-0002将于出货,请准备出货。','2020-01-14 14:34:50','发送成功','2'),('2c9221a46f9d67ba016fa2c30db5001a','初始','admin','2020-01-14 14:34:50',NULL,NULL,NULL,'出货通知','3','admin','admin','刘阳蔬菜批发部客户的出货订单CK20200114-0003将于出货,请准备出货。','2020-01-14 14:34:50','发送成功','2'),('2c9221a46f9d67ba016fa2c336b3001f','初始','admin','2020-01-14 14:35:00',NULL,NULL,NULL,'出货通知','3','admin','admin','刘阳蔬菜批发部客户的出货订单CK20200114-0004将于出货,请准备出货。','2020-01-14 14:35:50','发送成功','2'),('2c9221a46f9d67ba016fa2c894bd0027','初始','admin','2020-01-14 14:40:52',NULL,NULL,NULL,'收货通知','3','admin','admin','刘阳蔬菜批发部客户的订单RK20200114-0001将于Jan 14, 2020 2:40:17 PM送到,请准备收货。','2020-01-14 14:41:00','发送成功','2'),('2c9221a46f9d67ba016fa2cd1f43002f','初始','admin','2020-01-14 14:45:50',NULL,NULL,NULL,'出货通知','3','admin','admin','刘阳蔬菜批发部客户的出货订单CK20200114-0005将于出货,请准备出货。','2020-01-14 14:45:50','发送成功','2'),('2c9221a46f9d67ba016fa2f315a70039','初始','admin','2020-01-14 15:27:17',NULL,NULL,NULL,'出货通知','3','admin','admin','刘阳蔬菜批发部客户的出货订单CK20200114-0006将于出货,请准备出货。','2020-01-14 15:27:50','发送成功','2'),('2c9221a46f9d67ba016fa2f6e2ed003e','初始','admin','2020-01-14 15:31:27',NULL,NULL,NULL,'出货通知','3','admin','admin','刘阳蔬菜批发部客户的出货订单CK20200114-0007将于出货,请准备出货。','2020-01-14 15:31:50','发送成功','2'),('2c9221a46f9d67ba016fa307df1a0047','初始','admin','2020-01-14 15:50:00',NULL,NULL,NULL,'收货通知','3','admin','admin','刘阳蔬菜批发部客户的订单RK20200114-0002将于Jan 14, 2020 3:49:36 PM送到,请准备收货。','2020-01-14 15:50:00','发送成功','2'),('2c9221a46f9d67ba016fa30a5b400056','初始','admin','2020-01-14 15:52:43',NULL,NULL,NULL,'出货通知','3','admin','admin','刘阳蔬菜批发部客户的出货订单CK20200114-0008将于Jan 14, 2020 3:52:29 PM出货,请准备出货。','2020-01-14 15:52:50','发送成功','2'),('2c9221a46f9d67ba016fa3b2d38e0060','初始','admin','2020-01-14 18:56:43',NULL,NULL,NULL,'出货通知','3','admin','admin','刘阳蔬菜批发部客户的出货订单CK20200114-0009将于出货,请准备出货。','2020-01-14 18:56:50','发送成功','2'),('2c9221a46f9d67ba016fa3b371650066','初始','admin','2020-01-14 18:57:24',NULL,NULL,NULL,'出货通知','3','admin','admin','刘阳蔬菜批发部客户的出货订单CK20200114-0010将于出货,请准备出货。','2020-01-14 18:57:50','发送成功','2'),('2c9221a46fa84aad016fa89386b60012','初始','admin','2020-01-15 17:40:38',NULL,NULL,NULL,'出货通知','3','admin','admin','刘阳蔬菜批<EFBFBD>
|
|||
|
INSERT INTO `t_s_sms` VALUES ('4028818862776d5801631a43ea5542de','傅娜娜','ODE0009','2018-05-01 13:54:09',NULL,NULL,NULL,'出货通知','3','ODE0009','admin','泉州美吉贸易有限公司客户的出货订单CK20180501-0010将于2018-5-1 13:53:28出货,请准备出货。','2018-05-01 13:54:10','发送成功','2'),('4028818862776d5801631aac649c436e','傅娜娜','ODE0009','2018-05-01 15:48:16',NULL,NULL,NULL,'出货通知','3','ODE0009','admin','莆田市涵江区国盛冷饮店客户的出货订单CK20180501-0011将于2018-5-1 15:47:29出货,请准备出货。','2018-05-01 15:48:20','发送成功','2'),('4028818862776d5801631aaebe994386','傅娜娜','ODE0009','2018-05-01 15:50:50',NULL,NULL,NULL,'出货通知','3','ODE0009','admin','莆田市涵江区国盛冷饮店客户的出货订单CK20180501-0012将于2018-5-1 15:38:56出货,请准备出货。','2018-05-01 15:50:50','发送成功','2'),('4028818862776d5801631ac5838443c7','傅娜娜','ODE0009','2018-05-01 16:15:42',NULL,NULL,NULL,'收货通知','3','ODE0009','admin','莆田市涵江区国盛冷饮店客户的订单RK20180501-0010将于2018-5-1 16:15:12送到,请准备收货。','2018-05-01 16:15:50','发送成功','2'),('4028818862776d5801631ad20a9c43d1','傅娜娜','ODE0009','2018-05-01 16:29:23',NULL,NULL,NULL,'出货通知','3','ODE0009','admin','晋江市黑白牧场餐饮管理有限公司客户的出货订单CK20180501-0013将于2018-5-2 8:21:38出货,请准备出货。','2018-05-01 16:29:30','发送成功','2'),('4028818862776d5801631e06368946e2','晋江市池店华苑调味品商行','HY009','2018-05-02 07:25:14',NULL,NULL,NULL,'出货通知','3','HY009','admin','晋江市池店华苑调味品商行客户的出货订单CK20180502-0001将于2018-5-2 9:18:38出货,请准备出货。','2018-05-02 07:25:20','发送成功','2'),('4028818862776d5801631e4d1c224705','郑承毅','ODE0006','2018-05-02 08:42:40',NULL,NULL,NULL,'收货通知','3','ODE0006','admin','晋江市黑白牧场餐饮管理有限公司客户的订单RK20180502-0001将于2018-5-2 8:37:40送到,请准备收货。','2018-05-02 08:42:50','发送成功','2'),('4028818862776d5801631e4de55e470a','郑承毅','ODE0006','2018-05-02 08:43:32',NULL,NULL,NULL,'出货通知','3','ODE0006','admin','福气冷冻食品有限公司客户的出货订单CK20180502-0002将于2018-5-2 8:42:57出货,请准备出货。','2018-05-02 08:43:40','发送成功','2'),('4028818862776d5801631e624f134715','郑承毅','ODE0006','2018-05-02 09:05:49',NULL,NULL,NULL,'出货通知','3','ODE0006','admin','晋江市池店镇天厚食品商行客户的出货订单CK20180502-0003将于2018-5-2 9:05:04出货,请准备出货。','2018-05-02 09:05:50','发送成功','2'),('4028818862776d5801631e710b5a4720','郑承毅','ODE0006','2018-05-02 09:21:55',NULL,NULL,NULL,'出货通知','3','ODE0006','admin','董正平客户的出货订单CK20180502-0004将于2018-5-2 9:21:05出货,请准备出货。','2018-05-02 09:22:00','发送成功','2'),('4028818862776d5801631e75f2d94729','郑承毅','ODE0006','2018-05-02 09:27:16',NULL,NULL,NULL,'出货通知','3','ODE0006','admin','泉州市文发水产品贸易有限公司客户的出货订单CK20180502-0005将于2018-5-2 9:26:40出货,请准备出货。','2018-05-02 09:27:20','发送成功','2'),('4028818862776d5801631e8eb6ef473f','郑承毅','ODE0006','2018-05-02 09:54:20',NULL,NULL,NULL,'出货通知','3','ODE0006','admin','晋江市黑白牧场餐饮管理有限公司客户的出货订单CK20180502-0006将于2018-5-2 9:51:01出货,请准备出货。','2018-05-02 09:54:20','发送成功','2'),('4028818862776d5801631e8fadb34752','郑承毅','ODE0006','2018-05-02 09:55:23',NULL,NULL,NULL,'出货通知','3','ODE0006','admin','晋江市黑白牧场餐饮管理有限公司客户的出货订单CK20180502-0007将于2018-5-2 9:54:59出货,请准备出货。','2018-05-02 09:55:30','发送成功','2'),('4028818862776d5801631e901baf475b','晋江市池店华苑调味品商行','HY009','2018-05-02 09:55:51',NULL,NULL,NULL,'出货通知','3','HY009','admin','晋江市池店华苑调味
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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','2020-05-28 01:03:23','管理员'),('402881885ec4faf9015ec4fd47890001','admin','2017-09-28 04:18:07','admin','0 15 23 * * ?','1','1','计费','costTaskCronTrigger','admin','2020-05-19 10:10:23','管理员'),('8a8ab0b246dc81120146dc81850c016a',NULL,NULL,NULL,'0 15 01 * * ?','1','0','商品效期管理','goodsMoveTaskCronTrigger','admin','2020-05-15 22:10: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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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','管理员'),('2c9221a470adc6fc0170fb1e93860369','test','test',NULL,'2c9221a470adc6fc0170fb1e61930367','2020-03-21 11:24:10','初始'),('4028804074beadae0174f72733a4140a','已确认','已确认',NULL,'402881886017fd0801601ad37a230023','2020-10-05 13:06:16','管理员'),('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,'402881e55af64f07015af6
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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','管理员'),('2c9221a470adc6fc0170fb1e61930367','test','测试','2020-03-21 11:23:57','初始'),('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','管理员'),('402882ec69f490a30169f4ae4f960002','tms_thfs','送货方式','2019-04-07 06:04:18','初始'),('402882ec69f490a30169f4af32250008','sf_tz','tms是否等通知','2019-04-07 06:05:16','初始'),('4028838850c35b6a0150c37251e00002','dataType','校验规则','2016-09-04 22:19:12','管理员'),('402889f647f797e30147f79e7ca60003','bpm_status','业务BPM流转状态','2017-02-23 15:17:53','管理员'),('402892816b0e30e8016b0e38001c0001','tms_kd','快递公司','2019-05-31 22:08:00','初始'),('40289a817da9f3cc017da9f6215c0001','area_type','预约库区','2021-12-11 22:47:00','管理员'),('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','管理员'),('ff80808169d3b6720169d3b7e1b00003','user_type','用户类型','2019-03-31 20:27:17','初始'),('jglongjbtstypegourp2015060400001','weixin','微
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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',
|
|||
|
`user_type` varchar(45) DEFAULT NULL,
|
|||
|
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 ('2c9221a4717bb44c01717d01c6ff0540','','','',NULL,'黄文平','2020-04-16 15:58:44','hwp','黄文平','2020-04-15 16:43:21','hwp','4'),('4028804072de5db40172e011787a0057','','','',NULL,'陈帝江','2020-06-23 22:47:34','ADMIN_CDJ','管理员','2020-06-23 15:25:41','admin','4'),('4028804072de5db40172e1a606e30065','','','',NULL,'管理员','2020-06-24 09:59:35','admin','陈帝江','2020-06-23 22:47:34','ADMIN_CDJ','1'),('4028804072de5db40172e40d45930074','','','',NULL,'管理员','2020-06-28 14:38:00','admin','管理员','2020-06-24 09:59:35','admin','4'),('4028804072de5db40172ff898d1a008c','','','',NULL,'测试','2020-09-20 09:27:54','test','管理员','2020-06-29 18:05:04','admin','4'),('4028804072de5db40174a91fe409015d','','','',NULL,NULL,NULL,NULL,'测试','2020-09-20 09:27:54','test','4'),('402881875988e889015988ec36770001','','','',NULL,'初始','2020-04-13 19:02:56','admin','管理员','2017-01-10 23:08:18','admin',NULL),('4028ef81563ae5be01563ae92d7f0002','','','',NULL,'初始','2020-04-13 18:50:51','admin','管理员','2016-07-30 16:26:15','admin',NULL),('8a8ab0b246dc81120146dc8181a10054','','','',NULL,'初始','2020-04-13 18:50:39','admin',NULL,'2016-07-10 16:26:15',NULL,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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2c9221a4715dbbff017173299b6b01cd','8a8ab0b246dc81120146dc8181a10054','2c9221a470adc6fc0170ecef9dd4029e'),('2c9221a4715dbbff01717329cc4e01d0','4028ef81563ae5be01563ae92d7f0002','2c9221a470adc6fc0170ecef9dd4029e'),('2c9221a4715dbbff01717334dc2a01d6','402881875988e889015988ec36770001','2c9221a470adc6fc0170ecef9dd4029e'),('2c9221a4717bb44c01717d01c70c0541','2c9221a4717bb44c01717d01c6ff0540','2c9221a470adc6fc0170ecef9dd4029e'),('4028804072de5db40172e01178830058','4028804072de5db40172e011787a0057','2c9221a470adc6fc0170ecef9dd4029e'),('4028804072de5db40172e1a606e30066','4028804072de5db40172e1a606e30065','2c9221a470adc6fc0170ecef9dd4029e'),('4028804072de5db40172e40d45f50075','4028804072de5db40172e40d45930074','2c9221a470adc6fc0170ecef9dd4029e'),('4028804072de5db40172ff898d24008d','4028804072de5db40172ff898d1a008c','2c9221a470adc6fc0170ecef9dd4029e'),('4028804072de5db40174a91fe41d015e','4028804072de5db40174a91fe409015d','2c9221a470adc6fc0170ecef9dd4029e');
|
|||
|
/*!40000 ALTER TABLE `t_s_user_org` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `t_wz_location`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `t_wz_location`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `t_wz_location` (
|
|||
|
`id` bigint(20) NOT NULL AUTO_INCREMENT,
|
|||
|
`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 '流程状态',
|
|||
|
`mat_location` varchar(32) DEFAULT NULL COMMENT '仓库',
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `t_wz_location`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `t_wz_location` WRITE;
|
|||
|
/*!40000 ALTER TABLE `t_wz_location` DISABLE KEYS */;
|
|||
|
INSERT INTO `t_wz_location` VALUES (1,'管理员','admin','2018-05-20 20:08:42',NULL,NULL,NULL,'A03','A03','1','A01');
|
|||
|
/*!40000 ALTER TABLE `t_wz_location` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `test_person`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `test_person`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `tms_app_menu`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tms_app_menu`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `tms_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 '1' 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;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `tms_app_menu`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `tms_app_menu` WRITE;
|
|||
|
/*!40000 ALTER TABLE `tms_app_menu` DISABLE KEYS */;
|
|||
|
INSERT INTO `tms_app_menu` VALUES ('8a03c958617118da016195064eba0005','管理员','admin','2018-02-14 23:54:34','管理员','admin','2018-02-26 00:09:42','A03','A03','1','下单管理','tmsYwDingdanController.do?list','10','orderList','order.png','text-success'),('8a03c958617118da016195066f850006','管理员','admin','2018-02-14 23:54:42','管理员','admin','2018-02-26 00:14:26','A03','A03','1','派车管理','tmsYwDingdanController.do?listpc','20','paicheList','paiche.png','text-danger'),('8a03c958617118da01619508f71b0007','管理员','admin','2018-02-14 23:57:28','管理员','admin','2018-02-26 00:17:02','A03','A03','1','装车管理','tmsYwDingdanController.do?listzc','30','loadingList','loading.png','text-info'),('8a03c958617118da0161950912c30008','管理员','admin','2018-02-14 23:57:35','管理员','admin','2018-02-26 00:20:43','A03','A03','1','回单管理','tmsYwDingdanController.do?listhd','40','receiptList','receipt.png','text-purple'),('8a03c95861cda5630161cda563ac0000','管理员','admin','2018-02-25 23:47:03','管理员','admin','2018-02-26 00:08:05','A03','A03','1','地址资料','tmsMdDzController.do?list','50','addList','address.png',NULL),('8a03c95861cda5630161cda8907a0001','管理员','admin','2018-02-25 23:50:31','管理员','admin','2018-02-26 00:03:46','A03','A03','1','车辆信息','tmsMdCheliangController.do?list','60','carList','car.png',NULL),('8a03c9586258961e016263666fc90036','admin','admin','2018-03-27 01:41:20','admin','admin','2018-03-27 01:43:16','A02','A02','1','订单查询','tmsMdDzController.do?list','45','orderListD','orderd.png',NULL),('8a03c9586258961e0162636f14b80037','admin','admin','2018-03-27 01:50:46','admin','admin','2018-03-27 01:53:25','A02','A02','1','订单查询','tmsYwDingdanController.do?listzc','45','orderListD','orderd.png',NULL),('8a03c9586258961e0162637103c10038','admin','admin','2018-03-27 01:52:53',NULL,NULL,NULL,'A02','A02','1','订单查询','tmsYwDingdanController.do?list','45','orderListD','orderd.png',NULL),('8a03c9586258961e01626d62d297008e','admin','admin','2018-03-29 00:13:35','admin','admin','2018-03-29 00:14:03','A02','A02','1','订单查询','tmsYwDingdanController.do?listhd','45','orderListD','orderd.png',NULL),('8a03c9586258961e01626d646ef8008f','admin','admin','2018-03-29 00:15:21',NULL,NULL,NULL,'A02','A02','1','订单查询','tmsYwDingdanController.do?listpc','45','orderListD','orderd.png',NULL);
|
|||
|
/*!40000 ALTER TABLE `tms_app_menu` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `tms_app_menu_copy`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tms_app_menu_copy`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `tms_app_menu_copy` (
|
|||
|
`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 '流程状态',
|
|||
|
`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;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `tms_app_menu_copy`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `tms_app_menu_copy` WRITE;
|
|||
|
/*!40000 ALTER TABLE `tms_app_menu_copy` DISABLE KEYS */;
|
|||
|
INSERT INTO `tms_app_menu_copy` VALUES ('8a03c958617118da016195064eba0005','管理员','admin','2018-02-14 23:54:34','管理员','admin','2018-02-26 00:09:42','A03','A03','1','下单管理','tmsYwDingdanController.do?list','10','orderList','order.png','text-success'),('8a03c958617118da016195066f850006','管理员','admin','2018-02-14 23:54:42','管理员','admin','2018-02-26 00:14:26','A03','A03','1','派车管理','tmsYwDingdanController.do?listpc','20','paicheList','paiche.png','text-danger'),('8a03c958617118da01619508f71b0007','管理员','admin','2018-02-14 23:57:28','管理员','admin','2018-02-26 00:17:02','A03','A03','1','装车管理','tmsYwDingdanController.do?listzc','30','loadingList','loading.png','text-info'),('8a03c958617118da0161950912c30008','管理员','admin','2018-02-14 23:57:35','管理员','admin','2018-02-26 00:20:43','A03','A03','1','回单管理','tmsYwDingdanController.do?listhd','40','receiptList','receipt.png','text-purple'),('8a03c95861cda5630161cda563ac0000','管理员','admin','2018-02-25 23:47:03','管理员','admin','2018-02-26 00:08:05','A03','A03','1','地址资料','tmsMdDzController.do?list','50','addList','address.png',NULL),('8a03c95861cda5630161cda8907a0001','管理员','admin','2018-02-25 23:50:31','管理员','admin','2018-02-26 00:03:46','A03','A03','1','车辆信息','tmsMdCheliangController.do?list','60','carList','car.png',NULL),('8a03c9586258961e016263666fc90036','admin','admin','2018-03-27 01:41:20','admin','admin','2018-03-27 01:43:16','A02','A02','1','订单查询','tmsMdDzController.do?list','45','orderListD','orderd.png',NULL),('8a03c9586258961e0162636f14b80037','admin','admin','2018-03-27 01:50:46','admin','admin','2018-03-27 01:53:25','A02','A02','1','订单查询','tmsYwDingdanController.do?listzc','45','orderListD','orderd.png',NULL),('8a03c9586258961e0162637103c10038','admin','admin','2018-03-27 01:52:53',NULL,NULL,NULL,'A02','A02','1','订单查询','tmsYwDingdanController.do?list','45','orderListD','orderd.png',NULL),('8a03c9586258961e01626d62d297008e','admin','admin','2018-03-29 00:13:35','admin','admin','2018-03-29 00:14:03','A02','A02','1','订单查询','tmsYwDingdanController.do?listhd','45','orderListD','orderd.png',NULL),('8a03c9586258961e01626d646ef8008f','admin','admin','2018-03-29 00:15:21',NULL,NULL,NULL,'A02','A02','1','订单查询','tmsYwDingdanController.do?listpc','45','orderListD','orderd.png',NULL);
|
|||
|
/*!40000 ALTER TABLE `tms_app_menu_copy` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `tms_md_cheliang`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tms_md_cheliang`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `tms_md_cheliang` (
|
|||
|
`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 '流程状态',
|
|||
|
`chepaihao` varchar(32) DEFAULT NULL COMMENT '车牌号',
|
|||
|
`chexing` varchar(32) DEFAULT NULL COMMENT '车型',
|
|||
|
`zuidatiji` varchar(32) DEFAULT NULL COMMENT '最大体积',
|
|||
|
`zaizhong` varchar(32) DEFAULT NULL COMMENT '载重',
|
|||
|
`zairen` varchar(32) DEFAULT NULL COMMENT '载人数',
|
|||
|
`jiazhao` varchar(32) DEFAULT NULL COMMENT '准假驾照',
|
|||
|
`zhuangtai` varchar(32) DEFAULT NULL COMMENT '是否可用',
|
|||
|
`beizhu` varchar(32) DEFAULT NULL COMMENT '备注',
|
|||
|
`username` varchar(32) DEFAULT NULL COMMENT '默认司机',
|
|||
|
`gpsid` varchar(32) DEFAULT NULL COMMENT 'gps',
|
|||
|
`quyu` varchar(255) DEFAULT NULL,
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `tms_md_cheliang`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `tms_md_cheliang` WRITE;
|
|||
|
/*!40000 ALTER TABLE `tms_md_cheliang` DISABLE KEYS */;
|
|||
|
INSERT INTO `tms_md_cheliang` VALUES ('2c9221a4717d7e8a0171819a3adf007a','管理员','admin','2020-04-16 14:08:21','管理员','admin','2022-02-20 12:44:20','A05','A05','','7','面包车','30','1.5','2','C1','N','','张三丰','','中堂'),('2c9221a4718d6a92017195489cd80057','黄文平','hwp','2020-04-20 09:51:36','管理员','admin','2022-02-20 12:44:20','A05','A05','','8','面包','3','1.5','','c1','N','','','','中堂'),('2c9221a471967aec01719a43ff9b00ae','黄文平','hwp','2020-04-21 09:04:40','管理员','admin','2022-02-20 12:44:20','A05','A05','','9','面包','3','1.5','2','C1','N','','李四','','中堂'),('2c9221a471967aec01719a456a7700b2','黄文平','hwp','2020-04-21 09:06:13','管理员','admin','2022-02-20 12:44:20','A05','A05','','10','面包','3','1.5','2','C1','N','','王五','','中堂'),('2c9221a472093e1a01720b9bd18f02d1','黄文平','hwp','2020-05-13 09:17:41','管理员','admin','2022-02-20 12:44:20','A05','A05','','11','面包','3','1.5','2','C1','Y','','田洪映','','中堂');
|
|||
|
/*!40000 ALTER TABLE `tms_md_cheliang` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `tms_md_dz`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tms_md_dz`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `tms_md_dz` (
|
|||
|
`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 '所属公司',
|
|||
|
`bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
|
|||
|
`username` varchar(32) DEFAULT NULL COMMENT '用户',
|
|||
|
`lianxiren` varchar(32) DEFAULT NULL COMMENT '联系人',
|
|||
|
`dianhua` varchar(32) DEFAULT NULL COMMENT '联系电话',
|
|||
|
`xiangxidizhi` varchar(32) DEFAULT NULL COMMENT '详细地址',
|
|||
|
`shengfen` varchar(32) DEFAULT NULL COMMENT '省份',
|
|||
|
`chengshi` varchar(32) DEFAULT NULL COMMENT '城市',
|
|||
|
`quyu` varchar(32) DEFAULT NULL COMMENT '区域',
|
|||
|
`morendizhi` varchar(32) DEFAULT NULL COMMENT '默认地址',
|
|||
|
`zhuangtai` varchar(32) DEFAULT NULL COMMENT '是否可用',
|
|||
|
`dizhileixing` 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 `tms_md_dz`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `tms_md_dz` WRITE;
|
|||
|
/*!40000 ALTER TABLE `tms_md_dz` DISABLE KEYS */;
|
|||
|
INSERT INTO `tms_md_dz` VALUES ('40289a817c9d1fe0017c9d3a9bc1001c','管理员','admin','2021-10-20 18:23:56','','',NULL,'A05','A05','','','','','','','','',NULL,NULL,''),('40289a817c9d1fe0017c9d3aab28001e','管理员','admin','2021-10-20 18:24:00','','',NULL,'A05','A05','','admin','','','','','','',NULL,NULL,'');
|
|||
|
/*!40000 ALTER TABLE `tms_md_dz` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `tms_om_notice_h`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tms_om_notice_h`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `tms_om_notice_h` (
|
|||
|
`id` varchar(36) DEFAULT 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) NOT 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 (`om_notice_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 `tms_om_notice_h`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `tms_om_notice_h` WRITE;
|
|||
|
/*!40000 ALTER TABLE `tms_om_notice_h` DISABLE KEYS */;
|
|||
|
INSERT INTO `tms_om_notice_h` VALUES ('2c9221a57243a09a01724a39ad7d0194','管理员','admin','2020-05-25 13:06:32',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'老板','15090281095','广东省东莞市东城街道火炼树新村路15号','23.00695',NULL,'113.76118',NULL,NULL,'未送货','CK20200525-0001',NULL,NULL,NULL,'11','KH2025360273','老板','XS20200514-0001',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a01724a3daa4d0197','管理员','admin','2020-05-25 13:10:53',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'老板','15993540078','广东省东莞市东城街道牛山横坑商铺三栋五号豫乡情面馆','23.028053',NULL,'113.783327',NULL,NULL,'未送货','CK20200525-0002',NULL,NULL,NULL,'11','KH2025360246','老板','XS20200516-0001',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a01724a91d404019c','管理员','admin','2020-05-25 14:42:49',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'李帅','17160861312','广东省东莞市高埗镇华南职业学院','23.110679',NULL,'113.752258',NULL,NULL,'未送货','CK20200525-0003',NULL,NULL,NULL,'11','KH2025360363','李帅','XS20200525-0026',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a01724ad5662d01d7','管理员','admin','2020-05-25 15:56:38',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'李帅','17160861312','广东省东莞市高埗镇华南职业学院','23.110679',NULL,'113.752258',NULL,NULL,'未送货','CK20200525-0004',NULL,NULL,NULL,'11','KH2025360363','李帅','XS20200525-0025',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a01724aeef85101df','管理员','admin','2020-05-25 16:24:33',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'老板','15090281095','广东省东莞市东城街道火炼树新村路15号','23.00695',NULL,'113.76118',NULL,NULL,'未送货','CK20200525-0005',NULL,NULL,NULL,'11','KH2025360273','老板','XS20200525-0024',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a01724b12d4ad01e7','管理员','admin','2020-05-25 17:03:44',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'张志龙','13939704426','广东省东莞市中堂镇蕉利南坊工业区康益食品有限公司','23.073454',NULL,'113.681759',NULL,NULL,'未送货','CK20200525-0006',NULL,NULL,NULL,'11','KH2011573299','张志龙','XS20200525-0023',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a01724b1e70c801fb','管理员','admin','2020-05-25 17:16:25',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'李帅','17160861312','广东省东莞市高埗镇华南职业学院','23.110679',NULL,'113.752258',NULL,NULL,'未送货','CK20200525-0007',NULL,NULL,NULL,'11','KH2025360363','李帅','XS20200525-0022',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a0172550111f3028d','管理员','admin','2020-05-27 15:20:32',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'郭云亮','18938298976','广东省东莞市东城街道火炼树怡丰路丰润阁1号1栋117','23.006206',NULL,'113.759774',NULL,NULL,'未送货','CK20200527-0001',NULL,NULL,NULL,'11','KH2025360443','郭云亮','XS20200525-0021',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a0172551c088a0295','管理员','admin','2020-05-27 15:49:59',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'老板','13790280148','广东省东莞市万江街道汾溪路93号102明旺玖湘阁','23.048095',NULL,'113.695468',NULL,NULL,'未送货','CK20200527-0002',NULL,NULL,NULL,'11','KH2025360482','老板','XS20200525-0020',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a01725523122d029d','管理员','admin','2020-05-27 15:57:40',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'老板','18033015863','广东省东莞市东城街道新三杞新安街15号','23.034267',NULL,'113.785801',NULL,NULL,'未送货','CK20200527-0003',NULL,NULL,NULL,'11','KH2025360468','老板','XS20200525-0019',NULL,'到家点点集材汇东莞配送1仓',NULL),('2c9221a57243a09a017255234a6302a0','管理员','admin','2020-05-27 15:57:54',NULL,NULL,NULL,NULL,NULL,'1560',NULL,'廖永吉','15085608746','广东省东莞市东城街道旗峰路288号136','23.011673',NULL,'113.766787',NULL,NULL,'未送
|
|||
|
/*!40000 ALTER TABLE `tms_om_notice_h` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `tms_om_notice_i`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tms_om_notice_i`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `tms_om_notice_i` (
|
|||
|
`id` varchar(36) DEFAULT 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) NOT NULL,
|
|||
|
`bin_id` varchar(145) DEFAULT NULL,
|
|||
|
`IM_CUS_CODE` varchar(45) DEFAULT NULL,
|
|||
|
`OM_BEI_ZHU` varchar(320) DEFAULT NULL,
|
|||
|
`BZHI_QI` varchar(45) DEFAULT NULL,
|
|||
|
PRIMARY KEY (`other_id`),
|
|||
|
KEY `notice_id` (`om_notice_id`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `tms_om_notice_i`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `tms_om_notice_i` WRITE;
|
|||
|
/*!40000 ALTER TABLE `tms_om_notice_i` DISABLE KEYS */;
|
|||
|
INSERT INTO `tms_om_notice_i` VALUES ('2c9221a57243a09a01724a39addb0195',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200525-0001','760','2.000','桶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'桶','2.000','N','760-11885-口口香食用调和油20L/桶-无-桶','2c9221a4720d957e017212c2c44006c1',NULL,'XS20200514-0001',NULL,NULL),('2c9221a57243a09a01724a3daa9b0198',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200525-0002','2336','24.000','罐',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'罐','24.000','N','2336-11771-雪碧330ml/罐-无-罐','2c9221a47215d85b01721aee530b04a4',NULL,'XS20200516-0001',NULL,NULL),('2c9221a57243a09a01724a3daaf90199',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200525-0002','2348','24.000','罐',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'罐','24.000','N','2348-11544-百事可乐330ML/罐-无-罐','2c9221a47215d85b01721aee530c04a5',NULL,'XS20200516-0001',NULL,NULL),('2c9221a57243a09a01724a3dab47019a',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200525-0002','2516','24.000','瓶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'瓶','24.000','N','2516-11476-怡宝水555ml/瓶-无-瓶','2c9221a47215d85b01721aee530c04a6',NULL,'XS20200516-0001',NULL,NULL),('2c9221a57243a09a0172564d4b250633',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0018','1468','2.000','',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'','2.000','N','1468-11279-东明五得利特精高精五星小麦粉25kg/袋-无-','2c9221a57243a12201724a88a5e40099',NULL,'XS20200525-0001',NULL,NULL),('2c9221a57243a09a0172564d4ba20634',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0018','3763','1.000','桶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'桶','1.000','N','3763-12284-元宝食用调和油20L/桶-无-桶','2c9221a57243a12201724a88a5e4009a',NULL,'XS20200525-0001',NULL,NULL),('2c9221a57243a09a0172564f9052063a',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0019','3763','1.000','桶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'桶','1.000','N','3763-12284-元宝食用调和油20L/桶-无-桶','2c9221a57243a12201724a88acaa009c',NULL,'XS20200525-0002',NULL,NULL),('2c9221a57243a09a0172564f90c0063b',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0019','760','1.000','桶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'桶','1.000','N','760-11885-口口香食用调和油20L/桶-无-桶','2c9221a57243a12201724a88acaa009d',NULL,'XS20200525-0002',NULL,NULL),('2c9221a57243a09a017256509465063e',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0020','760','1.000','桶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'桶','1.000','N','760-11885-口口香食用调和油20L/桶-无-桶','2c9221a57243a12201724a88b0d1009f',NULL,'XS20200525-0003',NULL,NULL),('2c9221a57243a09a0172565094c3063f',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0020','2048','24.000','瓶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'瓶','24.000','N','2048-11033-农夫山泉水550ml/瓶-无-瓶','2c9221a57243a12201724a88b0d100a0',NULL,'XS20200525-0003',NULL,NULL),('2c9221a57243a09a01725653cbc10642',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0021','2000','24.000','瓶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'瓶','24.000','N','2000-11029-百岁山矿泉水570ML/瓶-无-瓶','2c9221a57243a12201724a88b4f700a2',NULL,'XS20200525-0004',NULL,NULL),('2c9221a57243a09a01725653cc200643',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0021','2048','24.000','瓶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'瓶','24.000','N','2048-11033-农夫山泉水550ml/瓶-无-瓶','2c9221a57243a12201724a88b4f700a3',NULL,'XS20200525-0004',NULL,NULL),('2c9221a57243a09a01725653cc9d0644',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0021','2168','15.000','瓶',NULL,NULL,NULL,'0',NULL,'1560',NULL,NULL,NULL,NULL,'瓶','15.000','N','2168-11570-统一冰糖雪梨500ML/瓶-无-瓶','2c9221a57243a12201724a88b4f700a4',NULL,'XS20200525-0004',NULL,NULL),('2c9221a57243a09a01725653cd0a0645',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CK20200527-0021','1979','16.000','瓶',NULL,NULL,NUL
|
|||
|
/*!40000 ALTER TABLE `tms_om_notice_i` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `tms_yufei_conf`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tms_yufei_conf`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `tms_yufei_conf` (
|
|||
|
`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 '所属公司',
|
|||
|
`bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
|
|||
|
`peisondian` varchar(32) DEFAULT NULL COMMENT '配送点',
|
|||
|
`yf_type` varchar(32) DEFAULT NULL COMMENT '运费类型',
|
|||
|
`yf_type_name` varchar(32) DEFAULT NULL COMMENT '运费名称',
|
|||
|
`yf_price` varchar(32) DEFAULT NULL COMMENT '运费单价',
|
|||
|
`yf_bz1` varchar(32) DEFAULT NULL COMMENT '备注1',
|
|||
|
`yf_bz2` varchar(32) DEFAULT NULL COMMENT '备注2',
|
|||
|
`yf_bz3` varchar(32) DEFAULT NULL COMMENT '备注3',
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `tms_yufei_conf`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `tms_yufei_conf` WRITE;
|
|||
|
/*!40000 ALTER TABLE `tms_yufei_conf` DISABLE KEYS */;
|
|||
|
/*!40000 ALTER TABLE `tms_yufei_conf` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `tms_yw_dingdan`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tms_yw_dingdan`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `tms_yw_dingdan` (
|
|||
|
`id` varchar(36) DEFAULT 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 '所属公司',
|
|||
|
`fadh` varchar(32) NOT NULL COMMENT '单号',
|
|||
|
`username` varchar(32) DEFAULT NULL COMMENT '下单人',
|
|||
|
`fahuoren` varchar(32) DEFAULT NULL COMMENT '发货人',
|
|||
|
`fhrdh` varchar(32) DEFAULT NULL COMMENT '发货人电话',
|
|||
|
`fhrdz` varchar(32) DEFAULT NULL COMMENT '发货人地址',
|
|||
|
`shouhuoren` varchar(32) DEFAULT NULL COMMENT '收货人',
|
|||
|
`shrsj` varchar(32) DEFAULT NULL COMMENT '收货人电话',
|
|||
|
`chehao` varchar(32) DEFAULT NULL COMMENT '车号',
|
|||
|
`huowu` varchar(3200) DEFAULT NULL COMMENT '货物',
|
|||
|
`chang` varchar(32) DEFAULT NULL COMMENT '长米',
|
|||
|
`kuan` varchar(32) DEFAULT NULL COMMENT '宽米',
|
|||
|
`gao` varchar(32) DEFAULT NULL COMMENT '高米',
|
|||
|
`tiji` varchar(32) DEFAULT NULL COMMENT '立方米',
|
|||
|
`zhongl` varchar(32) DEFAULT NULL COMMENT '重量',
|
|||
|
`daishouk` varchar(32) DEFAULT NULL COMMENT '代收款金额',
|
|||
|
`dengtongzhi` varchar(32) DEFAULT NULL COMMENT '是否等通知',
|
|||
|
`jiage` varchar(32) DEFAULT NULL COMMENT '价格',
|
|||
|
`xiadanfj` varchar(250) DEFAULT NULL COMMENT '下单附件',
|
|||
|
`huidanfj` varchar(250) DEFAULT NULL COMMENT '回单附件',
|
|||
|
`zhuangtai` varchar(32) DEFAULT NULL COMMENT '状态',
|
|||
|
`xdrmz` varchar(32) DEFAULT NULL COMMENT '下单人名字',
|
|||
|
`siji` varchar(32) DEFAULT NULL COMMENT '司机',
|
|||
|
`sdsj` datetime DEFAULT NULL COMMENT '送达时间',
|
|||
|
`yjsdsj` datetime DEFAULT NULL COMMENT '预计送达时间',
|
|||
|
`shrdh` varchar(32) DEFAULT NULL COMMENT '收货人地址',
|
|||
|
`ywddbz` varchar(256) DEFAULT NULL COMMENT '下单备注',
|
|||
|
`ywkhdh` varchar(32) DEFAULT NULL COMMENT '客户单号',
|
|||
|
`ywhdbz` varchar(256) DEFAULT NULL COMMENT '回单备注',
|
|||
|
`hwshfs` varchar(32) DEFAULT NULL COMMENT '送货方式',
|
|||
|
`ywpcbz` varchar(256) DEFAULT NULL COMMENT '派车备注',
|
|||
|
`hwshjs` varchar(32) DEFAULT NULL COMMENT '件数',
|
|||
|
`ywzcbz` varchar(256) DEFAULT NULL COMMENT '装车备注',
|
|||
|
`hwyf` varchar(32) DEFAULT NULL COMMENT '运费',
|
|||
|
`hwzfy` varchar(256) DEFAULT NULL COMMENT '货物总费用',
|
|||
|
`hwxhf` varchar(32) DEFAULT NULL COMMENT '卸货费',
|
|||
|
`by1` varchar(45) DEFAULT NULL,
|
|||
|
PRIMARY KEY (`fadh`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `tms_yw_dingdan`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `tms_yw_dingdan` WRITE;
|
|||
|
/*!40000 ALTER TABLE `tms_yw_dingdan` DISABLE KEYS */;
|
|||
|
INSERT INTO `tms_yw_dingdan` VALUES ('2c9221a57243a09a01724a39addb0196',NULL,NULL,NULL,'黄文平','hwp','2020-05-25 13:06:55',NULL,NULL,'CK20200525-0001',NULL,'到家点点集材汇东莞配送1仓',NULL,NULL,'老板','15090281095','粤SE543Q',';760-11885-口口香食用调和油20L/桶-无-桶,null',NULL,NULL,NULL,'0.0','0.0',NULL,NULL,NULL,NULL,NULL,'已派车',NULL,'田洪映',NULL,NULL,'广东省东莞市东城街道火炼树新村路15号',NULL,'XS20200514-0001',NULL,NULL,NULL,'2.0',NULL,NULL,NULL,NULL,'23.00695'),('2c9221a57243a09a01724a3dab47019b',NULL,NULL,NULL,'黄文平','hwp','2020-05-25 13:11:26',NULL,NULL,'CK20200525-0002',NULL,'到家点点集材汇东莞配送1仓',NULL,NULL,'老板','15993540078','粤SE543Q',';2336-11771-雪碧330ml/罐-无-罐,null;2348-11544-百事可乐330ML/罐-无-罐,null;2516-11476-怡宝水555ml/瓶-无-瓶,null',NULL,NULL,NULL,'0.0','0.0',NULL,NULL,NULL,NULL,NULL,'已派车',NULL,'田洪映',NULL,NULL,'广东省东莞市东城街道牛山横坑商铺三栋五号豫乡情面馆',NULL,'XS20200516-0001',NULL,NULL,NULL,'72.0',NULL,NULL,NULL,NULL,'23.028053'),('2c9221a57243a09a01724a91d58b01a1',NULL,NULL,NULL,'黄文平','hwp','2020-05-25 14:43:23',NULL,NULL,'CK20200525-0003',NULL,'到家点点集材汇东莞配送1仓',NULL,NULL,'李帅','17160861312','粤SE543Q',';1447-11694-家家宜柠檬洗洁精20kg/桶-无-桶,null;4220-12307-洁劲100除油洗洁精10kg/瓶-无-桶,null;8-9146-白壳鸡蛋 中码-无-,null;612-11597-深井精制盐2.5Kg/袋-无-袋,null',NULL,NULL,NULL,'0.0','0.0',NULL,NULL,NULL,NULL,NULL,'已派车',NULL,'田洪映',NULL,NULL,'广东省东莞市高埗镇华南职业学院',NULL,'XS20200525-0026',NULL,NULL,NULL,'44.0',NULL,NULL,NULL,NULL,'23.110679'),('2c9221a57243a09a01724ad5683001de',NULL,NULL,NULL,'管理员','admin','2020-05-25 16:17:52',NULL,NULL,'CK20200525-0004',NULL,'到家点点集材汇东莞配送1仓',NULL,NULL,'李帅','17160861312','粤SE543Q',';3763-12284-元宝食用调和油20L/桶-无-桶,null;1282-11242-(大)珠海广东米酒600ML/瓶-无-瓶,null;3-11732-红日子(彩箱)红油豆瓣1000g/瓶-无-,null;1237-11044-金霸米粉4.5kg/袋-无-袋,null;4535-12318-港式大碗面4kg/箱-无-,null;3749-12277-白壳鸡蛋 小码-无-托,null',NULL,NULL,NULL,'0.0','0.0',NULL,NULL,NULL,NULL,NULL,'已派车',NULL,'田洪映',NULL,NULL,'广东省东莞市高埗镇华南职业学院',NULL,'XS20200525-0025',NULL,NULL,NULL,'112.0',NULL,NULL,NULL,NULL,'23.110679'),('2c9221a57243a09a01724aeef8fd01e2',NULL,NULL,NULL,'管理员','admin','2020-05-25 16:48:29',NULL,NULL,'CK20200525-0005',NULL,'到家点点集材汇东莞配送1仓',NULL,NULL,'老板','15090281095','粤SE543Q',';3756-12280-五湖食用调和油20L/桶-无-桶,null;3395-597-青瓜 优质-无-斤,null',NULL,NULL,NULL,'0.0','0.0',NULL,NULL,NULL,NULL,NULL,'已派车',NULL,'田洪映',NULL,NULL,'广东省东莞市东城街道火炼树新村路15号',NULL,'XS20200525-0024',NULL,NULL,NULL,'3.0',NULL,NULL,NULL,NULL,'23.00695'),('2c9221a57243a09a01724b12da7901f8',NULL,NULL,NULL,'管理员','admin','2020-05-25 17:04:31',NULL,NULL,'CK20200525-0006',NULL,'到家点点集材汇东莞配送1仓',NULL,NULL,'张志龙','13939704426','粤SE543Q',';1766-11680-布农姐妹核桃豆奶250ML/瓶-无-瓶,null;1253-11942-华旺马坝油粘米15kg/袋-无-袋,null;1300-11861-志达豆皮1.75kg/袋 细条-无-袋,null;1316-11858-七叠泉干客家腐竹4kg/袋-无-袋,null;591-11968-御仙宫皇家豆角3750g/箱-无-箱,null;2513-11368-海天金标生抽1.28L/瓶-无-瓶,null;1231-11875-长舟加碘精制盐2.5KG*10包/件-无-包,null;864-11377-海天料酒(五香)450ml/瓶-无-瓶,null;1431-11755-粤师傅一品鲜鸡精100g/袋-无-袋,null;2907-11449-海天上等蚝油700ml/瓶-无-瓶,null;4047-12288-天颖猫牙王米25kg/袋-无-,null;3753-12278-鸡蛋 红皮 小码-无-托,null;799-11486-小瓶芬达300ML/瓶-无-,null;2695-11103-健力宝330ml/罐-无-罐,null;2114-11488-可口可乐330ml/罐-无-罐,null;4623-12328-湘汝剁椒280g/瓶-无-瓶,null',NULL,NULL,NULL,'0.0','0.0',NULL,NULL,NULL,NUL
|
|||
|
/*!40000 ALTER TABLE `tms_yw_dingdan` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `tmsv_app_menu`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tmsv_app_menu`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `tmsv_app_menu`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `tmsv_app_menu` AS SELECT
|
|||
|
1 AS `username`,
|
|||
|
1 AS `title`,
|
|||
|
1 AS `pagename`,
|
|||
|
1 AS `sortno`,
|
|||
|
1 AS `icon`,
|
|||
|
1 AS `iconcolor`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `tmsv_order_stat`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `tmsv_order_stat`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `tmsv_order_stat`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `tmsv_order_stat` AS SELECT
|
|||
|
1 AS `count`,
|
|||
|
1 AS `month`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `v_order_stat` AS SELECT
|
|||
|
1 AS `count`,
|
|||
|
1 AS `month`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `v_tms_dz`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `v_tms_dz`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `v_tms_dz`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `v_tms_dz` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `dizhi`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `v_ysdd`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `v_ysdd`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `v_ysdd`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `v_ysdd` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `fahuoren`,
|
|||
|
1 AS `huowu`,
|
|||
|
1 AS `hwshjs`,
|
|||
|
1 AS `zhongl`,
|
|||
|
1 AS `tiji`,
|
|||
|
1 AS `shrdh`,
|
|||
|
1 AS `shouhuoren`,
|
|||
|
1 AS `hwshfs`,
|
|||
|
1 AS `shrsj`,
|
|||
|
1 AS `daishouk`,
|
|||
|
1 AS `hwyf`,
|
|||
|
1 AS `hwzfy`,
|
|||
|
1 AS `hwxhf`,
|
|||
|
1 AS `chehao`,
|
|||
|
1 AS `zhuangtai`,
|
|||
|
1 AS `ywhdbz`,
|
|||
|
1 AS `sdsj`,
|
|||
|
1 AS `by1`,
|
|||
|
1 AS `YWKHDH`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wave_fuhe` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `order_type`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `down_sta`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wave_fuhe_head` AS SELECT
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `create_by`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wave_to_down` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `wave_id`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `im_cus_code`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `tin_id`,
|
|||
|
1 AS `pro_data`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `om_bei_zhu`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `first_rq`,
|
|||
|
1 AS `second_rq`,
|
|||
|
1 AS `by1`,
|
|||
|
1 AS `by2`,
|
|||
|
1 AS `by3`,
|
|||
|
1 AS `by4`,
|
|||
|
1 AS `by5`,
|
|||
|
1 AS `shp_tiao_ma`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wave_to_down_head` AS SELECT
|
|||
|
1 AS `wave_id`,
|
|||
|
1 AS `cus_name`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wave_to_fj` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `om_notice_id`,
|
|||
|
1 AS `iom_notice_item`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `tin_id`,
|
|||
|
1 AS `pro_data`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `wave_id`,
|
|||
|
1 AS `first_rq`,
|
|||
|
1 AS `second_rq`,
|
|||
|
1 AS `by1`,
|
|||
|
1 AS `by2`,
|
|||
|
1 AS `by3`,
|
|||
|
1 AS `by4`,
|
|||
|
1 AS `by5`,
|
|||
|
1 AS `shp_tiao_ma`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wave_to_fj_head` AS SELECT
|
|||
|
1 AS `om_notice_id`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `wave_id`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wave_to_zcfh` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `om_notice_id`,
|
|||
|
1 AS `iom_notice_item`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `tin_id`,
|
|||
|
1 AS `pro_data`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `wave_id`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wave_to_zcfh_head` AS SELECT
|
|||
|
1 AS `om_notice_id`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `wave_id`*/;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
INSERT INTO `wm_cus_cost_h` VALUES ('4028804072de5db40174a4b2ff310129','管理员','admin','2020-09-19 12:50:28',NULL,NULL,NULL,'A05','A05','BJ01','2020-09-01 00:00:00','2021-09-01 00:00:00','BJ01','BJ01',NULL),('4028804072de5db40174a960b363018b',NULL,NULL,NULL,'管理员','admin','2020-09-20 16:02:09',NULL,NULL,'NMELT','2020-09-01 00:00:00','2020-10-30 00:00:00','','NMELT01',NULL),('4028804072de5db40174aa3aa8dd01b6',NULL,NULL,NULL,'管理员','admin','2020-09-20 16:01:29',NULL,NULL,'','2020-09-01 00:00:00','2020-09-09 00:00:00','','',NULL);
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
INSERT INTO `wm_cus_cost_i` VALUES ('4028804072de5db40174a4b2ff31012a','管理员','admin','2020-09-19 12:50:28','','',NULL,'A05','A05','1011','3.5','0','1','3.5','3.5','4028804072de5db40174a4b2ff310129'),('4028804072de5db40174a4b2ff31012b','管理员','admin','2020-09-19 12:50:28','','',NULL,'A05','A05','1013','0.18','0','1','0.18','0.18','4028804072de5db40174a4b2ff310129'),('4028804072de5db40174a4b2ff31012c','管理员','admin','2020-09-19 12:50:28','','',NULL,'A05','A05','1031','10','0','1','10','10','4028804072de5db40174a4b2ff310129'),('4028804072de5db40174a4b2ff31012d','管理员','admin','2020-09-19 12:50:28','','',NULL,'A05','A05','304','38','0','1','38','38','4028804072de5db40174a4b2ff310129'),('4028804072de5db40174a4b2ff3b012e','管理员','admin','2020-09-19 12:50:28','','',NULL,'A05','A05','306','48','0','1','48','48','4028804072de5db40174a4b2ff310129'),('4028804072de5db40174a4b2ff3b012f','管理员','admin','2020-09-19 12:50:28','','',NULL,'A05','A05','308','65','0','1','65','65','4028804072de5db40174a4b2ff310129'),('4028804072de5db40174a4b2ff3b0130','管理员','admin','2020-09-19 12:50:28','','',NULL,'A05','A05','501','30','0','1','30','30','4028804072de5db40174a4b2ff310129'),('4028804072de5db40174a4b2ff3b0131','管理员','admin','2020-09-19 12:50:28','','',NULL,'A05','A05','5011','30','0','1','30','30','4028804072de5db40174a4b2ff310129'),('4028804072de5db40174a4b2ff3b0132','管理员','admin','2020-09-19 12:50:28','','',NULL,'A05','A05','5031','1.5','0','1','1.5','1.5','4028804072de5db40174a4b2ff310129'),('4028804072de5db40174a960b3630195','管理员','admin','2020-09-20 10:38:41','管理员','admin','2020-09-20 14:37:39','A05','A05','1012','7.4','0','1','7.4','7.4','4028804072de5db40174a960b363018b'),('4028804072de5db40174aa3aa8e701b7','管理员','admin','2020-09-20 14:36:45','','',NULL,'A05','A05','1011','3.5','0','1','3.5','3.5','4028804072de5db40174aa3aa8dd01b6'),('4028804072de5db40174aa3aa8e701b8','管理员','admin','2020-09-20 14:36:45','','',NULL,'A05','A05','1013','0.18','0','1','0.18','0.18','4028804072de5db40174aa3aa8dd01b6'),('4028804072de5db40174aa3aa8e701b9','管理员','admin','2020-09-20 14:36:45','','',NULL,'A05','A05','1031','10','0','1','10','10','4028804072de5db40174aa3aa8dd01b6'),('4028804072de5db40174aa3aa8e701ba','管理员','admin','2020-09-20 14:36:45','','',NULL,'A05','A05','304','38','0','1','38','38','4028804072de5db40174aa3aa8dd01b6'),('4028804072de5db40174aa3aa8e701bb','管理员','admin','2020-09-20 14:36:45','','',NULL,'A05','A05','306','48','0','1','48','48','4028804072de5db40174aa3aa8dd01b6'),('4028804072de5db40174aa3aa8e701bc','管理员','admin','2020-09-20 14:36:45','','',NULL,'A05','A05','308','65','0','1','65','65','4028804072de5db40174aa3aa8dd01b6'),('4028804072de5db40174aa3aa8e701bd','管理员','admin','2020-09-20 14:36:45','','',NULL,'A05','A05','501','30','0','1','30','30','4028804072de5db40174aa3aa8dd01b6'),('4028804072de5db40174aa3aa8e701be','管理员','admin','2020-09-20 14:36:45','','',NULL,'A05','A05','5011','30','0','1','30','30','4028804072de5db40174aa3aa8dd01b6'),('4028804072de5db40174aa3aa8e701bf','管理员','admin','2020-09-20 14:36:45','','',NULL,'A05','A05','5031','1.5','0','1','1.5','1.5','4028804072de5db40174aa3aa8dd01b6');
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('4028804072de5db4017300234fb6009f','管理员','admin','2020-06-29 20:53:01',NULL,NULL,NULL,'A05','A05','001','001-合肥磊科机电科技有限公司','103','超低温仓租','2020-06-29 00:00:00','10','','','','','','手工维护','','',NULL),('4028804072de5db40174a6eec6650155',NULL,'system','2020-09-19 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京001','5011','操作费出/吨','2020-09-19 00:00:00','45.00','45.00','.00','45.00','CK20200919-0001/BJ0101001',NULL,'已生成','1.5','吨',NULL),('4028804072de5db40174a6eec6960156',NULL,'system','2020-09-19 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京001','1011','正常仓租/吨','2020-09-19 00:00:00','5.25','5.25','.00','5.25','BJ01/Sat Sep 19 00:00:00 CST 2020','','已生成','1.5','吨',NULL),('4028804072de5db40174ac152232021a',NULL,'system','2020-09-20 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','5031','操作费出/轻抛按箱','2020-09-20 00:00:00','-45.00','-45.00','.00','-45.00','CK20200920-0005/BJ0101001',NULL,'已生成','-30.0','箱',NULL),('4028804072de5db40174ac152263021b',NULL,'system','2020-09-20 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','1011','正常仓租/吨','2020-09-20 00:00:00','98.00','98.00','.00','98.00','BJ01/BJ0101001/Sun Sep 20 00:00:00 CST 2020','','已生成','28.0','吨',NULL),('4028804072de5db40174b13b7eef021e',NULL,'system','2020-09-21 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','1011','正常仓租/吨','2020-09-21 00:00:00','87.50','87.50','.00','87.50','BJ01/BJ0101001/Mon Sep 21 00:00:00 CST 2020','','已生成','25.0','吨',NULL),('4028804072de5db40174b661da1e022e',NULL,'system','2020-09-22 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','1011','正常仓租/吨','2020-09-22 00:00:00','87.50','87.50','.00','87.50','BJ01/BJ0101001/Tue Sep 22 00:00:00 CST 2020','','已生成','25.0','吨',NULL),('4028804072de5db40174bb8835e30232',NULL,'system','2020-09-23 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','1011','正常仓租/吨','2020-09-23 00:00:00','87.50','87.50','.00','87.50','BJ01/BJ0101001/Wed Sep 23 00:00:00 CST 2020','','已生成','25.0','吨',NULL),('4028804074beadae0174c0ae92890007',NULL,'system','2020-09-24 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','1011','正常仓租/吨','2020-09-24 00:00:00','87.50','87.50','.00','87.50','BJ01/BJ0101001/Thu Sep 24 00:00:00 CST 2020','','已生成','25.0','吨',NULL),('4028804074beadae0174c5d4f7f10009',NULL,'system','2020-09-25 23:15:03',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','1011','正常仓租/吨','2020-09-25 00:00:00','87.50','87.50','.00','87.50','BJ01/BJ0101001/Fri Sep 25 00:00:00 CST 2020','','已生成','25.0','吨',NULL),('4028804074beadae0174cafb49fd000c',NULL,'system','2020-09-26 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','1011','正常仓租/吨','2020-09-26 00:00:00','87.50','87.50','.00','87.50','BJ01/BJ0101001/Sat Sep 26 00:00:00 CST 2020','','已生成','25.0','吨',NULL),('4028804074beadae0174d021a6e6001c',NULL,'system','2020-09-27 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','1011','正常仓租/吨','2020-09-27 00:00:00','98.00','98.00','.00','98.00','BJ01/BJ0101001/Sun Sep 27 00:00:00 CST 2020','','已生成','28.0','吨',NULL),('4028804074beadae0174d548026e135b',NULL,'system','2020-09-28 23:15:00',NULL,NULL,NULL,NULL,NULL,'BJ01','BJ01-北京01','1011','正常仓租/吨','2020-09-28 00:00:00','15.75','15.75','.00','15.75','BJ01/BJ0101001/Mon Sep 28 00:00:00 CST 2020','','已生成','4.5','吨',NULL),('4028804074beadae0174e4bb15f113e1',NULL,'system','2020-10-01 23:15:00',NULL,NULL,NULL,NULL,NULL,'NMELT','NMELT-内蒙古额里图食品有限公司','1012','正常仓租/按托','2020-10-01 00:00:00','7.40','7.40','.00','7.40','NMELT/Thu Oct 01 00:00:00 CST 2020','','已生成','1','托',NULL),('4028804074beadae0174e4bb15fb13e2',NULL,'system','2020-10-01 23:15:00',NULL,NULL,NULL,NULL,NULL,'NMELT','NMELT-内蒙古额里图食品有限公司','1012','正常仓租/按托','2020-10-01 00:00:00','7.40','7.40','
|
|||
|
/*!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 `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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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'),('2c9221a46f93b677016f952c352d0033',NULL,'system','2020-01-11 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-11 00:00:00','Y'),('2c9221a46f93b677016f9a5291270034',NULL,'system','2020-01-12 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-12 00:00:00','Y'),('2c9221a46f9d67ba016f9f78ed580008',NULL,'system','2020-01-13 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-13 00:00:00','Y'),('2c9221a46f9d67ba016fa49f49260076',NULL,'system','2020-01-14 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-14 00:00:00','Y'),('2c9221a46fa84aad016fa9c5a52a0055',NULL,'system','2020-01-15 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-15 00:00:00','Y'),('2c9221a46fa84aad016faeec012700b6',NULL,'system','2020-01-16 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-16 00:00:00','Y'),('2c9221a46fa84aad016fb4125d3300b7',NULL,'system','2020-01-17 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-17 00:00:00','Y'),('2c9221a46fa84aad016fb938b93200b8',NULL,'system','2020-01-18 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-18 00:00:00','Y'),('2c9221a46fa84aad016fbe5f153b00b9',NULL,'system','2020-01-19 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-19 00:00:00','Y'),('2c9221a46fa84aad016fc385713700ba',NULL,'system','2020-01-20 00:00:00',NULL,NULL,NULL,NULL,NULL,'2020-01-20 00:00:00','Y'),('2c9221a46fa84aad016fc8abcd2a00bb',NULL,'system','2020-0
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2020-09-19BJ01010101A01BJ0101001','2020-09-19','BJ01','010101','A01','BJ0101001','30','箱'),('2020-09-20BJ0101010200000099BJ0101001','2020-09-20','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-20BJ01a002000013BJ0101001','2020-09-20','BJ01','a002','000013','BJ0101001','500','箱'),('2020-09-20BJ01a00010000012BJ0101001','2020-09-20','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-21BJ0101010200000099BJ0101001','2020-09-21','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-21BJ01a00010000012BJ0101001','2020-09-21','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-21BJ01a002000013BJ0101001','2020-09-21','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-22BJ0101010200000099BJ0101001','2020-09-22','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-22BJ01a00010000012BJ0101001','2020-09-22','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-22BJ01a002000013BJ0101001','2020-09-22','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-23BJ0101010200000099BJ0101001','2020-09-23','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-23BJ01a00010000012BJ0101001','2020-09-23','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-23BJ01a002000013BJ0101001','2020-09-23','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-24BJ0101010200000099BJ0101001','2020-09-24','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-24BJ01a00010000012BJ0101001','2020-09-24','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-24BJ01a002000013BJ0101001','2020-09-24','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-25BJ0101010200000099BJ0101001','2020-09-25','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-25BJ01a00010000012BJ0101001','2020-09-25','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-25BJ01a002000013BJ0101001','2020-09-25','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-26BJ0101010200000099BJ0101001','2020-09-26','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-26BJ01a00010000012BJ0101001','2020-09-26','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-26BJ01a002000013BJ0101001','2020-09-26','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-27BJ0101010200000099BJ0101001','2020-09-27','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-27BJ01a00010000012BJ0101001','2020-09-27','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-27BJ01a002000013BJ0101001','2020-09-27','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-27BJ01013439013439BJ0101001','2020-09-27','BJ01','013439','013439','BJ0101001','30','箱'),('2020-09-27BJ01013339013339BJ0101001','2020-09-27','BJ01','013339','013339','BJ0101001','30','箱'),('2020-09-28BJ0101010200000099BJ0101001','2020-09-28','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-28BJ01a00010000012BJ0101001','2020-09-28','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-28BJ01a002000013BJ0101001','2020-09-28','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-28BJ01013439013439BJ0101001','2020-09-28','BJ01','013439','013439','BJ0101001','30','箱'),('2020-09-28BJ01013339013339BJ0101001','2020-09-28','BJ01','013339','013339','BJ0101001','30','箱'),('2020-09-29BJ0101010200000099BJ0101001','2020-09-29','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-29BJ01a00010000012BJ0101001','2020-09-29','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-29BJ01a002000013BJ0101001','2020-09-29','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-29BJ01013439013439BJ0101001','2020-09-29','BJ01','013439','013439','BJ0101001','30','箱'),('2020-09-29BJ01013339013339BJ0101001','2020-09-29','BJ01','013339','013339','BJ0101001','30','箱'),('2020-09-29NMELT010101NMELT0001','2020-09-29','NMELT','010101','','NMELT0001','30','箱'),('2020-09-29NMELT01010100001NMELT0001','2020-09-29','NMELT','010101','00001','NMELT0001','30','箱'),('2020-09-29NMELT013441DF000011NMELT0001','2020-09-29','NMELT','013441','DF000011','NMELT0001','48','箱'),('2020-09-29NMELT0133
|
|||
|
/*!40000 ALTER TABLE `wm_his_stock` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `wm_his_stock_data`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `wm_his_stock_data`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `wm_his_stock_data` (
|
|||
|
`id` varchar(128) NOT 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 '单位',
|
|||
|
`cus_name` varchar(145) DEFAULT NULL,
|
|||
|
`pro_data` varchar(45) DEFAULT NULL,
|
|||
|
PRIMARY KEY (`id`),
|
|||
|
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_data`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `wm_his_stock_data` WRITE;
|
|||
|
/*!40000 ALTER TABLE `wm_his_stock_data` DISABLE KEYS */;
|
|||
|
INSERT INTO `wm_his_stock_data` VALUES ('2022-02-288ARA1-1-1AS11-54020102021-04-28','2022-02-28','8AR','A1-1-1','A','S11-5402010','91','个',NULL,'2021-04-28'),('2022-02-28BJ01013339013339BJ01010012020-09-27','2022-02-28','BJ01','013339','013339','BJ0101001','30','箱',NULL,'2020-09-27'),('2022-02-28BJ01013439013439BJ01010012020-09-16','2022-02-28','BJ01','013439','013439','BJ0101001','30','箱',NULL,'2020-09-16'),('2022-02-28BJ01a00010000012BJ01010012020-09-14','2022-02-28','BJ01','a0001','0000012','BJ0101001','30','箱',NULL,'2020-09-14'),('2022-02-28BJ01a002000013BJ01010012020-09-14','2022-02-28','BJ01','a002','000013','BJ0101001','440','箱',NULL,'2020-09-14'),('2022-02-28NMELT010102ANMELT00022021-12-04','2022-02-28','NMELT','010102','A','NMELT0002','16','箱',NULL,'2021-12-04'),('2022-02-28NMELT012001A1111111NMELT00022021-10-21','2022-02-28','NMELT','012001','A1111111','NMELT0002','16','箱',NULL,'2021-10-21'),('2022-02-28NMELT012941DF000005NMELT00022020-10-07','2022-02-28','NMELT','012941','DF000005','NMELT0002','55','箱',NULL,'2020-10-07'),('2022-02-28NMELT013238000013NMELT00012020-10-02','2022-02-28','NMELT','013238','000013','NMELT0001','48','箱',NULL,'2020-10-02'),('2022-02-28NMELT0132380000166NMELT00012020-10-02','2022-02-28','NMELT','013238','0000166','NMELT0001','48','箱',NULL,'2020-10-02'),('2022-02-28NMELT013441DF000011NMELT00012020-09-29','2022-02-28','NMELT','013441','DF000011','NMELT0001','-48','箱',NULL,'2020-09-29');
|
|||
|
/*!40000 ALTER TABLE `wm_his_stock_data` 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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('2020-09-20BJ0101010200000099BJ0101001','2020-09-20','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-20BJ01a00010000012BJ0101001','2020-09-20','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-20BJ01a002000013BJ0101001','2020-09-20','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-21BJ0101010200000099BJ0101001','2020-09-21','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-21BJ01a00010000012BJ0101001','2020-09-21','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-21BJ01a002000013BJ0101001','2020-09-21','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-22BJ0101010200000099BJ0101001','2020-09-22','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-22BJ01a00010000012BJ0101001','2020-09-22','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-22BJ01a002000013BJ0101001','2020-09-22','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-23BJ0101010200000099BJ0101001','2020-09-23','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-23BJ01a00010000012BJ0101001','2020-09-23','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-23BJ01a002000013BJ0101001','2020-09-23','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-24BJ0101010200000099BJ0101001','2020-09-24','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-24BJ01a00010000012BJ0101001','2020-09-24','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-24BJ01a002000013BJ0101001','2020-09-24','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-25BJ0101010200000099BJ0101001','2020-09-25','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-25BJ01a00010000012BJ0101001','2020-09-25','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-25BJ01a002000013BJ0101001','2020-09-25','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-26BJ0101010200000099BJ0101001','2020-09-26','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-26BJ01a00010000012BJ0101001','2020-09-26','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-26BJ01a002000013BJ0101001','2020-09-26','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-27BJ0101010200000099BJ0101001','2020-09-27','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-27BJ01a00010000012BJ0101001','2020-09-27','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-27BJ01a002000013BJ0101001','2020-09-27','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-27BJ01013439013439BJ0101001','2020-09-27','BJ01','013439','013439','BJ0101001','30','箱'),('2020-09-27BJ01013339013339BJ0101001','2020-09-27','BJ01','013339','013339','BJ0101001','30','箱'),('2020-09-28BJ0101010200000099BJ0101001','2020-09-28','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-28BJ01a00010000012BJ0101001','2020-09-28','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-28BJ01a002000013BJ0101001','2020-09-28','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-28BJ01013439013439BJ0101001','2020-09-28','BJ01','013439','013439','BJ0101001','30','箱'),('2020-09-28BJ01013339013339BJ0101001','2020-09-28','BJ01','013339','013339','BJ0101001','30','箱'),('2020-09-29BJ0101010200000099BJ0101001','2020-09-29','BJ01','010102','00000099','BJ0101001','30','箱'),('2020-09-29BJ01a00010000012BJ0101001','2020-09-29','BJ01','a0001','0000012','BJ0101001','30','箱'),('2020-09-29BJ01a002000013BJ0101001','2020-09-29','BJ01','a002','000013','BJ0101001','440','箱'),('2020-09-29BJ01013439013439BJ0101001','2020-09-29','BJ01','013439','013439','BJ0101001','30','箱'),('2020-09-29BJ01013339013339BJ0101001','2020-09-29','BJ01','013339','013339','BJ0101001','30','箱'),('2020-09-29NMELT010101NMELT0001','2020-09-29','NMELT','010101','','NMELT0001','30','箱'),('2020-09-29NMELT01010100001NMELT0001','2020-09-29','NMELT','010101','00001','NMELT0001','30','箱'),('2020-09-29NMELT013441DF000011NMELT0001','2020-09-29','NMELT','013441','DF000011','NMELT0001','48','箱'),('2020-09-29NMELT013342DF000008NMELT0001','2020-09-29','NMELT','013342','DF000008','NMELT0001','27','箱'),('2020
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 '账套',
|
|||
|
`area_code` varchar(45) DEFAULT NULL,
|
|||
|
`store_code` varchar(45) DEFAULT NULL,
|
|||
|
PRIMARY KEY (`id`),
|
|||
|
UNIQUE KEY `notice_id_UNIQUE` (`notice_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 */;
|
|||
|
INSERT INTO `wm_im_notice_h` VALUES ('297e363f7deb92cd017deba6b0d50009','管理员','admin','2021-12-24 16:55:10',NULL,NULL,NULL,'A05','A05','001',NULL,'','',NULL,'','09',NULL,'','操作中','QTRK20211224-0001',NULL,NULL,NULL,'','',NULL,NULL,'A库区','BJTZ7'),('4028804072de5db40172fff33f100099','管理员','admin','2020-06-29 20:00:31','测试','test','2020-06-30 14:07:23','A05','A05','001','2020-06-29 22:29:15','','',NULL,'','09',NULL,'','已完成','QTRK20200629-0001',NULL,NULL,'where 1 = 1','','',NULL,NULL,NULL,NULL),('4028804072de5db40174a4bcc415013c','管理员','admin','2020-09-19 13:01:09','管理员','admin','2020-10-07 16:44:33','A05','A05','BJ01',NULL,'BJ0101','',NULL,'','09',NULL,'','已完成','QTRK20200919-0001',NULL,NULL,'where 1 = 1','','',NULL,NULL,NULL,NULL),('4028804072de5db40174aa8a953601cb','管理员','admin','2020-09-20 16:04:03','管理员','admin','2020-09-20 16:11:49','A05','A05','NMELT','2020-09-20 16:03:21','NMELT920','',NULL,'','09',NULL,'','已完成','QTRK20200920-0001',NULL,NULL,'where 1 = 1','','',NULL,NULL,NULL,NULL),('4028804072de5db40174aa9516f101d4','管理员','admin','2020-09-20 16:15:32',NULL,NULL,NULL,'A05','A05','NMELT','2020-09-20 16:13:27','NMELT999','',NULL,'','09',NULL,'','已完成','QTRK20200920-0002',NULL,NULL,NULL,'','',NULL,NULL,NULL,NULL),('4028804072de5db40174aa9ca31401ef','管理员','admin','2020-09-20 16:23:46','管理员','admin','2020-10-07 16:44:25','A05','A05','BJ01','2020-09-20 16:23:27','yr7','',NULL,'','09',NULL,'','已完成','QTRK20200920-0003',NULL,NULL,NULL,'','',NULL,NULL,NULL,NULL),('4028804072de5db40174b585a5dd0223','测试','test','2020-09-22 19:14:29','管理员','admin','2020-10-07 16:44:29','A05','A05','NMELT','2020-09-22 19:12:19','23232','',NULL,'','09',NULL,'','已完成','QTRK20200922-0001',NULL,NULL,NULL,'','',NULL,NULL,NULL,NULL),('4028804074beadae0174d405da131348','测试','test','2020-09-28 17:23:07',NULL,NULL,NULL,'A05','A05','NMELT','2020-09-28 17:22:38','NMELT001','',NULL,'','09',NULL,'','已完成','QTRK20200928-0001',NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL),('4028804074beadae0174d8da85f61366','测试','test','2020-09-29 15:53:54','测试','test','2020-09-29 15:54:30',NULL,NULL,'NMELT','2020-09-29 03:47:34','44444','',NULL,'','09',NULL,'','已完成','RK20200929-0001',NULL,NULL,NULL,'','',NULL,NULL,NULL,NULL),('4028804074beadae0174dddeba6913bf','测试','test','2020-09-30 15:16:36',NULL,NULL,NULL,'A05','A05','NMELT','2020-09-30 15:15:44','55555','',NULL,'','09',NULL,'','已完成','QTRK20200930-0001',NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL),('4028804074fff50e0175022d103d0018','管理员','admin','2020-10-07 16:28:29','管理员','admin','2020-10-07 16:44:27','A05','A05','NMELT',NULL,'2002010001','',NULL,'','',NULL,'','已完成','RK20201007-0001',NULL,NULL,'where 1 = 1','',NULL,NULL,NULL,NULL,NULL),('4028804074fff50e0175023b237b0020','管理员','admin','2020-10-07 16:43:52',NULL,NULL,NULL,'A05','A05','NMELT',NULL,'20200707-00333','',NULL,'','',NULL,'','已完成','RK20201007-0002',NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL),('4028804074fff50e0175023b783f0025','管理员','admin','2020-10-07 16:44:13',NULL,NULL,NULL,'A05','A05','NMELT',NULL,'20200707-001333333','',NULL,'','',NULL,'','已完成','RK20201007-0003',NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL),('4028804074fff50e01750258df610036','管理员','admin','2020-10-07 17:16:20',NULL,NULL,NULL,'A05','A05','NMELT',NULL,'20200707-003123454321','',NULL,'','',NULL,'','已完成','RK20201007-0004',NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL),('4028804074fff50e0175027315490041','管理员','admin','2020-10-07 17:44:58','管理员','admin','2020-10-08 11:11:54','A05','A05','NMELT',NULL,'1111111111','',NULL,'','',NULL,'','已完成','RK20201007-0005',NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL),('402881e57505ca81017505d4fc000005','管理员','admin','2020-10-08 09:30:46','管理员','admin','2020-10-08 11:11:53','A05','A05','NMELT',NULL,'20200707-0021111','',NULL,'','',NULL,'','已完成','RK20201008-0001',NULL,NULL,NULL,'',NULL,NULL,NULL,NULL,NULL),('402881e57505dcbf017505e67f0b0005','
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 '规格',
|
|||
|
`BZHI_QI` varchar(45) DEFAULT NULL,
|
|||
|
`chp_shu_xing` varchar(45) DEFAULT NULL COMMENT '产品属性',
|
|||
|
`tin_id` varchar(45) DEFAULT NULL,
|
|||
|
PRIMARY KEY (`id`),
|
|||
|
UNIQUE KEY `other_id` (`other_id`) USING BTREE,
|
|||
|
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 */;
|
|||
|
INSERT INTO `wm_im_notice_i` VALUES ('297e363f7deb92cd017deba6b0d8000a','管理员','admin','2021-12-24 16:55:10',NULL,NULL,NULL,'A05','A05','QTRK20211224-0001',NULL,'001001','11',NULL,NULL,'Y',NULL,'11.0','0','份',NULL,'11',NULL,'份','11',NULL,'001001-成品油-份',NULL,'','','',NULL,NULL,'肉类',NULL),('4028804072de5db40172fff33f10009a','管理员','admin','2020-06-29 20:00:31','管理员','admin','2020-06-29 20:03:48','A05','A05','QTRK20200629-0001',NULL,'lk0001','100',NULL,NULL,'Y','1.0E8','1000.0',NULL,'箱',NULL,'0',NULL,'箱','100',NULL,'lk0001-冷冻牛肉-箱',NULL,'','','',NULL,NULL,NULL,NULL),('4028804072de5db40174a4bcc415013d','管理员','admin','2020-09-19 13:01:09','管理员','admin','2020-10-07 16:44:33','A05','A05','QTRK20200919-0001',NULL,'BJ0101001','1000',NULL,NULL,'Y','2.5E8','50000.0','010101','箱',NULL,'90',NULL,'箱','1000',NULL,'BJ0101001-牛肉-箱',NULL,'BJ0101','','695001',NULL,NULL,NULL,NULL),('4028804072de5db40174aa8a953601cc','管理员','admin','2020-09-20 16:04:03',NULL,NULL,NULL,'A05','A05','QTRK20200920-0001',NULL,'NMELT0001','30',NULL,NULL,'Y','826560.0','750.0',NULL,'箱',NULL,'30',NULL,'箱','30',NULL,'NMELT0001-牛肉-箱',NULL,'NMELT920','','NMELT0001',NULL,NULL,NULL,NULL),('4028804072de5db40174aa9516f101d5','管理员','admin','2020-09-20 16:15:32',NULL,NULL,NULL,'A05','A05','QTRK20200920-0002',NULL,'NMELT0001','30',NULL,NULL,'Y','826560.0','750.0',NULL,'箱',NULL,'30',NULL,'箱','30',NULL,'NMELT0001-牛肉-箱',NULL,'NMELT999','','NMELT0001',NULL,NULL,NULL,NULL),('4028804072de5db40174aa9ca31e01f0','管理员','admin','2020-09-20 16:23:46','管理员','admin','2020-10-07 16:44:25','A05','A05','QTRK20200920-0003',NULL,'BJ0101001','1000',NULL,NULL,'Y','2.5E8','50000.0',NULL,'箱',NULL,'590',NULL,'箱','1000',NULL,'BJ0101001-牛肉-箱',NULL,'yr7','','695001',NULL,NULL,NULL,NULL),('4028804072de5db40174b585a5dd0224','测试','test','2020-09-22 19:14:29','管理员','admin','2020-10-07 16:44:29','A05','A05','QTRK20200922-0001',NULL,'NMELT0001','',NULL,NULL,'Y',NULL,NULL,NULL,'箱',NULL,'0',NULL,'箱','',NULL,'NMELT0001-牛肉-箱',NULL,'23232','','NMELT0001',NULL,NULL,NULL,NULL),('4028804074beadae0174d405da131349','测试','test','2020-09-28 17:23:07',NULL,NULL,NULL,'A05','A05','QTRK20200928-0001',NULL,'NMELT0001','15',NULL,NULL,'Y','413280.0','375.0',NULL,'箱',NULL,'15',NULL,'箱','15',NULL,'NMELT0001-牛羊肉成品-箱',NULL,'NMELT001','','NMELT0001',NULL,NULL,NULL,NULL),('4028804074beadae0174d8da85f61367','测试','test','2020-09-29 15:53:54','测试','test','2020-09-29 15:55:04','A05','A05','RK20200929-0001','','NMELT0001','461',NULL,'','Y','1.2701472E7','11525.0','013440','箱','','461',NULL,'箱','461',NULL,'NMELT0001-牛羊肉成品-箱',NULL,'44444','','NMELT0001',NULL,NULL,NULL,NULL),('4028804074beadae0174dddeba6913c0','测试','test','2020-09-30 15:16:36',NULL,NULL,NULL,'A05','A05','QTRK20200930-0001',NULL,'NMELT0002','4',NULL,NULL,'Y',NULL,'2000.0',NULL,'斤',NULL,'4',NULL,'箱','4.0',NULL,'NMELT0002-牛羊肉半成品-斤',NULL,'55555','','NMELT0002',NULL,NULL,NULL,NULL),('4028804074fff50e0175022d103d0019','管理员','admin','2020-10-07 16:28:29',NULL,NULL,NULL,'A05','A05','RK20201007-0001',NULL,'NMELT0001','10000',NULL,NULL,'Y','2.7552E8','250000.0','13328','箱',NULL,'10000',NULL,'箱','10000',NULL,'NMELT0001-牛羊肉成品-箱',NULL,'2002010001','','NMELT0001',NULL,NULL,NULL,NULL),('4028804074fff50e0175023b237b0021','管理员','admin','2020-10-07 16:43:52',NULL,NULL,NULL,'A05','A05','RK20201007-0002',NULL,'NMELT0001','58',NULL,NULL,'Y','1598016.0','1450.0','1','箱',NULL,'58',NULL,'箱','58',NULL,'NMELT0001-牛羊肉成品-箱',NULL,'20200707-00333','','NMELT0001',NULL,NULL,NULL,NULL),('4028804074fff50e0175023b783f0026','管理员','admin','2020-10-07 16:44:13',NULL,NULL,NULL,'A05','A05','RK20201007-0003',NULL,'NMELT0002','56',NULL,NULL,'Y',NULL,'28000.0','1','斤',NULL,'56',NULL,'箱','56.0',NULL,'NMELT0002-牛羊肉半成品-斤',NULL,'20200707-001333333','','NMELT0002',NULL,NULL,NULL,NULL),('4028804074fff50e01750258df610037','管理员','admin','2020-10-07
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
INSERT INTO `wm_in_qm_i` VALUES ('297e363f7deb92cd017deba7126a000d','管理员','admin','2021-12-24 16:55:35',NULL,NULL,NULL,'A05','A05','QTRK20211224-0001','297e363f7deb92cd017deba6b0d8000a','001001','11','11','良品','2021-12-04','A','份','2021-12-04','A01','0','11.0','N','001','1','份','11',NULL,NULL,'001001-成品油-份',''),('297e363f7deb92cd017deba74e6f0011','管理员','admin','2021-12-24 16:55:50','管理员','admin','2021-12-24 16:56:04','A05','A05','RK20211020-0001','40289a817c9d1fe0017c9d5c664f0036','NMELT0002','10000','16.0','良品','2021-12-04','A','斤','2021-12-04','010102','','8000.0','Y','NMELT','1','箱','16.0','',NULL,'NMELT0002-牛羊肉半成品-斤','11111'),('4028804072de5db40174a4bd6bd00140','管理员','admin','2020-09-19 13:01:51','管理员','admin','2020-09-19 13:15:27','A05','A05','QTRK20200919-0001','4028804072de5db40174a4bcc415013d','BJ0101001','1000','30.0','良品','2020-09-17','A01','箱','2020-09-17','010101','7500000.0','1500.0','Y','BJ01','-18','箱','30.0','',NULL,'BJ0101001-牛肉-箱','BJ0101'),('4028804072de5db40174aa8b9e5501d1','管理员','admin','2020-09-20 16:05:11',NULL,NULL,NULL,'A05','A05','QTRK20200920-0001','4028804072de5db40174aa8a953601cc','NMELT0001','30','30','良品','2020-09-10','','箱','2020-09-10','010101','826560.0','750.0','Y','NMELT','-18','箱','30',NULL,NULL,'NMELT0001-牛肉-箱','NMELT920'),('4028804072de5db40174aa97a01601dd','管理员','admin','2020-09-20 16:18:18',NULL,NULL,NULL,'A05','A05','QTRK20200920-0002','4028804072de5db40174aa9516f101d5','NMELT0001','30','30','良品','2020-09-13','00001','箱','2020-09-13','010101','826560.0','750.0','Y','NMELT','','箱','30',NULL,NULL,'NMELT0001-牛肉-箱','NMELT999'),('4028804072de5db40174aa9d189c01f3','管理员','admin','2020-09-20 16:24:16','管理员','admin','2020-09-20 16:24:36','A05','A05','QTRK20200920-0003','4028804072de5db40174aa9ca31e01f0','BJ0101001','1000','30.0','良品','2020-09-12','00000099','箱','2020-09-12','010102','7500000.0','1500.0','Y','BJ01','','箱','30.0',NULL,NULL,'BJ0101001-牛肉-箱','yr7'),('4028804072de5db40174aaa42d0201ff','管理员','admin','2020-09-20 16:32:00','管理员','admin','2020-09-20 16:32:56','A05','A05','QTRK20200920-0003','4028804072de5db40174aa9ca31e01f0','BJ0101001','1000','30.0','良品','2020-09-14','0000012','箱','2020-09-14','a0001','7500000.0','1500.0','Y','BJ01','','箱','30.0',NULL,NULL,'BJ0101001-牛肉-箱','yr7'),('4028804072de5db40174aaa4bdda0201','管理员','admin','2020-09-20 16:32:37','管理员','admin','2020-09-20 16:32:56','A05','A05','QTRK20200920-0003','4028804072de5db40174aa9ca31e01f0','BJ0101001','1000','500','良品','2020-09-14','000013','箱','2020-09-14','a002','1.25E8','25000.0','Y','BJ01','','箱','500',NULL,NULL,'BJ0101001-牛肉-箱','yr7'),('4028804072de5db40174b5883ba70229','测试','test','2020-09-22 19:17:18',NULL,NULL,NULL,'A05','A05','QTRK20200922-0001',NULL,'NMELT0001',NULL,'20','良品','','','箱','','010101','551040.0','500.0','Y','NMELT','','箱','20',NULL,NULL,'NMELT0001-牛肉-箱',NULL),('4028804074beadae0174bf94c1730001','测试','test','2020-09-24 18:07:11',NULL,NULL,NULL,'A05','A05','QTRK20200919-0001','4028804072de5db40174a4bcc415013d','BJ0101001','1000','30.0','良品','2020-09-15','013438','箱','2020-09-15','013438','7500000.0','1500.0','Y','BJ01','-18','箱','30.0',NULL,NULL,'BJ0101001-牛肉-箱','BJ0101'),('4028804074beadae0174bf954bd90003','测试','test','2020-09-24 18:07:47','测试','test','2020-09-27 10:29:40','A05','A05','QTRK20200919-0001','4028804072de5db40174a4bcc415013d','BJ0101001','1000','30.0','良品','2020-09-16','013439','箱','2020-09-16','013439','7500000.0','1500.0','Y','BJ01','56','箱','30.0',NULL,NULL,'BJ0101001-牛肉-箱','BJ0101'),('4028804074beadae0174cd6786070016','测试','test','2020-09-27 10:32:28','测试','test','2020-09-27 10:32:54','A05','A05','QTRK20200920-0003','4028804072de5db40174aa9ca31e01f0','BJ0101001','1000','30.0','良品','2020-09-27','013339','箱','2020-09-27','013339','7500000.0','1500.0','Y','BJ01','0','箱','30.0',NULL,NULL,'BJ0101001-牛肉-箱','yr
|
|||
|
/*!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 `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 `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 `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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('4028804072de5db40174a93879ac0182','管理员','admin','2020-09-20 09:54:45',NULL,NULL,NULL,'A05','A05','CK20200919-0001','完成','BJ01','2020-09-21 00:00:00'),('40289a817c9d1fe0017c9d5f9c2d00a0','管理员','admin','2021-10-20 19:04:21',NULL,NULL,NULL,'A05','A05','CK20200920-0003','1','BJ01',NULL),('40289a817c9d1fe0017c9d5f9c3700a2','管理员','admin','2021-10-20 19:04:21',NULL,NULL,NULL,'A05','A05','CK20200920-0005','1','BJ01',NULL),('40289a817c9d1fe0017c9d5f9c3c00a4','管理员','admin','2021-10-20 19:04:21',NULL,NULL,NULL,'A05','A05','CK20201007-0001','1','NMELT',NULL),('40289a817c9d1fe0017c9d5f9c4100a6','管理员','admin','2021-10-20 19:04:21',NULL,NULL,NULL,'A05','A05','CK20201007-0002','1','NMELT',NULL),('40289a817c9d1fe0017c9d5f9c4700a8','管理员','admin','2021-10-20 19:04:21',NULL,NULL,NULL,'A05','A05','CK20201007-0003','1','NMELT',NULL),('40289a817c9d1fe0017c9d5f9c4c00aa','管理员','admin','2021-10-20 19:04:21',NULL,NULL,NULL,'A05','A05','CK20201008-0001','1','NMELT',NULL),('40289a817c9d1fe0017c9d5f9c5000ac','管理员','admin','2021-10-20 19:04:21',NULL,NULL,NULL,'A05','A05','CK20201008-0002','1','NMELT',NULL),('40289a817c9d1fe0017c9d5f9c5500ae','管理员','admin','2021-10-20 19:04:21',NULL,NULL,NULL,'A05','A05','CK20210429-0001','1','8AR',NULL),('40289a817c9d1fe0017c9d5f9c5900b0','管理员','admin','2021-10-20 19:04:21',NULL,NULL,NULL,'A05','A05','CK20211020-0002','1','NMELT',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 `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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 '账套',
|
|||
|
`delv_method` varchar(45) DEFAULT NULL,
|
|||
|
`store_code` varchar(45) DEFAULT NULL,
|
|||
|
`jh_user` varchar(45) DEFAULT NULL COMMENT '拣货人',
|
|||
|
`fh_user` varchar(45) DEFAULT NULL COMMENT '复核人',
|
|||
|
PRIMARY KEY (`id`),
|
|||
|
UNIQUE KEY `id_UNIQUE` (`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 ('4028804072de5db40174a4d8e179014a','管理员','admin','2020-09-19 13:31:51','管理员','admin','2020-09-19 13:39:46','A05','A05','BJ01','2020-09-20 13:25:48','','','','',NULL,',',NULL,'','已完成','CK20200919-0001',NULL,NULL,NULL,'11','',NULL,'CK010203','已打印',NULL,NULL,NULL,NULL,NULL,NULL),('4028804072de5db40174aa9921d301e2','管理员','admin','2020-09-20 16:19:56','管理员','admin','2020-09-20 16:21:01','A05','A05','BJ01','2020-09-20 16:19:28','','','','',NULL,',',NULL,'','已删除','CK20200920-0001',NULL,NULL,NULL,'11','',NULL,'00009',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028804072de5db40174aa9afa9f01e8','管理员','admin','2020-09-20 16:21:58',NULL,NULL,NULL,'A05','A05','NMELT','2020-09-20 16:21:38','','','','',NULL,',',NULL,'','计划中','CK20200920-0002',NULL,NULL,NULL,'11','',NULL,'000098',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028804072de5db40174aa9e1c6e01f8','管理员','admin','2020-09-20 16:25:23','管理员','admin','2020-09-20 16:25:51',NULL,NULL,'BJ01','2020-09-21 16:25:03','','','','',NULL,',',NULL,'','已完成','CK20200920-0003',NULL,NULL,NULL,'11','','','900988',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028804072de5db40174aaa5a8390208','管理员','admin','2020-09-20 16:33:37',NULL,NULL,NULL,'A05','A05','BJ01','2020-09-20 16:33:12','','','','',NULL,',',NULL,'','计划中','CK20200920-0004',NULL,NULL,NULL,'11','',NULL,'7890077',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028804072de5db40174aab2647a0211','测试','test','2020-09-20 16:47:32',NULL,NULL,NULL,'A05','A05','BJ01','2020-09-21 16:46:56','','','','',NULL,',',NULL,'','已完成','CK20200920-0005',NULL,NULL,NULL,'11','',NULL,'8778787',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028804074fd4df90174fd524cda0002','管理员','admin','2020-10-06 17:51:03','管理员','admin','2022-03-01 16:50:32','A05','A05','NMELT',NULL,'','','','',NULL,'',NULL,'','计划中','CK20201006-0001',NULL,NULL,NULL,'11','',NULL,'CK20200707-00111','已打印',NULL,NULL,NULL,NULL,NULL,NULL),('4028804074fff50e0175028c7c53004e','管理员','admin','2020-10-07 18:12:43',NULL,NULL,NULL,'A05','A05','NMELT',NULL,'','','','张',NULL,'',NULL,'','已完成','CK20201007-0001',NULL,NULL,NULL,'11','',NULL,'CK20200707-00111111',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028804074fff50e0175028d8a23005a','管理员','admin','2020-10-07 18:13:52',NULL,NULL,NULL,'A05','A05','NMELT',NULL,'','','','',NULL,'',NULL,'','已完成','CK20201007-0002',NULL,NULL,NULL,'11','',NULL,'CK20200707-001dd',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('4028804074fff50e017502ac6ffd006d','管理员','admin','2020-10-07 18:47:37',NULL,NULL,NULL,'A05','A05','NMELT',NULL,'','','','',NULL,'',NULL,'','已完成','CK20201007-0003',NULL,NULL,NULL,'11','',NULL,'1111',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402881e5750605c801750634e8fa0015','管理员','admin','2020-10-08 11:15:32',NULL,NULL,NULL,'A05','A05','NMELT',NULL,'','','','',NULL,'',NULL,'','已完成','CK20201008-0001',NULL,NULL,NULL,'11','',NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402881ea75075bed0175075e1a640005','管理员','admin','2020-10-08 16:40:09',NULL,NULL,NULL,'A05','A05','NMELT',NULL,'','','','',NULL,'',NULL,'','复核完成','CK20201008-0002',NULL,NULL,NULL,'11','',NULL,'1111111111111111111111111',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('402882f1791b3c7801791b4bb5030009','管理员','admin','2021-04-29 09:43:37',NULL,NULL,NULL,'A05','A05','8AR',NULL,'','','','',NULL,'','','','已完成','CK20210429-0001',NULL,NULL,NULL,'11','',NULL,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('40288bcd7fa60ce6017fa60eae0f0002','管理员','admin','2022-03-20 14:40:54',NULL,NULL,NULL,'A05','A05',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'123.0',NULL,'CK20220320-0001',NULL,NULL,NULL,'11',NULL,NULL,'N01',NULL,NULL,NULL,NULL,NULL,NULL,NULL),('40288bcd7fa610ec017fa611eb0a0002','管理员','admin','2022-03-20 14:44:27','管理员','admin','2022-03-20 14:44:55',NULL,NULL,'NMELT',NULL,'','','','',NULL,'','','123.0','','CK20220320-0002',NULL,NULL,NULL,'11','','','N02',NULL,NULL,NULL,'','',NULL,NULL),('40289a817c9d1fe0017c9d4a54e60030','管理员','a
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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,
|
|||
|
`BZHI_QI` varchar(45) DEFAULT NULL,
|
|||
|
`chp_shu_xing` varchar(45) DEFAULT NULL,
|
|||
|
`BARCODE` varchar(45) DEFAULT NULL,
|
|||
|
`sku` varchar(145) DEFAULT NULL,
|
|||
|
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 */;
|
|||
|
INSERT INTO `wm_om_notice_i` VALUES ('4028804072de5db40174a4d8e179014b','管理员','admin','2020-09-19 13:31:51',NULL,NULL,NULL,'A05','A05','CK20200919-0001','BJ0101001','30','箱',NULL,NULL,NULL,'0',NULL,'BJ01',NULL,NULL,NULL,NULL,'箱','30','Y','BJ0101001-牛肉-箱',NULL,NULL,'CK010203','',NULL,NULL,NULL,NULL),('4028804072de5db40174aa9921d301e3','管理员','admin','2020-09-20 16:19:56','管理员','admin','2020-09-20 16:21:01','A05','A05','CK20200920-0001','BJ0101001','1','箱',NULL,NULL,NULL,'0',NULL,'BJ01',NULL,NULL,NULL,'已删除','箱','1','Y','BJ0101001-牛肉-箱',NULL,NULL,'00009','',NULL,NULL,NULL,NULL),('4028804072de5db40174aa9afa9f01e9','管理员','admin','2020-09-20 16:21:58',NULL,NULL,NULL,'A05','A05','CK20200920-0002','NMELT0001','1','箱',NULL,NULL,NULL,'0',NULL,'NMELT',NULL,NULL,NULL,NULL,'箱','1','Y','NMELT0001-牛肉-箱',NULL,NULL,'000098','',NULL,NULL,NULL,NULL),('4028804072de5db40174aa9e1c6e01f9','管理员','admin','2020-09-20 16:25:23','管理员','admin','2020-09-20 16:25:51','A05','A05','CK20200920-0003','BJ0101001','1000','箱',NULL,'',NULL,'0',NULL,'BJ01',NULL,NULL,'','','箱','1000','Y','BJ0101001-牛肉-箱',NULL,NULL,'900988','',NULL,NULL,NULL,NULL),('4028804072de5db40174aaa5a8430209','管理员','admin','2020-09-20 16:33:37',NULL,NULL,NULL,'A05','A05','CK20200920-0004','BJ0101001','30','箱',NULL,NULL,NULL,'0',NULL,'BJ01',NULL,NULL,NULL,NULL,'箱','30','Y','BJ0101001-牛肉-箱',NULL,NULL,'7890077','',NULL,NULL,NULL,NULL),('4028804072de5db40174aab2647a0212','测试','test','2020-09-20 16:47:32',NULL,NULL,NULL,'A05','A05','CK20200920-0005','BJ0101001','60','箱',NULL,NULL,NULL,'0',NULL,'BJ01',NULL,NULL,NULL,NULL,'箱','60','Y','BJ0101001-牛肉-箱',NULL,NULL,'8778787','',NULL,NULL,NULL,NULL),('4028804074fd4df90174fd524cda0003','管理员','admin','2020-10-06 17:51:03',NULL,NULL,NULL,'A05','A05','CK20201006-0001','NMELT0001','100','箱',NULL,NULL,NULL,'0',NULL,'NMELT',NULL,NULL,NULL,NULL,'箱','100','Y','NMELT0001-牛羊肉成品-箱',NULL,NULL,'CK20200707-00111','',NULL,NULL,NULL,NULL),('4028804074fff50e0175028c7c53004f','管理员','admin','2020-10-07 18:12:43',NULL,NULL,NULL,'A05','A05','CK20201007-0001','NMELT0001','400','箱',NULL,NULL,NULL,'0',NULL,'NMELT',NULL,NULL,NULL,NULL,'箱','400','Y','NMELT0001-牛羊肉成品-箱',NULL,NULL,'CK20200707-00111111','',NULL,NULL,NULL,NULL),('4028804074fff50e0175028d8a23005b','管理员','admin','2020-10-07 18:13:52',NULL,NULL,NULL,'A05','A05','CK20201007-0002','NMELT0001','42','箱',NULL,NULL,NULL,'0',NULL,'NMELT',NULL,NULL,NULL,NULL,'箱','42','Y','NMELT0001-牛羊肉成品-箱',NULL,NULL,'CK20200707-001dd','',NULL,NULL,NULL,NULL),('4028804074fff50e017502ac6ffd006e','管理员','admin','2020-10-07 18:47:37',NULL,NULL,NULL,'A05','A05','CK20201007-0003','NMELT0002','11','斤',NULL,NULL,NULL,'0',NULL,'NMELT',NULL,NULL,NULL,NULL,'箱','11.0','Y','NMELT0002-牛羊肉半成品-斤',NULL,NULL,'1111','',NULL,NULL,NULL,NULL),('402881e5750605c801750634e9010016','管理员','admin','2020-10-08 11:15:32',NULL,NULL,NULL,'A05','A05','CK20201008-0001','NMELT0001','100','箱',NULL,NULL,NULL,'0',NULL,'NMELT',NULL,NULL,NULL,NULL,'箱','100','Y','NMELT0001-牛羊肉成品-箱',NULL,NULL,'','',NULL,NULL,NULL,NULL),('402881ea75075bed0175075e1a670006','管理员','admin','2020-10-08 16:40:09',NULL,NULL,NULL,'A05','A05','CK20201008-0002','NMELT0001','365','箱',NULL,NULL,NULL,'0',NULL,'NMELT',NULL,NULL,NULL,NULL,'箱','365','Y','NMELT0001-牛羊肉成品-箱',NULL,NULL,'1111111111111111111111111','',NULL,NULL,NULL,NULL),('402882f1791b3c7801791b4bb509000a','管理员','admin','2021-04-29 09:43:37',NULL,NULL,NULL,'A05','A05','CK20210429-0001','S11-5402010','10','个',NULL,NULL,NULL,'0',NULL,'8AR',NULL,NULL,NULL,'未复核','个','10','Y','S11-5402010-左A柱上护板总成-个',NULL,NULL,'','',NULL,'汽车零配件','',NULL),('40288bcd7fa60ce6017fa60eae110003','管理员','admin','2022-03-20 14:40:54',NULL,NULL,NULL,'A05','A05','CK20220320-0001','NMELT0001','12','箱',NULL,NULL,NULL,'0',NULL,NULL,NULL,NULL,NULL,'未复核','箱','12','Y','NMELT0001-牛羊肉成<E88289><E68890>
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 '拣货换算',
|
|||
|
`first_rq` varchar(45) DEFAULT NULL,
|
|||
|
`second_rq` varchar(45) DEFAULT NULL,
|
|||
|
`sku` varchar(45) DEFAULT NULL,
|
|||
|
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 ('4028804074fff50e0175028c99030056','管理员','admin','2020-10-07 18:12:50','管理员','admin','2020-10-07 18:15:31',NULL,NULL,'CK20201007-0001','4028804074fff50e0175028c7c53004f','NMELT0001',NULL,'1.0',NULL,'2020-10-07','DF000017','箱',NULL,'040125','27552.0','25.0','Y','NMELT','左库口',NULL,'箱','1','NMELT','牛羊肉成品',NULL,'CK20200707-00111111','','NMELT0001','',NULL,NULL,NULL,NULL,NULL),('4028804074fff50e0175028c990d0057','管理员','admin','2020-10-07 18:12:50','管理员','admin','2020-10-07 18:17:07',NULL,NULL,'CK20201007-0001','4028804074fff50e0175028c7c53004f','NMELT0001',NULL,'10.0',NULL,'2020-10-07','DF000016','箱',NULL,'040124','275520.0','250.0','Y','NMELT','左库口',NULL,'箱','10','NMELT','牛羊肉成品',NULL,'CK20200707-00111111','','NMELT0001','',NULL,NULL,NULL,NULL,NULL),('4028804074fff50e0175028c990d0058','管理员','admin','2020-10-07 18:12:50','管理员','admin','2020-10-07 18:17:33',NULL,NULL,'CK20201007-0001','4028804074fff50e0175028c7c53004f','NMELT0001',NULL,'14.0',NULL,'2020-10-07','DF000018','箱',NULL,'040123','385728.0','350.0','Y','NMELT','左库口',NULL,'箱','14.0','NMELT','牛羊肉成品',NULL,'CK20200707-00111111','','NMELT0001','',NULL,NULL,NULL,NULL,NULL),('4028804074fff50e0175028daa56005e','管理员','admin','2020-10-07 18:14:00','管理员','admin','2021-10-20 19:03:21',NULL,NULL,'CK20201007-0002','4028804074fff50e0175028d8a23005b','NMELT0001',NULL,'32.0',NULL,'2020-10-07','DF000018','箱',NULL,'040123','881664.0','800.0','Y','NMELT','左库口',NULL,'箱','32','NMELT','牛羊肉成品',NULL,'CK20200707-001dd','','NMELT0001','',NULL,'040123',NULL,NULL,NULL),('4028804074fff50e0175028daa60005f','管理员','admin','2020-10-07 18:14:00','管理员','admin','2020-10-07 18:17:43',NULL,NULL,'CK20201007-0002','4028804074fff50e0175028d8a23005b','NMELT0001',NULL,'10.0',NULL,'2020-10-07','DF000004','箱',NULL,'040122','275520.0','250.0','Y','NMELT',NULL,NULL,'箱','10.0','NMELT','牛羊肉成品',NULL,'CK20200707-001dd','','NMELT0001','',NULL,NULL,NULL,NULL,NULL),('4028804074fff50e017502aca4060071','管理员','admin','2020-10-07 18:47:50','管理员','admin','2020-10-07 18:47:59',NULL,NULL,'CK20201007-0003','4028804074fff50e017502ac6ffd006e','NMELT0002',NULL,'11.0',NULL,'2020-10-07','DF000005','箱',NULL,'012941',NULL,NULL,'Y','NMELT',NULL,NULL,'箱','11.0','NMELT','牛羊肉半成品',NULL,'1111','','NMELT0002','',NULL,NULL,NULL,NULL,NULL),('402881e5750605c8017506352ecf0019','管理员','admin','2020-10-08 11:15:50','管理员','admin','2021-10-20 19:03:21',NULL,NULL,'CK20201008-0001','402881e5750605c801750634e9010016','NMELT0001',NULL,'48.0',NULL,'2020-09-29','DF000011','箱',NULL,'013441','1322496.0','1200.0','Y','NMELT','左库口',NULL,'箱','48','NMELT','牛羊肉成品',NULL,'','','NMELT0001','',NULL,'013441',NULL,NULL,NULL),('402881e5750605c8017506352eda001a','管理员','admin','2020-10-08 11:15:50','管理员','admin','2021-10-20 19:03:21',NULL,NULL,'CK20201008-0001','402881e5750605c801750634e9010016','NMELT0001',NULL,'30.0',NULL,'2020-09-10','','箱',NULL,'010101','826560.0','750.0','Y','NMELT','右库口',NULL,'箱','30','NMELT','牛羊肉成品',NULL,'','','NMELT0001','',NULL,'010101',NULL,NULL,NULL),('402881e5750605c8017506352ede001b','管理员','admin','2020-10-08 11:15:50','管理员','admin','2021-10-20 19:03:21',NULL,NULL,'CK20201008-0001','402881e5750605c801750634e9010016','NMELT0001',NULL,'22.0',NULL,'2020-09-13','00001','箱',NULL,'010101','606144.0','550.0','Y','NMELT',NULL,NULL,'箱','22.0','NMELT','牛羊肉成品',NULL,'','','NMELT0001','',NULL,NULL,NULL,NULL,NULL),('402881ea75075bed0175075ebab80009','管理员','admin','2020-10-08 16:40:50','管理员','admin','2021-10-20 19:03:20',NULL,NULL,'CK20201008-0002','402881ea75075bed0175075e1a670006','NMELT0001',NULL,'48.0',NULL,'2020-09-29','DF000011','箱',NULL,'013441','1322496.0','1200.0','Y','NMELT',NULL,NULL,'箱','48','NMELT','牛羊肉成品',NULL,'1111111111111111111111111','','NMELT0001','',NULL,NULL,NULL,NULL,NULL),('402881ea75075bed0175075ebac4000a','管
|
|||
|
/*!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 `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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
INSERT INTO `wm_plat_io` VALUES ('297e363f7deb92cd017deba6b0c40008','管理员','admin','2021-12-24 16:55:10',NULL,NULL,NULL,'A05','A05','','QTRK20211224-0001',NULL,NULL,NULL,'计划中','司机:电话:null',NULL,NULL,NULL),('4028804072de5db40172fff33ee90098','管理员','admin','2020-06-29 20:00:31','管理员','admin','2021-10-20 18:23:35','A05','A05','3','QTRK20200629-0001','3',NULL,NULL,'计划中','司机:电话:null','2020-06-29 10:29:15',NULL,''),('4028804072de5db40174a4bc3c780137','管理员','admin','2020-09-19 13:00:34',NULL,NULL,NULL,'A05','A05','','QTRK20200919-0001',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-19 13:00:12',NULL,NULL),('4028804072de5db40174a4bcc40b013b','管理员','admin','2020-09-19 13:01:08',NULL,NULL,NULL,'A05','A05','','QTRK20200919-0001',NULL,NULL,NULL,'计划中','司机:电话:null',NULL,NULL,NULL),('4028804072de5db40174a4d8e1650149','管理员','admin','2020-09-19 13:31:51',NULL,NULL,NULL,'A05','A05',',','CK20200919-0001',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-20 13:25:48',NULL,NULL),('4028804072de5db40174aa2e50c1019c','管理员','admin','2020-09-20 14:23:16',NULL,NULL,NULL,'A05','A05','','RK20200920-0001',NULL,NULL,NULL,'计划中','司机:电话:null',NULL,NULL,NULL),('4028804072de5db40174aa36e41601a2','管理员','admin','2020-09-20 14:32:38',NULL,NULL,NULL,'A05','A05','','RK20200920-0001',NULL,NULL,NULL,'计划中','司机:电话:null',NULL,NULL,NULL),('4028804072de5db40174aa37436101a6','管理员','admin','2020-09-20 14:33:03',NULL,NULL,NULL,'A05','A05','','RK20200920-0001',NULL,NULL,NULL,'计划中','司机:电话:null',NULL,NULL,NULL),('4028804072de5db40174aa37c17e01aa','管理员','admin','2020-09-20 14:33:35',NULL,NULL,NULL,'A05','A05','','RK20200920-0001',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-20 14:33:17',NULL,NULL),('4028804072de5db40174aa38e69d01ae','管理员','admin','2020-09-20 14:34:50',NULL,NULL,NULL,'A05','A05','','RK20200920-0001',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-21 14:34:17',NULL,NULL),('4028804072de5db40174aa397e2201b2','管理员','admin','2020-09-20 14:35:29',NULL,NULL,NULL,'A05','A05','','QTRK20200920-0001',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-20 14:35:16',NULL,NULL),('4028804072de5db40174aa89992301c6','管理员','admin','2020-09-20 16:02:58',NULL,NULL,NULL,'A05','A05','','RK20200920-0001',NULL,NULL,NULL,'计划中','司机:电话:null',NULL,NULL,NULL),('4028804072de5db40174aa8a952301ca','管理员','admin','2020-09-20 16:04:03',NULL,NULL,NULL,'A05','A05','','QTRK20200920-0001',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-20 16:03:21',NULL,NULL),('4028804072de5db40174aa9516ca01d3','管理员','admin','2020-09-20 16:15:32',NULL,NULL,NULL,'A05','A05','','QTRK20200920-0002',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-20 16:13:27',NULL,NULL),('4028804072de5db40174aa9921ca01e1','管理员','admin','2020-09-20 16:19:56',NULL,NULL,NULL,'A05','A05',',','CK20200920-0001',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-20 16:19:28',NULL,NULL),('4028804072de5db40174aa9afa8b01e7','管理员','admin','2020-09-20 16:21:58',NULL,NULL,NULL,'A05','A05',',','CK20200920-0002',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-20 16:21:38',NULL,NULL),('4028804072de5db40174aa9ca31401ee','管理员','admin','2020-09-20 16:23:46',NULL,NULL,NULL,'A05','A05','','QTRK20200920-0003',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-20 16:23:27',NULL,NULL),('4028804072de5db40174aa9e1c2a01f7','管理员','admin','2020-09-20 16:25:23',NULL,NULL,NULL,'A05','A05',',','CK20200920-0003',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-21 16:25:03',NULL,NULL),('4028804072de5db40174aaa5a8390207','管理员','admin','2020-09-20 16:33:37',NULL,NULL,NULL,'A05','A05',',','CK20200920-0004',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-20 16:33:12',NULL,NULL),('4028804072de5db40174aab2647a0210','测试','test','2020-09-20 16:47:32',NULL,NULL,NULL,'A05','A05',',','CK20200920-0005',NULL,NULL,NULL,'计划中','司机:电话:null','2020-09-21 16:
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('4028804074beadae0174f72643bc1402','管理员','admin','2020-10-05 13:05:00',NULL,'admin',NULL,'A05','A05','a002','000013','BJ0101001','牛肉','440','箱','2020-09-14','2020-09-14','440','北京01','BJ01','已完成',NULL,NULL,'2020-10-05 13:05',NULL,'01',NULL),('4028804074beadae0174f72647aa1404','管理员','admin','2020-10-05 13:05:00',NULL,'admin',NULL,'A05','A05','a0001','0000012','BJ0101001','牛肉','30','箱','2020-09-14','2020-09-14','30','北京01','BJ01','已完成',NULL,NULL,'2020-10-05 13:05',NULL,'01',NULL),('4028804074beadae0174f72649611406','管理员','admin','2020-10-05 13:05:00',NULL,'admin',NULL,'A05','A05','013441','DF000011','NMELT0001','牛羊肉成品','48','箱','2020-09-29','2020-09-29','48','内蒙古额里图食品有限公司','NMELT','已完成',NULL,NULL,'2020-10-05 13:05',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 `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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('4028804072de5db40174a4e51ea10150','管理员','admin','2020-09-19 13:45:13','管理员','admin','2020-09-20 09:53:10','A05','A05','BJ0101001','30.0','30.0','CK20200919-0001','4028804072de5db40174a4d904b8014e','01','箱','2020-09-17',NULL,NULL,'010101','CK20200919-0001','A01','BJ01','复核中','箱','30','牛肉','CK010203',''),('4028804072de5db40174aab3112a0217','测试','test','2020-09-20 16:48:16',NULL,'admin','2020-10-05 12:54:51','A05','A05','BJ0101001','60.0','60.0','CK20200920-0005','4028804072de5db40174aab2ab770215','01','箱','2020-09-14',NULL,NULL,'a002','CK20200920-0005','000013','BJ01','复核中','箱','60.0','牛肉','8778787',''),('4028804074beadae0174f727a4bf140c',NULL,'admin','2020-10-05 13:06:45',NULL,'admin','2020-10-05 13:06:55',NULL,NULL,'BJ0101001','30','30','CK20200920-0003','4028804072de5db40174aa9e86d201fc',NULL,'箱','2020-09-12',NULL,NULL,'010102','CK20200920-0003','00000099','BJ01','复核中','箱','30',NULL,'900988',''),('4028804074fd4df90174fde80a7c000d',NULL,NULL,NULL,'管理员','admin','2021-10-20 19:03:38',NULL,NULL,'NMELT0001','30.0','30.0','CK20201006-0001','4028804074fd4df90174fd5303280007','99','箱','2020-09-10',NULL,NULL,'010101','CK20201006-0001','','NMELT','复核中','箱','30','牛羊肉成品','CK20200707-00111',''),('4028804074fe07350174fe0774920000',NULL,NULL,NULL,'管理员','admin','2021-10-20 19:03:38',NULL,NULL,'NMELT0001','22.0','22.0','CK20201006-0001','4028804074fd4df90174fd5303280008','99','箱','2020-09-13',NULL,NULL,'010101','CK20201006-0001','00001','NMELT','复核中','箱','22.0','牛羊肉成品','CK20200707-00111',''),('4028804074fe07350174fe29363d0001',NULL,NULL,NULL,'管理员','admin','2021-10-20 19:03:38',NULL,NULL,'NMELT0001','48.0','48.0','CK20201006-0001','4028804074fd4df90174fd5303140006','99','箱','2020-09-29',NULL,NULL,'013441','CK20201006-0001','DF000011','NMELT','复核中','箱','48','牛羊肉成品','CK20200707-00111',''),('4028804074fff50e0175029271840068',NULL,NULL,NULL,'管理员','admin','2021-10-20 19:03:38',NULL,NULL,'NMELT0001','1.0','1.0','CK20201007-0001','4028804074fff50e0175028c99030056','01','箱','2020-10-07',NULL,NULL,'040125','CK20201007-0001','DF000017','NMELT','复核中','箱','1','牛羊肉成品','CK20200707-00111111',''),('4028804074fff50e017502a015900069',NULL,NULL,NULL,'管理员','admin','2021-10-20 19:03:38',NULL,NULL,'NMELT0001','10.0','10.0','CK20201007-0001','4028804074fff50e0175028c990d0057','01','箱','2020-10-07',NULL,NULL,'040124','CK20201007-0001','DF000016','NMELT','复核中','箱','10','牛羊肉成品','CK20200707-00111111',''),('4028804074fff50e017502a7dde5006a',NULL,NULL,NULL,'管理员','admin','2021-10-20 19:03:38',NULL,NULL,'NMELT0001','14.0','14.0','CK20201007-0001','4028804074fff50e0175028c990d0058','01','箱','2020-10-07',NULL,NULL,'040123','CK20201007-0001','DF000018','NMELT','复核中','箱','14.0','牛羊肉成品','CK20200707-00111111',''),('4028804074fff50e017502aabff9006b',NULL,NULL,NULL,'管理员','admin','2021-10-20 19:03:38',NULL,NULL,'NMELT0001','10.0','10.0','CK20201007-0002','4028804074fff50e0175028daa60005f','01','箱','2020-10-07',NULL,NULL,'040122','CK20201007-0002','DF000004','NMELT','复核中','箱','10.0','牛羊肉成品','CK20200707-001dd',''),('4028804074fff50e017502b0559b0073',NULL,NULL,NULL,'管理员','admin','2021-10-20 19:03:38',NULL,NULL,'NMELT0002','11.0','11.0','CK20201007-0003','4028804074fff50e017502aca4060071','01','箱','2020-10-07',NULL,NULL,'012941','CK20201007-0003','DF000005','NMELT','复核中','箱','11.0','牛羊肉半成品','1111',''),('402882f1791b3c7801791b4c9ba40011','管理员','admin','2021-04-29 09:44:36','管理员','admin','2021-10-20 19:03:36','A05','A05','S11-5402010','1.0','1.0','CK20210429-0001','402882f1791b3c7801791b4be8b6000d','01','个','2021-04-28',NULL,NULL,'A1-1-10','CK20210429-0001','A1','8AR','复核中','个','1','左A柱上护板总成','',''),('402882f1791b3c7801791b4c9bb20012','管理员','admin','2021-04-29 09:44:36','管理员','admin','2021-10-20 19:03:36','A05','A05','S11-5402010','9.0'
|
|||
|
/*!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 `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 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 `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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('40289a817c9d1fe0017c9d5ff3ef00b2','管理员','admin','2021-10-20 19:04:44',NULL,NULL,NULL,'A05','A05','TPZY',NULL,NULL,'BJ0101001','牛肉','440','2020-09-14','箱','BJ01','北京01','000013',NULL,'a002','a002','计划中','BJ01','北京01','箱','440',NULL,'计划中'),('40289a817c9d1fe0017c9d5ff75e00b4','管理员','admin','2021-10-20 19:04:45',NULL,NULL,NULL,'A05','A05','TPZY',NULL,NULL,'BJ0101001','牛肉','30','2020-09-14','箱','BJ01','北京01','0000012',NULL,'a0001','a0001','计划中','BJ01','北京01','箱','30',NULL,'计划中'),('40289a817c9d1fe0017c9d5ff8f400b6','管理员','admin','2021-10-20 19:04:45',NULL,NULL,NULL,'A05','A05','TPZY',NULL,NULL,'BJ0101001','牛肉','30','2020-09-16','箱','BJ01','北京01','013439',NULL,'013439','013439','计划中','BJ01','北京01','箱','30',NULL,'计划中'),('40289a817c9d1fe0017c9d5ffae900b8','管理员','admin','2021-10-20 19:04:46',NULL,NULL,NULL,'A05','A05','TPZY',NULL,NULL,'BJ0101001','牛肉','30','2020-09-27','箱','BJ01','北京01','013339',NULL,'013339','013339','计划中','BJ01','北京01','箱','30',NULL,'计划中'),('40289a817c9d1fe0017c9d5ffe2200ba','管理员','admin','2021-10-20 19:04:46',NULL,NULL,NULL,'A05','A05','TPZY',NULL,NULL,'NMELT0001','牛羊肉成品','48','2020-10-02','箱','NMELT','内蒙古额里图食品有限公司','0000166',NULL,'013238','013238','计划中','NMELT','内蒙古额里图食品有限公司','箱','48',NULL,'计划中'),('40289a817c9d1fe0017c9d5fff8500bc','管理员','admin','2021-10-20 19:04:47',NULL,NULL,NULL,'A05','A05','TPZY',NULL,NULL,'NMELT0001','牛羊肉成品','48','2020-10-02','箱','NMELT','内蒙古额里图食品有限公司','000013',NULL,'013238','013238','计划中','NMELT','内蒙古额里图食品有限公司','箱','48',NULL,'计划中'),('40289a817c9d1fe0017c9d60014400be','管理员','admin','2021-10-20 19:04:47',NULL,NULL,NULL,'A05','A05','TPZY',NULL,NULL,'NMELT0002','牛羊肉半成品','55','2020-10-07','箱','NMELT','内蒙古额里图食品有限公司','DF000005',NULL,'012941','012941','计划中','NMELT','内蒙古额里图食品有限公司','箱','55',NULL,'计划中'),('40289a817c9d1fe0017c9d60035a00c0','管理员','admin','2021-10-20 19:04:48','管理员','admin','2021-10-20 19:05:02','A05','A05','TPZY','ZY',NULL,'NMELT0002','牛羊肉半成品','16','2021-10-02','箱','NMELT','内蒙古额里图食品有限公司','11111111111','A1111111','012001','012001','已完成','NMELT','NMELT-内蒙古额里图食品有限公司','箱','16','2021-10-21','已完成');
|
|||
|
/*!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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 ('297e363f7deb92cd017deba782b70018','管理员','admin','2021-12-24 16:56:04',NULL,NULL,NULL,'A05','A05','NMELT0002','16.0',NULL,'RK20211020-0001','297e363f7deb92cd017deba74e6f0011','297e363f7deb92cd017deba74e6f0011','斤','2021-12-04','2021-12-04','01','010102','A','NMELT','箱','16.0','NMELT0002-牛羊肉半成品-斤'),('4028804072de5db40174a4c9df720147','管理员','admin','2020-09-19 13:15:27',NULL,NULL,NULL,'A05','A05','BJ0101001','30.0',NULL,'QTRK20200919-0001','4028804072de5db40174a4bd6bd00140','4028804072de5db40174a4bd6bd00140','箱','2020-09-17','2020-09-17','01','010101','A01','BJ01','箱','30.0','BJ0101001-牛肉-箱'),('4028804072de5db40174aa9d666e01f5','管理员','admin','2020-09-20 16:24:36',NULL,NULL,NULL,'A05','A05','BJ0101001','30.0',NULL,'QTRK20200920-0003','4028804072de5db40174aa9d189c01f3','4028804072de5db40174aa9d189c01f3','箱','2020-09-12','2020-09-12','01','010102','00000099','BJ01','箱','30.0','BJ0101001-牛肉-箱'),('4028804072de5db40174aaa5085a0203','管理员','admin','2020-09-20 16:32:56',NULL,NULL,NULL,'A05','A05','BJ0101001','30.0',NULL,'QTRK20200920-0003','4028804072de5db40174aaa42d0201ff','4028804072de5db40174aaa42d0201ff','箱','2020-09-14','2020-09-14','01','a0001','0000012','BJ01','箱','30.0','BJ0101001-牛肉-箱'),('4028804072de5db40174aaa508b20205','管理员','admin','2020-09-20 16:32:56',NULL,NULL,NULL,'A05','A05','BJ0101001','500',NULL,'QTRK20200920-0003','4028804072de5db40174aaa4bdda0201','4028804072de5db40174aaa4bdda0201','箱','2020-09-14','2020-09-14','01','a002','000013','BJ01','箱','500','BJ0101001-牛肉-箱'),('4028804074beadae0174ca31020c000a',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'BJ0101001','30.0',NULL,'QTRK20200919-0001','4028804074beadae0174bf94c1730001','4028804074beadae0174bf94c1730001','箱','2020-09-15','2020-09-15','01','013438','013438','BJ01','箱','30.0','BJ0101001-牛肉-箱'),('4028804074beadae0174cd64f7bb000f','测试','test','2020-09-27 10:29:40',NULL,NULL,NULL,'A05','A05','BJ0101001','30.0',NULL,'QTRK20200919-0001','4028804074beadae0174bf954bd90003','4028804074beadae0174bf954bd90003','箱','2020-09-16','2020-09-16','01','013439','013439','BJ01','箱','30.0','BJ0101001-牛肉-箱'),('4028804074beadae0174cd67ed4a0019','测试','test','2020-09-27 10:32:54',NULL,NULL,NULL,'A05','A05','BJ0101001','30.0',NULL,'QTRK20200920-0003','4028804074beadae0174cd6786070016','4028804074beadae0174cd6786070016','箱','2020-09-27','2020-09-27','01','013339','013339','BJ01','箱','30.0','BJ0101001-牛肉-箱'),('4028804074beadae0174d46ee3851359',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'NMELT0001','15',NULL,'QTRK20200928-0001','4028804074beadae0174d46880b31357','4028804074beadae0174d46880b31357','箱','2020-09-28','2020-09-28','01','013440','DF000002','NMELT','箱','15','NMELT0001-牛羊肉成品-箱'),('4028804074beadae0174d91700251371',NULL,'test','2020-09-29 16:59:57',NULL,NULL,NULL,NULL,NULL,'NMELT0001','30',NULL,'QTRK20200920-0001','4028804072de5db40174aa8a953601cc','4028804072de5db40174aa8b9e5501d1','箱',NULL,'2020-09-10',NULL,'010101','','NMELT','箱','30','NMELT0001-牛肉-箱'),('4028804074beadae0174d91709261372',NULL,'test','2020-09-29 17:00:00',NULL,NULL,NULL,NULL,NULL,'NMELT0001','30',NULL,'QTRK20200920-0002','4028804072de5db40174aa9516f101d5','4028804072de5db40174aa97a01601dd','箱',NULL,'2020-09-13',NULL,'010101','00001','NMELT','箱','30','NMELT0001-牛肉-箱'),('4028804074beadae0174d961f3481397',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'NMELT0001','48.0',NULL,'RK20200929-0001','4028804074beadae0174d95e469e1395','4028804074beadae0174d95e469e1395','箱','2020-09-29','2020-09-29','01','013442','DF000010','NMELT','箱','48.0','NMELT0001-牛羊肉成品-箱'),('4028804074beadae0174d96766e1139a','测试','test','2020-09-29 18:27:47',NULL,NULL,NULL,'A05','A05','NMELT0001','48.0',NULL,'RK20200929-0001','4028804074beadae0174d965b2b61398','4028804074beadae0174d965b2b61398','箱','2020-09-29','2020-09-29','01','013441','DF000011','NMELT','箱','48.0','NMELT0001-牛羊肉成品-箱'),('4028804074beadae0174d98d327913a2','测试'
|
|||
|
/*!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 `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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
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 */;
|
|||
|
/*!40000 ALTER TABLE `wm_wendu` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `wms_wave_conf`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `wms_wave_conf`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `wms_wave_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 '所属公司',
|
|||
|
`bpm_status` varchar(32) DEFAULT '1' COMMENT '流程状态',
|
|||
|
`peisondian` varchar(32) DEFAULT NULL COMMENT '配送点',
|
|||
|
`wave_type` varchar(32) DEFAULT NULL COMMENT '波次类型',
|
|||
|
`wv_by1` varchar(32) DEFAULT NULL COMMENT '备用1',
|
|||
|
`wv_by2` varchar(32) DEFAULT NULL COMMENT '备用2',
|
|||
|
`wv_by3` varchar(32) DEFAULT NULL COMMENT '备用3',
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `wms_wave_conf`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `wms_wave_conf` WRITE;
|
|||
|
/*!40000 ALTER TABLE `wms_wave_conf` DISABLE KEYS */;
|
|||
|
/*!40000 ALTER TABLE `wms_wave_conf` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_avabin` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `update_name`,
|
|||
|
1 AS `update_by`,
|
|||
|
1 AS `update_date`,
|
|||
|
1 AS `sys_org_code`,
|
|||
|
1 AS `sys_company_code`,
|
|||
|
1 AS `ku_wei_ming_cheng`,
|
|||
|
1 AS `binid`,
|
|||
|
1 AS `ku_wei_tiao_ma`,
|
|||
|
1 AS `ku_wei_lei_xing`,
|
|||
|
1 AS `ku_wei_shu_xing`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `qu_huo_ci_xu`,
|
|||
|
1 AS `suo_shu_ke_hu`,
|
|||
|
1 AS `ti_ji_dan_wei`,
|
|||
|
1 AS `zhong_liang_dan_wei`,
|
|||
|
1 AS `mian_ji_dan_wei`,
|
|||
|
1 AS `zui_da_ti_ji`,
|
|||
|
1 AS `zui_da_zhong_liang`,
|
|||
|
1 AS `zui_da_mian_ji`,
|
|||
|
1 AS `zui_da_tuo_pan`,
|
|||
|
1 AS `chang`,
|
|||
|
1 AS `kuan`,
|
|||
|
1 AS `gao`,
|
|||
|
1 AS `ting_yong`,
|
|||
|
1 AS `ming_xi`,
|
|||
|
1 AS `bin_store`,
|
|||
|
1 AS `CHP_SHU_XING`,
|
|||
|
1 AS `ming_xi1`,
|
|||
|
1 AS `ming_xi2`,
|
|||
|
1 AS `ming_xi3`,
|
|||
|
1 AS `LORA_bqid`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_avabin_all` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `update_name`,
|
|||
|
1 AS `update_by`,
|
|||
|
1 AS `update_date`,
|
|||
|
1 AS `sys_org_code`,
|
|||
|
1 AS `sys_company_code`,
|
|||
|
1 AS `ku_wei_ming_cheng`,
|
|||
|
1 AS `binid`,
|
|||
|
1 AS `ku_wei_tiao_ma`,
|
|||
|
1 AS `ku_wei_lei_xing`,
|
|||
|
1 AS `ku_wei_shu_xing`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `qu_huo_ci_xu`,
|
|||
|
1 AS `suo_shu_ke_hu`,
|
|||
|
1 AS `ti_ji_dan_wei`,
|
|||
|
1 AS `zhong_liang_dan_wei`,
|
|||
|
1 AS `mian_ji_dan_wei`,
|
|||
|
1 AS `zui_da_ti_ji`,
|
|||
|
1 AS `zui_da_zhong_liang`,
|
|||
|
1 AS `zui_da_mian_ji`,
|
|||
|
1 AS `zui_da_tuo_pan`,
|
|||
|
1 AS `chang`,
|
|||
|
1 AS `kuan`,
|
|||
|
1 AS `gao`,
|
|||
|
1 AS `ting_yong`,
|
|||
|
1 AS `ming_xi`,
|
|||
|
1 AS `bin_store`,
|
|||
|
1 AS `CHP_SHU_XING`,
|
|||
|
1 AS `ming_xi1`,
|
|||
|
1 AS `ming_xi2`,
|
|||
|
1 AS `ming_xi3`,
|
|||
|
1 AS `LORA_bqid`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_bin` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `bin_store`,
|
|||
|
1 AS `ku_wei_shu_xing`,
|
|||
|
1 AS `chp_shu_xing`,
|
|||
|
1 AS `binid`,
|
|||
|
1 AS `suo_shu_ke_hu`,
|
|||
|
1 AS `zui_da_ti_ji`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `chang`,
|
|||
|
1 AS `kuan`,
|
|||
|
1 AS `gao`,
|
|||
|
1 AS `zui_da_tuo_pan`,
|
|||
|
1 AS `ting_yong`,
|
|||
|
1 AS `ku_wei_lei_xing`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_bin_all` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `xnode`,
|
|||
|
1 AS `ynode`,
|
|||
|
1 AS `znode`,
|
|||
|
1 AS `colour`,
|
|||
|
1 AS `bin_store`,
|
|||
|
1 AS `ku_wei_shu_xing`,
|
|||
|
1 AS `chp_shu_xing`,
|
|||
|
1 AS `binid`,
|
|||
|
1 AS `suo_shu_ke_hu`,
|
|||
|
1 AS `zui_da_ti_ji`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `chang`,
|
|||
|
1 AS `kuan`,
|
|||
|
1 AS `gao`,
|
|||
|
1 AS `zui_da_tuo_pan`,
|
|||
|
1 AS `ting_yong`,
|
|||
|
1 AS `ku_wei_lei_xing`,
|
|||
|
1 AS `tincount`,
|
|||
|
1 AS `des`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `wv_bin_all_base`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `wv_bin_all_base`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `wv_bin_all_base`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_bin_all_base` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `xnode`,
|
|||
|
1 AS `ynode`,
|
|||
|
1 AS `znode`,
|
|||
|
1 AS `bin_store`,
|
|||
|
1 AS `ku_wei_shu_xing`,
|
|||
|
1 AS `chp_shu_xing`,
|
|||
|
1 AS `binid`,
|
|||
|
1 AS `suo_shu_ke_hu`,
|
|||
|
1 AS `zui_da_ti_ji`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `chang`,
|
|||
|
1 AS `kuan`,
|
|||
|
1 AS `gao`,
|
|||
|
1 AS `zui_da_tuo_pan`,
|
|||
|
1 AS `ting_yong`,
|
|||
|
1 AS `ku_wei_lei_xing`,
|
|||
|
1 AS `tincount`,
|
|||
|
1 AS `des`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_day_cost_sum` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `cost_data`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `cost_code`,
|
|||
|
1 AS `cost_name`,
|
|||
|
1 AS `cost_js`,
|
|||
|
1 AS `yuanj`,
|
|||
|
1 AS `bhsj`,
|
|||
|
1 AS `shuie`,
|
|||
|
1 AS `cost_sl`,
|
|||
|
1 AS `hansj`,
|
|||
|
1 AS `cost_unit`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_gi` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `zhx_unit`,
|
|||
|
1 AS `chl_shl`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `cus_name`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `down_sta`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_gi_head` AS SELECT
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `cus_name`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_gi_notice` AS SELECT
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `update_date`,
|
|||
|
1 AS `id`,
|
|||
|
1 AS `im_cus_code`,
|
|||
|
1 AS `om_notice_id`,
|
|||
|
1 AS `iom_notice_item`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `tin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `gi_count`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `zhx_unit`,
|
|||
|
1 AS `chl_shl`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `assign_To`,
|
|||
|
1 AS `shp_gui_ge`,
|
|||
|
1 AS `om_bei_zhu`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_gi_notice_head` AS SELECT
|
|||
|
1 AS `om_notice_id`,
|
|||
|
1 AS `zhong_wen_qch`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_gr` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `im_notice_id`,
|
|||
|
1 AS `kucunsta`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `tin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `qm_ok_quat`,
|
|||
|
1 AS `pro_data`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `item_text`,
|
|||
|
1 AS `bzhi_qi`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `wv_in_out_h`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `wv_in_out_h`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `wv_in_out_h`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_in_out_h` AS SELECT
|
|||
|
1 AS `notice_id`,
|
|||
|
1 AS `im_cus_code`,
|
|||
|
1 AS `delv_member`,
|
|||
|
1 AS `delv_mobile`,
|
|||
|
1 AS `delv_addr`,
|
|||
|
1 AS `ocus_code`,
|
|||
|
1 AS `ocus_name`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_last_move` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_pro_data`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_last_picking` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_pro_data`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_last_picking_stock` AS SELECT
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `shp_gui_ge`,
|
|||
|
1 AS `chl_shl`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `dqr`,
|
|||
|
1 AS `ku_wei_lei_xing`,
|
|||
|
1 AS `qu_huo_ci_xu`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `bin_store`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `LAST_date`,
|
|||
|
1 AS `keyongkucun`,
|
|||
|
1 AS `daixiaj`,
|
|||
|
1 AS `base_unit`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_no_use_bin` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `bin_store`,
|
|||
|
1 AS `ku_wei_shu_xing`,
|
|||
|
1 AS `chp_shu_xing`,
|
|||
|
1 AS `binid`,
|
|||
|
1 AS `suo_shu_ke_hu`,
|
|||
|
1 AS `zui_da_ti_ji`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `chang`,
|
|||
|
1 AS `kuan`,
|
|||
|
1 AS `gao`,
|
|||
|
1 AS `zui_da_tuo_pan`,
|
|||
|
1 AS `ting_yong`,
|
|||
|
1 AS `ku_wei_lei_xing`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_notice` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `notice_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `im_cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `im_sta`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `shp_tiao_ma`,
|
|||
|
1 AS `cf_wen_ceng`,
|
|||
|
1 AS `mp_dan_ceng`,
|
|||
|
1 AS `mp_ceng_gao`,
|
|||
|
1 AS `ti_ji_cm`,
|
|||
|
1 AS `goods_count`,
|
|||
|
1 AS `goods_qm_count`,
|
|||
|
1 AS `gr_count`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `goods_fvol`,
|
|||
|
1 AS `goods_weight`,
|
|||
|
1 AS `lastgrdate`,
|
|||
|
1 AS `preprodate`,
|
|||
|
1 AS `rec_deg`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_notice_head` AS SELECT
|
|||
|
1 AS `notice_id`,
|
|||
|
1 AS `zhong_wen_qch`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_stock` AS SELECT
|
|||
|
1 AS `id`,
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `chl_shl`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `shp_gui_ge`,
|
|||
|
1 AS `dqr`,
|
|||
|
1 AS `ku_wei_lei_xing`,
|
|||
|
1 AS `qu_huo_ci_xu`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `bin_store`,
|
|||
|
1 AS `ti_ji_cm`,
|
|||
|
1 AS `ti_ji_dan_wei`,
|
|||
|
1 AS `zhong_liang_dan_wei`,
|
|||
|
1 AS `mian_ji_dan_wei`,
|
|||
|
1 AS `zui_da_ti_ji`,
|
|||
|
1 AS `zui_da_mian_ji`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_stock_base` AS SELECT
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `id`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `goods_name`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `yushoutianshu`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `hiti`,
|
|||
|
1 AS `shp_bian_makh`,
|
|||
|
1 AS `chl_shl`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `zhl_kg`,
|
|||
|
1 AS `shp_gui_ge`,
|
|||
|
1 AS `ti_ji_cm`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_stock_base_bak` AS SELECT
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `id`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `yushoutianshu`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `shl_dan_wei`,
|
|||
|
1 AS `hiti`,
|
|||
|
1 AS `shp_bian_makh`,
|
|||
|
1 AS `chl_shl`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `zhl_kg`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_stock_base_stock` AS SELECT
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `id`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_stock_last_stt` AS SELECT
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `id`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `yushoutianshu`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `last_move`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_stock_stt` AS SELECT
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `id`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `yushoutianshu`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `stt_sta`,
|
|||
|
1 AS `move_sta`,
|
|||
|
1 AS `last_move`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `wv_stock_stt_ava`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `wv_stock_stt_ava`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `wv_stock_stt_ava`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_stock_stt_ava` AS SELECT
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_code`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `shp_gui_ge`,
|
|||
|
1 AS `chl_shl`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `dqr`,
|
|||
|
1 AS `ku_wei_lei_xing`,
|
|||
|
1 AS `qu_huo_ci_xu`,
|
|||
|
1 AS `shang_jia_ci_xu`,
|
|||
|
1 AS `bin_store`,
|
|||
|
1 AS `base_goodscount`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `base_unit`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_stock_stt_bin` AS SELECT
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `id`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `shp_ming_cheng`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `bzhi_qi`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `stt_sta`,
|
|||
|
1 AS `move_sta`,
|
|||
|
1 AS `last_move`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view 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;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_stt_head` AS SELECT
|
|||
|
1 AS `id`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Temporary view structure for view `wv_today_stock_move`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `wv_today_stock_move`;
|
|||
|
/*!50001 DROP VIEW IF EXISTS `wv_today_stock_move`*/;
|
|||
|
SET @saved_cs_client = @@character_set_client;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
/*!50001 CREATE VIEW `wv_today_stock_move` AS SELECT
|
|||
|
1 AS `create_date`,
|
|||
|
1 AS `create_name`,
|
|||
|
1 AS `create_by`,
|
|||
|
1 AS `id`,
|
|||
|
1 AS `kuctype`,
|
|||
|
1 AS `ku_wei_bian_ma`,
|
|||
|
1 AS `bin_id`,
|
|||
|
1 AS `cus_code`,
|
|||
|
1 AS `zhong_wen_qch`,
|
|||
|
1 AS `goods_id`,
|
|||
|
1 AS `goods_qua`,
|
|||
|
1 AS `order_id`,
|
|||
|
1 AS `goods_pro_data`,
|
|||
|
1 AS `goods_unit`,
|
|||
|
1 AS `base_unit`,
|
|||
|
1 AS `base_goodscount`*/;
|
|||
|
SET character_set_client = @saved_cs_client;
|
|||
|
|
|||
|
--
|
|||
|
-- Table structure for table `wx_config`
|
|||
|
--
|
|||
|
|
|||
|
DROP TABLE IF EXISTS `wx_config`;
|
|||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|||
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|||
|
CREATE TABLE `wx_config` (
|
|||
|
`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 '所属公司',
|
|||
|
`bpm_status` varchar(32) DEFAULT NULL COMMENT '流程状态',
|
|||
|
`app_code` varchar(32) DEFAULT NULL COMMENT '前端编码',
|
|||
|
`app_remark` varchar(32) DEFAULT NULL COMMENT '备注',
|
|||
|
`app_id` text COMMENT 'appID',
|
|||
|
`app_secret` text COMMENT 'appsecret',
|
|||
|
`app_key` varchar(132) DEFAULT NULL COMMENT 'appkey',
|
|||
|
`mch_id` varchar(32) DEFAULT NULL COMMENT '商户号',
|
|||
|
`notify_url` varchar(132) DEFAULT NULL COMMENT '通知地址',
|
|||
|
`grant_type` text COMMENT 'GRANT_TYPE',
|
|||
|
`wx_by1` text COMMENT '备用1',
|
|||
|
`wx_by2` text COMMENT '备用2',
|
|||
|
`wx_by3` text COMMENT '备用3',
|
|||
|
`wx_by4` text COMMENT '备用4',
|
|||
|
`wx_by5` text COMMENT '备用5',
|
|||
|
PRIMARY KEY (`id`)
|
|||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
|||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|||
|
|
|||
|
--
|
|||
|
-- Dumping data for table `wx_config`
|
|||
|
--
|
|||
|
|
|||
|
LOCK TABLES `wx_config` WRITE;
|
|||
|
/*!40000 ALTER TABLE `wx_config` DISABLE KEYS */;
|
|||
|
/*!40000 ALTER TABLE `wx_config` ENABLE KEYS */;
|
|||
|
UNLOCK TABLES;
|
|||
|
|
|||
|
--
|
|||
|
-- 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 = utf8mb4 */ ;
|
|||
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|||
|
/*!50003 SET collation_connection = utf8mb4_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 `delete_jeecgDemo_createDate` */;
|
|||
|
/*!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 = utf8mb4 */ ;
|
|||
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|||
|
/*!50003 SET collation_connection = utf8mb4_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 `delete_jeecgDemo_createDate`(IN `createDate` date)
|
|||
|
BEGIN
|
|||
|
delete from jeecg_demo where create_date >= createDate;
|
|||
|
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 `formDataList` */;
|
|||
|
/*!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 = utf8mb4 */ ;
|
|||
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|||
|
/*!50003 SET collation_connection = utf8mb4_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 `formDataList`(tableName varchar(50),dbFields varchar(500),whereSql varchar(1000))
|
|||
|
BEGIN
|
|||
|
declare exe_sql varchar(2000);
|
|||
|
SET exe_sql = CONCAT("select ",dbFields," from ",tableName,whereSql);
|
|||
|
set @v_sql=exe_sql;
|
|||
|
prepare stmt from @v_sql;
|
|||
|
EXECUTE stmt;
|
|||
|
deallocate prepare stmt;
|
|||
|
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 `replaceOrgCode` */;
|
|||
|
/*!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 = utf8mb4 */ ;
|
|||
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|||
|
/*!50003 SET collation_connection = utf8mb4_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 `replaceOrgCode`()
|
|||
|
BEGIN
|
|||
|
DECLARE code_length int DEFAULT 0 ;
|
|||
|
DECLARE new_code VARCHAR(500);
|
|||
|
DECLARE org_id VARCHAR(500);
|
|||
|
DECLARE old_code VARCHAR(500);
|
|||
|
DECLARE code_length_index int DEFAULT 1;
|
|||
|
DECLARE b int default 0;
|
|||
|
DECLARE pro CURSOR for select id,org_code,LENGTH(org_code) from t_s_depart;
|
|||
|
DECLARE CONTINUE HANDLER FOR NOT FOUND SET b = 1;
|
|||
|
OPEN pro;
|
|||
|
FETCH pro into org_id,old_code,code_length;
|
|||
|
while b<>1 do
|
|||
|
set code_length_index=1;
|
|||
|
set new_code='';
|
|||
|
while code_length_index<code_length do
|
|||
|
set new_code=CONCAT(new_code,'A',SUBSTR(old_code,code_length_index,2));
|
|||
|
set code_length_index=code_length_index+2;
|
|||
|
end while;
|
|||
|
update t_s_depart set org_code=new_code where id=org_id;
|
|||
|
FETCH pro into org_id,old_code,code_length;
|
|||
|
end while;
|
|||
|
close pro;
|
|||
|
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`,
|
|||
|
`sup_code`,
|
|||
|
`sup_name`,
|
|||
|
`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),
|
|||
|
(select sup_code from wm_im_notice_h where notice_id in (SELECT order_id FROM wms.wm_to_up_goods where goods_id= wv.goods_id ) limit 1) ,
|
|||
|
(select sup_name from wm_im_notice_h where notice_id in (SELECT order_id FROM wms.wm_to_up_goods where goods_id= wv.goods_id ) limit 1) ,
|
|||
|
IFNULL(SUM(IFNULL(base_goodscount,0)) ,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 = utf8mb4 */ ;
|
|||
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|||
|
/*!50003 SET collation_connection = utf8mb4_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_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(mdp.id,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
|
|||
|
where
|
|||
|
(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 and id is not null
|
|||
|
order by cus_code , 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(mdp.id,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
|
|||
|
where
|
|||
|
(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 and id is not null
|
|||
|
order by cus_code , create_date;
|
|||
|
|
|||
|
call update_wm_last_day_stock(wmdate);
|
|||
|
|
|||
|
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_last_day_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 = utf8mb4 */ ;
|
|||
|
/*!50003 SET character_set_results = utf8mb4 */ ;
|
|||
|
/*!50003 SET collation_connection = utf8mb4_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_last_day_stock`(IN `wmdate` VARCHAR(45))
|
|||
|
BEGIN
|
|||
|
|
|||
|
delete from wm_his_stock_data;
|
|||
|
|
|||
|
|
|||
|
INSERT INTO wm_his_stock_data (
|
|||
|
`id` ,
|
|||
|
`his_date` ,
|
|||
|
`cus_code` ,
|
|||
|
`ku_wei_bian_ma` ,
|
|||
|
`bin_id` ,
|
|||
|
`goods_id` ,
|
|||
|
`count` ,
|
|||
|
`base_unit`,
|
|||
|
`pro_data`
|
|||
|
)
|
|||
|
SELECT
|
|||
|
concat(mdp.id,wmdate,
|
|||
|
mdp.cus_code,
|
|||
|
mdp.ku_wei_bian_ma,
|
|||
|
mdp.bin_id,
|
|||
|
mdp.goods_id,mdp.goods_pro_data) 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,
|
|||
|
goods_pro_data
|
|||
|
|
|||
|
FROM
|
|||
|
mv_down_and_up mdp
|
|||
|
where
|
|||
|
(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,mdp.goods_pro_data
|
|||
|
having sum(base_goodscount) <> 0 and id is not null
|
|||
|
order by cus_code , create_date;
|
|||
|
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 `erp_im_item`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `erp_im_item`*/;
|
|||
|
/*!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 `erp_im_item` AS select `t`.`id` AS `id`,`t`.`create_name` AS `create_name`,`t`.`create_by` AS `create_by`,`t`.`create_date` AS `create_date`,`t`.`update_name` AS `update_name`,`t`.`update_by` AS `update_by`,`t`.`update_date` AS `update_date`,`t`.`sys_org_code` AS `sys_org_code`,`t`.`sys_company_code` AS `sys_company_code`,`t`.`goods_id` AS `goods_id`,`t`.`goods_qua` AS `goods_qua`,`t`.`order_type_code` AS `order_type_code`,`t`.`order_id` AS `order_id`,`t`.`order_id_i` AS `order_id_i`,`t`.`wm_to_up_id` AS `wm_to_up_id`,`t`.`goods_unit` AS `goods_unit`,`t`.`goods_batch` AS `goods_batch`,`t`.`goods_pro_data` AS `goods_pro_data`,`t`.`act_type_code` AS `act_type_code`,`t`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`t`.`bin_id` AS `bin_id`,`t`.`cus_code` AS `cus_code`,`t`.`base_unit` AS `base_unit`,`t`.`base_goodscount` AS `base_goodscount`,`t`.`goods_name` AS `goods_name`,`t`.`id` AS `wms_id`,(select `wm_im_notice_i`.`other_id` from `wm_im_notice_i` where (`wm_im_notice_i`.`id` = (select `wm_in_qm_i`.`im_notice_item` from `wm_in_qm_i` where (`wm_in_qm_i`.`id` = `t`.`wm_to_up_id`)))) AS `erp_id`,(select `wm_im_notice_i`.`im_cus_code` from `wm_im_notice_i` where (`wm_im_notice_i`.`id` = (select `wm_in_qm_i`.`im_notice_item` from `wm_in_qm_i` where (`wm_in_qm_i`.`id` = `t`.`wm_to_up_id`)))) AS `im_cus_code` from `wm_to_up_goods` `t` */;
|
|||
|
/*!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 `erp_om_item`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `erp_om_item`*/;
|
|||
|
/*!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 `erp_om_item` AS select `t`.`id` AS `id`,`t`.`create_name` AS `create_name`,`t`.`create_by` AS `create_by`,`t`.`create_date` AS `create_date`,`t`.`update_name` AS `update_name`,`t`.`update_by` AS `update_by`,`t`.`update_date` AS `update_date`,`t`.`sys_org_code` AS `sys_org_code`,`t`.`sys_company_code` AS `sys_company_code`,`t`.`goods_id` AS `goods_id`,`t`.`goods_qua` AS `goods_qua`,`t`.`goods_quaok` AS `goods_quaok`,`t`.`order_id` AS `order_id`,`t`.`order_id_i` AS `order_id_i`,`t`.`order_type` AS `order_type`,`t`.`goods_unit` AS `goods_unit`,`t`.`goods_pro_data` AS `goods_pro_data`,`t`.`goods_batch` AS `goods_batch`,`t`.`act_type_code` AS `act_type_code`,`t`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`t`.`bin_id_to` AS `bin_id_to`,`t`.`bin_id_from` AS `bin_id_from`,`t`.`cus_code` AS `cus_code`,`t`.`down_sta` AS `down_sta`,`t`.`base_unit` AS `base_unit`,`t`.`base_goodscount` AS `base_goodscount`,`t`.`goods_name` AS `goods_name`,`t`.`im_cus_code` AS `im_cus_code`,`t`.`om_bei_zhu` AS `om_bei_zhu`,`t`.`id` AS `wms_id`,(select `wm_om_notice_i`.`other_id` from `wm_om_notice_i` where (`wm_om_notice_i`.`id` = (select `wm_om_qm_i`.`iom_notice_item` from `wm_om_qm_i` where (`wm_om_qm_i`.`id` = `t`.`order_id_i`)))) AS `erp_id` from `wm_to_down_goods` `t` */;
|
|||
|
/*!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`
|
|||
|
--
|
|||
|
|
|||
|
/*!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 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 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 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_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`,`mg`.`shp_pin_pai` AS `SHP_PIN_PAI`,`mg`.`gao_zh_xiang` AS `GAO_ZH_XIANG`,`mg`.`ku_zh_xiang` AS `KU_ZH_XIANG`,`mg`.`ch_zh_xiang` AS `CH_ZH_XIANG`,`mg`.`gao_dan_pin` AS `gao_dan_pin`,`mg`.`sku` AS `sku` 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`,`mg`.`shp_pin_pai` AS `SHP_PIN_PAI`,`mg`.`gao_zh_xiang` AS `GAO_ZH_XIANG`,`mg`.`ku_zh_xiang` AS `KU_ZH_XIANG`,`mg`.`ch_zh_xiang` AS `CH_ZH_XIANG`,`mg`.`gao_dan_pin` AS `gao_dan_pin`,`mg`.`sku` AS `sku` 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 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 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 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 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 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 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 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 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 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 `tmsv_app_menu`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `tmsv_app_menu`*/;
|
|||
|
/*!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 `tmsv_app_menu` AS select distinct `t_s_base_user`.`username` AS `username`,`tms_app_menu`.`title` AS `title`,`tms_app_menu`.`pagename` AS `pagename`,`tms_app_menu`.`sortno` AS `sortno`,`tms_app_menu`.`icon` AS `icon`,`tms_app_menu`.`iconcolor` AS `iconcolor` from ((((`t_s_base_user` join `t_s_role_user` on((`t_s_base_user`.`ID` = `t_s_role_user`.`userid`))) join `t_s_role_function` on((`t_s_role_user`.`roleid` = `t_s_role_function`.`roleid`))) join `t_s_function` on((`t_s_role_function`.`functionid` = `t_s_function`.`ID`))) join `tms_app_menu` on((`t_s_function`.`functionurl` = `tms_app_menu`.`functionurl`))) order by `t_s_base_user`.`username`,`tms_app_menu`.`sortno`,`tms_app_menu`.`icon`,`tms_app_menu`.`iconcolor` */;
|
|||
|
/*!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 `tmsv_order_stat`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `tmsv_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 `tmsv_order_stat` AS select count(`tms_yw_dingdan`.`id`) AS `count`,left(`tms_yw_dingdan`.`create_date`,7) AS `month` from `tms_yw_dingdan` where ((`tms_yw_dingdan`.`zhuangtai` <> '已删除') and (left(`tms_yw_dingdan`.`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 `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 `v_tms_dz`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `v_tms_dz`*/;
|
|||
|
/*!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_tms_dz` AS select `tms_md_dz`.`id` AS `id`,concat(`tms_md_dz`.`username`,'-',`tms_md_dz`.`lianxiren`,'-',`tms_md_dz`.`dianhua`,'-',`tms_md_dz`.`xiangxidizhi`) AS `dizhi` from `tms_md_dz` */;
|
|||
|
/*!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_ysdd`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `v_ysdd`*/;
|
|||
|
/*!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_ysdd` AS select `tms_yw_dingdan`.`id` AS `id`,date_format(`tms_yw_dingdan`.`create_date`,'%Y-%m-%d') AS `create_date`,`tms_yw_dingdan`.`fahuoren` AS `fahuoren`,`tms_yw_dingdan`.`huowu` AS `huowu`,`tms_yw_dingdan`.`hwshjs` AS `hwshjs`,`tms_yw_dingdan`.`zhongl` AS `zhongl`,`tms_yw_dingdan`.`tiji` AS `tiji`,`tms_yw_dingdan`.`shrdh` AS `shrdh`,`tms_yw_dingdan`.`shouhuoren` AS `shouhuoren`,`tms_yw_dingdan`.`hwshfs` AS `hwshfs`,`tms_yw_dingdan`.`shrsj` AS `shrsj`,`tms_yw_dingdan`.`daishouk` AS `daishouk`,`tms_yw_dingdan`.`hwyf` AS `hwyf`,((`tms_yw_dingdan`.`daishouk` + `tms_yw_dingdan`.`hwyf`) + `tms_yw_dingdan`.`hwxhf`) AS `hwzfy`,`tms_yw_dingdan`.`hwxhf` AS `hwxhf`,`tms_yw_dingdan`.`chehao` AS `chehao`,`tms_yw_dingdan`.`zhuangtai` AS `zhuangtai`,`tms_yw_dingdan`.`ywhdbz` AS `ywhdbz`,`tms_yw_dingdan`.`sdsj` AS `sdsj`,`tms_yw_dingdan`.`by1` AS `by1`,`tms_yw_dingdan`.`ywkhdh` AS `YWKHDH` from `tms_yw_dingdan` where (`tms_yw_dingdan`.`zhuangtai` <> '已删除') */;
|
|||
|
/*!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 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 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 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 = utf8mb4 */;
|
|||
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|||
|
/*!50001 SET collation_connection = utf8mb4_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`.`bin_id` AS `bin_id`,`wo`.`tin_id` AS `tin_id`,`wo`.`pro_data` AS `pro_data`,sum(`wo`.`base_goodscount`) AS `base_goodscount`,(select `wvs`.`goods_qua` from `wv_stock_stt_ava` `wvs` where ((`wvs`.`ku_wei_bian_ma` = `wo`.`bin_id`) and (`wvs`.`bin_id` = `wo`.`tin_id`) and (`wvs`.`goods_id` = `wo`.`goods_id`) and (`wvs`.`goods_pro_data` = `wo`.`pro_data`) and (`wvs`.`cus_code` = `wo`.`cus_code`)) limit 1) AS `om_bei_zhu`,`wo`.`base_unit` AS `base_unit`,`wo`.`first_rq` AS `first_rq`,`wo`.`second_rq` AS `second_rq`,'' AS `by1`,'' AS `by2`,'' AS `by3`,'' AS `by4`,'' AS `by5`,`mg`.`shp_tiao_ma` AS `shp_tiao_ma` from (`wm_om_qm_i` `wo` left join `mv_goods` `mg` on((`wo`.`goods_id` = `mg`.`goods_code`))) 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`.`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 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 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 = utf8mb4 */;
|
|||
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|||
|
/*!50001 SET collation_connection = utf8mb4_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`,`wo`.`first_rq` AS `first_rq`,`wo`.`second_rq` AS `second_rq`,'' AS `by1`,'' AS `by2`,'' AS `by3`,'' AS `by4`,'' AS `by5`,`mg`.`shp_tiao_ma` AS `shp_tiao_ma` from (`wm_om_qm_i` `wo` left join `mv_goods` `mg` on((`wo`.`goods_id` = `mg`.`goods_code`))) 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 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 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 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 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`.`create_name` AS `create_name`,`md`.`create_by` AS `create_by`,`md`.`create_date` AS `create_date`,`md`.`update_name` AS `update_name`,`md`.`update_by` AS `update_by`,`md`.`update_date` AS `update_date`,`md`.`sys_org_code` AS `sys_org_code`,`md`.`sys_company_code` AS `sys_company_code`,`md`.`ku_wei_ming_cheng` AS `ku_wei_ming_cheng`,`md`.`ku_wei_bian_ma` AS `binid`,`md`.`ku_wei_tiao_ma` AS `ku_wei_tiao_ma`,`md`.`ku_wei_lei_xing` AS `ku_wei_lei_xing`,`md`.`ku_wei_shu_xing` AS `ku_wei_shu_xing`,`md`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`md`.`qu_huo_ci_xu` AS `qu_huo_ci_xu`,`md`.`suo_shu_ke_hu` AS `suo_shu_ke_hu`,`md`.`ti_ji_dan_wei` AS `ti_ji_dan_wei`,`md`.`zhong_liang_dan_wei` AS `zhong_liang_dan_wei`,`md`.`mian_ji_dan_wei` AS `mian_ji_dan_wei`,`md`.`zui_da_ti_ji` AS `zui_da_ti_ji`,`md`.`zui_da_zhong_liang` AS `zui_da_zhong_liang`,`md`.`zui_da_mian_ji` AS `zui_da_mian_ji`,`md`.`zui_da_tuo_pan` AS `zui_da_tuo_pan`,`md`.`chang` AS `chang`,`md`.`kuan` AS `kuan`,`md`.`gao` AS `gao`,`md`.`ting_yong` AS `ting_yong`,`md`.`ming_xi` AS `ming_xi`,`md`.`bin_store` AS `bin_store`,`md`.`CHP_SHU_XING` AS `CHP_SHU_XING`,`md`.`ming_xi1` AS `ming_xi1`,`md`.`ming_xi2` AS `ming_xi2`,`md`.`ming_xi3` AS `ming_xi3`,`md`.`LORA_bqid` AS `LORA_bqid` 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 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`.`create_name` AS `create_name`,`md`.`create_by` AS `create_by`,`md`.`create_date` AS `create_date`,`md`.`update_name` AS `update_name`,`md`.`update_by` AS `update_by`,`md`.`update_date` AS `update_date`,`md`.`sys_org_code` AS `sys_org_code`,`md`.`sys_company_code` AS `sys_company_code`,`md`.`ku_wei_ming_cheng` AS `ku_wei_ming_cheng`,`md`.`ku_wei_bian_ma` AS `binid`,`md`.`ku_wei_tiao_ma` AS `ku_wei_tiao_ma`,`md`.`ku_wei_lei_xing` AS `ku_wei_lei_xing`,`md`.`ku_wei_shu_xing` AS `ku_wei_shu_xing`,`md`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`md`.`qu_huo_ci_xu` AS `qu_huo_ci_xu`,`md`.`suo_shu_ke_hu` AS `suo_shu_ke_hu`,`md`.`ti_ji_dan_wei` AS `ti_ji_dan_wei`,`md`.`zhong_liang_dan_wei` AS `zhong_liang_dan_wei`,`md`.`mian_ji_dan_wei` AS `mian_ji_dan_wei`,`md`.`zui_da_ti_ji` AS `zui_da_ti_ji`,`md`.`zui_da_zhong_liang` AS `zui_da_zhong_liang`,`md`.`zui_da_mian_ji` AS `zui_da_mian_ji`,`md`.`zui_da_tuo_pan` AS `zui_da_tuo_pan`,`md`.`chang` AS `chang`,`md`.`kuan` AS `kuan`,`md`.`gao` AS `gao`,`md`.`ting_yong` AS `ting_yong`,`md`.`ming_xi` AS `ming_xi`,`md`.`bin_store` AS `bin_store`,`md`.`CHP_SHU_XING` AS `CHP_SHU_XING`,`md`.`ming_xi1` AS `ming_xi1`,`md`.`ming_xi2` AS `ming_xi2`,`md`.`ming_xi3` AS `ming_xi3`,`md`.`LORA_bqid` AS `LORA_bqid` 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 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 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 = utf8mb4 */;
|
|||
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|||
|
/*!50001 SET collation_connection = utf8mb4_general_ci */;
|
|||
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|||
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|||
|
/*!50001 VIEW `wv_bin_all` AS select `wv_bin_all_base`.`id` AS `id`,`wv_bin_all_base`.`xnode` AS `xnode`,`wv_bin_all_base`.`ynode` AS `ynode`,`wv_bin_all_base`.`znode` AS `znode`,if((`wv_bin_all_base`.`tincount` > 1),'red','green') AS `colour`,`wv_bin_all_base`.`bin_store` AS `bin_store`,`wv_bin_all_base`.`ku_wei_shu_xing` AS `ku_wei_shu_xing`,`wv_bin_all_base`.`chp_shu_xing` AS `chp_shu_xing`,`wv_bin_all_base`.`binid` AS `binid`,`wv_bin_all_base`.`suo_shu_ke_hu` AS `suo_shu_ke_hu`,`wv_bin_all_base`.`zui_da_ti_ji` AS `zui_da_ti_ji`,`wv_bin_all_base`.`shang_jia_ci_xu` AS `shang_jia_ci_xu`,`wv_bin_all_base`.`chang` AS `chang`,`wv_bin_all_base`.`kuan` AS `kuan`,`wv_bin_all_base`.`gao` AS `gao`,`wv_bin_all_base`.`zui_da_tuo_pan` AS `zui_da_tuo_pan`,`wv_bin_all_base`.`ting_yong` AS `ting_yong`,`wv_bin_all_base`.`ku_wei_lei_xing` AS `ku_wei_lei_xing`,`wv_bin_all_base`.`tincount` AS `tincount`,`wv_bin_all_base`.`des` AS `des` from `wv_bin_all_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 `wv_bin_all_base`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `wv_bin_all_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 = utf8mb4 */;
|
|||
|
/*!50001 SET character_set_results = utf8mb4 */;
|
|||
|
/*!50001 SET collation_connection = utf8mb4_general_ci */;
|
|||
|
/*!50001 CREATE ALGORITHM=UNDEFINED */
|
|||
|
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
|
|||
|
/*!50001 VIEW `wv_bin_all_base` AS select `md`.`id` AS `id`,`md`.`xnode` AS `xnode`,`md`.`ynode` AS `ynode`,`md`.`znode` AS `znode`,`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 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 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 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 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 */
|
|||
|
/*!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`.`im_cus_code` AS `im_cus_code`,`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` */;
|
|||
|
/*!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 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 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_in_out_h`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `wv_in_out_h`*/;
|
|||
|
/*!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_in_out_h` AS select `wm_im_notice_h`.`notice_id` AS `notice_id`,`wm_im_notice_h`.`im_cus_code` AS `im_cus_code`,`wm_im_notice_h`.`im_car_dri` AS `delv_member`,`wm_im_notice_h`.`im_car_no` AS `delv_mobile`,`wm_im_notice_h`.`im_beizhu` AS `delv_addr`,`wm_im_notice_h`.`sup_code` AS `ocus_code`,`wm_im_notice_h`.`sup_name` AS `ocus_name` from `wm_im_notice_h` union all select `wm_om_notice_h`.`om_notice_id` AS `notice_id`,`wm_om_notice_h`.`IM_CUS_CODE` AS `im_cus_code`,`wm_om_notice_h`.`delv_member` AS `delv_member`,`wm_om_notice_h`.`delv_mobile` AS `delv_mobile`,`wm_om_notice_h`.`delv_addr` AS `delv_addr`,`wm_om_notice_h`.`ocus_code` AS `ocus_code`,`wm_om_notice_h`.`ocus_name` AS `ocus_name` from `wm_om_notice_h` */;
|
|||
|
/*!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 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` where ((to_days(now()) - to_days(`wt`.`create_date`)) < 7) 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` where ((to_days(now()) - to_days(`wt`.`create_date`)) < 7) */;
|
|||
|
/*!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 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 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 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 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`,`h`.`im_cus_code` AS `im_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 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 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`,`wg`.`ti_ji_cm` AS `ti_ji_cm`,`mb`.`ti_ji_dan_wei` AS `ti_ji_dan_wei`,`mb`.`zhong_liang_dan_wei` AS `zhong_liang_dan_wei`,`mb`.`mian_ji_dan_wei` AS `mian_ji_dan_wei`,`mb`.`zui_da_ti_ji` AS `zui_da_ti_ji`,`mb`.`zui_da_mian_ji` AS `zui_da_mian_ji` 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 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 `goods_name`,`mg`.`shp_ming_cheng` 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`,`mg`.`ti_ji_cm` AS `ti_ji_cm` from (`wv_today_stock_move` `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 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 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 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 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_ava`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `wv_stock_stt_ava`*/;
|
|||
|
/*!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_ava` 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`,sum(`wg`.`base_goodscount`) AS `goods_qua`,`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_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 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 */;
|
|||
|
|
|||
|
--
|
|||
|
-- Final view structure for view `wv_today_stock_move`
|
|||
|
--
|
|||
|
|
|||
|
/*!50001 DROP VIEW IF EXISTS `wv_today_stock_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_today_stock_move` 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` where (to_days(`wg`.`create_date`) = to_days(now())) 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` where (to_days(`wg`.`create_date`) = to_days(now())) 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')) union all select `wq`.`create_date` AS `create_date`,`wq`.`create_name` AS `create_name`,`wq`.`create_by` AS `create_by`,`wq`.`id` AS `id`,'待上架' AS `kuctype`,`wq`.`bin_id` AS `ku_wei_bian_ma`,trim(`wq`.`tin_id`) AS `bin_id`,`wq`.`cus_code` AS `cus_code`,`wq`.`cus_code` AS `zhong_wen_qch`,`wq`.`goods_id` AS `goods_id`,`wq`.`qm_ok_quat` AS `goods_qua`,`wq`.`im_notice_id` AS `order_id`,`wq`.`pro_data` AS `goods_pro_data`,`wq`.`goods_unit` AS `goods_unit`,`wq`.`base_unit` AS `base_unit`,`wq`.`base_goodscount` AS `base_goodscount` from `wm_in_qm_i` `wq` where (((`wq`.`bin_sta` = 'N') or (`wq`.`bin_sta` = 'I')) and (`wq`.`bin_id` <> ' ') and (`wq`.`bin_id` is not null)) union all select `wm_his_stock_data`.`his_date` AS `create_date`,'system' AS `create_name`,'system' AS `create_by`,`wm_his_stock_data`.`id` AS `id`,'库存' AS `kuctype`,`wm_his_stock_data`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wm_his_stock_data`.`bin_id` AS `bin_id`,`wm_his_stock_data`.`cus_code` AS `cus_code`,`wm_his_stock_data`.`cus_name` AS `zhong_wen_qch`,`wm_his_stock_data`.`goods_id` AS `goods_id`,`wm_his_stock_data`.`count` AS `goods_qua`,'kucun' AS `order_id`,`wm_his_stock_data`.`pro_data` AS `goods_pro_data`,`wm_his_stock_data`.`base_unit` AS `goods_unit`,`wm_his_stock_data`.`base_unit` AS `base_unit`,`wm_his_stock_data`.`count` AS `base_goodscount` from `wm_his_stock_data` */;
|
|||
|
/*!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 */;
|
|||
|
|
|||
|
-- Dump completed on 2022-03-21 16:28:47
|