/*
SQLyog Ultimate v12.09 (64 bit)
MySQL - 5.7.37-log : Database - j2eedb
*********************************************************************
*/


/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

/*!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 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`j2eedb` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;

USE `j2eedb`;

/*Data for the table `sys_dict_data` */

insert  into `sys_dict_data`(`dict_code`,`dict_sort`,`dict_label`,`dict_value`,`dict_type`,`css_class`,`list_class`,`is_default`,`status`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) values (1,1,'男','0','sys_user_sex','','','Y','0','admin','2022-04-07 00:29:32','',NULL,'性别男'),(2,2,'女','1','sys_user_sex','','','N','0','admin','2022-04-07 00:29:32','',NULL,'性别女'),(3,3,'未知','2','sys_user_sex','','','N','0','admin','2022-04-07 00:29:32','',NULL,'性别未知'),(4,1,'显示','0','sys_show_hide','','primary','Y','0','admin','2022-04-07 00:29:32','',NULL,'显示菜单'),(5,2,'隐藏','1','sys_show_hide','','danger','N','0','admin','2022-04-07 00:29:32','',NULL,'隐藏菜单'),(6,1,'正常','0','sys_normal_disable','','primary','Y','0','admin','2022-04-07 00:29:32','',NULL,'正常状态'),(7,2,'停用','1','sys_normal_disable','','danger','N','0','admin','2022-04-07 00:29:32','',NULL,'停用状态'),(8,1,'正常','0','sys_job_status','','primary','Y','0','admin','2022-04-07 00:29:32','',NULL,'正常状态'),(9,2,'暂停','1','sys_job_status','','danger','N','0','admin','2022-04-07 00:29:32','',NULL,'停用状态'),(10,1,'默认','DEFAULT','sys_job_group','','','Y','0','admin','2022-04-07 00:29:32','',NULL,'默认分组'),(11,2,'系统','SYSTEM','sys_job_group','','','N','0','admin','2022-04-07 00:29:32','',NULL,'系统分组'),(12,1,'是','Y','sys_yes_no','','primary','Y','0','admin','2022-04-07 00:29:32','',NULL,'系统默认是'),(13,2,'否','N','sys_yes_no','','danger','N','0','admin','2022-04-07 00:29:32','',NULL,'系统默认否'),(14,1,'通知','1','sys_notice_type','','warning','Y','0','admin','2022-04-07 00:29:32','',NULL,'通知'),(15,2,'公告','2','sys_notice_type','','success','N','0','admin','2022-04-07 00:29:32','',NULL,'公告'),(16,1,'正常','0','sys_notice_status','','primary','Y','0','admin','2022-04-07 00:29:32','',NULL,'正常状态'),(17,2,'关闭','1','sys_notice_status','','danger','N','0','admin','2022-04-07 00:29:32','',NULL,'关闭状态'),(18,1,'新增','1','sys_oper_type','','info','N','0','admin','2022-04-07 00:29:32','',NULL,'新增操作'),(19,2,'修改','2','sys_oper_type','','info','N','0','admin','2022-04-07 00:29:32','',NULL,'修改操作'),(20,3,'删除','3','sys_oper_type','','danger','N','0','admin','2022-04-07 00:29:32','',NULL,'删除操作'),(21,4,'授权','4','sys_oper_type','','primary','N','0','admin','2022-04-07 00:29:32','',NULL,'授权操作'),(22,5,'导出','5','sys_oper_type','','warning','N','0','admin','2022-04-07 00:29:32','',NULL,'导出操作'),(23,6,'导入','6','sys_oper_type','','warning','N','0','admin','2022-04-07 00:29:32','',NULL,'导入操作'),(24,7,'强退','7','sys_oper_type','','danger','N','0','admin','2022-04-07 00:29:32','',NULL,'强退操作'),(25,8,'生成代码','8','sys_oper_type','','warning','N','0','admin','2022-04-07 00:29:32','',NULL,'生成操作'),(26,9,'清空数据','9','sys_oper_type','','danger','N','0','admin','2022-04-07 00:29:32','',NULL,'清空操作'),(27,1,'成功','0','sys_common_status','','primary','N','0','admin','2022-04-07 00:29:32','',NULL,'正常状态'),(28,2,'失败','1','sys_common_status','','danger','N','0','admin','2022-04-07 00:29:32','',NULL,'停用状态'),(100,1,'物料','ITEM','mes_item_product',NULL,'default','N','0','admin','2022-04-16 16:34:46','',NULL,NULL),(101,2,'产品','PRODUCT','mes_item_product',NULL,'default','N','0','admin','2022-04-16 16:35:02','',NULL,NULL),(102,1,'输入字符','INPUTCHAR','sys_autocode_parttype',NULL,'default','N','0','admin','2022-04-26 15:33:47','',NULL,NULL),(103,2,'当前日期时间','NOWDATE','sys_autocode_parttype',NULL,'default','N','0','admin','2022-04-26 15:34:07','',NULL,NULL),(104,3,'固定字符','FIXCHAR','sys_autocode_parttype',NULL,'default','N','0','admin','2022-04-26 15:34:27','',NULL,NULL),(105,4,'流水号','SERIALNO','sys_autocode_parttype',NULL,'default','N','0','admin','2022-04-26 15:34:53','',NULL,NULL),(106,1,'按年','YEAR','sys_autocode_cyclemethod',NULL,'default','N','0','admin','2022-04-26 15:35:17','',NULL,NULL),(107,2,'按月','MONTH','sys_autocode_cyclemethod',NULL,'default','N','0','admin','2022-04-26 15:35:29','admin','2022-04-26 15:35:55',NULL),(108,3,'按天','DAY','sys_autocode_cyclemethod',NULL,'default','N','0','admin','2022-04-26 15:36:13','',NULL,NULL),(109,4,'按小时','HOUR','sys_autocode_cyclemethod',NULL,'default','N','0','admin','2022-04-26 15:36:34','',NULL,NULL),(110,5,'按分钟','MINUTE','sys_autocode_cyclemethod',NULL,'default','N','0','admin','2022-04-26 15:36:59','',NULL,NULL),(111,6,'按传入字符','OTHER','sys_autocode_cyclemethod',NULL,'default','N','0','admin','2022-04-26 15:37:19','',NULL,NULL),(112,1,'企业客户','ENTERPRISE','mes_client_type',NULL,'default','N','0','admin','2022-05-06 20:54:37','',NULL,NULL),(113,2,'个人','PERSON','mes_client_type',NULL,'default','N','0','admin','2022-05-06 20:55:00','',NULL,NULL),(114,1,'优质供应商','A','mes_vendor_level',NULL,'default','N','0','admin','2022-05-06 22:45:52','',NULL,NULL),(115,2,'正常','B','mes_vendor_level',NULL,'default','N','0','admin','2022-05-06 22:46:02','',NULL,NULL),(116,3,'重点关注','C','mes_vendor_level',NULL,'default','N','0','admin','2022-05-06 22:46:15','',NULL,NULL),(117,4,'劣质供应商','D','mes_vendor_level',NULL,'default','N','0','admin','2022-05-06 22:46:41','',NULL,NULL),(118,5,'黑名单','E','mes_vendor_level',NULL,'default','N','0','admin','2022-05-06 22:46:54','',NULL,NULL),(119,1,'草稿','PREPARE','mes_order_status',NULL,'default','N','0','admin','2022-05-09 10:35:34','',NULL,NULL),(120,2,'已确认','CONFIRMED','mes_order_status',NULL,'default','N','0','admin','2022-05-09 10:36:37','',NULL,NULL),(121,3,'审批中','APPROVING','mes_order_status',NULL,'default','N','0','admin','2022-05-09 10:39:30','',NULL,NULL),(122,4,'已审批','APPROVED','mes_order_status',NULL,'default','N','0','admin','2022-05-09 10:39:45','',NULL,NULL),(123,5,'已完成','FINISHED','mes_order_status',NULL,'default','N','0','admin','2022-05-09 10:40:07','',NULL,NULL),(124,1,'客户订单','ORDER','mes_workorder_sourcetype',NULL,'default','N','0','admin','2022-05-09 11:23:47','',NULL,NULL),(125,2,'库存备货','STORE','mes_workorder_sourcetype',NULL,'default','N','0','admin','2022-05-09 11:24:04','admin','2022-05-09 11:24:24',NULL),(126,1,'定期维护','REGULAR','mes_mainten_type',NULL,'default','N','0','admin','2022-05-10 23:40:57','',NULL,NULL),(127,2,'按使用次数维护','USAGE','mes_mainten_type',NULL,'default','N','0','admin','2022-05-10 23:41:31','',NULL,NULL),(128,1,'在库','STORE','mes_tool_status',NULL,'default','N','0','admin','2022-05-11 20:51:13','',NULL,NULL),(129,2,'被领用','ISSUE','mes_tool_status',NULL,'default','N','0','admin','2022-05-11 20:51:36','',NULL,NULL),(130,3,'报废','SCRAP','mes_tool_status',NULL,'default','N','0','admin','2022-05-11 20:52:02','',NULL,NULL),(131,4,'维修中','REPARE','mes_tool_status',NULL,'default','N','0','admin','2022-05-11 20:52:20','',NULL,NULL),(132,1,'S-to-S','SS','mes_link_type',NULL,'default','N','0','admin','2022-05-13 21:51:28','',NULL,NULL),(133,2,'F-to-F','FF','mes_link_type',NULL,'default','N','0','admin','2022-05-13 21:51:51','',NULL,NULL),(134,3,'S-to-F','SF','mes_link_type',NULL,'default','N','0','admin','2022-05-13 21:52:05','',NULL,NULL),(135,4,'F-to-S','FS','mes_link_type',NULL,'default','N','0','admin','2022-05-13 21:52:21','',NULL,NULL),(136,1,'秒','SECOND','mes_time_type',NULL,'default','N','0','admin','2022-05-14 08:41:14','',NULL,NULL),(137,2,'分钟','MINUTE','mes_time_type',NULL,'default','N','0','admin','2022-05-14 08:41:25','',NULL,NULL),(138,3,'小时','HOUR','mes_time_type',NULL,'default','N','0','admin','2022-05-14 08:41:46','',NULL,NULL),(139,4,'天','DAY','mes_time_type',NULL,'default','N','0','admin','2022-05-14 08:41:57','',NULL,NULL),(140,5,'周','WEEK','mes_time_type',NULL,'default','N','0','admin','2022-05-14 08:42:12','',NULL,NULL),(141,6,'月','MONTH','mes_time_type',NULL,'default','N','0','admin','2022-05-14 08:42:26','',NULL,NULL),(142,1,'尺寸','SIZE','mes_index_type',NULL,'default','N','0','admin','2022-05-17 21:26:34','',NULL,NULL),(143,2,'外观','APPEARANCE','mes_index_type',NULL,'default','N','0','admin','2022-05-17 21:28:19','',NULL,NULL),(144,3,'重量','WEIGHT','mes_index_type',NULL,'default','N','0','admin','2022-05-17 21:28:31','',NULL,NULL),(145,4,'性能','PERFORMANCE','mes_index_type',NULL,'default','N','0','admin','2022-05-17 21:29:28','',NULL,NULL),(146,5,'成分','COMPONENT','mes_index_type',NULL,'default','N','0','admin','2022-05-17 21:30:34','',NULL,NULL),(147,1,'[来料检验]','IQC','mes_qc_type',NULL,'default','N','0','admin','2022-05-18 09:38:58','admin','2022-05-18 10:38:43',NULL),(148,2,'[首检]','FIRST_CHECK','mes_qc_type',NULL,'default','N','0','admin','2022-05-18 09:39:19','admin','2022-05-18 10:38:50',NULL),(149,3,'[末检]','FINAL_CHECK','mes_qc_type',NULL,'default','N','0','admin','2022-05-18 09:39:46','admin','2022-05-18 10:38:57',NULL),(150,4,'[巡检]','REGULAR_CHECK','mes_qc_type',NULL,'default','N','0','admin','2022-05-18 09:40:05','admin','2022-05-18 10:39:02',NULL),(151,5,'[成品检验]','FQC','mes_qc_type',NULL,'default','N','0','admin','2022-05-18 09:40:27','admin','2022-05-18 10:39:08',NULL),(152,6,'[发货检验]','OQC','mes_qc_type',NULL,'default','N','0','admin','2022-05-18 09:40:52','admin','2022-05-18 10:39:14',NULL),(153,1,'致命缺陷','CR','mes_defect_level',NULL,'default','N','0','admin','2022-05-19 10:24:05','',NULL,NULL),(154,2,'严重缺陷','MAJ','mes_defect_level',NULL,'default','N','0','admin','2022-05-19 10:24:20','',NULL,NULL),(155,3,'轻微缺陷','MIN','mes_defect_level',NULL,'default','N','0','admin','2022-05-19 10:24:33','',NULL,NULL),(156,1,'检验通过','ACCEPT','mes_qc_result',NULL,'default','N','0','admin','2022-05-19 16:38:07','',NULL,NULL),(157,2,'检验不通过','REJECT','mes_qc_result',NULL,'default','N','0','admin','2022-05-19 16:38:22','',NULL,NULL);

