G01_0350.sql 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. -- MySQL dump 10.13 Distrib 8.0.26, for Win64 (x86_64)
  2. --
  3. -- Host: localhost Database: G01_0350
  4. -- ------------------------------------------------------
  5. -- Server version 8.0.26
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!50503 SET NAMES utf8mb4 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `order_tbl`
  18. --
  19. DROP TABLE IF EXISTS `order_tbl`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!50503 SET character_set_client = utf8mb4 */;
  22. CREATE TABLE `order_tbl` (
  23. `id` int unsigned NOT NULL AUTO_INCREMENT,
  24. `order_num` varchar(30) NOT NULL,
  25. `product_idx` int NOT NULL,
  26. `product_name` varchar(30) NOT NULL,
  27. `batch` varchar(10) NOT NULL,
  28. `team` varchar(2) NOT NULL,
  29. `ok` int NOT NULL,
  30. `ng` int NOT NULL,
  31. `targe` int NOT NULL,
  32. `snp` int NOT NULL,
  33. `begin_time` bigint NOT NULL,
  34. `end_time` bigint DEFAULT NULL,
  35. `stat` tinyint(1) NOT NULL,
  36. PRIMARY KEY (`id`)
  37. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb3;
  38. /*!40101 SET character_set_client = @saved_cs_client */;
  39. --
  40. -- Dumping data for table `order_tbl`
  41. --
  42. LOCK TABLES `order_tbl` WRITE;
  43. /*!40000 ALTER TABLE `order_tbl` DISABLE KEYS */;
  44. INSERT INTO `order_tbl` VALUES (1,'2GN20211008095506A01',0,'17700 20-31PA-H020-M','LX08','A',13,1,14,0,1633658109,1633747618,1),(2,'2GN20211009104653A01',0,'17700-TLA-X010','LX09','A',8,0,8,0,1633747618,1633920025,1),(3,'2GN20211011104019A01',0,'17700-TLA-X010','LX11','A',2,0,2,0,1633920025,NULL,0);
  45. /*!40000 ALTER TABLE `order_tbl` ENABLE KEYS */;
  46. UNLOCK TABLES;
  47. --
  48. -- Table structure for table `product_data_tbl`
  49. --
  50. DROP TABLE IF EXISTS `product_data_tbl`;
  51. /*!40101 SET @saved_cs_client = @@character_set_client */;
  52. /*!50503 SET character_set_client = utf8mb4 */;
  53. CREATE TABLE `product_data_tbl` (
  54. `id` int unsigned NOT NULL AUTO_INCREMENT,
  55. `batch` varchar(20) NOT NULL,
  56. `serial` varchar(20) NOT NULL,
  57. `product_name` varchar(30) NOT NULL,
  58. `testok` tinyint(1) NOT NULL,
  59. `data_17700` varchar(50) NOT NULL,
  60. `data_17720` varchar(50) NOT NULL,
  61. `team` varchar(2) NOT NULL,
  62. `tester` varchar(10) NOT NULL,
  63. `begin_time` bigint NOT NULL,
  64. `end_time` bigint NOT NULL,
  65. `stat` tinyint(1) NOT NULL,
  66. PRIMARY KEY (`id`),
  67. KEY `batch_index` (`batch`(12))
  68. ) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb3;
  69. /*!40101 SET character_set_client = @saved_cs_client */;
  70. --
  71. -- Dumping data for table `product_data_tbl`
  72. --
  73. LOCK TABLES `product_data_tbl` WRITE;
  74. /*!40000 ALTER TABLE `product_data_tbl` DISABLE KEYS */;
  75. INSERT INTO `product_data_tbl` VALUES (1,'2GNLX080001A','2021100800001','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):0.084 ml/min','<02>:0.500 MPa:(OK):0.259 ml/min','A','tester',1633659014,1633659086,1),(2,'2GNLX080002A','2021100800002','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):-0.060 ml/min','<02>:0.500 MPa:(OK):0.053 ml/min','A','tester',1633659430,1633659536,1),(3,'2GNLX080003A','2021100800003','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):-0.060 ml/min','<02>:0.500 MPa:(OK):0.107 ml/min','A','tester',1633659843,1633659863,1),(4,'NULL','2021100800004','17700 20-31PA-H020-M',0,'NULL','NULL','A','tester',1633660051,1633660051,1),(5,'2GNLX080004A','2021100800005','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):0.084 ml/min','<02>:0.500 MPa:(OK):0.097 ml/min','A','tester',1633660139,1633660165,1),(6,'2GNLX080005A','2021100800006','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):0.109 ml/min','<02>:0.500 MPa:(OK):0.215 ml/min','A','tester',1633660595,1633660602,1),(7,'2GNLX080006A','2021100800007','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):-0.085 ml/min','<02>:0.500 MPa:(OK):0.039 ml/min','A','tester',1633660719,1633660728,1),(8,'2GNLX080007A','2021100800008','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):0.016 ml/min','<02>:0.499 MPa:(OK):0.141 ml/min','A','tester',1633660814,1633660822,1),(9,'2GNLX080008A','2021100800009','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):0.042 ml/min','<02>:0.499 MPa:(OK):0.195 ml/min','A','tester',1633661056,1633661063,1),(10,'2GNLX080009A','2021100800010','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):-0.068 ml/min','<02>:0.500 MPa:(OK):0.122 ml/min','A','tester',1633661224,1633661231,1),(11,'2GNLX080010A','2021100800011','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):0.016 ml/min','<02>:0.500 MPa:(OK):0.171 ml/min','A','tester',1633662707,1633662716,1),(12,'2GNLX080011A','2021100800012','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):0.008 ml/min','<02>:0.499 MPa:(OK):0.156 ml/min','A','tester',1633663308,1633663317,1),(13,'2GNLX080012A','2021100800013','17700 20-31PA-H020-M',1,'<02>:0.200 MPa:(OK):-0.043 ml/min','<02>:0.500 MPa:(OK):0.068 ml/min','A','tester',1633663731,1633663783,1),(14,'2GNLX080013A','2021100800014','17700 20-31PA-H020-M',1,'<02>:0.211 MPa:(OK):0.015 ml/min','<02>:0.520 MPa:(OK):0.210 ml/min','A','tester',1633678504,1633678512,1),(15,'NULL','2021100800015','17700 20-31PA-H020-M',0,'NULL','NULL','A','tester',1633678552,1633678552,0),(16,'2GNLX090001A','2021100900001','17750-31PA-H020-M1',1,'<02>:0.210 MPa:(OK):0.190 ml/min','<02>:0.520 MPa:(OK):0.371 ml/min','A','tester',1633748095,1633748103,1),(17,'2GNLX090002A','2021100900002','17750-31PA-H020-M1',1,'<02>:0.210 MPa:(OK):-0.016 ml/min','<02>:0.520 MPa:(OK):0.127 ml/min','A','tester',1633759064,1633759072,1),(18,'2GNLX090003A','2021100900003','17750-31PA-H020-M1',1,'<02>:0.210 MPa:(OK):-0.069 ml/min','<02>:0.520 MPa:(OK):-0.005 ml/min','A','tester',1633759109,1633759230,1),(19,'2GNLX090004A','2021100900004','17750-31PA-H020-M1',1,'<02>:0.210 MPa:(OK):-0.069 ml/min','<02>:0.520 MPa:(OK):-0.005 ml/min','A','tester',1633759230,1633759231,1),(20,'2GNLX090005A','2021100900005','17750-31PA-H020-M1',1,'<02>:0.210 MPa:(OK):-0.069 ml/min','<02>:0.520 MPa:(OK):-0.005 ml/min','A','tester',1633759231,1633759232,1),(21,'2GNLX090006A','2021100900006','17750-31PA-H020-M1',1,'<02>:0.210 MPa:(OK):-0.069 ml/min','<02>:0.520 MPa:(OK):-0.005 ml/min','A','tester',1633759232,1633759234,1),(22,'2GNLX090007A','2021100900007','17750-31PA-H020-M1',1,'<02>:0.210 MPa:(OK):-0.069 ml/min','<02>:0.520 MPa:(OK):-0.005 ml/min','A','tester',1633759234,1633759235,1),(23,'2GNLX090008A','2021100900008','17750-31PA-H020-M1',1,'<02>:0.210 MPa:(OK):-0.069 ml/min','<02>:0.520 MPa:(OK):-0.005 ml/min','A','tester',1633759235,1633759236,1),(24,'NULL','2021100900009','17750-31PA-H020-M1',0,'NULL','NULL','A','tester',1633759237,1633759237,0),(25,'2GNLX110001A','2021101100001','17750-31PA-H020-M1',1,'<02>:0.209 MPa:(OK):0.045 ml/min','<02>:0.521 MPa:(OK):0.229 ml/min','A','tester',1633931879,1633931887,1),(26,'2GNLX110002A','2021101100002','17750-31PA-H020-M1',1,'<02>:0.209 MPa:(OK):-0.008 ml/min','<02>:0.520 MPa:(OK):0.087 ml/min','A','tester',1633931985,1633931995,1);
  76. /*!40000 ALTER TABLE `product_data_tbl` ENABLE KEYS */;
  77. UNLOCK TABLES;
  78. --
  79. -- Table structure for table `product_param_tbl`
  80. --
  81. DROP TABLE IF EXISTS `product_param_tbl`;
  82. /*!40101 SET @saved_cs_client = @@character_set_client */;
  83. /*!50503 SET character_set_client = utf8mb4 */;
  84. CREATE TABLE `product_param_tbl` (
  85. `id` int unsigned NOT NULL AUTO_INCREMENT,
  86. `product_idx` int NOT NULL,
  87. `product_name` varchar(30) NOT NULL,
  88. `param_type` int NOT NULL,
  89. `startuptime` varchar(10) DEFAULT NULL,
  90. `airtime` varchar(10) DEFAULT NULL,
  91. `presstime` varchar(10) DEFAULT NULL,
  92. `testtime` varchar(10) DEFAULT NULL,
  93. `exhaust` varchar(10) DEFAULT NULL,
  94. `maxpress` varchar(10) DEFAULT NULL,
  95. `minpress` varchar(10) DEFAULT NULL,
  96. `setpress` varchar(10) DEFAULT NULL,
  97. `capacity` varchar(10) DEFAULT NULL,
  98. `posthreshold` varchar(10) DEFAULT NULL,
  99. `pnegthreshold` varchar(10) DEFAULT NULL,
  100. PRIMARY KEY (`id`)
  101. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb3;
  102. /*!40101 SET character_set_client = @saved_cs_client */;
  103. --
  104. -- Dumping data for table `product_param_tbl`
  105. --
  106. LOCK TABLES `product_param_tbl` WRITE;
  107. /*!40000 ALTER TABLE `product_param_tbl` DISABLE KEYS */;
  108. INSERT INTO `product_param_tbl` VALUES (1,1,'17700 20-31PA-H020-M',17700,'0','0','0','0','0','0','0','0','0','0','0'),(2,1,'17700 20-31PA-H020-M',17720,'0','0','0','0','0','0','0','0','0','0','0'),(3,1,'17700-TLA-X010',17700,'0','0','0','0','0','0','0','0','0','0','0'),(4,1,'17700-TLA-X010',17720,'0','0','0','0','0','0','0','0','0','0','0'),(5,0,'17750-31PA-H020-M1',17700,'0','8','20','10','1','600','0','500','105','0.5','-0.5'),(6,0,'17750-31PA-H020-M1',17720,'0','8','20','10','1','250','0','200','105','0.1','-0.1');
  109. /*!40000 ALTER TABLE `product_param_tbl` ENABLE KEYS */;
  110. UNLOCK TABLES;
  111. --
  112. -- Table structure for table `product_tbl`
  113. --
  114. DROP TABLE IF EXISTS `product_tbl`;
  115. /*!40101 SET @saved_cs_client = @@character_set_client */;
  116. /*!50503 SET character_set_client = utf8mb4 */;
  117. CREATE TABLE `product_tbl` (
  118. `id` int unsigned NOT NULL AUTO_INCREMENT,
  119. `product_idx` int NOT NULL,
  120. `product_name` varchar(30) NOT NULL,
  121. `17700_name` varchar(30) NOT NULL,
  122. `17720_name` varchar(30) NOT NULL,
  123. `stat` tinyint(1) NOT NULL,
  124. PRIMARY KEY (`id`)
  125. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;
  126. /*!40101 SET character_set_client = @saved_cs_client */;
  127. --
  128. -- Dumping data for table `product_tbl`
  129. --
  130. LOCK TABLES `product_tbl` WRITE;
  131. /*!40000 ALTER TABLE `product_tbl` DISABLE KEYS */;
  132. INSERT INTO `product_tbl` VALUES (1,0,'17750-31PA-H020-M1','17700-31PA','17720-31PA',1);
  133. /*!40000 ALTER TABLE `product_tbl` ENABLE KEYS */;
  134. UNLOCK TABLES;
  135. --
  136. -- Table structure for table `user_tbl`
  137. --
  138. DROP TABLE IF EXISTS `user_tbl`;
  139. /*!40101 SET @saved_cs_client = @@character_set_client */;
  140. /*!50503 SET character_set_client = utf8mb4 */;
  141. CREATE TABLE `user_tbl` (
  142. `id` int unsigned NOT NULL AUTO_INCREMENT,
  143. `name` varchar(20) NOT NULL,
  144. `password` varchar(100) DEFAULT NULL,
  145. PRIMARY KEY (`id`)
  146. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb3;
  147. /*!40101 SET character_set_client = @saved_cs_client */;
  148. --
  149. -- Dumping data for table `user_tbl`
  150. --
  151. LOCK TABLES `user_tbl` WRITE;
  152. /*!40000 ALTER TABLE `user_tbl` DISABLE KEYS */;
  153. INSERT INTO `user_tbl` VALUES (1,'admin','123456');
  154. /*!40000 ALTER TABLE `user_tbl` ENABLE KEYS */;
  155. UNLOCK TABLES;
  156. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  157. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  158. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  159. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  160. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  161. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  162. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  163. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  164. -- Dump completed on 2021-10-11 17:55:34