2021-11-07 开源测试版 2.4.0
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,32 @@
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
DROP TABLE IF EXISTS `product_formula`;
|
||||
|
||||
DROP TABLE IF EXISTS `product_material`;
|
||||
CREATE TABLE `product_material` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`warehouse_id` int(11) NULL DEFAULT NULL COMMENT '仓库',
|
||||
`product_id` int(11) NULL DEFAULT NULL COMMENT '产品名称',
|
||||
`material_id` int(11) NULL DEFAULT NULL COMMENT '物料名称',
|
||||
`quantity` decimal(10, 2) NULL DEFAULT NULL COMMENT '用量',
|
||||
`loss_rate` decimal(18, 2) NULL DEFAULT NULL COMMENT '损耗率(%)',
|
||||
`created_id` int(11) NULL DEFAULT NULL,
|
||||
`created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
|
||||
`created_at` int(11) NULL DEFAULT NULL,
|
||||
`updated_at` int(11) NULL DEFAULT NULL COMMENT '更新时间',
|
||||
`updated_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新人',
|
||||
`updated_id` int(11) NULL DEFAULT NULL COMMENT '编辑人ID',
|
||||
`status` tinyint(3) NOT NULL DEFAULT 1,
|
||||
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `idx_product_id`(`product_id`) USING BTREE,
|
||||
INDEX `idx_material_id`(`material_id`) USING BTREE,
|
||||
INDEX `idx_warehouse_id`(`warehouse_id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
||||
INSERT INTO `widget`(`name`, `color`, `type`, `sort`, `url`, `more_url`, `receive_id`, `receive_name`, `status`, `default`, `icon`, `updated_by`, `updated_at`, `created_at`, `created_by`, `updated_id`, `created_id`, `code`, `grid`) VALUES ('销售订单(元)', '#FF6600', 2, 0, 'order/widget/orderCount', 'order/order/index', 'all', '全体人员', 1, 0, 'fa-file-text-o', '系统管理员', 1636268193, 1636267940, '系统管理员', 1, 1, 'info_order_count', 8);
|
||||
INSERT INTO `widget`(`name`, `color`, `type`, `sort`, `url`, `more_url`, `receive_id`, `receive_name`, `status`, `default`, `icon`, `updated_by`, `updated_at`, `created_at`, `created_by`, `updated_id`, `created_id`, `code`, `grid`) VALUES ('客户', '#66CC00', 2, 0, 'customer/widget/customerCount', 'customer/customer/index', 'all', '全体人员', 1, 0, 'fa-users', '系统管理员', 1636269063, 1636268914, '系统管理员', 1, 1, 'info_customer_count', 8);
|
||||
INSERT INTO `widget`(`name`, `color`, `type`, `sort`, `url`, `more_url`, `receive_id`, `receive_name`, `status`, `default`, `icon`, `updated_by`, `updated_at`, `created_at`, `created_by`, `updated_id`, `created_id`, `code`, `grid`) VALUES ('客户联系人', '#3399FF', 2, 0, 'customer/widget/customerContactCount', 'customer/contact/index', 'all', '全体人员', 1, 0, 'fa-address-book-o', '系统管理员', 1636269516, 1636268914, '系统管理员', 1, 1, 'info_customer_contact_count', 8);
|
||||
@@ -1,47 +0,0 @@
|
||||
/*
|
||||
Navicat Premium Data Transfer
|
||||
|
||||
Source Server : localhost_3308
|
||||
Source Server Type : MySQL
|
||||
Source Server Version : 100508
|
||||
Source Host : localhost:3308
|
||||
Source Schema : gdoo_demo
|
||||
|
||||
Target Server Type : MySQL
|
||||
Target Server Version : 100508
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 28/07/2021 04:51:07
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
SET FOREIGN_KEY_CHECKS = 0;
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for share
|
||||
-- ----------------------------
|
||||
DROP TABLE IF EXISTS `share`;
|
||||
CREATE TABLE `share` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
|
||||
`source_id` int(11) NOT NULL,
|
||||
`source_type` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||
`is_repeat` tinyint(3) NOT NULL DEFAULT 0 COMMENT '重复标记',
|
||||
`receive_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '共享编号',
|
||||
`receive_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '共享名称',
|
||||
`permissions` smallint(6) NULL DEFAULT NULL,
|
||||
`start_at` int(11) NULL DEFAULT NULL COMMENT '开始时间',
|
||||
`end_at` int(11) NULL DEFAULT NULL COMMENT '结束时间',
|
||||
`created_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
|
||||
`created_id` int(11) NULL DEFAULT NULL,
|
||||
`created_at` int(10) NULL DEFAULT NULL,
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `idx_source_id`(`source_id`) USING BTREE,
|
||||
INDEX `idx_source_type`(`source_type`) USING BTREE,
|
||||
INDEX `idx_is_repeat`(`is_repeat`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of share
|
||||
-- ----------------------------
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
Reference in New Issue
Block a user