/*Data for the table `sys_dict_type` */

insert  into `sys_dict_type`(`dict_id`,`dict_name`,`dict_type`,`status`,`create_by`,`create_time`,`update_by`,`update_time`,`remark`) values (1,'用户性别','sys_user_sex','0','admin','2022-04-07 00:29:32','',NULL,'用户性别列表'),(2,'菜单状态','sys_show_hide','0','admin','2022-04-07 00:29:32','',NULL,'菜单状态列表'),(3,'系统开关','sys_normal_disable','0','admin','2022-04-07 00:29:32','',NULL,'系统开关列表'),(4,'任务状态','sys_job_status','0','admin','2022-04-07 00:29:32','',NULL,'任务状态列表'),(5,'任务分组','sys_job_group','0','admin','2022-04-07 00:29:32','',NULL,'任务分组列表'),(6,'系统是否','sys_yes_no','0','admin','2022-04-07 00:29:32','',NULL,'系统是否列表'),(7,'通知类型','sys_notice_type','0','admin','2022-04-07 00:29:32','',NULL,'通知类型列表'),(8,'通知状态','sys_notice_status','0','admin','2022-04-07 00:29:32','',NULL,'通知状态列表'),(9,'操作类型','sys_oper_type','0','admin','2022-04-07 00:29:32','',NULL,'操作类型列表'),(10,'系统状态','sys_common_status','0','admin','2022-04-07 00:29:32','',NULL,'登录状态列表'),(100,'物料or产品','mes_item_product','0','admin','2022-04-16 16:34:20','',NULL,NULL),(101,'编码规则组成类型','sys_autocode_parttype','0','admin','2022-04-26 15:32:42','',NULL,NULL),(102,'编码规则组成循环方式','sys_autocode_cyclemethod','0','admin','2022-04-26 15:33:02','',NULL,NULL),(103,'客户类型','mes_client_type','0','admin','2022-05-06 20:53:28','',NULL,NULL),(104,'供应商级别','mes_vendor_level','0','admin','2022-05-06 22:44:56','admin','2022-05-06 22:45:35',NULL),(105,'单据状态【通用】','mes_order_status','0','admin','2022-05-09 10:34:41','admin','2022-05-09 10:35:10',NULL),(106,'生产工单来源','mes_workorder_sourcetype','0','admin','2022-05-09 11:23:22','',NULL,NULL),(107,'维护类型表','mes_mainten_type','0','admin','2022-05-10 23:40:36','',NULL,NULL),(108,'工装夹具状态','mes_tool_status','0','admin','2022-05-11 20:50:46','',NULL,NULL),(109,'工序关系类型','mes_link_type','0','admin','2022-05-13 21:50:44','',NULL,NULL),(110,'时间单位','mes_time_type','0','admin','2022-05-14 08:40:53','',NULL,NULL),(111,'检测项类型','mes_index_type','0','admin','2022-05-17 21:26:05','',NULL,NULL),(112,'检测类型','mes_qc_type','0','admin','2022-05-18 09:38:32','',NULL,NULL),(113,'缺陷等级','mes_defect_level','0','admin','2022-05-19 10:23:38','',NULL,NULL),(114,'检验结果','mes_qc_result','0','admin','2022-05-19 16:37:45','',NULL,NULL);

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
