You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
4.3 KiB
MySQL

3 years ago
/*
3 years ago
Navicat Premium Data Transfer
3 years ago
3 years ago
Source Server : mysql
Source Server Type : MySQL
Source Server Version : 80021
Source Host : localhost:3306
Source Schema : udiwms_erp
3 years ago
3 years ago
Target Server Type : MySQL
Target Server Version : 80021
File Encoding : 65001
3 years ago
3 years ago
Date: 22/03/2022 09:25:54
3 years ago
*/
3 years ago
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
3 years ago
-- ----------------------------
3 years ago
-- Table structure for erpstock
3 years ago
-- ----------------------------
3 years ago
DROP TABLE IF EXISTS `erpstock`;
CREATE TABLE `erpstock` (
`id` int NOT NULL AUTO_INCREMENT,
`orderId` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`batchNo` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`manufacturingDate` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`expirationDate` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`count` int NULL DEFAULT NULL,
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `uniqueId`(`code`, `batchNo`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2803 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
3 years ago
-- ----------------------------
3 years ago
-- Records of erpstock
3 years ago
-- ----------------------------
-- ----------------------------
3 years ago
-- Table structure for scheduled
3 years ago
-- ----------------------------
3 years ago
DROP TABLE IF EXISTS `scheduled`;
CREATE TABLE `scheduled` (
`id` int NOT NULL AUTO_INCREMENT,
`cronName` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '任务名称',
`cron` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '定时任务',
`customerId` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
3 years ago
-- ----------------------------
3 years ago
-- Records of scheduled
3 years ago
-- ----------------------------
3 years ago
INSERT INTO `scheduled` VALUES (6, 'dlStockEr', '0 */60 * * * ?', NULL, '定时下载ERP采购订单到入库存');
3 years ago
-- ----------------------------
3 years ago
-- Table structure for yy_ucloud_v31_setup
3 years ago
-- ----------------------------
3 years ago
DROP TABLE IF EXISTS `yy_ucloud_v31_setup`;
CREATE TABLE `yy_ucloud_v31_setup` (
`ipUrl` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`unitCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`coperator` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`userCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`systemCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`transType` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`passwd` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
`envType` tinyint NULL DEFAULT NULL COMMENT '1.生产2.测试'
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
3 years ago
-- ----------------------------
3 years ago
-- Records of yy_ucloud_v31_setup
3 years ago
-- ----------------------------
3 years ago
SET FOREIGN_KEY_CHECKS = 1;