/*
 Navicat Premium Dump SQL

 Source Server         : 104-3316
 Source Server Type    : MySQL
 Source Server Version : 50744 (5.7.44)
 Source Host           : 192.168.0.104:3316
 Source Schema         : ChickenFarmDB_DEV

 Target Server Type    : MySQL
 Target Server Version : 50744 (5.7.44)
 File Encoding         : 65001

 Date: 14/08/2025 11:27:37
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for f_batch
-- ----------------------------
DROP TABLE IF EXISTS `f_batch`;
CREATE TABLE `f_batch`  (
                            `batch_num` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次号（唯一标识）',
                            `batch_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次名称',
                            `chicken_count` int(11) NOT NULL DEFAULT 0 COMMENT '鸡只数量',
                            `hatch_date` date NOT NULL COMMENT '出生日期',
                            `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:新建, 1:育成中, 2:完成）',
                            `variety_id` bigint(20) NOT NULL COMMENT '品系ID（复制字段，不随原表变动）',
                            `variety_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '品种（复制字段，不随原表变动）',
                            `lineage` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '系别（复制字段，不随原表变动）',
                            `generation` int(11) NOT NULL DEFAULT 0 COMMENT '代数（复制字段，不随原表变动）',
                            `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                            `create_by` bigint(20) NOT NULL COMMENT '创建人',
                            `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                            `update_by` bigint(20) NOT NULL COMMENT '更新人',
                            `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                            `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                            `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                            PRIMARY KEY (`batch_num`) USING BTREE,
                            INDEX `create_by`(`create_by`) USING BTREE,
                            INDEX `update_by`(`update_by`) USING BTREE,
                            INDEX `batch_number`(`batch_num`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '批次信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_batch
-- ----------------------------
INSERT INTO `f_batch` VALUES ('M09-250717', '测试批次1', 401, '2025-07-17', 2, 1, '白羽鸡', 'M', 9, 100, 1, '2025-07-17 18:02:42', 1, '2025-08-13 16:59:16', NULL, '0');
INSERT INTO `f_batch` VALUES ('N06-250723', '测试批次2', 55, '2025-07-23', 1, 2, '白羽鸡', 'N', 6, 100, 1, '2025-07-23 17:55:52', 1, '2025-07-29 16:45:53', NULL, '0');
INSERT INTO `f_batch` VALUES ('N06-250813', '拼凑3', 33, '2025-08-13', 1, 2, '白羽鸡', 'N', 6, 100, 1, '2025-08-13 17:00:34', 1, '2025-08-13 17:01:13', NULL, '0');

-- ----------------------------
-- Table structure for f_batch_drug
-- ----------------------------
DROP TABLE IF EXISTS `f_batch_drug`;
CREATE TABLE `f_batch_drug`  (
                                 `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '批次用药ID',
                                 `batch_num` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次号（关联f_batch）',
                                 `drug_sop_id` bigint(20) NOT NULL COMMENT '药品SOPID（关联f_drug_sop）',
                                 `status` tinyint(1) NOT NULL COMMENT '绑定状态（0:已绑定, 1:已解绑）',
                                 `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                 `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                 `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                 `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                 `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                 `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                 `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                 PRIMARY KEY (`id`) USING BTREE,
                                 INDEX `drug_sop_id`(`drug_sop_id`) USING BTREE,
                                 INDEX `create_by`(`create_by`) USING BTREE,
                                 INDEX `update_by`(`update_by`) USING BTREE,
                                 INDEX `f_batch_drug_ibfk_1`(`batch_num`) USING BTREE,
                                 CONSTRAINT `f_batch_drug_ibfk_1` FOREIGN KEY (`batch_num`) REFERENCES `f_batch` (`batch_num`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                 CONSTRAINT `f_batch_drug_ibfk_2` FOREIGN KEY (`drug_sop_id`) REFERENCES `f_drug_sop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                 CONSTRAINT `f_batch_drug_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                 CONSTRAINT `f_batch_drug_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '批次用药管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_batch_drug
-- ----------------------------
INSERT INTO `f_batch_drug` VALUES (2, 'N06-250723', 1, 0, 100, 1, '2025-07-31 16:58:31', 1, '2025-07-31 16:58:31', NULL, '0');

-- ----------------------------
-- Table structure for f_batch_feed
-- ----------------------------
DROP TABLE IF EXISTS `f_batch_feed`;
CREATE TABLE `f_batch_feed`  (
                                 `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '批次喂养ID',
                                 `batch_num` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次ID（关联f_batch）',
                                 `feed_sop_id` bigint(20) NOT NULL COMMENT '喂养SOPID（关联f_feed_sop）',
                                 `status` tinyint(1) NOT NULL COMMENT '绑定状态（0:已绑定, 1:已解绑）',
                                 `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                 `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                 `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                 `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                 `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                 `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                 `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                 PRIMARY KEY (`id`) USING BTREE,
                                 INDEX `feed_sop_id`(`feed_sop_id`) USING BTREE,
                                 INDEX `create_by`(`create_by`) USING BTREE,
                                 INDEX `update_by`(`update_by`) USING BTREE,
                                 INDEX `f_batch_feed_ibfk_1`(`batch_num`) USING BTREE,
                                 CONSTRAINT `f_batch_feed_ibfk_1` FOREIGN KEY (`batch_num`) REFERENCES `f_batch` (`batch_num`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                 CONSTRAINT `f_batch_feed_ibfk_2` FOREIGN KEY (`feed_sop_id`) REFERENCES `f_feed_sop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                 CONSTRAINT `f_batch_feed_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                 CONSTRAINT `f_batch_feed_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '批次喂养管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_batch_feed
-- ----------------------------
INSERT INTO `f_batch_feed` VALUES (5, 'M09-250717', 2, 0, 100, 1, '2025-07-25 09:53:03', 1, '2025-07-25 09:53:03', NULL, '0');
INSERT INTO `f_batch_feed` VALUES (6, 'N06-250723', 3, 0, 100, 1, '2025-08-12 08:50:29', 1, '2025-08-14 09:04:14', NULL, '0');

-- ----------------------------
-- Table structure for f_batch_vaccine
-- ----------------------------
DROP TABLE IF EXISTS `f_batch_vaccine`;
CREATE TABLE `f_batch_vaccine`  (
                                    `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '批次疫苗ID',
                                    `batch_num` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次ID（关联f_batch）',
                                    `vaccine_sop_id` bigint(20) NOT NULL COMMENT '免疫SOPID（关联f_vaccine_sop）',
                                    `status` tinyint(1) NOT NULL COMMENT '绑定状态（0:已绑定, 1:已解绑）',
                                    `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                    `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                    `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                    `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                    `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                    `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                    `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                    PRIMARY KEY (`id`) USING BTREE,
                                    INDEX `immune_sop_id`(`vaccine_sop_id`) USING BTREE,
                                    INDEX `create_by`(`create_by`) USING BTREE,
                                    INDEX `update_by`(`update_by`) USING BTREE,
                                    INDEX `f_batch_vaccine_ibfk_1`(`batch_num`) USING BTREE,
                                    CONSTRAINT `f_batch_vaccine_ibfk_1` FOREIGN KEY (`batch_num`) REFERENCES `f_batch` (`batch_num`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                    CONSTRAINT `f_batch_vaccine_ibfk_2` FOREIGN KEY (`vaccine_sop_id`) REFERENCES `f_vaccine_sop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                    CONSTRAINT `f_batch_vaccine_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                    CONSTRAINT `f_batch_vaccine_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '批次疫苗管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_batch_vaccine
-- ----------------------------
INSERT INTO `f_batch_vaccine` VALUES (6, 'N06-250723', 1, 0, 100, 1, '2025-07-31 17:23:42', 1, '2025-07-31 17:23:42', NULL, '0');

-- ----------------------------
-- Table structure for f_breeding_egg
-- ----------------------------
DROP TABLE IF EXISTS `f_breeding_egg`;
CREATE TABLE `f_breeding_egg`  (
                                   `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '种蛋ID',
                                   `cage_id` bigint(20) NULL DEFAULT NULL COMMENT '鸡笼ID（关联f_chicken_cage）',
                                   `female_chicken_id` bigint(20) NOT NULL COMMENT '母鸡ID（关联f_chicken）',
                                   `family_num` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '家系配种ID（关联f_family）',
                                   `egg_count` int(11) NOT NULL DEFAULT 0 COMMENT '产蛋数',
                                   `egg_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '蛋分类（0:好种蛋, 1:好菜蛋, 2:畸形蛋, 3:破蛋）',
                                   `lay_date` date NOT NULL COMMENT '产蛋日期',
                                   `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                   `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                   `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                   `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                   `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                   `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                   `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                   PRIMARY KEY (`id`) USING BTREE,
                                   INDEX `cage_id`(`cage_id`) USING BTREE,
                                   INDEX `female_chicken_id`(`female_chicken_id`) USING BTREE,
                                   INDEX `breed_pair_id`(`family_num`) USING BTREE,
                                   INDEX `create_by`(`create_by`) USING BTREE,
                                   INDEX `update_by`(`update_by`) USING BTREE,
                                   CONSTRAINT `f_breeding_egg_ibfk_1` FOREIGN KEY (`cage_id`) REFERENCES `f_chicken_cage` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_breeding_egg_ibfk_2` FOREIGN KEY (`female_chicken_id`) REFERENCES `f_chicken` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_breeding_egg_ibfk_4` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_breeding_egg_ibfk_5` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '种蛋管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_breeding_egg
-- ----------------------------
INSERT INTO `f_breeding_egg` VALUES (1, 1, 6, NULL, 1, 0, '2025-07-30', 100, 1, '2025-07-30 08:16:18', 1, '2025-07-30 08:16:18', NULL, '0');
INSERT INTO `f_breeding_egg` VALUES (2, 1, 6, '000-001', 50, 0, '2025-07-31', 100, 1, '2025-07-31 11:10:44', 1, '2025-07-31 11:10:44', NULL, '0');
INSERT INTO `f_breeding_egg` VALUES (3, 1, 6, '000-001', 78, 1, '2025-07-31', 100, 1, '2025-07-31 11:10:44', 1, '2025-07-31 11:10:44', NULL, '0');
INSERT INTO `f_breeding_egg` VALUES (4, 1, 6, '000-001', 10, 2, '2025-07-31', 100, 1, '2025-07-31 11:10:44', 1, '2025-07-31 11:10:44', NULL, '0');
INSERT INTO `f_breeding_egg` VALUES (5, 1, 6, '000-001', 5, 3, '2025-07-31', 100, 1, '2025-07-31 11:10:44', 1, '2025-07-31 11:10:44', NULL, '0');

-- ----------------------------
-- Table structure for f_cage_change
-- ----------------------------
DROP TABLE IF EXISTS `f_cage_change`;
CREATE TABLE `f_cage_change`  (
                                  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '换笼记录ID',
                                  `source_cage_id` bigint(20) NOT NULL COMMENT '源鸡笼ID（关联f_chicken_cage）',
                                  `target_cage_id` bigint(20) NOT NULL COMMENT '目标鸡笼ID（关联f_chicken_cage）',
                                  `chicken_id` bigint(20) NOT NULL COMMENT '鸡只ID（关联f_chicken）',
                                  `bind_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '换笼绑定时间',
                                  `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:待处理, 1:已确认, 2:作废）',
                                  `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                  `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                  `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                  `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                  `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                  PRIMARY KEY (`id`) USING BTREE,
                                  INDEX `source_cage_id`(`source_cage_id`) USING BTREE,
                                  INDEX `target_cage_id`(`target_cage_id`) USING BTREE,
                                  INDEX `chicken_id`(`chicken_id`) USING BTREE,
                                  INDEX `create_by`(`create_by`) USING BTREE,
                                  INDEX `update_by`(`update_by`) USING BTREE,
                                  CONSTRAINT `f_cage_change_ibfk_1` FOREIGN KEY (`source_cage_id`) REFERENCES `f_chicken_cage` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                  CONSTRAINT `f_cage_change_ibfk_2` FOREIGN KEY (`target_cage_id`) REFERENCES `f_chicken_cage` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                  CONSTRAINT `f_cage_change_ibfk_3` FOREIGN KEY (`chicken_id`) REFERENCES `f_chicken` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                  CONSTRAINT `f_cage_change_ibfk_4` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                  CONSTRAINT `f_cage_change_ibfk_5` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '换笼管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_cage_change
-- ----------------------------
INSERT INTO `f_cage_change` VALUES (1, 1, 1, 6, '2025-07-28 00:00:00', 2, 100, 1, '2025-07-28 16:51:35', 1, '2025-07-28 16:51:35', NULL, '0');
INSERT INTO `f_cage_change` VALUES (2, 1, 3, 6, '2025-07-31 00:00:00', 1, 100, 1, '2025-07-31 13:13:20', 1, '2025-07-31 13:23:06', NULL, '0');
INSERT INTO `f_cage_change` VALUES (3, 1, 6, 7, '2025-07-31 13:36:58', 0, 100, 1, '2025-07-31 13:36:58', 1, '2025-07-31 13:36:58', NULL, '0');
INSERT INTO `f_cage_change` VALUES (4, 1, 6, 8, '2025-07-31 13:36:58', 0, 100, 1, '2025-07-31 13:36:58', 1, '2025-07-31 13:36:58', NULL, '0');
INSERT INTO `f_cage_change` VALUES (5, 1, 6, 9, '2025-07-31 13:36:58', 0, 100, 1, '2025-07-31 13:36:58', 1, '2025-07-31 13:36:58', NULL, '0');
INSERT INTO `f_cage_change` VALUES (6, 3, 1, 6, '2025-08-13 13:10:53', 1, 100, 1, '2025-08-13 13:47:34', 1, '2025-08-13 13:47:34', NULL, '0');
INSERT INTO `f_cage_change` VALUES (7, 1, 3, 7, '2025-08-13 13:10:53', 1, 100, 1, '2025-08-13 13:47:41', 1, '2025-08-13 13:47:41', NULL, '0');
INSERT INTO `f_cage_change` VALUES (8, 7, 6, 20, '2025-08-13 17:01:34', 1, 100, 1, '2025-08-13 17:01:36', 1, '2025-08-13 17:02:22', NULL, '0');
INSERT INTO `f_cage_change` VALUES (9, 7, 3, 20, '2025-08-12 17:01:34', 1, 100, 1, '2025-08-13 17:01:36', 1, '2025-08-13 18:04:26', NULL, '0');
INSERT INTO `f_cage_change` VALUES (10, 6, 1, 9, '2025-07-16 13:36:58', 0, 100, 1, '2025-07-31 13:36:58', 1, '2025-08-13 17:26:00', NULL, '0');
INSERT INTO `f_cage_change` VALUES (11, 3, 7, 20, '2025-08-12 17:01:34', 1, 100, 1, '2025-08-13 17:01:36', 1, '2025-08-13 18:04:11', NULL, '0');

-- ----------------------------
-- Table structure for f_chicken
-- ----------------------------
DROP TABLE IF EXISTS `f_chicken`;
CREATE TABLE `f_chicken`  (
                              `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '鸡只ID',
                              `batch_num` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次号（关联f_batch）',
                              `gender` tinyint(4) NOT NULL DEFAULT 0 COMMENT '性别（0:公, 1:母）',
                              `hatch_date` date NOT NULL COMMENT '出生日期',
                              `wing_tag_num` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '翅号Num（关联f_wing_tag）',
                              `electronic_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '电子编号（RFID或唯一标识）',
                              `leg_tag` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '脚号',
                              `family_id` bigint(20) NULL DEFAULT NULL COMMENT '家系ID（可为空）',
                              `cage_id` bigint(20) NOT NULL COMMENT '笼ID（关联f_chicken_cage）',
                              `cull_time` datetime NULL DEFAULT NULL COMMENT '淘汰时间',
                              `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:在养, 1:已淘汰, 2:死亡）',
                              `cull_reason` tinyint(4) NULL DEFAULT NULL COMMENT '淘汰原因（“病鸡”、“弱鸡”、“实验”、“老化\r\n（性能下降）”）',
                              `disposal_method` tinyint(255) NULL DEFAULT NULL COMMENT '处置方式（如“无害化”，“食堂”，“屠宰场”等）',
                              `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                              `create_by` bigint(20) NOT NULL COMMENT '创建人',
                              `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                              `update_by` bigint(20) NOT NULL COMMENT '更新人',
                              `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                              `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                              `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                              PRIMARY KEY (`id`) USING BTREE,
                              INDEX `wing_tag_num`(`wing_tag_num`) USING BTREE,
                              INDEX `cage_id`(`cage_id`) USING BTREE,
                              INDEX `create_by`(`create_by`) USING BTREE,
                              INDEX `update_by`(`update_by`) USING BTREE,
                              INDEX `f_chicken_ibfk_1`(`batch_num`) USING BTREE,
                              CONSTRAINT `f_chicken_ibfk_1` FOREIGN KEY (`batch_num`) REFERENCES `f_batch` (`batch_num`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                              CONSTRAINT `f_chicken_ibfk_2` FOREIGN KEY (`wing_tag_num`) REFERENCES `f_wing_tag` (`wing_tag_num`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                              CONSTRAINT `f_chicken_ibfk_3` FOREIGN KEY (`cage_id`) REFERENCES `f_chicken_cage` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                              CONSTRAINT `f_chicken_ibfk_4` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                              CONSTRAINT `f_chicken_ibfk_5` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '鸡只个体信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_chicken
-- ----------------------------
INSERT INTO `f_chicken` VALUES (3, 'M09-250717', 0, '2025-07-17', '000000', NULL, NULL, NULL, 1, '2025-07-11 00:00:00', 1, 0, 0, 100, 1, '2025-07-24 10:45:21', 1, '2025-07-28 13:35:42', NULL, '0');
INSERT INTO `f_chicken` VALUES (4, 'M09-250717', 1, '2025-07-17', '000001', NULL, NULL, NULL, 1, '2025-07-11 00:00:00', 1, 0, 0, 100, 1, '2025-07-24 10:46:44', 1, '2025-07-28 13:35:42', NULL, '0');
INSERT INTO `f_chicken` VALUES (5, 'M09-250717', 1, '2025-07-17', '000002', NULL, NULL, NULL, 2, '2025-07-11 00:00:00', 1, 0, 0, 100, 1, '2025-07-25 09:40:52', 1, '2025-07-28 13:35:42', NULL, '0');
INSERT INTO `f_chicken` VALUES (6, 'N06-250723', 1, '2025-07-23', '000010', NULL, NULL, NULL, 1, NULL, 0, NULL, NULL, 100, 1, '2025-07-28 15:22:15', 1, '2025-08-13 13:47:38', NULL, '0');
INSERT INTO `f_chicken` VALUES (7, 'N06-250723', 1, '2025-07-23', '000011', NULL, NULL, NULL, 3, NULL, 0, NULL, NULL, 100, 1, '2025-07-28 15:22:15', 1, '2025-08-13 13:47:43', NULL, '0');
INSERT INTO `f_chicken` VALUES (8, 'N06-250723', 0, '2025-07-23', '000012', NULL, NULL, NULL, 1, NULL, 0, NULL, NULL, 100, 1, '2025-07-28 15:22:15', 1, '2025-07-28 15:22:15', NULL, '0');
INSERT INTO `f_chicken` VALUES (9, 'N06-250723', 0, '2025-07-23', '000013', NULL, NULL, NULL, 1, NULL, 0, NULL, NULL, 100, 1, '2025-07-28 15:22:15', 1, '2025-07-28 15:22:15', NULL, '0');
INSERT INTO `f_chicken` VALUES (20, 'N06-250813', 0, '2025-08-13', '000018', NULL, NULL, NULL, 6, NULL, 0, NULL, NULL, 100, 1, '2025-08-13 17:01:13', 1, '2025-08-13 17:02:22', NULL, '0');

-- ----------------------------
-- Table structure for f_chicken_cage
-- ----------------------------
DROP TABLE IF EXISTS `f_chicken_cage`;
CREATE TABLE `f_chicken_cage`  (
                                   `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '鸡笼ID',
                                   `cage_num` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '鸡笼编号',
                                   `chicken_coop_id` int(11) NOT NULL COMMENT '鸡舍ID（关联鸡舍表）',
                                   `manager` bigint(20) NULL DEFAULT NULL COMMENT '管理员（关联用户ID）',
                                   `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '状态（0:正常 1:异常）',
                                   `max_capacity` int(11) NOT NULL DEFAULT 0 COMMENT '最大容量',
                                   `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                                   `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                                   `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                                   `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                                   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                                   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                                   `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 1代表删除）',
                                   PRIMARY KEY (`id`) USING BTREE,
                                   INDEX `manager`(`manager`) USING BTREE,
                                   INDEX `f_chicken_cage_ibfk_1`(`chicken_coop_id`) USING BTREE,
                                   CONSTRAINT `f_chicken_cage_ibfk_1` FOREIGN KEY (`chicken_coop_id`) REFERENCES `f_chicken_coop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_chicken_cage_ibfk_2` FOREIGN KEY (`manager`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '鸡笼信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_chicken_cage
-- ----------------------------
INSERT INTO `f_chicken_cage` VALUES (1, 'CD17-001', 1, NULL, 0, 100, 100, 1, '2025-07-17 09:24:51', 1, '2025-07-17 09:24:51', NULL, '0');
INSERT INTO `f_chicken_cage` VALUES (2, 'CD17-002', 1, NULL, 0, 100, 100, 1, '2025-07-17 09:34:15', 1, '2025-07-17 09:34:15', NULL, '0');
INSERT INTO `f_chicken_cage` VALUES (3, 'YC14-001', 2, NULL, 0, 100, 100, 1, '2025-07-29 19:58:30', 1, '2025-07-29 19:58:30', NULL, '0');
INSERT INTO `f_chicken_cage` VALUES (4, 'YC14-002', 2, NULL, 0, 100, 100, 1, '2025-07-29 19:59:24', 1, '2025-07-29 19:59:24', NULL, '0');
INSERT INTO `f_chicken_cage` VALUES (6, 'YC14-003', 2, NULL, 0, 100, 100, 1, '2025-07-29 20:05:24', 1, '2025-07-29 20:05:24', NULL, '0');
INSERT INTO `f_chicken_cage` VALUES (7, 'CD17-003', 1, NULL, 0, 1000, 100, 1, '2025-07-29 20:06:12', 1, '2025-07-29 20:06:12', NULL, '0');

-- ----------------------------
-- Table structure for f_chicken_coop
-- ----------------------------
DROP TABLE IF EXISTS `f_chicken_coop`;
CREATE TABLE `f_chicken_coop`  (
                                   `id` int(11) NOT NULL AUTO_INCREMENT,
                                   `coop_num` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '鸡舍编号',
                                   `coop_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '鸡舍名称',
                                   `standard_cage_num` int(11) NULL DEFAULT NULL COMMENT '标准笼子数量',
                                   `status` tinyint(1) NULL DEFAULT NULL COMMENT '状态(0:正常 1:异常)',
                                   `factory` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '厂区',
                                   `manager` bigint(20) NULL DEFAULT NULL COMMENT '管理员',
                                   `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                                   `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
                                   `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                                   `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                                   `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                                   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                                   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                                   PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_chicken_coop
-- ----------------------------
INSERT INTO `f_chicken_coop` VALUES (1, 'CD17', '测定17号鸡舍', 50, 0, 'SD', 1, 100, '0', 1, '2025-07-16 19:13:51', 1, '2025-07-17 10:39:35', NULL);
INSERT INTO `f_chicken_coop` VALUES (2, 'YC14', '育成14号鸡舍', 22, 0, 'SD', 1, 100, '0', 1, '2025-07-17 09:59:30', 1, '2025-07-17 10:39:15', NULL);

-- ----------------------------
-- Table structure for f_chicken_drug
-- ----------------------------
DROP TABLE IF EXISTS `f_chicken_drug`;
CREATE TABLE `f_chicken_drug`  (
                                   `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '个体用药ID',
                                   `chicken_id` bigint(20) NOT NULL COMMENT '鸡只ID（关联f_chicken）',
                                   `drug_sop_id` bigint(20) NOT NULL COMMENT '药品SOPID（关联f_drug_sop）',
                                   `status` tinyint(4) NOT NULL COMMENT '绑定状态（0:已绑定, 1:已解绑）',
                                   `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                   `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                   `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                   `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                   `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                   `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                   `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                   PRIMARY KEY (`id`) USING BTREE,
                                   INDEX `chicken_id`(`chicken_id`) USING BTREE,
                                   INDEX `drug_sop_id`(`drug_sop_id`) USING BTREE,
                                   INDEX `create_by`(`create_by`) USING BTREE,
                                   INDEX `update_by`(`update_by`) USING BTREE,
                                   CONSTRAINT `f_chicken_drug_ibfk_1` FOREIGN KEY (`chicken_id`) REFERENCES `f_chicken` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_chicken_drug_ibfk_2` FOREIGN KEY (`drug_sop_id`) REFERENCES `f_drug_sop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_chicken_drug_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_chicken_drug_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '个体用药管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_chicken_drug
-- ----------------------------
INSERT INTO `f_chicken_drug` VALUES (3, 4, 2, 0, 100, 1, '2025-07-25 09:28:40', 1, '2025-07-25 09:28:40', NULL, '0');
INSERT INTO `f_chicken_drug` VALUES (4, 5, 2, 0, 100, 1, '2025-07-25 09:41:07', 1, '2025-07-25 09:41:07', NULL, '0');

-- ----------------------------
-- Table structure for f_chicken_feed
-- ----------------------------
DROP TABLE IF EXISTS `f_chicken_feed`;
CREATE TABLE `f_chicken_feed`  (
                                   `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '个体饲喂ID',
                                   `chicken_id` bigint(20) NOT NULL COMMENT '鸡只ID（关联f_chicken）',
                                   `feed_sop_id` bigint(20) NOT NULL COMMENT '饲喂SOPID（关联f_feed_sop）',
                                   `status` tinyint(4) NOT NULL COMMENT '绑定状态（0:已绑定, 1:已解绑）',
                                   `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                   `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                   `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                   `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                   `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                   `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                   `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                   PRIMARY KEY (`id`) USING BTREE,
                                   INDEX `chicken_id`(`chicken_id`) USING BTREE,
                                   INDEX `feed_sop_id`(`feed_sop_id`) USING BTREE,
                                   INDEX `create_by`(`create_by`) USING BTREE,
                                   INDEX `update_by`(`update_by`) USING BTREE,
                                   CONSTRAINT `f_chicken_feed_ibfk_1` FOREIGN KEY (`chicken_id`) REFERENCES `f_chicken` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_chicken_feed_ibfk_2` FOREIGN KEY (`feed_sop_id`) REFERENCES `f_feed_sop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_chicken_feed_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                   CONSTRAINT `f_chicken_feed_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '个体饲喂管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_chicken_feed
-- ----------------------------
INSERT INTO `f_chicken_feed` VALUES (7, 3, 2, 0, 100, 1, '2025-07-25 09:28:32', 1, '2025-07-25 09:47:55', NULL, '0');
INSERT INTO `f_chicken_feed` VALUES (8, 5, 3, 0, 100, 1, '2025-07-25 09:41:00', 1, '2025-07-25 09:41:00', NULL, '0');
INSERT INTO `f_chicken_feed` VALUES (9, 4, 2, 1, 100, 1, '2025-07-25 09:41:26', 1, '2025-07-25 09:47:48', NULL, '0');
INSERT INTO `f_chicken_feed` VALUES (10, 4, 2, 0, 100, 1, '2025-07-25 09:51:00', 1, '2025-07-25 09:51:53', NULL, '0');
INSERT INTO `f_chicken_feed` VALUES (11, 6, 2, 1, 100, 1, '2025-08-13 20:37:43', 1, '2025-08-14 08:48:49', NULL, '0');
INSERT INTO `f_chicken_feed` VALUES (12, 6, 4, 0, 100, 1, '2025-08-14 08:48:49', 1, '2025-08-14 08:48:49', NULL, '0');

-- ----------------------------
-- Table structure for f_chicken_metatarsal
-- ----------------------------
DROP TABLE IF EXISTS `f_chicken_metatarsal`;
CREATE TABLE `f_chicken_metatarsal`  (
                                         `id` bigint(20) NOT NULL AUTO_INCREMENT,
                                         `chicken_id` bigint(20) NOT NULL,
                                         `record_date` datetime NOT NULL,
                                         `metatarsal_length` double NOT NULL COMMENT '跖骨长(mm)',
                                         `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                         `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                         `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                         `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                         `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                         `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                         `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                         PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_chicken_metatarsal
-- ----------------------------
INSERT INTO `f_chicken_metatarsal` VALUES (1, 6, '2025-08-14 11:04:42', 13, 100, 1, '2025-08-14 11:04:42', 1, '2025-08-14 11:04:42', NULL, '0');
INSERT INTO `f_chicken_metatarsal` VALUES (2, 7, '2025-08-14 11:04:42', 14.5, 100, 1, '2025-08-14 11:04:42', 1, '2025-08-14 11:04:42', NULL, '0');
INSERT INTO `f_chicken_metatarsal` VALUES (3, 8, '2025-08-14 11:04:42', 15.52, 100, 1, '2025-08-14 11:04:42', 1, '2025-08-14 11:04:42', NULL, '0');

-- ----------------------------
-- Table structure for f_chicken_tibia
-- ----------------------------
DROP TABLE IF EXISTS `f_chicken_tibia`;
CREATE TABLE `f_chicken_tibia`  (
                                    `id` bigint(20) NOT NULL AUTO_INCREMENT,
                                    `chicken_id` bigint(20) NOT NULL,
                                    `record_date` datetime NOT NULL,
                                    `tibia_length` double NOT NULL,
                                    `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                    `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                    `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                    `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                    `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                    `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                    `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                    PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_chicken_tibia
-- ----------------------------
INSERT INTO `f_chicken_tibia` VALUES (1, 6, '2025-08-14 10:46:53', 23, 100, 1, '2025-08-14 10:46:53', 1, '2025-08-14 10:46:53', NULL, '0');
INSERT INTO `f_chicken_tibia` VALUES (2, 7, '2025-08-14 10:46:53', 24.5, 100, 1, '2025-08-14 10:46:53', 1, '2025-08-14 10:46:53', NULL, '0');
INSERT INTO `f_chicken_tibia` VALUES (3, 8, '2025-08-14 10:46:53', 25.52, 100, 1, '2025-08-14 10:46:53', 1, '2025-08-14 10:46:53', NULL, '0');

-- ----------------------------
-- Table structure for f_chicken_vaccine
-- ----------------------------
DROP TABLE IF EXISTS `f_chicken_vaccine`;
CREATE TABLE `f_chicken_vaccine`  (
                                      `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '个体疫苗ID',
                                      `chicken_id` bigint(20) NOT NULL COMMENT '鸡只ID（关联f_chicken）',
                                      `vaccine_sop_id` bigint(20) NOT NULL COMMENT '疫苗SOPID（关联f_vaccine_sop）',
                                      `status` tinyint(4) NOT NULL COMMENT '绑定状态（0:已绑定, 1:已解绑）',
                                      `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                      `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                      `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                      `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                      `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                      `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                      `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                      PRIMARY KEY (`id`) USING BTREE,
                                      INDEX `chicken_id`(`chicken_id`) USING BTREE,
                                      INDEX `vaccine_sop_id`(`vaccine_sop_id`) USING BTREE,
                                      INDEX `create_by`(`create_by`) USING BTREE,
                                      INDEX `update_by`(`update_by`) USING BTREE,
                                      CONSTRAINT `f_chicken_vaccine_ibfk_1` FOREIGN KEY (`chicken_id`) REFERENCES `f_chicken` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                      CONSTRAINT `f_chicken_vaccine_ibfk_2` FOREIGN KEY (`vaccine_sop_id`) REFERENCES `f_vaccine_sop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                      CONSTRAINT `f_chicken_vaccine_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                      CONSTRAINT `f_chicken_vaccine_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '个体疫苗管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_chicken_vaccine
-- ----------------------------
INSERT INTO `f_chicken_vaccine` VALUES (1, 4, 3, 1, 100, 1, '2025-07-25 09:34:10', 1, '2025-07-25 10:39:41', NULL, '0');
INSERT INTO `f_chicken_vaccine` VALUES (2, 4, 2, 1, 100, 1, '2025-07-25 10:39:41', 1, '2025-07-25 10:40:02', NULL, '0');
INSERT INTO `f_chicken_vaccine` VALUES (3, 4, 1, 0, 100, 1, '2025-07-25 10:40:02', 1, '2025-07-25 10:40:02', NULL, '0');

-- ----------------------------
-- Table structure for f_chicken_weight
-- ----------------------------
DROP TABLE IF EXISTS `f_chicken_weight`;
CREATE TABLE `f_chicken_weight`  (
                                     `id` bigint(20) NOT NULL AUTO_INCREMENT,
                                     `chicken_id` bigint(20) NOT NULL COMMENT '鸡只ID（关联f_chicken）',
                                     `record_date` date NOT NULL COMMENT '记录日期（YYYY-MM-DD格式）',
                                     `weight_value` double NOT NULL DEFAULT 0 COMMENT '体重值（单位：克）',
                                     `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                     `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                     `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                     `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                     `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                     `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                     `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                     PRIMARY KEY (`id`) USING BTREE,
                                     INDEX `create_by`(`create_by`) USING BTREE,
                                     INDEX `update_by`(`update_by`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '鸡体重信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_chicken_weight
-- ----------------------------
INSERT INTO `f_chicken_weight` VALUES (1, 7, '2025-07-29', 1.3, 100, 1, '2025-07-29 17:05:50', 1, '2025-07-29 17:05:50', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (2, 7, '2025-07-31', 1.5, 100, 1, '2025-07-31 11:39:24', 1, '2025-07-31 11:39:24', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (3, 8, '2025-07-31', 1.8, 100, 1, '2025-07-31 11:39:24', 1, '2025-07-31 11:39:24', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (4, 9, '2025-07-31', 2.3, 100, 1, '2025-07-31 11:39:24', 1, '2025-07-31 11:39:24', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (17, 6, '2025-08-13', 250, 100, 1, '2025-08-13 13:47:44', 1, '2025-08-13 13:47:44', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (18, 7, '2025-08-13', 350, 100, 1, '2025-08-13 13:47:44', 1, '2025-08-13 13:47:44', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (19, 6, '2025-08-13', 260, 100, 1, '2025-08-13 13:58:13', 1, '2025-08-13 13:58:13', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (20, 7, '2025-08-13', 360, 100, 1, '2025-08-13 13:58:13', 1, '2025-08-13 13:58:13', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (21, 6, '2025-08-13', 270, 100, 1, '2025-08-13 14:06:19', 1, '2025-08-13 14:06:19', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (22, 7, '2025-08-13', 370, 100, 1, '2025-08-13 14:06:20', 1, '2025-08-13 14:06:20', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (23, 6, '2025-08-13', 350, 100, 1, '2025-08-13 14:08:28', 1, '2025-08-13 14:08:28', NULL, '0');
INSERT INTO `f_chicken_weight` VALUES (24, 7, '2025-08-13', 450, 100, 1, '2025-08-13 14:08:28', 1, '2025-08-13 14:08:28', NULL, '0');

-- ----------------------------
-- Table structure for f_coop_egg_day
-- ----------------------------
DROP TABLE IF EXISTS `f_coop_egg_day`;
CREATE TABLE `f_coop_egg_day`  (
                                   `id` bigint(20) NOT NULL AUTO_INCREMENT,
                                   `coop_id` bigint(20) NULL DEFAULT NULL COMMENT '鸡舍ID',
                                   `egg_count` int(11) NULL DEFAULT NULL COMMENT '蛋数量',
                                   `egg_type` tinyint(4) NULL DEFAULT NULL COMMENT '蛋类型',
                                   `lay_date` date NULL DEFAULT NULL COMMENT '日期',
                                   `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                   `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                   `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                   `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                   `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                   `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                   `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                   PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_coop_egg_day
-- ----------------------------

-- ----------------------------
-- Table structure for f_drug
-- ----------------------------
DROP TABLE IF EXISTS `f_drug`;
CREATE TABLE `f_drug`  (
                           `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '药品ID',
                           `drug_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '药品名称',
                           `factory` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '生产厂家',
                           `production_date` date NOT NULL COMMENT '生产日期',
                           `expiration_date` date NOT NULL COMMENT '有效期',
                           `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:可用, 1:缺货, 2:过期）',
                           `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                           `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                           `create_by` bigint(20) NOT NULL COMMENT '创建人',
                           `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                           `update_by` bigint(20) NOT NULL COMMENT '更新人',
                           `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                           `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                           PRIMARY KEY (`id`) USING BTREE,
                           INDEX `create_by`(`create_by`) USING BTREE,
                           INDEX `update_by`(`update_by`) USING BTREE,
                           CONSTRAINT `f_drug_ibfk_1` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                           CONSTRAINT `f_drug_ibfk_2` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '药品信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_drug
-- ----------------------------
INSERT INTO `f_drug` VALUES (1, '氟苯尼考可溶性粉', '华牧动物药业有限公司', '2025-07-27', '2027-07-01', 0, '药品名称 ：氟苯尼考可溶性粉（Florfenicol Soluble Powder）\n主要成分 ：氟苯尼考\n作用 ：广谱抗菌药，主要用于防治大肠杆菌病、沙门氏菌病、支原体感染等\n适用对象 ：鸡、鸭、鹅\n用法用量 ：每升水加入本品1克，连用3~5天\n剂型 ：白色粉末，易溶于水\n有效期 ：2026年9月\n储存条件 ：避光、密封保存于阴凉干燥处', 100, 1, '2025-07-15 10:01:55', 1, '2025-07-15 10:01:55', '0');
INSERT INTO `f_drug` VALUES (2, '阿莫西林可溶性粉', '瑞普动物保健品有限公司', '2025-07-27', '2027-07-01', 0, '药品名称 ：阿莫西林可溶性粉（Amoxicillin Soluble Powder）\n主要成分 ：阿莫西林三水合物\n作用 ：抗生素，用于治疗由革兰氏阳性菌和阴性菌引起的呼吸道、泌尿道和消化道感染\n适用对象 ：肉鸡、蛋鸡、鸭\n用法用量 ：按每1kg体重20mg计算，混入饮水中，每日2次，连用3~5天\n剂型 ：白色或类白色粉末\n有效期 ：2026年11月\n储存条件 ：遮光、密封、在阴凉处保存', 100, 1, '2025-07-15 10:02:37', 1, '2025-07-15 10:02:37', '0');
INSERT INTO `f_drug` VALUES (3, '盐酸多西环素可溶性粉', '中农威特生物药业有限公司', '2025-07-27', '2027-07-01', 0, '药品名称 ：盐酸多西环素可溶性粉（Doxycycline HCl）\n主要成分 ：四环素类抗生素\n作用 ：广谱抗菌，对支原体、衣原体、立克次氏体有效，常用于治疗慢性呼吸道病（CRD）\n适用对象 ：鸡、火鸡、鸭\n用法用量 ：每1L饮水加入本品1g，连用3~5天\n剂型 ：可溶性粉剂\n有效期 ：2027年1月\n储存条件 ：密封，在干燥处保存\n生产企业 ：中农威特生物药业有限公司', 100, 1, '2025-07-15 10:02:59', 1, '2025-07-15 10:02:59', '0');
INSERT INTO `f_drug` VALUES (4, '地美硝唑预混剂', '金宇动物药业股份有限公司', '2025-07-27', '2027-07-01', 0, '药品名称 ：地美硝唑预混剂（Dimetridazole Premix）\n主要成分 ：地美硝唑\n作用 ：抗滴虫药和抗菌促生长剂，主要用于防治禽组织滴虫病（黑头病）、坏死性肠炎\n适用对象 ：鸡、火鸡\n用法用量 ：按每1000kg饲料添加本品500g，连用5~7天\n剂型 ：预混剂，直接拌料使用\n有效期 ：2026年12月\n储存条件 ：密闭、防潮、避光保存\n生产企业 ：金宇动物药业股份有限公司', 100, 1, '2025-07-15 10:03:29', 1, '2025-07-15 10:03:29', '0');
INSERT INTO `f_drug` VALUES (5, '磺胺喹噁啉钠可溶性粉', '齐鲁动物保健科技有限公司', '2025-07-27', '2027-07-01', 0, '药品名称 ：磺胺喹噁啉钠可溶性粉\n主要成分 ：磺胺喹噁啉钠\n作用 ：抗球虫药，用于治疗和预防鸡的盲肠球虫和小肠球虫病\n适用对象 ：肉鸡、蛋鸡\n用法用量 ：每1L水加入本品1g，连用3~5天\n剂型 ：可溶性粉剂\n有效期 ：2026年7月\n储存条件 ：密封、避光、阴凉处保存', 100, 1, '2025-07-15 10:03:53', 1, '2025-07-15 10:03:53', '0');
INSERT INTO `f_drug` VALUES (6, '维生素C可溶性粉', '天康动物营养科技有限公司', '2025-07-27', '2027-07-01', 0, '药品名称 ：维生素C可溶性粉\n主要成分 ：维生素C（抗坏血酸）\n作用 ：增强免疫力，缓解应激反应（如转群、免疫、热应激等），促进生长\n适用对象 ：所有家禽\n用法用量 ：每1000只鸡每天使用50g，混入饮水中，连续使用3~5天\n剂型 ：白色可溶性粉剂\n有效期 ：2027年5月\n储存条件 ：密封、避光、阴凉干燥处保存', 100, 1, '2025-07-15 10:04:16', 1, '2025-07-15 10:04:16', '0');

-- ----------------------------
-- Table structure for f_drug_sop
-- ----------------------------
DROP TABLE IF EXISTS `f_drug_sop`;
CREATE TABLE `f_drug_sop`  (
                               `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '药品SOPID',
                               `sop_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'SOP名称',
                               `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:启用, 1:禁用, 2:维护中）',
                               `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                               `create_by` bigint(20) NOT NULL COMMENT '创建人',
                               `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                               `update_by` bigint(20) NOT NULL COMMENT '更新人',
                               `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                               `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                               `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                               PRIMARY KEY (`id`) USING BTREE,
                               INDEX `create_by`(`create_by`) USING BTREE,
                               INDEX `update_by`(`update_by`) USING BTREE,
                               CONSTRAINT `f_drug_sop_ibfk_1` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                               CONSTRAINT `f_drug_sop_ibfk_2` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '药品SOP主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_drug_sop
-- ----------------------------
INSERT INTO `f_drug_sop` VALUES (1, '家禽抗生素使用管理', 0, 100, 1, '2025-07-16 11:06:20', 1, '2025-07-16 11:06:20', NULL, '0');
INSERT INTO `f_drug_sop` VALUES (2, '家禽球虫病防治用药', 0, 100, 1, '2025-07-16 11:06:29', 1, '2025-07-16 11:06:29', NULL, '0');
INSERT INTO `f_drug_sop` VALUES (3, '家禽应激反应抗应激药物使用SOP', 0, 100, 1, '2025-07-16 11:06:46', 1, '2025-07-16 11:06:46', NULL, '0');

-- ----------------------------
-- Table structure for f_drug_sop_detail
-- ----------------------------
DROP TABLE IF EXISTS `f_drug_sop_detail`;
CREATE TABLE `f_drug_sop_detail`  (
                                      `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '详情ID',
                                      `drug_sop_id` bigint(20) NOT NULL COMMENT '药品SOPID（关联f_drug_sop）',
                                      `drug_id` bigint(20) NOT NULL COMMENT '药品ID（关联f_drug）',
                                      `start_age` int(11) NOT NULL COMMENT '开始日龄',
                                      `end_age` int(11) NOT NULL COMMENT '结束日龄',
                                      `dosage` double NOT NULL DEFAULT 0 COMMENT '剂量（单位:g/ml）',
                                      `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                      `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                      `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                      `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                      `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                      `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                      `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                      PRIMARY KEY (`id`) USING BTREE,
                                      INDEX `drug_sop_id`(`drug_sop_id`) USING BTREE,
                                      INDEX `drug_id`(`drug_id`) USING BTREE,
                                      INDEX `create_by`(`create_by`) USING BTREE,
                                      INDEX `update_by`(`update_by`) USING BTREE,
                                      CONSTRAINT `f_drug_sop_detail_ibfk_1` FOREIGN KEY (`drug_sop_id`) REFERENCES `f_drug_sop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                      CONSTRAINT `f_drug_sop_detail_ibfk_2` FOREIGN KEY (`drug_id`) REFERENCES `f_drug` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                      CONSTRAINT `f_drug_sop_detail_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                      CONSTRAINT `f_drug_sop_detail_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '药品SOP详情表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_drug_sop_detail
-- ----------------------------
INSERT INTO `f_drug_sop_detail` VALUES (1, 1, 2, 20, 50, 11, 100, 1, '2025-07-16 11:11:58', 1, '2025-07-17 16:35:14', NULL, '0');
INSERT INTO `f_drug_sop_detail` VALUES (2, 2, 3, 6, 15, 10, 100, 1, '2025-07-31 16:47:20', 1, '2025-07-31 16:47:20', NULL, '0');
INSERT INTO `f_drug_sop_detail` VALUES (3, 3, 5, 8, 17, 10, 100, 1, '2025-07-31 16:47:41', 1, '2025-07-31 16:47:41', NULL, '0');

-- ----------------------------
-- Table structure for f_family
-- ----------------------------
DROP TABLE IF EXISTS `f_family`;
CREATE TABLE `f_family`  (
                             `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '配种记录ID',
                             `family_num` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '家系号',
                             `male_chicken_id` bigint(20) NOT NULL COMMENT '公鸡ID（关联f_chicken）',
                             `female_chicken_id` bigint(20) NOT NULL COMMENT '母鸡ID（关联f_chicken）',
                             `breed_date` date NOT NULL COMMENT '配种日期',
                             `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:正常, 1:异常）',
                             `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                             `create_by` bigint(20) NOT NULL COMMENT '创建人',
                             `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                             `update_by` bigint(20) NOT NULL COMMENT '更新人',
                             `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                             `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                             `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                             PRIMARY KEY (`id`) USING BTREE,
                             INDEX `male_chicken_id`(`male_chicken_id`) USING BTREE,
                             INDEX `female_chicken_id`(`female_chicken_id`) USING BTREE,
                             INDEX `create_by`(`create_by`) USING BTREE,
                             INDEX `update_by`(`update_by`) USING BTREE,
                             CONSTRAINT `f_family_ibfk_1` FOREIGN KEY (`male_chicken_id`) REFERENCES `f_chicken` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                             CONSTRAINT `f_family_ibfk_2` FOREIGN KEY (`female_chicken_id`) REFERENCES `f_chicken` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                             CONSTRAINT `f_family_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                             CONSTRAINT `f_family_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '家系配种管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_family
-- ----------------------------
INSERT INTO `f_family` VALUES (1, '000-001', 3, 4, '2025-07-23', 0, 100, 1, '2025-07-24 10:49:54', 1, '2025-07-31 14:00:09', NULL, '0');
INSERT INTO `f_family` VALUES (2, '012-010', 8, 6, '2025-07-31', 0, 100, 1, '2025-07-31 14:01:36', 1, '2025-07-31 14:01:36', NULL, '0');

-- ----------------------------
-- Table structure for f_feed
-- ----------------------------
DROP TABLE IF EXISTS `f_feed`;
CREATE TABLE `f_feed`  (
                           `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '饲料ID',
                           `feed_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '饲料名称',
                           `composition_ratio` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '饲料成分及含量（配比）',
                           `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:可用, 1:缺货, 2:过期）',
                           `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                           `create_by` bigint(20) NOT NULL COMMENT '创建人',
                           `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                           `update_by` bigint(20) NOT NULL COMMENT '更新人',
                           `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                           `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                           `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                           PRIMARY KEY (`id`) USING BTREE,
                           INDEX `create_by`(`create_by`) USING BTREE,
                           INDEX `update_by`(`update_by`) USING BTREE,
                           CONSTRAINT `f_feed_ibfk_1` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                           CONSTRAINT `f_feed_ibfk_2` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '饲料信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_feed
-- ----------------------------
INSERT INTO `f_feed` VALUES (1, '豆粕', '70%都脂蛋白', 0, 100, 1, '2025-07-14 17:04:41', 1, '2025-07-14 17:09:52', '11111111111111111111111', '0');
INSERT INTO `f_feed` VALUES (2, '玉米', '碳水化合物70% 左右，蛋白质8~10%', 0, 100, 1, '2025-07-14 17:06:11', 1, '2025-07-14 17:06:11', '11111111111111111111111', '0');
INSERT INTO `f_feed` VALUES (3, '高粱、大麦', '在部分地区使用，需注意抗营养因子', 0, 100, 1, '2025-07-14 17:08:27', 1, '2025-07-14 17:08:27', '11111111111111111111111', '0');
INSERT INTO `f_feed` VALUES (4, '鱼粉 ', '优质蛋白来源，富含赖氨酸、蛋氨酸和钙磷。', 0, 100, 1, '2025-07-14 17:08:53', 1, '2025-07-14 17:08:53', '11111111111111111111111', '0');
INSERT INTO `f_feed` VALUES (5, '肉骨粉', '用于补充蛋白和矿物质', 0, 100, 1, '2025-07-14 17:09:28', 1, '2025-07-14 17:09:28', '11111111111111111111111', '0');
INSERT INTO `f_feed` VALUES (6, '酶制剂', '帮助消化，如植酸酶、蛋白酶', 0, 100, 1, '2025-07-14 17:10:30', 1, '2025-07-14 17:10:37', '11111111111111111111111', '1');

-- ----------------------------
-- Table structure for f_feed_sop
-- ----------------------------
DROP TABLE IF EXISTS `f_feed_sop`;
CREATE TABLE `f_feed_sop`  (
                               `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '饲养指标ID',
                               `sop_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'SOP名称',
                               `gender` tinyint(4) NOT NULL DEFAULT 0 COMMENT '性别（0:公, 1:母）',
                               `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:启用, 1:禁用, 2:维护中）',
                               `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                               `create_by` bigint(20) NOT NULL COMMENT '创建人',
                               `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                               `update_by` bigint(20) NOT NULL COMMENT '更新人',
                               `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                               `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                               `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                               PRIMARY KEY (`id`) USING BTREE,
                               INDEX `create_by`(`create_by`) USING BTREE,
                               INDEX `update_by`(`update_by`) USING BTREE,
                               CONSTRAINT `f_feed_sop_ibfk_1` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                               CONSTRAINT `f_feed_sop_ibfk_2` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '饲养指标主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_feed_sop
-- ----------------------------
INSERT INTO `f_feed_sop` VALUES (1, 'demo_feed_sop1', 0, 0, 100, 1, '2025-07-15 10:58:27', 1, '2025-07-15 16:41:55', NULL, '1');
INSERT INTO `f_feed_sop` VALUES (2, '育雏期饲养指标', 0, 0, 100, 1, '2025-07-15 15:03:44', 1, '2025-07-31 15:37:50', NULL, '0');
INSERT INTO `f_feed_sop` VALUES (3, '生长期饲养指标', 1, 0, 100, 1, '2025-07-16 17:21:54', 1, '2025-07-31 15:58:20', NULL, '0');
INSERT INTO `f_feed_sop` VALUES (4, '育成期饲养指标', 0, 0, 100, 1, '2025-07-31 15:59:25', 1, '2025-07-31 15:59:25', NULL, '0');
INSERT INTO `f_feed_sop` VALUES (5, '产蛋期饲养指标 (169日龄以上)', 0, 0, 100, 1, '2025-07-31 16:00:13', 1, '2025-07-31 16:00:13', NULL, '0');

-- ----------------------------
-- Table structure for f_feed_sop_detail
-- ----------------------------
DROP TABLE IF EXISTS `f_feed_sop_detail`;
CREATE TABLE `f_feed_sop_detail`  (
                                      `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '详情ID',
                                      `feed_sop_id` bigint(20) NOT NULL COMMENT '饲养指标ID（关联f_breed_sop）',
                                      `start_age` int(11) NOT NULL COMMENT '起始日龄',
                                      `end_age` int(11) NOT NULL COMMENT '停止日龄',
                                      `feed_id` bigint(20) NOT NULL COMMENT '饲料ID（关联饲料表）',
                                      `feeding_standard` double NOT NULL DEFAULT 0 COMMENT '饲喂标准（单位:g）',
                                      `target_weight` double NOT NULL DEFAULT 0 COMMENT '目标体重（单位:g）',
                                      `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                      `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                      `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                      `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                      `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                      `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                      `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                      PRIMARY KEY (`id`) USING BTREE,
                                      INDEX `breed_sop_id`(`feed_sop_id`) USING BTREE,
                                      INDEX `feed_id`(`feed_id`) USING BTREE,
                                      INDEX `create_by`(`create_by`) USING BTREE,
                                      INDEX `update_by`(`update_by`) USING BTREE,
                                      CONSTRAINT `f_feed_sop_detail_ibfk_1` FOREIGN KEY (`feed_sop_id`) REFERENCES `f_feed_sop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                      CONSTRAINT `f_feed_sop_detail_ibfk_2` FOREIGN KEY (`feed_id`) REFERENCES `f_feed` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                      CONSTRAINT `f_feed_sop_detail_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                      CONSTRAINT `f_feed_sop_detail_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '饲养指标详情表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_feed_sop_detail
-- ----------------------------
INSERT INTO `f_feed_sop_detail` VALUES (1, 1, 20250715, 20250731, 1, 10, 10, 100, 1, '2025-07-15 11:46:36', 1, '2025-07-15 16:37:05', NULL, '1');
INSERT INTO `f_feed_sop_detail` VALUES (2, 2, 0, 7, 1, 500, 14, 100, 1, '2025-07-15 15:43:06', 1, '2025-07-31 15:38:53', '目标体重5kg,每天500G', '0');
INSERT INTO `f_feed_sop_detail` VALUES (3, 2, 8, 21, 3, 1000, 16, 100, 1, '2025-07-15 16:09:35', 1, '2025-07-31 15:39:24', '8-21日龄: 雏鸡成长饲料 (蛋白约19-20%', '0');
INSERT INTO `f_feed_sop_detail` VALUES (4, 2, 20250722, 20250731, 4, 40, 11, 100, 1, '2025-07-15 16:10:59', 1, '2025-07-15 16:11:21', NULL, '1');
INSERT INTO `f_feed_sop_detail` VALUES (5, 3, 43, 98, 4, 500, 25, 100, 1, '2025-07-31 15:59:09', 1, '2025-07-31 15:59:09', '43-70日龄: 生长鸡饲料 (蛋白约16-18%)', '0');
INSERT INTO `f_feed_sop_detail` VALUES (6, 4, 99, 140, 5, 500, 25, 100, 1, '2025-07-31 15:59:56', 1, '2025-07-31 15:59:56', '99-140日龄: 育成鸡饲料 (蛋白约14-15%)', '0');
INSERT INTO `f_feed_sop_detail` VALUES (7, 5, 141, 168, 3, 1000, 35, 100, 1, '2025-07-31 16:01:02', 1, '2025-07-31 16:01:02', '高产期饲料 (蛋白约16%,钙约3.8-4.0%', '0');

-- ----------------------------
-- Table structure for f_incubation
-- ----------------------------
DROP TABLE IF EXISTS `f_incubation`;
CREATE TABLE `f_incubation`  (
                                 `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '入孵记录ID',
                                 `incubation_batch_num` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '孵化批次号（唯一标识）',
                                 `family_num` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '家系配种ID（关联f_family）',
                                 `female_chicken_id` bigint(20) NOT NULL COMMENT '母系ID',
                                 `batch_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次名称',
                                 `variety_id` bigint(20) NULL DEFAULT NULL COMMENT '品系ID（关联f_variety）',
                                 `variety_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '品种（复制字段，不随原表变动）',
                                 `lineage` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '系别（复制字段，不随原表变动）',
                                 `generation` int(11) NOT NULL DEFAULT 0 COMMENT '代数（复制字段，不随原表变动）',
                                 `incubation_count` int(11) NOT NULL DEFAULT 0 COMMENT '入孵数量',
                                 `light_egg_count` int(11) NOT NULL DEFAULT 0 COMMENT '光蛋数量',
                                 `dead_sperm_egg_count` int(11) NOT NULL DEFAULT 0 COMMENT '死精蛋数量',
                                 `dead_embryo_egg_count` int(11) NOT NULL DEFAULT 0 COMMENT '死坯胎数量',
                                 `weak_chick_count` int(11) NOT NULL DEFAULT 0 COMMENT '弱雏数量',
                                 `other_discard_count` int(11) NOT NULL DEFAULT 0 COMMENT '其它淘汰数量',
                                 `upload_date` date NOT NULL COMMENT '入孵日期',
                                 `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                 `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                 `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                 `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                 `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                 `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                 `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                 PRIMARY KEY (`id`) USING BTREE,
                                 INDEX `breed_pair_id`(`family_num`) USING BTREE,
                                 INDEX `breed_id`(`variety_id`) USING BTREE,
                                 INDEX `female_id`(`female_chicken_id`) USING BTREE,
                                 INDEX `create_by`(`create_by`) USING BTREE,
                                 INDEX `update_by`(`update_by`) USING BTREE,
                                 CONSTRAINT `f_incubation_ibfk_2` FOREIGN KEY (`variety_id`) REFERENCES `f_variety` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                 CONSTRAINT `f_incubation_ibfk_3` FOREIGN KEY (`female_chicken_id`) REFERENCES `f_chicken` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                 CONSTRAINT `f_incubation_ibfk_4` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                 CONSTRAINT `f_incubation_ibfk_5` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '入孵管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_incubation
-- ----------------------------
INSERT INTO `f_incubation` VALUES (1, 'P00001', '000-001', 4, 'iii001', NULL, '白羽鸡', 'M', 9, 1000, 2, 5, 5, 3, 3, '2025-07-31', 100, 1, '2025-07-31 10:23:29', 1, '2025-07-31 10:23:29', NULL, '0');
INSERT INTO `f_incubation` VALUES (2, 'P00002', '000-001', 4, '1112', NULL, '白羽鸡', 'M', 9, 50, 3, 2, 3, 2, 0, '2025-07-30', 100, 1, '2025-07-31 10:54:43', 1, '2025-07-31 10:54:43', NULL, '0');

-- ----------------------------
-- Table structure for f_measure
-- ----------------------------
DROP TABLE IF EXISTS `f_measure`;
CREATE TABLE `f_measure`  (
                              `id` bigint(20) NOT NULL AUTO_INCREMENT,
                              `measure_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '测定批次名称',
                              `batch_num` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '批次号',
                              `status` tinyint(4) NOT NULL,
                              `start_time` datetime NOT NULL COMMENT '起始日期',
                              `end_time` datetime NULL DEFAULT NULL COMMENT '结束日期',
                              `start_age` int(11) NOT NULL COMMENT '起始日龄',
                              `end_age` int(11) NULL DEFAULT NULL COMMENT '结束日龄',
                              `feed_id` bigint(20) NOT NULL COMMENT '饲料id',
                              `feed_sop_id` bigint(20) NOT NULL COMMENT '饲喂SOP',
                              `leg_disease_count` int(11) NOT NULL DEFAULT 0 COMMENT '腿病淘汰数',
                              `ascites_count` int(11) NOT NULL DEFAULT 0 COMMENT '腹水淘汰数',
                              `bacterial_count` int(11) NOT NULL DEFAULT 0 COMMENT '细菌感染淘汰数',
                              `trauma_count` int(11) NOT NULL DEFAULT 0 COMMENT '外伤淘汰数',
                              `other_count` int(11) NOT NULL DEFAULT 0 COMMENT '其它淘汰赛',
                              `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                              `create_by` bigint(20) NOT NULL COMMENT '创建人',
                              `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                              `update_by` bigint(20) NOT NULL COMMENT '更新人',
                              `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                              `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                              `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                              PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_measure
-- ----------------------------
INSERT INTO `f_measure` VALUES (1, '测定批次1', 'N06-250723', 0, '2025-08-12 13:53:40', NULL, 21, NULL, 1, 2, 0, 0, 0, 0, 0, 100, 1, '2025-08-12 14:01:09', 1, '2025-08-12 14:01:09', '都是', '0');

-- ----------------------------
-- Table structure for f_measure_detail
-- ----------------------------
DROP TABLE IF EXISTS `f_measure_detail`;
CREATE TABLE `f_measure_detail`  (
                                     `id` bigint(20) NOT NULL AUTO_INCREMENT,
                                     `measure_id` bigint(20) NOT NULL COMMENT '测定id',
                                     `chicken_id` bigint(20) NOT NULL COMMENT '个体id',
                                     `status` tinyint(4) NOT NULL COMMENT '测定中，结束，淘汰',
                                     `feed_count1` double NOT NULL COMMENT '饲料量1',
                                     `feed_count2` double NULL DEFAULT NULL COMMENT '饲料量2',
                                     `start_weight` double NOT NULL COMMENT '起始体重',
                                     `start_weight_time` datetime NOT NULL COMMENT '起始体重日期',
                                     `start_weight_age` int(11) NOT NULL COMMENT '起始体重日龄',
                                     `end_weight` double NULL DEFAULT NULL COMMENT '结束体重',
                                     `end_weight_time` datetime NULL DEFAULT NULL COMMENT '结束体重日期',
                                     `end_weight_age` int(11) NULL DEFAULT NULL COMMENT '结束体重日期',
                                     `middle_weight_info` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '中途体重信息',
                                     `cage_num` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '笼号',
                                     `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                     `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                     `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                     `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                     `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                     `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                     `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                     PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_measure_detail
-- ----------------------------
INSERT INTO `f_measure_detail` VALUES (13, 1, 6, 1, 100, 10, 250, '2025-08-13 13:10:53', 22, 350, '2025-08-13 13:54:09', 22, '[{\"weightTime\":\"2025-08-13 13:54:09\",\"weightAge\":22,\"weightValue\":260.0,\"createTime\":\"2025-08-13 13:58:10\"},{\"weightTime\":\"2025-08-13 13:54:09\",\"weightAge\":22,\"weightValue\":270.0,\"createTime\":\"2025-08-13 14:06:18\"}]', 'CD17-001', 100, 1, '2025-08-13 13:47:44', 1, '2025-08-13 14:08:28', NULL, '0');
INSERT INTO `f_measure_detail` VALUES (14, 1, 7, 1, 200, 70, 350, '2025-08-13 13:10:53', 22, 450, '2025-08-13 13:54:09', 22, '[{\"weightTime\":\"2025-08-13 13:54:09\",\"weightAge\":22,\"weightValue\":360.0,\"createTime\":\"2025-08-13 13:58:12\"},{\"weightTime\":\"2025-08-13 13:54:09\",\"weightAge\":22,\"weightValue\":370.0,\"createTime\":\"2025-08-13 14:06:18\"}]', 'YC14-001', 100, 1, '2025-08-13 13:47:44', 1, '2025-08-13 14:08:28', NULL, '0');

-- ----------------------------
-- Table structure for f_pull_out
-- ----------------------------
DROP TABLE IF EXISTS `f_pull_out`;
CREATE TABLE `f_pull_out`  (
                               `id` bigint(20) NOT NULL AUTO_INCREMENT,
                               `coop_id` bigint(20) NOT NULL COMMENT '鸡舍ID',
                               `pull_out_type` tinyint(4) NOT NULL COMMENT '外拉类型（0：祖代厂 1:食堂 2:实验室 3:菜蛋销售）',
                               `pull_out_date` datetime NOT NULL COMMENT '外拉时间',
                               `egg_count` int(11) NOT NULL COMMENT '数量',
                               `egg_type` tinyint(4) NOT NULL COMMENT '蛋的类型（0:好种蛋, 1:好菜蛋, 2:畸形蛋, 3:破蛋）',
                               `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                               `create_by` bigint(20) NOT NULL COMMENT '创建人',
                               `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                               `update_by` bigint(20) NOT NULL COMMENT '更新人',
                               `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                               `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                               `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                               PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_pull_out
-- ----------------------------
INSERT INTO `f_pull_out` VALUES (1, 1, 1, '2025-07-30 00:00:00', 30, 1, 100, 1, '2025-07-30 13:29:48', 1, '2025-07-31 09:10:05', '123123', '0');
INSERT INTO `f_pull_out` VALUES (2, 1, 2, '2025-07-31 00:00:00', 10, 0, 100, 1, '2025-07-31 11:01:21', 1, '2025-07-31 11:01:21', NULL, '0');
INSERT INTO `f_pull_out` VALUES (3, 2, 3, '2025-07-31 00:00:00', 100, 1, 100, 1, '2025-07-31 11:01:21', 1, '2025-07-31 11:01:21', NULL, '0');

-- ----------------------------
-- Table structure for f_vaccine
-- ----------------------------
DROP TABLE IF EXISTS `f_vaccine`;
CREATE TABLE `f_vaccine`  (
                              `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '疫苗ID',
                              `vaccine_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '疫苗名称',
                              `vaccine_type` tinyint(4) NOT NULL DEFAULT 0 COMMENT '疫苗种类（0:灭活疫苗, 1:活疫苗, 2:重组蛋白疫苗）',
                              `manufacturer` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '生产厂家',
                              `production_date` date NOT NULL COMMENT '生产日期',
                              `expiration_date` date NOT NULL COMMENT '有效期',
                              `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:可用, 1:缺货, 2:过期）',
                              `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                              `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                              `create_by` bigint(20) NOT NULL COMMENT '创建人',
                              `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                              `update_by` bigint(20) NOT NULL COMMENT '更新人',
                              `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                              `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                              PRIMARY KEY (`id`) USING BTREE,
                              INDEX `create_by`(`create_by`) USING BTREE,
                              INDEX `update_by`(`update_by`) USING BTREE,
                              CONSTRAINT `f_vaccine_ibfk_1` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                              CONSTRAINT `f_vaccine_ibfk_2` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '疫苗信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_vaccine
-- ----------------------------
INSERT INTO `f_vaccine` VALUES (1, '新城疫活疫苗（Lasota株）', 1, '华牧生物科技有限公司', '2025-07-08', '2026-11-19', 0, NULL, 100, 1, '2025-07-15 08:56:40', 1, '2025-07-15 08:56:40', '0');
INSERT INTO `f_vaccine` VALUES (2, '禽流感H5+H9二价灭活疫苗', 0, '瑞普生物制药股份有限公司', '2025-07-08', '2026-11-19', 0, '预防疾病 ：高致病性禽流感H5和H9\n亚型疫苗类型 ：油乳剂灭活疫苗\n推荐使用对象 ：蛋鸡、种鸡、鸭、鹅\n接种方式 ：颈部皮下注射', 100, 1, '2025-07-15 08:57:29', 1, '2025-07-15 08:57:29', '0');
INSERT INTO `f_vaccine` VALUES (3, '传染性法氏囊病活疫苗（B87株）', 1, '中农威特动物保健品有限公司', '2025-07-08', '2026-11-30', 0, '疫苗名称 ：IBD活疫苗（B87株）\n预防疾病 ：传染性法氏囊病\n疫苗类型 ：冻干活疫苗\n推荐使用对象 ：肉鸡、蛋鸡\n接种方式 ：饮水或滴口\n免疫期 ：3~4周\n有效期 ：2026年11月\n储存条件 ：-15℃以下保存', 100, 1, '2025-07-15 08:58:11', 1, '2025-07-15 08:58:11', '0');
INSERT INTO `f_vaccine` VALUES (4, '马立克氏病火鸡疱疹病毒疫苗（HVT）', 1, '金宇生物技术集团', '2025-07-08', '2026-11-30', 0, '疫苗名称 ：马立克氏病活疫苗（HVT株）\n预防疾病 ：马立克氏病（Marek’s Disease）\n疫苗类型 ：冻干活疫苗\n推荐使用对象 ：雏鸡\n接种方式 ：皮下注射（出壳后24小时内）\n免疫期 ：终身免疫\n有效期 ：2026年6月', 100, 1, '2025-07-15 08:58:37', 1, '2025-07-15 08:58:37', '0');
INSERT INTO `f_vaccine` VALUES (5, '传染性支气管炎活疫苗（H120株）', 1, '齐鲁动保生物科技有限公司', '2025-07-08', '2026-11-30', 0, '疫苗名称 ：IB活疫苗（H120株）\n预防疾病 ：鸡传染性支气管炎（Infectious Bronchitis）\n疫苗类型 ：冻干弱毒疫苗\n推荐使用对象 ：肉鸡、蛋鸡\n接种方式 ：滴鼻、点眼、饮水\n免疫期 ：3~4周\n有效期 ：2027年3月\n储存条件 ：-15℃以下避光保存', 100, 1, '2025-07-15 08:58:58', 1, '2025-07-15 08:58:58', '0');
INSERT INTO `f_vaccine` VALUES (6, ' 鸡痘活疫苗', 1, '天康畜牧科技有限公司', '2025-07-08', '2026-11-30', 0, '疫苗名称 ：鸡痘活疫苗（FPV株）\n预防疾病 ：鸡痘（Fowlpox）\n疫苗类型 ：冻干弱毒疫苗\n推荐使用对象 ：鸡、火鸡\n接种方式 ：翼膜刺种\n免疫期 ：6个月以上\n有效期 ：2026年10月\n储存条件 ：2~8℃冷藏保存', 100, 1, '2025-07-15 08:59:28', 1, '2025-07-15 08:59:28', '0');

-- ----------------------------
-- Table structure for f_vaccine_drug_conflict
-- ----------------------------
DROP TABLE IF EXISTS `f_vaccine_drug_conflict`;
CREATE TABLE `f_vaccine_drug_conflict`  (
                                            `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '冲突记录ID',
                                            `vaccine_id` bigint(20) NOT NULL COMMENT '疫苗ID（关联f_vaccine）',
                                            `drug_id` bigint(20) NOT NULL COMMENT '药品ID（关联f_drug）',
                                            `start_age` int(11) NOT NULL COMMENT '冲突开始日龄',
                                            `end_age` int(11) NOT NULL COMMENT '冲突结束日龄',
                                            `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                            `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                            `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                            `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                            `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                            `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                            `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                            PRIMARY KEY (`id`) USING BTREE,
                                            INDEX `vaccine_id`(`vaccine_id`) USING BTREE,
                                            INDEX `drug_id`(`drug_id`) USING BTREE,
                                            INDEX `create_by`(`create_by`) USING BTREE,
                                            INDEX `update_by`(`update_by`) USING BTREE,
                                            CONSTRAINT `f_vaccine_drug_conflict_ibfk_1` FOREIGN KEY (`vaccine_id`) REFERENCES `f_vaccine` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                            CONSTRAINT `f_vaccine_drug_conflict_ibfk_2` FOREIGN KEY (`drug_id`) REFERENCES `f_drug` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                            CONSTRAINT `f_vaccine_drug_conflict_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                            CONSTRAINT `f_vaccine_drug_conflict_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '疫苗与药品冲突记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_vaccine_drug_conflict
-- ----------------------------
INSERT INTO `f_vaccine_drug_conflict` VALUES (3, 1, 2, 3, 9, 100, 1, '2025-07-17 16:31:08', 1, '2025-07-17 16:31:08', NULL, '0');
INSERT INTO `f_vaccine_drug_conflict` VALUES (4, 1, 4, 4, 9, 100, 1, '2025-07-17 16:33:10', 1, '2025-07-17 16:33:10', NULL, '0');

-- ----------------------------
-- Table structure for f_vaccine_sop
-- ----------------------------
DROP TABLE IF EXISTS `f_vaccine_sop`;
CREATE TABLE `f_vaccine_sop`  (
                                  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '免疫SOPID',
                                  `sop_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '免疫计划名称',
                                  `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:启用, 1:禁用, 2:维护中）',
                                  `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                  `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                  `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                  `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                  `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                  PRIMARY KEY (`id`) USING BTREE,
                                  INDEX `create_by`(`create_by`) USING BTREE,
                                  INDEX `update_by`(`update_by`) USING BTREE,
                                  CONSTRAINT `f_vaccine_sop_ibfk_1` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                  CONSTRAINT `f_vaccine_sop_ibfk_2` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '免疫SOP主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_vaccine_sop
-- ----------------------------
INSERT INTO `f_vaccine_sop` VALUES (1, '肉鸡标准化免疫操作', 0, 100, 1, '2025-07-16 09:48:01', 1, '2025-07-16 09:48:01', NULL, '0');
INSERT INTO `f_vaccine_sop` VALUES (2, '蛋鸡全生命周期免疫', 0, 100, 1, '2025-07-16 09:48:11', 1, '2025-07-16 09:48:11', NULL, '0');
INSERT INTO `f_vaccine_sop` VALUES (3, '种鸡核心疾病母源抗体保护', 0, 100, 1, '2025-07-16 09:48:22', 1, '2025-07-16 09:48:22', NULL, '0');
INSERT INTO `f_vaccine_sop` VALUES (4, '蛋鸭主要传染病综合免疫防控', 0, 100, 1, '2025-07-16 09:48:31', 1, '2025-07-16 09:48:31', NULL, '0');

-- ----------------------------
-- Table structure for f_vaccine_sop_detail
-- ----------------------------
DROP TABLE IF EXISTS `f_vaccine_sop_detail`;
CREATE TABLE `f_vaccine_sop_detail`  (
                                         `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '详情ID',
                                         `vaccine_sop_id` bigint(20) NOT NULL COMMENT '免疫SOPID（关联f_vaccine_sop）',
                                         `start_age` int(11) NOT NULL COMMENT '开始日龄',
                                         `end_age` int(11) NOT NULL COMMENT '结束日龄',
                                         `vaccine_id` bigint(20) NOT NULL COMMENT '疫苗id',
                                         `dosage` double NOT NULL DEFAULT 0 COMMENT '剂量（单位:g/ml）',
                                         `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                                         `create_by` bigint(20) NOT NULL COMMENT '创建人',
                                         `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                         `update_by` bigint(20) NOT NULL COMMENT '更新人',
                                         `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                                         `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                                         `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                                         PRIMARY KEY (`id`) USING BTREE,
                                         INDEX `immune_sop_id`(`vaccine_sop_id`) USING BTREE,
                                         INDEX `vaccine_id`(`vaccine_id`) USING BTREE,
                                         INDEX `create_by`(`create_by`) USING BTREE,
                                         INDEX `update_by`(`update_by`) USING BTREE,
                                         CONSTRAINT `f_vaccine_sop_detail_ibfk_1` FOREIGN KEY (`vaccine_sop_id`) REFERENCES `f_vaccine_sop` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                         CONSTRAINT `f_vaccine_sop_detail_ibfk_2` FOREIGN KEY (`vaccine_id`) REFERENCES `f_vaccine` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                         CONSTRAINT `f_vaccine_sop_detail_ibfk_3` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                                         CONSTRAINT `f_vaccine_sop_detail_ibfk_4` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '免疫SOP详情表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_vaccine_sop_detail
-- ----------------------------
INSERT INTO `f_vaccine_sop_detail` VALUES (1, 1, 8, 36, 2, 10, 100, 1, '2025-07-16 09:49:03', 1, '2025-07-17 17:05:58', NULL, '0');
INSERT INTO `f_vaccine_sop_detail` VALUES (2, 1, 5, 10, 1, 10, 100, 1, '2025-07-21 11:41:59', 1, '2025-07-21 11:41:59', NULL, '0');

-- ----------------------------
-- Table structure for f_variety
-- ----------------------------
DROP TABLE IF EXISTS `f_variety`;
CREATE TABLE `f_variety`  (
                              `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '品系ID',
                              `variety_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '品种名',
                              `lineage` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '系别',
                              `generation` int(11) NOT NULL DEFAULT 0 COMMENT '世代（数字）',
                              `purpose` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用途系别 用户单选“父系”或者“母系”',
                              `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:空闲, 1:使用中, 2:维护中）',
                              `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                              `create_by` bigint(20) NOT NULL COMMENT '创建人',
                              `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                              `update_by` bigint(20) NOT NULL COMMENT '更新人',
                              `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                              `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                              `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                              PRIMARY KEY (`id`) USING BTREE,
                              INDEX `create_by`(`create_by`) USING BTREE,
                              INDEX `update_by`(`update_by`) USING BTREE,
                              CONSTRAINT `f_variety_ibfk_1` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                              CONSTRAINT `f_variety_ibfk_2` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '品系信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_variety
-- ----------------------------
INSERT INTO `f_variety` VALUES (1, '白羽鸡', 'M', 9, NULL, 0, 100, 1, '2025-07-17 13:28:06', 1, '2025-07-23 17:55:11', NULL, '0');
INSERT INTO `f_variety` VALUES (2, '白羽鸡', 'N', 6, NULL, 0, 100, 1, '2025-07-17 13:28:19', 1, '2025-07-23 17:55:16', NULL, '0');
INSERT INTO `f_variety` VALUES (3, '白羽鸡', 'M', 5, NULL, 0, 100, 1, '2025-07-17 13:52:07', 1, '2025-07-23 17:55:23', NULL, '0');
INSERT INTO `f_variety` VALUES (4, '白羽鸡', 'C', 2, '父系', 0, 100, 1, '2025-08-11 16:39:20', 1, '2025-08-11 16:41:23', NULL, '0');

-- ----------------------------
-- Table structure for f_wing_tag
-- ----------------------------
DROP TABLE IF EXISTS `f_wing_tag`;
CREATE TABLE `f_wing_tag`  (
                               `wing_tag_num` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '鸡翅号（唯一标识）',
                               `chicken_id` bigint(20) NULL DEFAULT NULL COMMENT '鸡只ID（关联f_chicken）',
                               `status` tinyint(4) NOT NULL DEFAULT 0 COMMENT '状态（0:闲置, 1:正常）',
                               `create_org` bigint(20) NOT NULL COMMENT '创建组织',
                               `create_by` bigint(20) NOT NULL COMMENT '创建人',
                               `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                               `update_by` bigint(20) NOT NULL COMMENT '更新人',
                               `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
                               `remark` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '备注',
                               `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '0' COMMENT '删除标志（0:未删除, 1:已删除）',
                               PRIMARY KEY (`wing_tag_num`) USING BTREE,
                               INDEX `create_by`(`create_by`) USING BTREE,
                               INDEX `update_by`(`update_by`) USING BTREE,
                               INDEX `chicken_id`(`chicken_id`) USING BTREE,
                               INDEX `status`(`status`) USING BTREE,
                               CONSTRAINT `f_wing_tag_ibfk_1` FOREIGN KEY (`create_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
                               CONSTRAINT `f_wing_tag_ibfk_2` FOREIGN KEY (`update_by`) REFERENCES `sys_user` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '翅号管理表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of f_wing_tag
-- ----------------------------
INSERT INTO `f_wing_tag` VALUES ('000000', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-24 15:41:22', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000001', NULL, 1, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-24 15:45:48', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000002', NULL, 1, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-25 09:40:52', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000003', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000004', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000005', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000006', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000007', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000008', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000009', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000010', NULL, 1, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-29 18:10:08', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000011', NULL, 1, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-29 18:10:12', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000012', NULL, 1, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-29 18:10:14', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000013', NULL, 1, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-29 18:10:16', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000014', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000015', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000016', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000017', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000018', NULL, 1, 100, 1, '2025-07-14 14:46:50', 1, '2025-08-13 17:01:13', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000019', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');
INSERT INTO `f_wing_tag` VALUES ('000020', NULL, 0, 100, 1, '2025-07-14 14:46:50', 1, '2025-07-14 14:46:50', NULL, '0');


-- ----------------------------
-- Table structure for gen_table
-- ----------------------------
DROP TABLE IF EXISTS `gen_table`;
CREATE TABLE `gen_table`  (
                              `table_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
                              `data_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '数据源名称',
                              `table_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '表名称',
                              `table_comment` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '表描述',
                              `sub_table_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联子表的表名',
                              `sub_table_fk_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '子表关联的外键名',
                              `class_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '实体类名称',
                              `tpl_category` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'crud' COMMENT '使用的模板（crud单表操作 tree树表操作）',
                              `package_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '生成包路径',
                              `module_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '生成模块名',
                              `business_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '生成业务名',
                              `function_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '生成功能名',
                              `function_author` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '生成功能作者',
                              `gen_type` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '生成代码方式（0zip压缩包 1自定义路径）',
                              `gen_path` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '/' COMMENT '生成路径（不填默认项目路径）',
                              `options` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '其它生成选项',
                              `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                              `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                              `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                              `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                              `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                              `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                              PRIMARY KEY (`table_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1035 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of gen_table
-- ----------------------------
INSERT INTO `gen_table` VALUES (1000, 'master', 'f_chicken_cage', '鸡笼信息维护', NULL, NULL, 'ChickenCage', 'crud', 'cn.vber.breeding', 'breeding', 'chickenCage', '鸡笼信息', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 14:11:04', 1, '2025-07-16 20:20:07', NULL);
INSERT INTO `gen_table` VALUES (1001, 'master', 'f_chicken_coop', '鸡舍管理', NULL, NULL, 'ChickenCoop', 'crud', 'cn.vber.breeding', 'breeding', 'chickenCoop', '鸡舍管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 14:11:04', 1, '2025-07-16 17:30:55', NULL);
INSERT INTO `gen_table` VALUES (1002, 'master', 'f_chicken_drug', '个体用药管理', NULL, NULL, 'ChickenDrug', 'crud', 'cn.vber.breeding', 'breeding', 'chickenDrug', '个体用药管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17', NULL);
INSERT INTO `gen_table` VALUES (1003, 'master', 'f_chicken_feed', '个体饲喂管理', NULL, NULL, 'ChickenFeed', 'crud', 'cn.vber.breeding', 'breeding', 'chickenFeed', '个体饲喂管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:20', NULL);
INSERT INTO `gen_table` VALUES (1004, 'master', 'f_chicken_vaccine', '个体疫苗管理', NULL, NULL, 'ChickenVaccine', 'crud', 'cn.vber.breeding', 'breeding', 'chickenVaccine', '个体疫苗管理', 'IwbY', '0', '/', '{\"parentMenuId\":null}', 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20', NULL);
INSERT INTO `gen_table` VALUES (1005, 'master', 'f_drug', '药品信息表', NULL, NULL, 'Drug', 'crud', 'cn.vber.base', 'base', 'drug', '药品信息', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19', NULL);
INSERT INTO `gen_table` VALUES (1006, 'master', 'f_drug_sop', '药品SOP', NULL, NULL, 'DrugSop', 'crud', 'cn.vber.base', 'base', 'drugSop', '药品SOP', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55', NULL);
INSERT INTO `gen_table` VALUES (1007, 'master', 'f_drug_sop_detail', '药品SOP详情', NULL, NULL, 'DrugSopDetail', 'crud', 'cn.vber.base', 'base', 'drugSopDetail', '药品SOP详情', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18', NULL);
INSERT INTO `gen_table` VALUES (1008, 'master', 'f_vaccine_sop', '免疫SOP主表', NULL, NULL, 'VaccineSop', 'crud', 'cn.vber.base', 'base', 'vaccineSop', '免疫SOP主', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24', NULL);
INSERT INTO `gen_table` VALUES (1009, 'master', 'f_vaccine_sop_detail', '免疫SOP详情表', NULL, NULL, 'VaccineSopDetail', 'crud', 'cn.vber.base', 'base', 'vaccineSopDetail', '免疫SOP详情', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51', NULL);
INSERT INTO `gen_table` VALUES (1010, 'master', 'f_feed', '饲料信息表', NULL, NULL, 'Feed', 'crud', 'cn.vber.base', 'base', 'feed', '饲料信息', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22', NULL);
INSERT INTO `gen_table` VALUES (1011, 'master', 'f_feed_sop', '饲养指标主表', NULL, NULL, 'FeedSop', 'crud', 'cn.vber.base', 'base', 'feedSop', '饲养指标主', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07', NULL);
INSERT INTO `gen_table` VALUES (1012, 'master', 'f_feed_sop_detail', '饲养指标详情表', NULL, NULL, 'FeedSopDetail', 'crud', 'cn.vber.base', 'base', 'feedSopDetail', '饲养指标详情', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:08:19', 1, '2025-07-17 16:37:27', NULL);
INSERT INTO `gen_table` VALUES (1013, 'master', 'f_vaccine', '疫苗信息表', NULL, NULL, 'Vaccine', 'crud', 'cn.vber.base', 'base', 'vaccine', '疫苗信息', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07', NULL);
INSERT INTO `gen_table` VALUES (1014, 'master', 'f_batch', '批次信息表', NULL, NULL, 'Batch', 'crud', 'cn.vber.breeding', 'breeding', 'batch', '批次信息', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:43', 1, '2025-07-17 17:09:42', NULL);
INSERT INTO `gen_table` VALUES (1015, 'master', 'f_batch_drug', '批次用药管理', NULL, NULL, 'BatchDrug', 'crud', 'cn.vber.breeding', 'breeding', 'batchDrug', '批次用药管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:43', 1, '2025-07-21 09:04:57', NULL);
INSERT INTO `gen_table` VALUES (1016, 'master', 'f_batch_feed', '批次喂养SOP管理', NULL, NULL, 'BatchFeed', 'crud', 'cn.vber.breeding', 'breeding', 'batchFeed', '批次喂养管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:27:58', NULL);
INSERT INTO `gen_table` VALUES (1017, 'master', 'f_batch_vaccine', '批次疫苗管理', NULL, NULL, 'BatchVaccine', 'crud', 'cn.vber.breeding', 'breeding', 'batchVaccine', '批次疫苗管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:09', NULL);
INSERT INTO `gen_table` VALUES (1019, 'master', 'f_breeding_egg', '种蛋管理', NULL, NULL, 'BreedingEgg', 'crud', 'cn.vber.breeding', 'breeding', 'breedingEgg', '种蛋管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53', NULL);
INSERT INTO `gen_table` VALUES (1021, 'master', 'f_cage_change', '换笼管理', NULL, NULL, 'CageChange', 'crud', 'cn.vber.breeding', 'breeding', 'cageChange', '换笼管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12', NULL);
INSERT INTO `gen_table` VALUES (1022, 'master', 'f_chicken', '鸡只个体', NULL, NULL, 'Chicken', 'crud', 'cn.vber.breeding', 'breeding', 'chicken', '鸡只个体信息', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 19:11:12', NULL);
INSERT INTO `gen_table` VALUES (1023, 'master', 'f_chicken_weight', '鸡体重信息记录', NULL, NULL, 'ChickenWeight', 'crud', 'cn.vber.breeding', 'breeding', 'chickenWeight', '鸡体重信息', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:42:44', NULL);
INSERT INTO `gen_table` VALUES (1024, 'master', 'f_incubation', '入孵管理', NULL, NULL, 'Incubation', 'crud', 'cn.vber.breeding', 'breeding', 'incubation', '入孵管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40', NULL);
INSERT INTO `gen_table` VALUES (1025, 'master', 'f_vaccine_drug_conflict', '疫苗与药品冲突记录表', NULL, NULL, 'VaccineDrugConflict', 'crud', 'cn.vber.base', 'base', 'vaccineDrugConflict', '疫苗与药品冲突记录', 'IwbY', '0', '/', '{\"parentMenuId\":\"10001\"}', 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 11:42:26', NULL);
INSERT INTO `gen_table` VALUES (1026, 'master', 'f_wing_tag', '翅号管理表', NULL, NULL, 'WingTag', 'crud', 'cn.vber.breeding', 'breeding', 'wingTag', '翅号管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 16:51:52', NULL);
INSERT INTO `gen_table` VALUES (1027, 'master', 'f_variety', '品系信息表', NULL, NULL, 'Variety', 'crud', 'cn.vber.breeding', 'breeding', 'variety', '品系信息', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45', NULL);
INSERT INTO `gen_table` VALUES (1028, 'master', 'f_family', '家系配种管理表', NULL, NULL, 'Family', 'crud', 'cn.vber.breeding', 'breeding', 'family', '家系配种管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23', NULL);
INSERT INTO `gen_table` VALUES (1029, 'master', 'f_coop_egg_day', '鸡舍日产蛋记录', NULL, NULL, 'CoopEggDay', 'crud', 'cn.vber.breeding', 'breeding', 'coopEggDay', '鸡舍日产蛋记录', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50', NULL);
INSERT INTO `gen_table` VALUES (1030, 'master', 'f_pull_out', '外拉管理', NULL, NULL, 'PullOut', 'crud', 'cn.vber.breeding', 'breeding', 'pullOut', '外拉信息维护', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49', NULL);
INSERT INTO `gen_table` VALUES (1031, 'master', 'f_measure', '测定管理', NULL, NULL, 'Measure', 'crud', 'cn.vber.breeding', 'breeding', 'measure', '测定管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42', NULL);
INSERT INTO `gen_table` VALUES (1032, 'master', 'f_chicken_metatarsal', '跖骨长管理', NULL, NULL, 'ChickenMetatarsal', 'crud', 'cn.vber.breeding', 'breeding', 'chickenMetatarsal', '跖骨长管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20', NULL);
INSERT INTO `gen_table` VALUES (1033, 'master', 'f_chicken_tibia', '胫骨长管理', NULL, NULL, 'ChickenTibia', 'crud', 'cn.vber.breeding', 'breeding', 'chickenTibia', '胫骨长管理', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13', NULL);
INSERT INTO `gen_table` VALUES (1034, 'master', 'f_measure_detail', '测定记录详情', NULL, NULL, 'MeasureDetail', 'crud', 'cn.vber.breeding', 'breeding', 'measureDetail', '测定记录详情', 'IwbY', '0', '/', '{\"parentMenuId\":\"10000\"}', 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14', NULL);

-- ----------------------------
-- Table structure for gen_table_column
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_column`;
CREATE TABLE `gen_table_column`  (
                                     `column_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
                                     `table_id` bigint(20) NULL DEFAULT NULL COMMENT '归属表编号',
                                     `column_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '列名称',
                                     `column_comment` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '列描述',
                                     `column_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '列类型',
                                     `java_type` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'JAVA类型',
                                     `java_field` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'JAVA字段名',
                                     `is_pk` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否主键（1是）',
                                     `is_increment` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否自增（1是）',
                                     `is_required` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否必填（1是）',
                                     `is_insert` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否为插入字段（1是）',
                                     `is_edit` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否编辑字段（1是）',
                                     `is_list` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否列表字段（1是）',
                                     `is_query` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否查询字段（1是）',
                                     `is_sort` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '是否排序字段（1是）',
                                     `query_type` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'EQ' COMMENT '查询方式（等于、不等于、大于、小于、范围）',
                                     `html_type` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
                                     `dict_type` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典类型',
                                     `sort` int(11) NULL DEFAULT NULL COMMENT '排序',
                                     `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                                     `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                                     `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                                     `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                                     `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                                     PRIMARY KEY (`column_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1478 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '代码生成业务表字段' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of gen_table_column
-- ----------------------------
INSERT INTO `gen_table_column` VALUES (1000, 1000, 'id', '鸡笼ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, '1', 'EQ', 'input', '', 1, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1001, 1000, 'chicken_coop_id', '鸡舍ID（关联鸡舍表）', 'int(11)', 'Long', 'chickenCoopId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1002, 1000, 'manager', '管理员（关联用户ID）', 'bigint(20)', 'Long', 'manager', '0', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1003, 1000, 'status', '状态（0:空闲, 1:使用中, 2:维护中）', 'tinyint(1)', 'Long', 'status', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'radio', 'chicken_cage_status', 5, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1004, 1000, 'max_capacity', '最大容量', 'int(11)', 'Long', 'maxCapacity', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 6, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1005, 1000, 'create_org', '创建组织机构', 'bigint(20)', 'Long', 'createOrg', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 7, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1006, 1000, 'create_by', '创建者', 'bigint(20)', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 8, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1007, 1000, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1008, 1000, 'update_by', '更新者', 'bigint(20)', 'Long', 'updateBy', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 10, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1009, 1000, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1010, 1000, 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 12, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1011, 1000, 'del_flag', '删除标志（0代表存在 1代表删除）', 'char(1)', 'String', 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1012, 1001, 'id', '', 'int(11)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, '1', 'EQ', 'input', '', 1, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1014, 1001, 'coop_name', '鸡舍名称', 'varchar(255)', 'String', 'coopName', '0', '0', '0', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 3, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1015, 1001, 'standard_cage_num', '标准笼子数量', 'int(11)', 'Long', 'standardCageNum', '0', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1016, 1001, 'status', '状态(0:正常 1:异常)', 'tinyint(1)', 'Long', 'status', '0', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', 'chicken_coop_status', 5, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1017, 1001, 'manager', '管理员', 'bigint(20)', 'Long', 'manager', '0', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 7, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1018, 1001, 'create_org', '创建组织机构', 'bigint(20)', 'Long', 'createOrg', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 8, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1019, 1001, 'del_flag', '删除标志（0代表存在 2代表删除）', 'char(1)', 'String', 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1020, 1001, 'create_by', '创建者', 'bigint(20)', 'Long', 'createBy', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 10, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1021, 1001, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1022, 1001, 'update_by', '更新者', 'bigint(20)', 'Long', 'updateBy', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 12, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1023, 1001, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 13, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1024, 1001, 'remark', '备注', 'varchar(500)', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 14, 100, 1, '2025-07-14 14:11:04', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1025, 1002, 'id', '个体用药ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1026, 1002, 'chicken_id', '鸡只ID（关联f_chicken）', 'bigint(20)', 'Long', 'chickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1027, 1002, 'drug_sop_id', '药品SOPID（关联f_drug_sop）', 'bigint(20)', 'Long', 'drugSopId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1028, 1002, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1029, 1002, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1030, 1002, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1031, 1002, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1032, 1002, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1033, 1002, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 9, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1034, 1002, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:07:05', 1, '2025-07-21 09:26:17');
INSERT INTO `gen_table_column` VALUES (1035, 1003, 'id', '个体饲喂ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, '1', 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:30');
INSERT INTO `gen_table_column` VALUES (1036, 1003, 'chicken_id', '鸡只ID（关联f_chicken）', 'bigint(20)', 'Long', 'chickenId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:30');
INSERT INTO `gen_table_column` VALUES (1037, 1003, 'feed_sop_id', '饲喂SOPID（关联f_feed_sop）', 'bigint(20)', 'Long', 'feedSopId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:30');
INSERT INTO `gen_table_column` VALUES (1038, 1003, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:30');
INSERT INTO `gen_table_column` VALUES (1039, 1003, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:30');
INSERT INTO `gen_table_column` VALUES (1040, 1003, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:30');
INSERT INTO `gen_table_column` VALUES (1041, 1003, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:30');
INSERT INTO `gen_table_column` VALUES (1042, 1003, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:30');
INSERT INTO `gen_table_column` VALUES (1043, 1003, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 9, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:30');
INSERT INTO `gen_table_column` VALUES (1044, 1003, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:08:31');
INSERT INTO `gen_table_column` VALUES (1045, 1004, 'id', '个体疫苗ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1046, 1004, 'chicken_id', '鸡只ID（关联f_chicken）', 'bigint(20)', 'Long', 'chickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1047, 1004, 'vaccine_sop_id', '疫苗SOPID（关联f_vaccine_sop）', 'bigint(20)', 'Long', 'vaccineSopId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1048, 1004, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1049, 1004, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1050, 1004, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1051, 1004, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1052, 1004, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1053, 1004, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 9, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1054, 1004, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-21 09:20:20');
INSERT INTO `gen_table_column` VALUES (1055, 1005, 'id', '药品ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1056, 1005, 'drug_name', '药品名称', 'varchar(255)', 'String', 'drugName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1057, 1005, 'manufacturer', '制造商', 'varchar(255)', 'String', 'manufacturer', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1058, 1005, 'factory', '生产厂家', 'varchar(255)', 'String', 'factory', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1059, 1005, 'production_date', '生产日期', 'date', 'Date', 'productionDate', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 5, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1060, 1005, 'expiration_date', '有效期', 'date', 'Date', 'expirationDate', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1061, 1005, 'status', '状态（0:可用, 1:缺货, 2:过期）', 'tinyint(4)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', 'vaccine_status', 7, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1062, 1005, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 8, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1063, 1005, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1064, 1005, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1065, 1005, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1066, 1005, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1067, 1005, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 13, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1068, 1005, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 09:05:19');
INSERT INTO `gen_table_column` VALUES (1069, 1006, 'id', '药品SOPID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1070, 1006, 'sop_name', 'SOP名称', 'varchar(255)', 'String', 'sopName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1071, 1006, 'status', '状态（0:启用, 1:禁用, 2:维护中）', 'tinyint(4)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', 'sop_status', 3, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1072, 1006, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1073, 1006, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1074, 1006, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1075, 1006, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1076, 1006, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1077, 1006, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 9, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1078, 1006, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-16 10:02:55');
INSERT INTO `gen_table_column` VALUES (1079, 1007, 'id', '详情ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1080, 1007, 'drug_sop_id', '药品SOPID（关联f_drug_sop）', 'bigint(20)', 'Long', 'drugSopId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1081, 1007, 'drug_id', '药品ID（关联f_drug）', 'bigint(20)', 'Long', 'drugId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1085, 1007, 'dosage', '剂量（单位:g/ml）', 'double', 'Long', 'dosage', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1086, 1007, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1087, 1007, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1088, 1007, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1089, 1007, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1090, 1007, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1091, 1007, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 12, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1092, 1007, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1093, 1008, 'id', '免疫SOPID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1094, 1008, 'vaccine_plan_name', '免疫计划名称', 'varchar(255)', 'String', 'vaccinePlanName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1095, 1008, 'status', '状态（0:启用, 1:禁用, 2:维护中）', 'tinyint(4)', 'Long', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'select', 'sop_status', 3, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1096, 1008, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1097, 1008, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1098, 1008, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1099, 1008, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1100, 1008, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1101, 1008, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 9, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1102, 1008, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:07:06', 1, '2025-07-15 16:46:24');
INSERT INTO `gen_table_column` VALUES (1103, 1009, 'id', '详情ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1104, 1009, 'vaccine_sop_id', '免疫SOPID（关联f_vaccine_sop）', 'bigint(20)', 'Long', 'vaccineSopId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1105, 1009, 'start_age', '开始日龄', 'int(11)', 'Integer', 'startAge', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 3, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1106, 1009, 'end_age', '结束日龄', 'int(11)', 'Integer', 'endAge', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 4, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1107, 1009, 'vaccine_id', '疫苗id', 'bigint(20)', 'Long', 'vaccineId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1108, 1009, 'dosage', '剂量（单位:g/ml）', 'double', 'Long', 'dosage', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1109, 1009, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1110, 1009, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1111, 1009, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1112, 1009, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1113, 1009, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1114, 1009, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 12, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1115, 1009, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 100, 1, '2025-07-14 15:07:07', 1, '2025-07-17 16:43:51');
INSERT INTO `gen_table_column` VALUES (1116, 1010, 'id', '饲料ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1117, 1010, 'feed_name', '饲料名称', 'varchar(255)', 'String', 'feedName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1118, 1010, 'composition_ratio', '饲料成分(配比)', 'varchar(500)', 'String', 'compositionRatio', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'textarea', '', 3, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1119, 1010, 'status', '状态', 'tinyint(4)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', 'sys_normal_disable', 4, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1120, 1010, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1121, 1010, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1122, 1010, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 7, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1123, 1010, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1124, 1010, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1125, 1010, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 10, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1126, 1010, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-14 17:01:22');
INSERT INTO `gen_table_column` VALUES (1127, 1011, 'id', '饲养指标ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1128, 1011, 'sop_name', 'SOP名称', 'varchar(255)', 'String', 'sopName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1129, 1011, 'gender', '性别（0:公, 1:母）', 'tinyint(4)', 'Integer', 'gender', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', 'chicken_gender', 3, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1130, 1011, 'status', '状态（0:启用, 1:禁用, 2:维护中）', 'tinyint(4)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'select', 'sop_status', 4, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1131, 1011, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1132, 1011, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1133, 1011, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 7, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1134, 1011, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1135, 1011, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1136, 1011, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 10, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1137, 1011, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 100, 1, '2025-07-14 15:08:19', 1, '2025-07-15 10:35:07');
INSERT INTO `gen_table_column` VALUES (1138, 1012, 'id', '详情ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1140, 1012, 'start_age', '起始日龄', 'int(11)', 'Integer', 'startAge', '0', '0', '1', '1', '1', '1', '0', NULL, 'BETWEEN', 'datetime', '', 3, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1141, 1012, 'end_age', '停止日龄', 'int(11)', 'Integer', 'endAge', '0', '0', '1', '1', '1', '1', '0', NULL, 'BETWEEN', 'datetime', '', 4, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1142, 1012, 'feed_id', '饲料ID（关联饲料表）', 'bigint(20)', 'Long', 'feedId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1144, 1012, 'feeding_standard', '饲喂标准（单位:g）', 'double', 'Long', 'feedingStandard', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1145, 1012, 'target_weight', '目标体重（单位:g）', 'double', 'Long', 'targetWeight', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1146, 1012, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1147, 1012, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1148, 1012, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 10, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1149, 1012, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1150, 1012, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 12, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1151, 1012, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 13, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1152, 1012, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1153, 1013, 'id', '疫苗ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1154, 1013, 'vaccine_name', '疫苗名称', 'varchar(255)', 'String', 'vaccineName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1155, 1013, 'vaccine_type', '疫苗种类（0:灭活疫苗, 1:活疫苗, 2:重组蛋白疫苗）', 'tinyint(4)', 'Integer', 'vaccineType', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'select', 'vaccine_type', 3, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1156, 1013, 'manufacturer', '生产厂家', 'varchar(255)', 'String', 'manufacturer', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1157, 1013, 'production_date', '生产日期', 'date', 'Date', 'productionDate', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 5, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1158, 1013, 'expiration_date', '有效期', 'date', 'Date', 'expirationDate', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1159, 1013, 'status', '状态（0:可用, 1:缺货, 2:过期）', 'tinyint(4)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', 'vaccine_status', 7, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1160, 1013, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 8, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1161, 1013, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1162, 1013, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1163, 1013, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1164, 1013, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1165, 1013, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 13, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1166, 1013, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 100, 1, '2025-07-14 15:08:20', 1, '2025-07-14 21:29:07');
INSERT INTO `gen_table_column` VALUES (1169, 1014, 'batch_name', '批次名称', 'varchar(255)', 'String', 'batchName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1170, 1014, 'chicken_count', '鸡只数量', 'int(11)', 'Long', 'chickenCount', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1171, 1014, 'hatch_date', '出生日期', 'date', 'Date', 'hatchDate', '0', '0', '1', '1', '1', '1', '1', '1', 'BETWEEN', 'datetime', '', 4, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1172, 1014, 'status', '状态（0:新建, 1:育成中, 2:完成）', 'tinyint(4)', 'Long', 'status', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'radio', 'batch_status', 5, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1175, 1014, 'lineage', '系别（复制字段，不随原表变动）', 'varchar(255)', 'String', 'lineage', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1176, 1014, 'generation', '代数（复制字段，不随原表变动）', 'int(11)', 'Long', 'generation', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 9, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1177, 1014, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1178, 1014, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 11, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1179, 1014, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 12, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1180, 1014, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 13, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1181, 1014, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 14, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1182, 1014, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 15, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1183, 1014, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 16, 100, 1, '2025-07-14 15:08:43', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1184, 1015, 'id', '批次用药ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, '1', 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1186, 1015, 'drug_sop_id', '药品SOPID（关联f_drug_sop）', 'bigint(20)', 'Long', 'drugSopId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1187, 1015, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1188, 1015, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1189, 1015, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1190, 1015, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1191, 1015, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1192, 1015, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 9, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1193, 1015, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1194, 1016, 'id', '批次喂养ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, '1', 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1196, 1016, 'feed_sop_id', '喂养SOPID（关联f_feed_sop）', 'bigint(20)', 'Long', 'feedSopId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1197, 1016, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1198, 1016, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1199, 1016, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1200, 1016, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1201, 1016, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1202, 1016, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 9, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1203, 1016, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1204, 1017, 'id', '批次疫苗ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, '1', 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1206, 1017, 'vaccine_sop_id', '免疫SOPID（关联f_vaccine_sop）', 'bigint(20)', 'Long', 'vaccineSopId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1207, 1017, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1208, 1017, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1209, 1017, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1210, 1017, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1211, 1017, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1212, 1017, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 9, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1213, 1017, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1226, 1019, 'id', '种蛋ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1227, 1019, 'cage_id', '鸡笼ID（关联f_chicken_cage）', 'bigint(20)', 'Long', 'cageId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1228, 1019, 'female_chicken_id', '母鸡ID（关联f_chicken）', 'bigint(20)', 'Long', 'femaleChickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1230, 1019, 'egg_count', '产蛋数', 'int(11)', 'Integer', 'eggCount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'select', 'breeding_egg_type', 5, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1231, 1019, 'egg_type', '蛋分类（0:好种蛋, 1:好菜蛋, 2:畸形蛋, 3:破蛋）', 'tinyint(4)', 'Long', 'eggType', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'select', '', 6, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1232, 1019, 'lay_date', '产蛋日期', 'date', 'Date', 'layDate', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 7, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1233, 1019, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1234, 1019, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1235, 1019, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1236, 1019, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1237, 1019, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 12, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1238, 1019, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 13, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1239, 1019, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1252, 1021, 'id', '换笼记录ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1253, 1021, 'source_cage_id', '源鸡笼ID（关联f_chicken_cage）', 'bigint(20)', 'Long', 'sourceCageId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1254, 1021, 'target_cage_id', '目标鸡笼ID（关联f_chicken_cage）', 'bigint(20)', 'Long', 'targetCageId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1255, 1021, 'chicken_id', '鸡只ID（关联f_chicken）', 'bigint(20)', 'Long', 'chickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1256, 1021, 'bind_time', '换笼绑定时间', 'datetime', 'Date', 'bindTime', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 5, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1257, 1021, 'status', '状态（0:待处理, 1:已确认, 2:作废）', 'tinyint(4)', 'Long', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', '', 6, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1258, 1021, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1259, 1021, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1260, 1021, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1261, 1021, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1262, 1021, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1263, 1021, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 12, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1264, 1021, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 09:35:12');
INSERT INTO `gen_table_column` VALUES (1265, 1022, 'id', '鸡只ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, '1', 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1267, 1022, 'gender', '性别（0:公, 1:母）', 'tinyint(4)', 'Long', 'gender', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'select', 'chicken_gender', 3, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1268, 1022, 'hatch_date', '出生日期', 'date', 'Date', 'hatchDate', '0', '0', '1', '1', '1', '1', '1', '1', 'BETWEEN', 'datetime', '', 4, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1269, 1022, 'wing_tag_num', '翅号Num（关联f_wing_tag）', 'varchar(64)', 'String', 'wingTagNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1270, 1022, 'electronic_id', '电子编号（RFID或唯一标识）', 'varchar(64)', 'String', 'electronicId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1271, 1022, 'leg_tag', '脚号', 'varchar(64)', 'String', 'legTag', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1272, 1022, 'family_id', '家系ID（可为空）', 'bigint(20)', 'Long', 'familyId', '0', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1273, 1022, 'cage_id', '笼ID（关联f_chicken_cage）', 'bigint(20)', 'Long', 'cageId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 9, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1274, 1022, 'cull_time', '淘汰时间', 'datetime', 'Date', 'cullTime', '0', '0', '0', '1', '1', '1', '1', '1', 'BETWEEN', 'datetime', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1275, 1022, 'status', '状态（0:在养, 1:已淘汰, 2:死亡）', 'tinyint(4)', 'Long', 'status', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'radio', 'chicken_status', 11, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1276, 1022, 'cull_reason', '淘汰原因（“病鸡”、“弱鸡”、“实验”、“老化\r\n（性能下降）”）', 'tinyint(4)', 'Long', 'cullReason', '0', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', 'chicken_cull_reason', 12, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1277, 1022, 'disposal_method', '处置方式（如“无害化”，“食堂”，“屠宰场”等）', 'tinyint(255)', 'Long', 'disposalMethod', '0', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', 'chicken_disposal_method', 13, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1278, 1022, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 14, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1279, 1022, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 15, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1280, 1022, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 16, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1281, 1022, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 17, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1282, 1022, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 18, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1283, 1022, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 19, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1284, 1022, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 20, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1285, 1023, 'chicken_id', '鸡只ID（关联f_chicken）', 'bigint(20)', 'Long', 'chickenId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:48');
INSERT INTO `gen_table_column` VALUES (1286, 1023, 'record_date', '记录日期（YYYY-MM-DD格式）', 'date', 'Date', 'recordDate', '0', '0', '1', '1', '1', '1', '1', '1', 'BETWEEN', 'datetime', '', 3, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:48');
INSERT INTO `gen_table_column` VALUES (1287, 1023, 'weight_value', '体重值（单位：克）', 'double', 'Long', 'weightValue', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:48');
INSERT INTO `gen_table_column` VALUES (1288, 1023, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:48');
INSERT INTO `gen_table_column` VALUES (1289, 1023, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 6, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:48');
INSERT INTO `gen_table_column` VALUES (1290, 1023, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 7, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:48');
INSERT INTO `gen_table_column` VALUES (1291, 1023, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 8, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:49');
INSERT INTO `gen_table_column` VALUES (1292, 1023, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:49');
INSERT INTO `gen_table_column` VALUES (1293, 1023, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:49');
INSERT INTO `gen_table_column` VALUES (1294, 1023, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-21 11:06:49');
INSERT INTO `gen_table_column` VALUES (1295, 1024, 'id', '入孵记录ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1299, 1024, 'batch_name', '批次名称', 'varchar(255)', 'String', 'batchName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 5, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1301, 1024, 'incubation_count', '入孵数量', 'int(11)', 'Long', 'incubationCount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1302, 1024, 'light_egg_count', '光蛋数量', 'int(11)', 'Long', 'lightEggCount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 11, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1303, 1024, 'dead_sperm_egg_count', '死精蛋数量', 'int(11)', 'Long', 'deadSpermEggCount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 12, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1304, 1024, 'dead_embryo_egg_count', '死坯胎数量', 'int(11)', 'Long', 'deadEmbryoEggCount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 13, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1305, 1024, 'weak_chick_count', '弱雏数量', 'int(11)', 'Long', 'weakChickCount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 14, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1306, 1024, 'other_discard_count', '其它淘汰数量', 'int(11)', 'Long', 'otherDiscardCount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 15, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1307, 1024, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 17, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1308, 1024, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 18, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1309, 1024, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 19, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1310, 1024, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 20, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1311, 1024, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 21, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1312, 1024, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 22, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1313, 1024, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 23, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1314, 1025, 'id', '冲突记录ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, '1', 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1315, 1025, 'vaccine_id', '疫苗ID（关联f_vaccine）', 'bigint(20)', 'Long', 'vaccineId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1316, 1025, 'drug_id', '药品ID（关联f_drug）', 'bigint(20)', 'Long', 'drugId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 3, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1319, 1025, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 6, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1320, 1025, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1321, 1025, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1322, 1025, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 9, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1323, 1025, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1324, 1025, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 11, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1325, 1025, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1326, 1026, 'wing_tag_num', '鸡翅号（唯一标识）', 'varchar(64)', 'String', 'wingTagNum', '1', '0', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1327, 1026, 'chicken_id', '鸡只ID（关联f_chicken）', 'bigint(20)', 'Long', 'chickenId', '0', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 2, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1328, 1026, 'status', '状态（0:闲置, 1:正常, 2:异常占用）', 'tinyint(4)', 'Long', 'status', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'radio', 'wing_tag_status', 3, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1329, 1026, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 4, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1330, 1026, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 5, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1331, 1026, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1332, 1026, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'EQ', 'input', '', 7, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1333, 1026, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, '1', 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1334, 1026, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 9, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1335, 1026, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-14 15:08:44', 1, '2025-07-16 17:01:59');
INSERT INTO `gen_table_column` VALUES (1337, 1001, 'coop_num', '鸡舍编号', 'varchar(255)', 'String', 'coopNum', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-17 09:47:30', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1338, 1001, 'factory', '厂区', 'varchar(255)', 'String', 'factory', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-17 09:47:30', 1, '2025-07-17 09:47:30');
INSERT INTO `gen_table_column` VALUES (1339, 1000, 'cage_num', '鸡笼编号', 'varchar(32)', 'String', 'cageNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-17 09:49:21', 1, '2025-07-17 09:49:21');
INSERT INTO `gen_table_column` VALUES (1340, 1027, 'id', '品系ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1341, 1027, 'variety_name', '品种名', 'varchar(255)', 'String', 'varietyName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1342, 1027, 'lineage', '系别', 'varchar(255)', 'String', 'lineage', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'select', 'variety_lineage', 3, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1343, 1027, 'generation', '世代（数字）', 'int(11)', 'Long', 'generation', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1344, 1027, 'status', '状态', 'tinyint(4)', 'Long', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', 'sys_normal_disable', 5, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1345, 1027, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1346, 1027, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1347, 1027, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1348, 1027, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1349, 1027, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 10, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1350, 1027, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 11, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1351, 1027, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 100, 1, '2025-07-17 11:09:51', 1, '2025-07-17 13:23:45');
INSERT INTO `gen_table_column` VALUES (1352, 1014, 'variety_id', '品系ID（复制字段，不随原表变动）', 'bigint(20)', 'Long', 'varietyId', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 6, 100, 1, '2025-07-17 14:20:36', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1353, 1014, 'variety_name', '品种（复制字段，不随原表变动）', 'varchar(255)', 'String', 'varietyName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 7, 100, 1, '2025-07-17 14:20:36', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1354, 1025, 'start_age', '冲突开始日龄', 'int(11)', 'Long', 'startAge', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 100, 1, '2025-07-17 15:58:11', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1355, 1025, 'end_age', '冲突结束日龄', 'int(11)', 'Long', 'endAge', '0', '0', '1', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 100, 1, '2025-07-17 15:58:11', 1, '2025-07-17 15:59:14');
INSERT INTO `gen_table_column` VALUES (1356, 1007, 'start_age', '开始日龄', 'int(11)', 'Integer', 'startAge', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-17 16:36:53', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1357, 1007, 'end_age', '结束日龄', 'int(11)', 'Integer', 'endAge', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-17 16:36:53', 1, '2025-07-17 16:41:18');
INSERT INTO `gen_table_column` VALUES (1358, 1012, 'feed_sop_id', '饲养指标ID（关联f_breed_sop）', 'bigint(20)', 'Long', 'feedSopId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-17 16:37:07', 1, '2025-07-17 16:37:27');
INSERT INTO `gen_table_column` VALUES (1359, 1028, 'id', '配种记录ID', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1360, 1028, 'family_num', '家系号', 'varchar(32)', 'String', 'familyNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1361, 1028, 'male_chicken_id', '公鸡ID（关联f_chicken）', 'bigint(20)', 'Long', 'maleChickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1362, 1028, 'female_chicken_id', '母鸡ID（关联f_chicken）', 'bigint(20)', 'Long', 'femaleChickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1363, 1028, 'breed_date', '配种日期', 'date', 'Date', 'breedDate', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 5, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1364, 1028, 'status', '状态（0:成功, 1:失败, 2:待确认）', 'tinyint(4)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', 'family_status', 6, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1365, 1028, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1366, 1028, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1367, 1028, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1368, 1028, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1369, 1028, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:23');
INSERT INTO `gen_table_column` VALUES (1370, 1028, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 12, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:24');
INSERT INTO `gen_table_column` VALUES (1371, 1028, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 100, 1, '2025-07-18 10:23:28', 1, '2025-07-18 14:55:24');
INSERT INTO `gen_table_column` VALUES (1372, 1014, 'batch_num', '批次号（唯一标识）', 'varchar(32)', 'String', 'batchNum', '1', '0', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-18 15:38:36', 1, '2025-07-18 15:38:36');
INSERT INTO `gen_table_column` VALUES (1373, 1022, 'batch_num', '批次号（关联f_batch）', 'varchar(32)', 'String', 'batchNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-18 15:38:59', 1, '2025-07-18 15:38:59');
INSERT INTO `gen_table_column` VALUES (1374, 1016, 'batch_num', '批次ID（关联f_batch）', 'varchar(32)', 'String', 'batchNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-20 14:28:23', 1, '2025-07-20 14:28:23');
INSERT INTO `gen_table_column` VALUES (1375, 1017, 'batch_num', '批次ID（关联f_batch）', 'varchar(32)', 'String', 'batchNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-21 09:00:27', 1, '2025-07-21 09:00:27');
INSERT INTO `gen_table_column` VALUES (1376, 1015, 'batch_num', '批次号（关联f_batch）', 'varchar(32)', 'String', 'batchNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-21 09:08:36', 1, '2025-07-21 09:08:36');
INSERT INTO `gen_table_column` VALUES (1377, 1019, 'familyId', '家系配种ID（关联f_family）', 'bigint(20)', 'Long', 'familyid', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-21 09:52:03', 1, '2025-07-21 09:54:53');
INSERT INTO `gen_table_column` VALUES (1378, 1024, 'incubation_batch_num', '孵化批次号（唯一标识）', 'varchar(64)', 'String', 'incubationBatchNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-21 10:02:39', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1380, 1024, 'variety_id', '品系ID（关联f_variety）', 'bigint(20)', 'Long', 'varietyId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-21 10:02:39', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1381, 1023, 'id', '', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, '1', 'EQ', 'input', '', 1, 100, 1, '2025-07-21 11:06:48', 1, '2025-07-21 11:06:48');
INSERT INTO `gen_table_column` VALUES (1382, 1024, 'family_num', '家系配种ID（关联f_family）', 'varchar(20)', 'String', 'familyNum', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-07-30 12:32:13', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1383, 1024, 'female_chicken_id', '母系ID', 'bigint(20)', 'Long', 'femaleChickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-07-30 12:32:13', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1384, 1029, 'id', '', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1385, 1029, 'coop_id', '鸡舍ID', 'bigint(20)', 'Long', 'coopId', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1386, 1029, 'egg_count', '蛋数量', 'int(11)', 'Long', 'eggCount', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1387, 1029, 'egg_type', '蛋类型', 'tinyint(4)', 'Long', 'eggType', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'select', 'breeding_egg_type', 4, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1388, 1029, 'lay_date', '日期', 'date', 'Date', 'layDate', '0', '0', '0', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 5, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1389, 1029, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 6, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1390, 1029, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1391, 1029, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1392, 1029, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 9, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1393, 1029, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 10, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1394, 1029, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 11, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1395, 1029, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-31 08:30:50');
INSERT INTO `gen_table_column` VALUES (1396, 1030, 'id', '', 'bigint(20)', 'Long', 'id', '1', '1', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1397, 1030, 'coop_id', '鸡舍ID', 'bigint(20)', 'Long', 'coopId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1398, 1030, 'pull_out_type', '外拉类型（0：祖代厂 1:食堂 2:实验室 3:菜蛋销售）', 'tinyint(4)', 'Long', 'pullOutType', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'select', 'pull_out_type', 3, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1399, 1030, 'pull_out_date', '外拉时间', 'datetime', 'Date', 'pullOutDate', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 4, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1400, 1030, 'egg_count', '数量', 'int(11)', 'Long', 'eggCount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1401, 1030, 'egg_type', '蛋的类型（0:好种蛋, 1:好菜蛋, 2:畸形蛋, 3:破蛋）', 'tinyint(4)', 'Integer', 'eggType', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'select', 'breeding_egg_type', 6, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1402, 1030, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 7, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1403, 1030, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1404, 1030, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1405, 1030, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1406, 1030, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1407, 1030, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 12, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1408, 1030, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 100, 1, '2025-07-30 12:32:22', 1, '2025-07-30 12:36:49');
INSERT INTO `gen_table_column` VALUES (1409, 1024, 'variety_name', '品种（复制字段，不随原表变动）', 'varchar(255)', 'String', 'varietyName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 7, 100, 1, '2025-07-31 09:20:25', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1410, 1024, 'lineage', '系别（复制字段，不随原表变动）', 'varchar(255)', 'String', 'lineage', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 8, 100, 1, '2025-07-31 09:20:25', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1411, 1024, 'generation', '代数（复制字段，不随原表变动）', 'int(11)', 'Long', 'generation', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 9, 100, 1, '2025-07-31 09:20:25', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1412, 1024, 'upload_date', '入孵日期', 'date', 'Date', 'uploadDate', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 16, 100, 1, '2025-07-31 09:20:25', 1, '2025-07-31 09:20:40');
INSERT INTO `gen_table_column` VALUES (1413, 1031, 'id', '', 'bigint(20)', 'Long', 'id', '1', '0', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1414, 1031, 'measure_name', '测定批次名称', 'varchar(255)', 'String', 'measureName', '0', '0', '1', '1', '1', '1', '1', NULL, 'LIKE', 'input', '', 2, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1415, 1031, 'batch_num', '批次号', 'varchar(255)', 'String', 'batchNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1416, 1031, 'status', '', 'tinyint(4)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', 'sys_common_status', 4, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1417, 1031, 'start_time', '起始日期', 'datetime', 'Date', 'startTime', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 5, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1418, 1031, 'end_time', '结束日期', 'datetime', 'Date', 'endTime', '0', '0', '0', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 6, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1419, 1031, 'start_age', '起始日龄', 'int(11)', 'Long', 'startAge', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 7, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1420, 1031, 'end_age', '结束日龄', 'int(11)', 'Long', 'endAge', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 8, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1421, 1031, 'feed_id', '饲料id', 'bigint(20)', 'Long', 'feedId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 9, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1422, 1031, 'feed_sop_id', '饲喂SOP', 'bigint(20)', 'Long', 'feedSopId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 10, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1423, 1031, 'legDiseaseCount', '腿病淘汰数', 'int(11)', 'Integer', 'legdiseasecount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 11, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1424, 1031, 'ascitesCount', '腹水淘汰数', 'int(11)', 'Integer', 'ascitescount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 12, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1425, 1031, 'bacterialCount', '细菌感染淘汰数', 'int(11)', 'Integer', 'bacterialcount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 13, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1426, 1031, 'traumaCount', '外伤淘汰数', 'int(11)', 'Integer', 'traumacount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 14, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1427, 1031, 'otherCount', '其它淘汰赛', 'int(11)', 'Integer', 'othercount', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 15, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1428, 1031, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 16, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1429, 1031, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 17, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1430, 1031, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 18, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1431, 1031, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 19, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1432, 1031, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 20, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1433, 1031, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 21, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1434, 1031, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 22, 100, 1, '2025-08-12 09:15:24', 1, '2025-08-12 09:18:42');
INSERT INTO `gen_table_column` VALUES (1435, 1032, 'id', '', 'bigint(20)', 'Long', 'id', '1', '0', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1436, 1032, 'chicken_id', '', 'bigint(20)', 'Long', 'chickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1437, 1032, 'record_date', '', 'datetime', 'Date', 'recordDate', '0', '0', '1', '1', '1', '1', '0', NULL, 'BETWEEN', 'datetime', '', 3, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1438, 1032, 'metatarsal_length', '', 'double', 'Long', 'metatarsalLength', '0', '0', '1', '1', '1', '1', '0', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1439, 1032, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 5, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1440, 1032, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 6, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1441, 1032, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 7, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1442, 1032, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1443, 1032, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1444, 1032, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 10, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1445, 1032, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:25:20');
INSERT INTO `gen_table_column` VALUES (1446, 1033, 'id', '', 'bigint(20)', 'Long', 'id', '1', '0', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1447, 1033, 'chicken_id', '', 'bigint(20)', 'Long', 'chickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1448, 1033, 'record_date', '', 'datetime', 'Date', 'recordDate', '0', '0', '1', '1', '1', '1', '0', NULL, 'BETWEEN', 'datetime', '', 3, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1449, 1033, 'tibia_length', '', 'double', 'Long', 'tibiaLength', '0', '0', '1', '1', '1', '1', '0', NULL, 'EQ', 'input', '', 4, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1450, 1033, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 5, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1451, 1033, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 6, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1452, 1033, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 7, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1453, 1033, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1454, 1033, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 9, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1455, 1033, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 10, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1456, 1033, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 100, 1, '2025-08-12 09:15:33', 1, '2025-08-14 09:26:13');
INSERT INTO `gen_table_column` VALUES (1457, 1034, 'id', '', 'bigint(20)', 'Long', 'id', '1', '0', '1', NULL, '1', '1', NULL, NULL, 'EQ', 'input', '', 1, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1458, 1034, 'measure_id', '测定id', 'bigint(20)', 'Long', 'measureId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 2, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1459, 1034, 'chicken_id', '个体id', 'bigint(20)', 'Long', 'chickenId', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 3, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1460, 1034, 'status', '测定中，结束，淘汰', 'tinyint(4)', 'Integer', 'status', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'radio', 'measure_detail_status', 4, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1461, 1034, 'feed_count1', '饲料量1', 'double', 'Long', 'feedCount1', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 5, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1462, 1034, 'feed_count2', '饲料量2', 'double', 'Long', 'feedCount2', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 6, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1463, 1034, 'start_weight', '起始体重', 'double', 'Long', 'startWeight', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 7, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1464, 1034, 'start_weight_time', '起始体重日期', 'datetime', 'Date', 'startWeightTime', '0', '0', '1', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 8, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1465, 1034, 'start_weight_age', '起始体重日龄', 'int(11)', 'Long', 'startWeightAge', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 9, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1466, 1034, 'end_weight', '结束体重', 'double', 'Long', 'endWeight', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 10, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1467, 1034, 'end_weight_time', '结束体重日期', 'datetime', 'Date', 'endWeightTime', '0', '0', '0', '1', '1', '1', '1', NULL, 'BETWEEN', 'datetime', '', 11, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1468, 1034, 'end_weight_age', '结束体重日期', 'int(11)', 'Long', 'endWeightAge', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 12, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1469, 1034, 'middle_weight_info', '中途体重信息', 'text', 'String', 'middleWeightInfo', '0', '0', '0', '1', '1', '1', '1', NULL, 'EQ', 'textarea', '', 13, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1470, 1034, 'cage_num', '笼号', 'varchar(32)', 'String', 'cageNum', '0', '0', '1', '1', '1', '1', '1', NULL, 'EQ', 'input', '', 14, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1471, 1034, 'create_org', '创建组织', 'bigint(20)', 'Long', 'createOrg', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 15, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1472, 1034, 'create_by', '创建人', 'bigint(20)', 'Long', 'createBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 16, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1473, 1034, 'create_time', '创建时间', 'datetime', 'Date', 'createTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 17, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1474, 1034, 'update_by', '更新人', 'bigint(20)', 'Long', 'updateBy', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 18, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1475, 1034, 'update_time', '更新时间', 'datetime', 'Date', 'updateTime', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'BETWEEN', 'datetime', '', 19, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1476, 1034, 'remark', '备注', 'text', 'String', 'remark', '0', '0', '0', '1', '1', '1', NULL, NULL, 'EQ', 'textarea', '', 20, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');
INSERT INTO `gen_table_column` VALUES (1477, 1034, 'del_flag', '删除标志（0:未删除, 1:已删除）', 'char(1)', 'String', 'delFlag', '0', '0', '1', NULL, NULL, NULL, NULL, NULL, 'EQ', 'input', '', 21, 100, 1, '2025-08-12 09:15:34', 1, '2025-08-12 09:36:14');

-- ----------------------------
-- Table structure for sys_client
-- ----------------------------
DROP TABLE IF EXISTS `sys_client`;
CREATE TABLE `sys_client`  (
                               `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
                               `client_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户端id',
                               `client_key` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户端key',
                               `client_secret` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '客户端秘钥',
                               `grant_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '授权类型',
                               `device_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '设备类型',
                               `active_timeout` int(11) NULL DEFAULT 1800 COMMENT 'token活跃超时时间',
                               `timeout` int(11) NULL DEFAULT 604800 COMMENT 'token固定超时',
                               `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '状态（0正常 1停用）',
                               `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
                               `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                               `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                               `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                               `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                               `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                               PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统授权表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_client
-- ----------------------------
INSERT INTO `sys_client` VALUES (1, '9579f8780cf24ae2959d03d11482b18a', 'pc', 'iwb123', 'password,social', 'pc', 1800, 604800, '0', '0', 100, 1, '2025-07-10 14:59:14', 1, '2025-07-10 14:59:14');
INSERT INTO `sys_client` VALUES (2, '35aee70ae7224eb9a48bc527955ddedc', 'app', 'iwb123', 'password,sms,social', 'android', 1800, 604800, '0', '0', 100, 1, '2025-07-10 14:59:14', 1, '2025-07-10 14:59:14');

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config`  (
                               `config_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '参数主键',
                               `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                               `config_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '参数名称',
                               `config_key` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '参数键名',
                               `config_value` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '参数键值',
                               `config_type` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
                               `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                               `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                               `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                               `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                               `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                               `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                               PRIMARY KEY (`config_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '参数配置表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_config
-- ----------------------------
INSERT INTO `sys_config` VALUES (1, '000000', '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '初始化密码 123456');
INSERT INTO `sys_config` VALUES (2, '000000', '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '是否开启注册用户功能（true开启，false关闭）');
INSERT INTO `sys_config` VALUES (3, '000000', 'OSS预览列表资源开关', 'sys.oss.previewListResource', 'true', 'Y', 100, 1, '2025-07-10 14:59:14', NULL, NULL, 'true:开启, false:关闭');

-- ----------------------------
-- Table structure for sys_dict_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data`  (
                                  `dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码',
                                  `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                                  `dict_sort` int(4) NULL DEFAULT 0 COMMENT '字典排序',
                                  `dict_label` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典标签',
                                  `dict_value` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典键值',
                                  `dict_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典类型',
                                  `css_class` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
                                  `list_class` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '表格回显样式',
                                  `is_default` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
                                  `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                                  `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                                  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                                  `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                                  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                                  `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                                  PRIMARY KEY (`dict_code`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1065 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典数据表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_dict_data
-- ----------------------------
INSERT INTO `sys_dict_data` VALUES (1, '000000', 1, '男', '0', 'sys_user_sex', '', 'primary', 'Y', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '性别男');
INSERT INTO `sys_dict_data` VALUES (2, '000000', 2, '女', '1', 'sys_user_sex', '', 'danger', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '性别女');
INSERT INTO `sys_dict_data` VALUES (3, '000000', 3, '未知', '2', 'sys_user_sex', '', 'warning', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '性别未知');
INSERT INTO `sys_dict_data` VALUES (4, '000000', 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '显示菜单');
INSERT INTO `sys_dict_data` VALUES (5, '000000', 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '隐藏菜单');
INSERT INTO `sys_dict_data` VALUES (6, '000000', 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (7, '000000', 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (12, '000000', 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '系统默认是');
INSERT INTO `sys_dict_data` VALUES (13, '000000', 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '系统默认否');
INSERT INTO `sys_dict_data` VALUES (14, '000000', 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '通知');
INSERT INTO `sys_dict_data` VALUES (15, '000000', 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '公告');
INSERT INTO `sys_dict_data` VALUES (16, '000000', 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (17, '000000', 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '关闭状态');
INSERT INTO `sys_dict_data` VALUES (18, '000000', 1, '新增', '1', 'sys_oper_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '新增操作');
INSERT INTO `sys_dict_data` VALUES (19, '000000', 2, '修改', '2', 'sys_oper_type', '', 'success', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '修改操作');
INSERT INTO `sys_dict_data` VALUES (20, '000000', 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '删除操作');
INSERT INTO `sys_dict_data` VALUES (21, '000000', 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '授权操作');
INSERT INTO `sys_dict_data` VALUES (22, '000000', 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '导出操作');
INSERT INTO `sys_dict_data` VALUES (23, '000000', 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '导入操作');
INSERT INTO `sys_dict_data` VALUES (24, '000000', 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '强退操作');
INSERT INTO `sys_dict_data` VALUES (25, '000000', 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '生成操作');
INSERT INTO `sys_dict_data` VALUES (26, '000000', 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '清空操作');
INSERT INTO `sys_dict_data` VALUES (27, '000000', 1, '成功', '0', 'sys_common_status', '', 'success', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '正常状态');
INSERT INTO `sys_dict_data` VALUES (28, '000000', 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '停用状态');
INSERT INTO `sys_dict_data` VALUES (29, '000000', 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '其他操作');
INSERT INTO `sys_dict_data` VALUES (30, '000000', 0, '密码认证', 'password', 'sys_grant_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '密码认证');
INSERT INTO `sys_dict_data` VALUES (31, '000000', 0, '短信认证', 'sms', 'sys_grant_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '短信认证');
INSERT INTO `sys_dict_data` VALUES (32, '000000', 0, '邮件认证', 'email', 'sys_grant_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '邮件认证');
INSERT INTO `sys_dict_data` VALUES (33, '000000', 0, '小程序认证', 'xcx', 'sys_grant_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '小程序认证');
INSERT INTO `sys_dict_data` VALUES (34, '000000', 0, '三方登录认证', 'social', 'sys_grant_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '三方登录认证');
INSERT INTO `sys_dict_data` VALUES (35, '000000', 0, 'PC', 'pc', 'sys_device_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, 'PC');
INSERT INTO `sys_dict_data` VALUES (36, '000000', 0, '安卓', 'android', 'sys_device_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '安卓');
INSERT INTO `sys_dict_data` VALUES (37, '000000', 0, 'iOS', 'ios', 'sys_device_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, 'iOS');
INSERT INTO `sys_dict_data` VALUES (38, '000000', 0, '小程序', 'xcx', 'sys_device_type', '', 'primary', 'N', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '小程序');
INSERT INTO `sys_dict_data` VALUES (1000, '000000', 1, '灭活疫苗', '0', 'vaccine_type', NULL, NULL, 'Y', 100, 1, '2025-07-14 17:27:06', 1, '2025-07-14 17:27:06', NULL);
INSERT INTO `sys_dict_data` VALUES (1001, '000000', 1, '活疫苗', '1', 'vaccine_type', NULL, NULL, 'N', 100, 1, '2025-07-14 17:27:23', 1, '2025-07-14 17:27:28', NULL);
INSERT INTO `sys_dict_data` VALUES (1002, '000000', 2, '重组蛋白疫苗', '2', 'vaccine_type', NULL, NULL, 'Y', 100, 1, '2025-07-14 17:27:54', 1, '2025-07-14 17:27:54', NULL);
INSERT INTO `sys_dict_data` VALUES (1003, '000000', 1, '可用', '0', 'vaccine_status', NULL, NULL, 'Y', 100, 1, '2025-07-14 17:29:10', 1, '2025-07-14 17:29:10', NULL);
INSERT INTO `sys_dict_data` VALUES (1004, '000000', 2, '缺货', '1', 'vaccine_status', NULL, 'warning', 'N', 100, 1, '2025-07-14 17:30:14', 1, '2025-07-14 17:30:14', NULL);
INSERT INTO `sys_dict_data` VALUES (1005, '000000', 3, '过期', '2', 'vaccine_status', NULL, 'danger', 'N', 100, 1, '2025-07-14 21:27:55', 1, '2025-07-14 21:27:55', NULL);
INSERT INTO `sys_dict_data` VALUES (1006, '000000', 1, '公', '0', 'chicken_gender', NULL, 'primary', 'N', 100, 1, '2025-07-15 10:25:10', 1, '2025-07-15 10:25:10', NULL);
INSERT INTO `sys_dict_data` VALUES (1007, '000000', 2, '母', '1', 'chicken_gender', NULL, 'success', 'N', 100, 1, '2025-07-15 10:25:33', 1, '2025-07-15 10:25:43', NULL);
INSERT INTO `sys_dict_data` VALUES (1008, '000000', 1, '启用', '0', 'sop_status', NULL, 'primary', 'N', 100, 1, '2025-07-15 10:26:57', 1, '2025-07-15 10:27:08', NULL);
INSERT INTO `sys_dict_data` VALUES (1009, '000000', 2, '禁用', '1', 'sop_status', NULL, 'danger', 'N', 100, 1, '2025-07-15 10:27:48', 1, '2025-07-15 10:28:21', NULL);
INSERT INTO `sys_dict_data` VALUES (1011, '000000', 1, '闲置', '0', 'wing_tag_status', NULL, 'primary', 'Y', 100, 1, '2025-07-16 16:00:34', 1, '2025-07-16 16:00:34', NULL);
INSERT INTO `sys_dict_data` VALUES (1012, '000000', 2, '绑定中', '1', 'wing_tag_status', NULL, 'success', 'Y', 100, 1, '2025-07-16 16:00:59', 1, '2025-07-24 11:02:37', NULL);
INSERT INTO `sys_dict_data` VALUES (1014, '000000', 1, '正常', '0', 'chicken_coop_status', NULL, 'success', 'Y', 100, 1, '2025-07-16 17:11:30', 1, '2025-07-16 17:11:30', NULL);
INSERT INTO `sys_dict_data` VALUES (1015, '000000', 2, '异常', '1', 'chicken_coop_status', NULL, 'warning', 'N', 100, 1, '2025-07-16 17:11:43', 1, '2025-07-16 17:11:43', NULL);
INSERT INTO `sys_dict_data` VALUES (1016, '000000', 1, '正常', '0', 'chicken_cage_status', NULL, 'primary', 'Y', 100, 1, '2025-07-16 20:17:02', 1, '2025-07-24 11:04:48', NULL);
INSERT INTO `sys_dict_data` VALUES (1017, '000000', 2, '异常', '1', 'chicken_cage_status', NULL, 'info', 'N', 100, 1, '2025-07-16 20:17:29', 1, '2025-07-24 11:04:37', NULL);
INSERT INTO `sys_dict_data` VALUES (1019, '000000', 1, 'A系', 'A', 'variety_lineage', NULL, 'primary', 'Y', 100, 1, '2025-07-17 11:57:39', 1, '2025-07-17 11:57:39', NULL);
INSERT INTO `sys_dict_data` VALUES (1020, '000000', 2, 'B系', 'B', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:20', 1, '2025-07-17 13:20:20', NULL);
INSERT INTO `sys_dict_data` VALUES (1021, '000000', 3, 'C系', 'C', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:26', 1, '2025-07-17 13:20:26', NULL);
INSERT INTO `sys_dict_data` VALUES (1022, '000000', 4, 'D系', 'D', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:27', 1, '2025-07-17 13:20:27', NULL);
INSERT INTO `sys_dict_data` VALUES (1023, '000000', 5, 'E系', 'E', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:27', 1, '2025-07-17 13:20:27', NULL);
INSERT INTO `sys_dict_data` VALUES (1024, '000000', 6, 'F系', 'F', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:27', 1, '2025-07-17 13:20:27', NULL);
INSERT INTO `sys_dict_data` VALUES (1025, '000000', 7, 'G系', 'G', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:27', 1, '2025-07-17 13:20:27', NULL);
INSERT INTO `sys_dict_data` VALUES (1026, '000000', 8, 'H系', 'H', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:27', 1, '2025-07-17 13:20:27', NULL);
INSERT INTO `sys_dict_data` VALUES (1027, '000000', 9, 'I系', 'I', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:27', 1, '2025-07-17 13:20:27', NULL);
INSERT INTO `sys_dict_data` VALUES (1028, '000000', 10, 'J系', 'J', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:27', 1, '2025-07-17 13:20:27', NULL);
INSERT INTO `sys_dict_data` VALUES (1029, '000000', 11, 'K系', 'K', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:27', 1, '2025-07-17 13:20:27', NULL);
INSERT INTO `sys_dict_data` VALUES (1030, '000000', 12, 'L系', 'L', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:28', 1, '2025-07-17 13:20:28', NULL);
INSERT INTO `sys_dict_data` VALUES (1031, '000000', 13, 'M系', 'M', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:28', 1, '2025-07-17 13:20:28', NULL);
INSERT INTO `sys_dict_data` VALUES (1032, '000000', 14, 'N系', 'N', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:28', 1, '2025-07-17 13:20:28', NULL);
INSERT INTO `sys_dict_data` VALUES (1033, '000000', 15, 'O系', 'O', 'variety_lineage', NULL, 'primary', 'N', 100, 1, '2025-07-17 13:20:28', 1, '2025-07-17 13:20:28', NULL);
INSERT INTO `sys_dict_data` VALUES (1034, '000000', 1, '新建', '0', 'batch_status', NULL, 'primary', 'Y', 100, 1, '2025-07-17 14:23:50', 1, '2025-07-17 14:23:50', NULL);
INSERT INTO `sys_dict_data` VALUES (1035, '000000', 2, '育成中', '1', 'batch_status', NULL, 'success', 'Y', 100, 1, '2025-07-17 14:24:08', 1, '2025-07-17 14:24:19', NULL);
INSERT INTO `sys_dict_data` VALUES (1036, '000000', 3, '完成', '2', 'batch_status', NULL, 'info', 'N', 100, 1, '2025-07-17 15:05:34', 1, '2025-07-17 15:05:34', NULL);
INSERT INTO `sys_dict_data` VALUES (1037, '000000', 1, '在养', '0', 'chicken_status', NULL, 'success', 'Y', 100, 1, '2025-07-17 18:35:51', 1, '2025-07-17 18:35:51', NULL);
INSERT INTO `sys_dict_data` VALUES (1038, '000000', 2, '已淘汰', '1', 'chicken_status', NULL, 'warning', 'N', 100, 1, '2025-07-17 18:36:20', 1, '2025-07-17 18:36:20', NULL);
INSERT INTO `sys_dict_data` VALUES (1040, '000000', 1, '腿病', '1', 'chicken_cull_reason', NULL, 'primary', 'Y', 100, 1, '2025-07-17 18:56:40', 1, '2025-08-11 15:52:20', NULL);
INSERT INTO `sys_dict_data` VALUES (1041, '000000', 2, '腹水', '2', 'chicken_cull_reason', NULL, 'primary', 'N', 100, 1, '2025-07-17 18:57:03', 1, '2025-08-11 15:52:27', NULL);
INSERT INTO `sys_dict_data` VALUES (1042, '000000', 3, '细菌感染', '3', 'chicken_cull_reason', NULL, 'primary', 'N', 100, 1, '2025-07-17 18:57:15', 1, '2025-07-17 18:57:15', NULL);
INSERT INTO `sys_dict_data` VALUES (1043, '000000', 4, '外伤', '4', 'chicken_cull_reason', NULL, 'primary', 'N', 100, 1, '2025-07-17 18:57:39', 1, '2025-07-17 18:57:39', NULL);
INSERT INTO `sys_dict_data` VALUES (1044, '000000', 1, '无害化', '0', 'chicken_disposal_method', NULL, 'primary', 'Y', 100, 1, '2025-07-17 18:58:01', 1, '2025-07-17 18:58:01', NULL);
INSERT INTO `sys_dict_data` VALUES (1045, '000000', 2, '食堂', '1', 'chicken_disposal_method', NULL, 'primary', 'N', 100, 1, '2025-07-17 18:58:19', 1, '2025-07-17 18:58:19', NULL);
INSERT INTO `sys_dict_data` VALUES (1046, '000000', 3, '屠宰场', '2', 'chicken_disposal_method', NULL, 'primary', 'N', 100, 1, '2025-07-17 18:58:31', 1, '2025-07-17 18:58:31', NULL);
INSERT INTO `sys_dict_data` VALUES (1047, '000000', 1, '正常', '0', 'family_status', NULL, 'primary', 'Y', 100, 1, '2025-07-18 10:26:25', 1, '2025-07-24 11:00:55', NULL);
INSERT INTO `sys_dict_data` VALUES (1048, '000000', 2, '异常', '1', 'family_status', NULL, 'info', 'N', 100, 1, '2025-07-18 10:26:48', 1, '2025-07-24 11:07:07', NULL);
INSERT INTO `sys_dict_data` VALUES (1050, '000000', 1, '好种蛋', '0', 'breeding_egg_type', NULL, 'primary', 'Y', 100, 1, '2025-07-21 09:53:31', 1, '2025-07-21 09:53:31', NULL);
INSERT INTO `sys_dict_data` VALUES (1051, '000000', 2, '好菜蛋', '1', 'breeding_egg_type', NULL, 'primary', 'N', 100, 1, '2025-07-21 09:53:44', 1, '2025-07-21 09:54:30', NULL);
INSERT INTO `sys_dict_data` VALUES (1052, '000000', 3, '畸形蛋', '2', 'breeding_egg_type', NULL, 'info', 'N', 100, 1, '2025-07-21 09:54:03', 1, '2025-07-31 13:16:00', NULL);
INSERT INTO `sys_dict_data` VALUES (1053, '000000', 4, '破蛋', '3', 'breeding_egg_type', NULL, 'warning', 'N', 100, 1, '2025-07-21 09:54:21', 1, '2025-07-31 13:16:09', NULL);
INSERT INTO `sys_dict_data` VALUES (1054, '000000', 1, '待确认', '0', 'cage_change_status', NULL, 'primary', 'Y', 100, 1, '2025-07-28 13:53:25', 1, '2025-07-28 16:45:12', NULL);
INSERT INTO `sys_dict_data` VALUES (1055, '000000', 2, '审核通过', '1', 'cage_change_status', NULL, 'success', 'N', 100, 1, '2025-07-28 13:54:07', 1, '2025-07-28 13:54:07', NULL);
INSERT INTO `sys_dict_data` VALUES (1056, '000000', 3, '作废', '2', 'cage_change_status', NULL, 'info', 'N', 100, 1, '2025-07-28 13:54:31', 1, '2025-07-28 13:54:31', NULL);
INSERT INTO `sys_dict_data` VALUES (1057, '000000', 1, '祖代厂', '0', 'pull_out_type', NULL, 'primary', 'Y', 100, 1, '2025-07-30 12:35:30', 1, '2025-07-30 12:35:30', NULL);
INSERT INTO `sys_dict_data` VALUES (1058, '000000', 2, '食堂', '1', 'pull_out_type', NULL, 'primary', 'N', 100, 1, '2025-07-30 12:35:45', 1, '2025-07-30 12:35:45', NULL);
INSERT INTO `sys_dict_data` VALUES (1059, '000000', 3, '实验室', '2', 'pull_out_type', NULL, 'primary', 'N', 100, 1, '2025-07-30 12:35:54', 1, '2025-07-30 12:35:54', NULL);
INSERT INTO `sys_dict_data` VALUES (1060, '000000', 4, '菜蛋销售', '3', 'pull_out_type', NULL, 'primary', 'N', 100, 1, '2025-07-30 12:36:09', 1, '2025-07-30 12:36:09', NULL);
INSERT INTO `sys_dict_data` VALUES (1061, '000000', 5, '其它', '5', 'chicken_cull_reason', NULL, 'primary', 'N', 100, 1, '2025-07-17 18:57:39', 1, '2025-07-17 18:57:39', NULL);
INSERT INTO `sys_dict_data` VALUES (1062, '000000', 0, '测定中', '0', 'measure_detail_status', NULL, 'primary', 'Y', 100, 1, '2025-08-12 09:34:50', 1, '2025-08-12 09:34:58', NULL);
INSERT INTO `sys_dict_data` VALUES (1063, '000000', 1, '结束', '1', 'measure_detail_status', NULL, 'info', 'N', 100, 1, '2025-08-12 09:35:16', 1, '2025-08-12 09:35:16', NULL);
INSERT INTO `sys_dict_data` VALUES (1064, '000000', 2, '淘汰', '2', 'measure_detail_status', NULL, 'warning', 'N', 100, 1, '2025-08-12 09:35:35', 1, '2025-08-12 09:35:35', NULL);

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type`  (
                                  `dict_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键',
                                  `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                                  `dict_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典名称',
                                  `dict_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '字典类型',
                                  `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                                  `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                                  `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                                  `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                                  `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                                  `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                                  PRIMARY KEY (`dict_id`) USING BTREE,
                                  UNIQUE INDEX `tenant_id`(`tenant_id`, `dict_type`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1017 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '字典类型表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
INSERT INTO `sys_dict_type` VALUES (1, '000000', '用户性别', 'sys_user_sex', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '用户性别列表');
INSERT INTO `sys_dict_type` VALUES (2, '000000', '隐藏状态', 'sys_show_hide', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '菜单隐藏状态列表(1隐藏0显示)');
INSERT INTO `sys_dict_type` VALUES (3, '000000', '启用状态', 'sys_normal_disable', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '系统启用状态列表');
INSERT INTO `sys_dict_type` VALUES (6, '000000', '系统是否', 'sys_yes_no', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '系统是否列表');
INSERT INTO `sys_dict_type` VALUES (7, '000000', '通知类型', 'sys_notice_type', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '通知类型列表');
INSERT INTO `sys_dict_type` VALUES (8, '000000', '通知状态', 'sys_notice_status', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '通知状态列表');
INSERT INTO `sys_dict_type` VALUES (9, '000000', '操作类型', 'sys_oper_type', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '操作类型列表');
INSERT INTO `sys_dict_type` VALUES (10, '000000', '操作状态', 'sys_common_status', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '操作状态列表');
INSERT INTO `sys_dict_type` VALUES (11, '000000', '授权类型', 'sys_grant_type', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '认证授权类型');
INSERT INTO `sys_dict_type` VALUES (12, '000000', '设备类型', 'sys_device_type', 100, 1, '2025-07-10 14:59:14', NULL, NULL, '客户端设备类型');
INSERT INTO `sys_dict_type` VALUES (1000, '000000', '疫苗种类', 'vaccine_type', 100, 1, '2025-07-14 17:26:23', 1, '2025-07-14 17:26:23', '疫苗种类（0:灭活疫苗, 1:活疫苗, 2:重组蛋白疫苗）');
INSERT INTO `sys_dict_type` VALUES (1001, '000000', '疫苗状态', 'vaccine_status', 100, 1, '2025-07-14 17:28:35', 1, '2025-07-14 17:28:35', '状态（0:可用, 1:缺货, 2:过期）');
INSERT INTO `sys_dict_type` VALUES (1002, '000000', '家禽性别', 'chicken_gender', 100, 1, '2025-07-15 10:24:17', 1, '2025-07-15 10:24:42', '家禽性别（0：公 1：母）');
INSERT INTO `sys_dict_type` VALUES (1003, '000000', 'sop状态', 'sop_status', 100, 1, '2025-07-15 10:26:34', 1, '2025-07-24 11:01:54', '状态（0:启用, 1:禁用）');
INSERT INTO `sys_dict_type` VALUES (1004, '000000', '翅号状态', 'wing_tag_status', 100, 1, '2025-07-16 15:58:49', 1, '2025-07-24 11:02:21', '状态（0:闲置, 1:已绑定）');
INSERT INTO `sys_dict_type` VALUES (1005, '000000', '鸡舍状态', 'chicken_coop_status', 100, 1, '2025-07-16 17:11:05', 1, '2025-07-16 17:11:05', '状态(0:正常 1:异常)');
INSERT INTO `sys_dict_type` VALUES (1006, '000000', '鸡笼状态', 'chicken_cage_status', 100, 1, '2025-07-16 20:16:21', 1, '2025-07-24 11:04:15', '状态（0:正常, 1:异常）');
INSERT INTO `sys_dict_type` VALUES (1007, '000000', '品系系别', 'variety_lineage', 100, 1, '2025-07-17 11:56:03', 1, '2025-07-17 11:56:33', 'A~O系,例：A系，B系。。。。O系');
INSERT INTO `sys_dict_type` VALUES (1008, '000000', '批次状态', 'batch_status', 100, 1, '2025-07-17 14:22:12', 1, '2025-07-17 14:22:12', '状态（0:新建, 1:育成中, 2:完成）');
INSERT INTO `sys_dict_type` VALUES (1009, '000000', '鸡个体状态', 'chicken_status', 100, 1, '2025-07-17 18:21:26', 1, '2025-07-24 09:38:54', '状态（0:在养, 1:已淘汰）');
INSERT INTO `sys_dict_type` VALUES (1010, '000000', '鸡个体淘汰原因', 'chicken_cull_reason', 100, 1, '2025-07-17 18:54:19', 1, '2025-08-11 15:55:42', '“腿病”、“腹水”、“细菌感染”、“外伤”，其他');
INSERT INTO `sys_dict_type` VALUES (1011, '000000', '鸡个体处置方式', 'chicken_disposal_method', 100, 1, '2025-07-17 18:55:31', 1, '2025-07-17 18:55:31', '“无害化”，“食堂”，“屠宰场”');
INSERT INTO `sys_dict_type` VALUES (1012, '000000', '家系配种状态', 'family_status', 100, 1, '2025-07-18 10:25:34', 1, '2025-07-24 11:06:51', '状态（0:正常, 1:异常）');
INSERT INTO `sys_dict_type` VALUES (1013, '000000', '种蛋类型', 'breeding_egg_type', 100, 1, '2025-07-21 09:53:04', 1, '2025-07-21 09:53:04', '蛋分类（0:好种蛋, 1:好菜蛋, 2:畸形蛋, 3:破蛋）');
INSERT INTO `sys_dict_type` VALUES (1014, '000000', '换笼状态', 'cage_change_status', 100, 1, '2025-07-28 13:52:49', 1, '2025-07-28 13:52:49', '换笼状态');
INSERT INTO `sys_dict_type` VALUES (1015, '000000', '外拉类型', 'pull_out_type', 100, 1, '2025-07-30 12:34:45', 1, '2025-07-30 12:34:59', '外拉类型（0：祖代厂 1:食堂 2:实验室 3:菜蛋销售）');
INSERT INTO `sys_dict_type` VALUES (1016, '000000', '测定记录详情状态', 'measure_detail_status', 100, 1, '2025-08-12 09:34:11', 1, '2025-08-12 09:34:11', '测定中，结束，淘汰');

-- ----------------------------
-- Table structure for sys_login_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_login_log`;
CREATE TABLE `sys_login_log`  (
                                  `info_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '访问ID',
                                  `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                                  `user_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '用户账号',
                                  `client_key` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '客户端',
                                  `device_type` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '设备类型',
                                  `ipaddr` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '登录IP地址',
                                  `login_location` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '登录地点',
                                  `browser` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '浏览器类型',
                                  `os` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '操作系统',
                                  `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
                                  `msg` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '提示消息',
                                  `login_time` datetime NULL DEFAULT NULL COMMENT '访问时间',
                                  PRIMARY KEY (`info_id`) USING BTREE,
                                  INDEX `idx_sys_loginLog_s`(`status`) USING BTREE,
                                  INDEX `idx_sys_loginLog_lt`(`login_time`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1155 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '系统访问记录' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_login_log
-- ----------------------------




-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu`  (
                             `menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
                             `menu_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '菜单名称',
                             `parent_id` bigint(20) NULL DEFAULT 0 COMMENT '父菜单ID',
                             `order_num` int(4) NULL DEFAULT 0 COMMENT '显示顺序',
                             `path` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '路由地址',
                             `component` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组件路径',
                             `query_param` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '路由参数',
                             `is_frame` int(1) NULL DEFAULT 1 COMMENT '是否为外链（0是 1否）',
                             `is_cache` int(1) NULL DEFAULT 0 COMMENT '是否缓存（0缓存 1不缓存）',
                             `menu_type` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
                             `visible` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '显示状态（0显示 1隐藏）',
                             `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
                             `perms` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限标识',
                             `icon` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '#' COMMENT '菜单图标',
                             `btn_class` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '按钮样式',
                             `btn_script` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '按钮脚本',
                             `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                             `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                             `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                             `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                             `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                             `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '备注',
                             PRIMARY KEY (`menu_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 10177 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '菜单权限表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
INSERT INTO `sys_menu` VALUES (1, '系统信息维护', 0, 100, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'terminal', '', '', 100, 1, '2025-07-10 14:59:13', 1, '2025-07-14 14:14:46', '系统管理目录');
INSERT INTO `sys_menu` VALUES (2, '租户信息维护', 0, 101, 'tenant', NULL, '', 1, 0, 'M', '0', '0', '', 'house-gear', '', '', 100, 1, '2025-07-10 14:59:13', 1, '2025-07-14 15:01:08', '租户管理目录');
INSERT INTO `sys_menu` VALUES (3, '系统运行监控', 0, 102, 'monitor', NULL, '', 1, 0, 'M', '0', '0', '', 'display', '', '', 100, 1, '2025-07-10 14:59:13', 1, '2025-07-14 15:01:23', '系统监控目录');
INSERT INTO `sys_menu` VALUES (90, '系统工具', 0, 90, 'tool', NULL, '', 1, 0, 'M', '0', '0', '', 'code-slash', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '系统工具目录');
INSERT INTO `sys_menu` VALUES (91, '演示示例', 0, 103, 'demo', NULL, '', 1, 0, 'M', '0', '0', '', 'emoji-smile-fill', '', '', 100, 1, '2025-07-10 14:59:13', 1, '2025-07-14 15:01:39', '系统工具目录');
INSERT INTO `sys_menu` VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user', 'person-circle', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '用户管理菜单');
INSERT INTO `sys_menu` VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role', 'person-gear', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '角色管理菜单');
INSERT INTO `sys_menu` VALUES (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu', 'list', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '菜单管理菜单');
INSERT INTO `sys_menu` VALUES (103, '组织机构管理', 1, 4, 'org', 'system/org/index', '', 1, 0, 'C', '0', '0', 'system:org', 'card-list', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '组织机构管理菜单');
INSERT INTO `sys_menu` VALUES (104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post', 'file-person', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '岗位管理菜单');
INSERT INTO `sys_menu` VALUES (105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict', 'file-earmark-medical', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '字典管理菜单');
INSERT INTO `sys_menu` VALUES (106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config', 'gear', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '参数设置菜单');
INSERT INTO `sys_menu` VALUES (107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice', 'bell', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '通知公告菜单');
INSERT INTO `sys_menu` VALUES (108, '日志管理', 1, 9, 'log', '', '', 1, 0, 'M', '0', '0', '', 'file-earmark-medical', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '日志管理菜单');
INSERT INTO `sys_menu` VALUES (109, '操作日志', 108, 1, 'operLog', 'system/log/operLog', '', 1, 0, 'C', '0', '0', 'system:operLog', 'file-earmark-easel', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '操作日志菜单');
INSERT INTO `sys_menu` VALUES (110, '登录日志', 108, 2, 'loginLog', 'system/log/loginLog', '', 1, 0, 'C', '0', '0', 'system:loginLog', 'file-earmark-person', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '登录日志菜单');
INSERT INTO `sys_menu` VALUES (111, '文件管理', 1, 10, 'oss', 'system/oss/index', '', 1, 0, 'C', '0', '0', 'system:oss', 'file-earmark-post', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '文件管理菜单');
INSERT INTO `sys_menu` VALUES (112, '客户端管理', 1, 11, 'client', 'system/client/index', '', 1, 0, 'C', '0', '0', 'system:client', 'file-earmark-medical', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '客户端管理菜单');
INSERT INTO `sys_menu` VALUES (121, '租户管理', 2, 1, 'tenantMg', 'system/tenant/index', '', 1, 0, 'C', '0', '0', 'system:tenant', 'houses-fill', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '租户管理菜单');
INSERT INTO `sys_menu` VALUES (122, '租户套餐管理', 2, 2, 'tenantPackage', 'system/tenantPackage/index', '', 1, 0, 'C', '0', '0', 'system:tenantPackage', 'houses', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '租户套餐管理菜单');
INSERT INTO `sys_menu` VALUES (131, '在线用户', 3, 1, 'online', 'monitor/online/index', '', 1, 0, 'C', '0', '0', 'monitor:online', 'graph-up', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '在线用户菜单');
INSERT INTO `sys_menu` VALUES (132, '缓存监控', 3, 2, 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache', 'file-slides', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '缓存监控菜单');
INSERT INTO `sys_menu` VALUES (141, '代码生成', 90, 2, 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen', 'code-square', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '代码生成菜单');
INSERT INTO `sys_menu` VALUES (1001, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1002, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1003, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1004, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1005, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1006, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', 'cloud-upload', 'btn btn-light-warning', 'handleImport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1007, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', 'file-lock2', 'btn btn-light-danger', 'handleResetPwd@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1008, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1009, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1010, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1011, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1012, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1013, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1014, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1015, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1016, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1017, '组织机构查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:org:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1018, '组织机构新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:org:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1019, '组织机构修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:org:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1020, '组织机构删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:org:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1021, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1022, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1023, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1024, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1025, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1026, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1027, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1028, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1029, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1030, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1031, '参数查询', 106, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1032, '参数新增', 106, 2, '#', '', '', 1, 1, 'F', '0', '0', 'system:config:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1033, '参数修改', 106, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1034, '参数删除', 106, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1035, '参数导出', 106, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1036, '公告查询', 107, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1037, '公告新增', 107, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1038, '公告修改', 107, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1039, '公告删除', 107, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1040, '操作查询', 109, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:operLog:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1041, '操作删除', 109, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:operLog:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1042, '日志导出', 109, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:operLog:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1043, '登录查询', 110, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:loginLog:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1044, '账户解锁', 110, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:loginLog:unlock', 'unlock-fill', 'btn btn-light-primary', 'handleUnlock@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1045, '删除日志', 110, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:loginLog:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1046, '日志导出', 110, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:loginLog:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1061, '文件查询', 111, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1062, '文件上传', 111, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:upload', 'cloud-upload', 'btn btn-light-info', 'handleUpload', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1063, '文件下载', 111, 3, '#', '', '', 1, 0, 'F', '1', '0', 'system:oss:download', 'cloud-download', 'btn btn-light-info', 'handleDownload', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1064, '文件删除', 111, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1065, '文件服务器配置', 111, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig', 'gear-wide-connected', 'btn btn-light-success', 'handleConfig', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1066, '配置查询', 1065, 1, '#', '', '', 1, 0, 'F', '1', '0', 'system:ossConfig:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1067, '配置添加', 1065, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1068, '配置编辑', 1065, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1069, '配置删除', 1065, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1071, '客户端查询', 112, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1072, '客户端新增', 112, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1073, '客户端修改', 112, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1074, '客户端删除', 112, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1075, '客户端导出', 112, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1081, '租户查询', 121, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1082, '租户新增', 121, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1083, '租户修改', 121, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1084, '租户删除', 121, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1085, '租户导出', 121, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1086, '租户套餐查询', 122, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1087, '租户套餐新增', 122, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1088, '租户套餐修改', 122, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1089, '租户套餐删除', 122, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1090, '租户套餐导出', 122, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1091, '在线查询', 131, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1092, '批量强退', 131, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', 'box-arrow-right', 'btn btn-light-danger', 'handleBatchLogout', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1093, '单条强退', 131, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:forceLogout', 'arrow-bar-right', 'btn btn-light-danger', 'handleForceLogout', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1101, '生成查询', 141, 1, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:query', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1102, '导入代码', 141, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', 'cloud-upload', 'btn btn-light-primary', 'handleImport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1103, '生成修改', 141, 3, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1104, '生成删除', 141, 4, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1105, '预览代码', 141, 5, '#', '', '', 1, 0, 'F', '1', '0', 'tool:gen:preview', 'eye', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (1106, '生成代码', 141, 6, '#', '', '', 1, 0, 'F', '1', '0', 'tool:gen:code', 'code-slash', '', '', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (10000, '育种厂信息管理', 0, 2, 'breeding', NULL, NULL, 1, 0, 'M', '0', '0', NULL, 'archive-fill', NULL, NULL, 100, 1, '2025-07-14 14:14:20', 1, '2025-08-11 15:24:14', '');
INSERT INTO `sys_menu` VALUES (10001, '基础信息管理', 0, 1, 'base', NULL, NULL, 1, 0, 'M', '0', '0', NULL, 'bootstrap-fill', NULL, NULL, 100, 1, '2025-07-14 15:02:36', 1, '2025-08-11 15:23:59', '');
INSERT INTO `sys_menu` VALUES (10002, '饲料信息管理', 10001, 6, 'feed', 'base/feed/index', '', 1, 0, 'C', '0', '0', 'base:feed', '#', NULL, NULL, 100, 1, '2025-07-14 16:45:36', 1, '2025-08-11 15:33:51', '');
INSERT INTO `sys_menu` VALUES (10003, '查询饲料信息', 10002, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feed:query', 'eye', '', '', 100, 1, '2025-07-14 16:45:36', NULL, '2025-07-14 16:45:36', '');
INSERT INTO `sys_menu` VALUES (10004, '新增饲料信息', 10002, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feed:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-14 16:45:36', NULL, '2025-07-14 16:45:36', '');
INSERT INTO `sys_menu` VALUES (10005, '修改饲料信息', 10002, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feed:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-14 16:45:36', NULL, '2025-07-14 16:45:36', '');
INSERT INTO `sys_menu` VALUES (10006, '删除饲料信息', 10002, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feed:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-14 16:45:36', NULL, '2025-07-14 16:45:36', '');
INSERT INTO `sys_menu` VALUES (10007, '疫苗信息管理', 10001, 5, 'vaccine', 'base/vaccine/index', '', 1, 0, 'C', '0', '0', 'base:vaccine', '#', NULL, NULL, 100, 1, '2025-07-15 08:45:20', 1, '2025-08-11 15:34:10', '');
INSERT INTO `sys_menu` VALUES (10008, '查询疫苗信息', 10007, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccine:query', 'eye', '', '', 100, 1, '2025-07-15 08:45:20', NULL, '2025-07-15 08:45:20', '');
INSERT INTO `sys_menu` VALUES (10009, '新增疫苗信息', 10007, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccine:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-15 08:45:20', NULL, '2025-07-15 08:45:20', '');
INSERT INTO `sys_menu` VALUES (10010, '修改疫苗信息', 10007, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccine:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-15 08:45:20', NULL, '2025-07-15 08:45:20', '');
INSERT INTO `sys_menu` VALUES (10011, '删除疫苗信息', 10007, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccine:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-15 08:45:20', NULL, '2025-07-15 08:45:20', '');
INSERT INTO `sys_menu` VALUES (10012, '药品信息管理', 10001, 4, 'drug', 'base/drug/index', '', 1, 0, 'C', '0', '0', 'base:drug', '#', NULL, NULL, 100, 1, '2025-07-15 09:11:17', 1, '2025-08-11 15:34:29', '');
INSERT INTO `sys_menu` VALUES (10013, '查询药品信息', 10012, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drug:query', 'eye', '', '', 100, 1, '2025-07-15 09:11:17', NULL, '2025-07-15 09:11:17', '');
INSERT INTO `sys_menu` VALUES (10014, '新增药品信息', 10012, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drug:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-15 09:11:17', NULL, '2025-07-15 09:11:17', '');
INSERT INTO `sys_menu` VALUES (10015, '修改药品信息', 10012, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drug:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-15 09:11:17', NULL, '2025-07-15 09:11:17', '');
INSERT INTO `sys_menu` VALUES (10016, '删除药品信息', 10012, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drug:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-15 09:11:17', NULL, '2025-07-15 09:11:17', '');
INSERT INTO `sys_menu` VALUES (10017, '饲养SOP', 10001, 10, 'feedSop', 'base/feedSop/index', '', 1, 0, 'C', '0', '0', 'base:feedSop', '#', NULL, NULL, 100, 1, '2025-07-15 10:21:08', NULL, '2025-07-15 10:21:08', '');
INSERT INTO `sys_menu` VALUES (10018, '查询饲养SOP', 10017, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feedSop:query', 'eye', '', '', 100, 1, '2025-07-15 10:21:08', NULL, '2025-07-15 10:21:08', '');
INSERT INTO `sys_menu` VALUES (10019, '新增饲养SOP', 10017, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feedSop:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-15 10:21:08', NULL, '2025-07-15 10:21:08', '');
INSERT INTO `sys_menu` VALUES (10020, '修改饲养SOP', 10017, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feedSop:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-15 10:21:08', NULL, '2025-07-15 10:21:08', '');
INSERT INTO `sys_menu` VALUES (10021, '删除饲养SOP', 10017, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feedSop:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-15 10:21:08', NULL, '2025-07-15 10:21:08', '');
INSERT INTO `sys_menu` VALUES (10022, '饲养指标详情表', 10001, 0, 'feedSopDetail', 'base/feedSopDetail/index', '', 1, 0, 'C', '1', '0', 'base:feedSopDetail', '#', NULL, NULL, 100, 1, '2025-07-15 11:05:28', NULL, '2025-07-15 11:05:28', '');
INSERT INTO `sys_menu` VALUES (10023, '查询饲养指标详情', 10022, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feedSopDetail:query', 'eye', '', '', 100, 1, '2025-07-15 11:05:28', NULL, '2025-07-15 11:05:28', '');
INSERT INTO `sys_menu` VALUES (10024, '新增详情', 10022, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feedSopDetail:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-15 11:05:28', NULL, '2025-07-15 11:05:28', '');
INSERT INTO `sys_menu` VALUES (10025, '修改详情', 10022, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feedSopDetail:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-15 11:05:28', NULL, '2025-07-15 11:05:28', '');
INSERT INTO `sys_menu` VALUES (10026, '删除详情', 10022, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:feedSopDetail:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-15 11:05:28', NULL, '2025-07-15 11:05:28', '');
INSERT INTO `sys_menu` VALUES (10027, '免疫使用SOP', 10001, 9, 'vaccineSop', 'base/vaccineSop/index', '', 1, 0, 'C', '0', '0', 'base:vaccineSop', '#', NULL, NULL, 100, 1, '2025-07-16 09:40:53', NULL, '2025-07-16 09:40:53', '');
INSERT INTO `sys_menu` VALUES (10028, '查询免疫SOP', 10027, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineSop:query', 'eye', '', '', 100, 1, '2025-07-16 09:40:53', NULL, '2025-07-16 09:40:53', '');
INSERT INTO `sys_menu` VALUES (10029, '新增免疫SOP', 10027, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineSop:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-16 09:40:53', NULL, '2025-07-16 09:40:53', '');
INSERT INTO `sys_menu` VALUES (10030, '修改免疫SOP', 10027, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineSop:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-16 09:40:53', NULL, '2025-07-16 09:40:53', '');
INSERT INTO `sys_menu` VALUES (10031, '删除免疫SOP', 10027, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineSop:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-16 09:40:53', NULL, '2025-07-16 09:40:53', '');
INSERT INTO `sys_menu` VALUES (10032, '免疫SOP详情表', 10001, 0, 'vaccineSopDetail', 'base/vaccineSopDetail/index', '', 1, 0, 'C', '1', '0', 'base:vaccineSopDetail', '#', NULL, NULL, 100, 1, '2025-07-16 09:40:56', NULL, '2025-07-16 09:40:56', '');
INSERT INTO `sys_menu` VALUES (10033, '查询SOP详情', 10032, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineSopDetail:query', 'eye', '', '', 100, 1, '2025-07-16 09:40:56', NULL, '2025-07-16 09:40:56', '');
INSERT INTO `sys_menu` VALUES (10034, '新增SOP详情', 10032, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineSopDetail:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-16 09:40:56', NULL, '2025-07-16 09:40:56', '');
INSERT INTO `sys_menu` VALUES (10035, '修改SOP详情', 10032, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineSopDetail:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-16 09:40:56', NULL, '2025-07-16 09:40:56', '');
INSERT INTO `sys_menu` VALUES (10036, '删除SOP详情', 10032, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineSopDetail:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-16 09:40:56', NULL, '2025-07-16 09:40:56', '');
INSERT INTO `sys_menu` VALUES (10037, '药品使用SOP', 10001, 8, 'drugSop', 'base/drugSop/index', '', 1, 0, 'C', '0', '0', 'base:drugSop', '#', NULL, NULL, 100, 1, '2025-07-16 10:47:53', NULL, '2025-07-16 10:47:53', '');
INSERT INTO `sys_menu` VALUES (10038, '查询药品SOP', 10037, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drugSop:query', 'eye', '', '', 100, 1, '2025-07-16 10:47:53', NULL, '2025-07-16 10:47:53', '');
INSERT INTO `sys_menu` VALUES (10039, '新增药品SOP', 10037, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drugSop:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-16 10:47:53', NULL, '2025-07-16 10:47:53', '');
INSERT INTO `sys_menu` VALUES (10040, '修改药品SOP', 10037, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drugSop:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-16 10:47:53', NULL, '2025-07-16 10:47:53', '');
INSERT INTO `sys_menu` VALUES (10041, '删除药品SOP', 10037, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drugSop:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-16 10:47:53', NULL, '2025-07-16 10:47:53', '');
INSERT INTO `sys_menu` VALUES (10042, '药品SOP详情', 10001, 0, 'drugSopDetail', 'base/drugSopDetail/index', '', 1, 0, 'C', '1', '0', 'base:drugSopDetail', '#', NULL, NULL, 100, 1, '2025-07-16 10:47:56', NULL, '2025-07-16 10:47:56', '');
INSERT INTO `sys_menu` VALUES (10043, '查询SOP详情', 10042, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drugSopDetail:query', 'eye', '', '', 100, 1, '2025-07-16 10:47:56', NULL, '2025-07-16 10:47:56', '');
INSERT INTO `sys_menu` VALUES (10044, '新增SOP详情', 10042, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drugSopDetail:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-16 10:47:56', NULL, '2025-07-16 10:47:56', '');
INSERT INTO `sys_menu` VALUES (10045, '修改SOP详情', 10042, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drugSopDetail:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-16 10:47:56', NULL, '2025-07-16 10:47:56', '');
INSERT INTO `sys_menu` VALUES (10046, '删除SOP详情', 10042, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:drugSopDetail:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-16 10:47:56', NULL, '2025-07-16 10:47:56', '');
INSERT INTO `sys_menu` VALUES (10047, '疫苗与药品冲突记录', 10001, 7, 'vaccineDrugConflict', 'base/vaccineDrugConflict/index', '', 1, 0, 'C', '0', '0', 'base:vaccineDrugConflict', '#', NULL, NULL, 100, 1, '2025-07-16 14:30:10', 1, '2025-08-11 15:35:51', '');
INSERT INTO `sys_menu` VALUES (10048, '查询冲突记录', 10047, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineDrugConflict:query', 'eye', '', '', 100, 1, '2025-07-16 14:30:10', NULL, '2025-07-16 14:30:10', '');
INSERT INTO `sys_menu` VALUES (10049, '新增冲突记录', 10047, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineDrugConflict:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-16 14:30:10', NULL, '2025-07-16 14:30:10', '');
INSERT INTO `sys_menu` VALUES (10050, '修改冲突记录', 10047, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineDrugConflict:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-16 14:30:10', NULL, '2025-07-16 14:30:10', '');
INSERT INTO `sys_menu` VALUES (10051, '删除冲突记录', 10047, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'base:vaccineDrugConflict:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-16 14:30:10', NULL, '2025-07-16 14:30:10', '');
INSERT INTO `sys_menu` VALUES (10052, '翅号管理表', 10000, 0, 'wingTag', 'breeding/wingTag/index', '', 1, 0, 'C', '1', '0', 'breeding:wingTag', '#', NULL, NULL, 100, 1, '2025-07-16 17:02:35', NULL, '2025-07-16 17:02:35', '');
INSERT INTO `sys_menu` VALUES (10053, '查询翅号管理', 10052, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:wingTag:query', 'eye', '', '', 100, 1, '2025-07-16 17:02:35', NULL, '2025-07-16 17:02:35', '');
INSERT INTO `sys_menu` VALUES (10054, '新增翅号管理', 10052, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:wingTag:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-16 17:02:35', NULL, '2025-07-16 17:02:35', '');
INSERT INTO `sys_menu` VALUES (10055, '修改翅号管理', 10052, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:wingTag:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-16 17:02:35', NULL, '2025-07-16 17:02:35', '');
INSERT INTO `sys_menu` VALUES (10056, '删除翅号管理', 10052, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:wingTag:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-16 17:02:35', NULL, '2025-07-16 17:02:35', '');
INSERT INTO `sys_menu` VALUES (10057, '鸡舍信息维护', 10001, 0, 'chickenCoop', 'base/chickenCoop/index', '', 1, 0, 'C', '0', '0', 'breeding:chickenCoop', '#', NULL, NULL, 100, 1, '2025-07-16 17:37:46', 1, '2025-08-11 15:36:19', '');
INSERT INTO `sys_menu` VALUES (10058, '查询鸡舍', 10057, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenCoop:query', 'eye', '', '', 100, 1, '2025-07-16 17:37:46', NULL, '2025-07-16 17:37:46', '');
INSERT INTO `sys_menu` VALUES (10059, '新增鸡舍', 10057, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenCoop:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-16 17:37:46', NULL, '2025-07-16 17:37:46', '');
INSERT INTO `sys_menu` VALUES (10060, '修改鸡舍', 10057, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenCoop:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-16 17:37:46', NULL, '2025-07-16 17:37:46', '');
INSERT INTO `sys_menu` VALUES (10061, '删除鸡舍', 10057, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenCoop:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-16 17:37:46', NULL, '2025-07-16 17:37:46', '');
INSERT INTO `sys_menu` VALUES (10067, '鸡笼信息维护', 10001, 1, 'chickenCage', 'base/chickenCage/index', '', 1, 0, 'C', '0', '0', 'breeding:chickenCage', '#', NULL, NULL, 100, 1, '2025-07-17 09:21:59', 1, '2025-08-11 15:40:12', '');
INSERT INTO `sys_menu` VALUES (10068, '查询鸡笼', 10067, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenCage:query', 'eye', '', '', 100, 1, '2025-07-17 09:21:59', NULL, '2025-07-17 09:21:59', '');
INSERT INTO `sys_menu` VALUES (10069, '新增鸡笼', 10067, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenCage:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-17 09:21:59', NULL, '2025-07-17 09:21:59', '');
INSERT INTO `sys_menu` VALUES (10070, '修改鸡笼', 10067, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenCage:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-17 09:21:59', NULL, '2025-07-17 09:21:59', '');
INSERT INTO `sys_menu` VALUES (10071, '删除鸡笼', 10067, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenCage:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-17 09:21:59', NULL, '2025-07-17 09:21:59', '');
INSERT INTO `sys_menu` VALUES (10072, '品系信息维护', 10001, 3, 'variety', 'base/variety/index', '', 1, 0, 'C', '0', '0', 'breeding:variety', '#', NULL, NULL, 100, 1, '2025-07-17 11:33:35', 1, '2025-08-11 15:40:28', '');
INSERT INTO `sys_menu` VALUES (10073, '查询品系', 10072, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:variety:query', 'eye', '', '', 100, 1, '2025-07-17 11:33:35', NULL, '2025-07-17 11:33:35', '');
INSERT INTO `sys_menu` VALUES (10074, '新增品系', 10072, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:variety:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-17 11:33:35', NULL, '2025-07-17 11:33:35', '');
INSERT INTO `sys_menu` VALUES (10075, '修改品系', 10072, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:variety:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-17 11:33:35', NULL, '2025-07-17 11:33:35', '');
INSERT INTO `sys_menu` VALUES (10076, '删除品系', 10072, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:variety:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-17 11:33:35', NULL, '2025-07-17 11:33:35', '');
INSERT INTO `sys_menu` VALUES (10077, '批次管理', 10000, 0, 'batch', 'breeding/batch/index', '', 1, 0, 'C', '0', '0', 'breeding:batch', '#', NULL, NULL, 100, 1, '2025-07-17 15:53:15', 1, '2025-08-11 15:41:56', '');
INSERT INTO `sys_menu` VALUES (10078, '查询批次', 10077, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:batch:query', 'eye', '', '', 100, 1, '2025-07-17 15:53:15', NULL, '2025-07-17 15:53:15', '');
INSERT INTO `sys_menu` VALUES (10079, '新增批次', 10077, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:batch:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-17 15:53:15', NULL, '2025-07-17 15:53:15', '');
INSERT INTO `sys_menu` VALUES (10080, '修改批次', 10077, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:batch:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-17 15:53:15', NULL, '2025-07-17 15:53:15', '');
INSERT INTO `sys_menu` VALUES (10081, '删除批次', 10077, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:batch:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-17 15:53:15', NULL, '2025-07-17 15:53:15', '');
INSERT INTO `sys_menu` VALUES (10087, '个体维护', 10000, 0, 'chicken', 'breeding/chicken/index', '', 1, 0, 'C', '1', '0', 'breeding:chicken', '#', NULL, NULL, 100, 1, '2025-07-17 19:04:01', NULL, '2025-07-17 19:04:01', '');
INSERT INTO `sys_menu` VALUES (10088, '查询鸡', 10087, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chicken:query', 'eye', '', '', 100, 1, '2025-07-17 19:04:01', NULL, '2025-07-17 19:04:01', '');
INSERT INTO `sys_menu` VALUES (10089, '新增鸡个体', 10087, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chicken:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-17 19:04:01', NULL, '2025-07-17 19:04:01', '');
INSERT INTO `sys_menu` VALUES (10090, '修改鸡个体', 10087, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chicken:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-17 19:04:01', NULL, '2025-07-17 19:04:01', '');
INSERT INTO `sys_menu` VALUES (10091, '删除鸡个体', 10087, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chicken:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-17 19:04:01', NULL, '2025-07-17 19:04:01', '');
INSERT INTO `sys_menu` VALUES (10092, '导出鸡个体', 10087, 1, '#', '', '', 1, 0, 'F', '0', '0', 'breeding:chicken:export', 'cloud-download', 'btn btn-light-info', 'handleExport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (10093, '导入鸡个体', 10087, 2, '#', '', '', 1, 0, 'F', '0', '0', 'breeding:chicken:import', 'cloud-upload', 'btn btn-light-warning', 'handleImport', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (10094, '家系管理', 10156, 0, 'family', 'eggLaying/family/index', '', 1, 0, 'C', '0', '0', 'breeding:family', '#', NULL, NULL, 100, 1, '2025-07-20 14:43:59', 1, '2025-08-11 15:42:26', '');
INSERT INTO `sys_menu` VALUES (10095, '查询家系', 10094, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:family:query', 'eye', '', '', 100, 1, '2025-07-20 14:43:59', NULL, '2025-07-20 14:43:59', '');
INSERT INTO `sys_menu` VALUES (10096, '新增家系', 10094, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:family:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-20 14:43:59', NULL, '2025-07-20 14:43:59', '');
INSERT INTO `sys_menu` VALUES (10097, '修改家系', 10094, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:family:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-20 14:43:59', NULL, '2025-07-20 14:43:59', '');
INSERT INTO `sys_menu` VALUES (10098, '删除家系', 10094, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:family:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-20 14:43:59', NULL, '2025-07-20 14:43:59', '');
INSERT INTO `sys_menu` VALUES (10099, '批次喂养SOP管理', 10000, 0, 'batchFeed', 'breeding/batchFeed/index', '', 1, 0, 'C', '1', '0', 'breeding:batchFeed', '#', NULL, NULL, 100, 1, '2025-07-20 14:44:02', NULL, '2025-07-20 14:44:02', '');
INSERT INTO `sys_menu` VALUES (10100, '查询批次喂养管理', 10099, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:batchFeed:query', 'eye', '', '', 100, 1, '2025-07-20 14:44:02', NULL, '2025-07-20 14:44:02', '');
INSERT INTO `sys_menu` VALUES (10101, '批次绑定喂养', 10099, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:batchFeed:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-20 14:44:02', NULL, '2025-07-20 14:44:02', '');
INSERT INTO `sys_menu` VALUES (10102, '修改批次喂养管理', 10099, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:batchFeed:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-20 14:44:02', NULL, '2025-07-20 14:44:02', '');
INSERT INTO `sys_menu` VALUES (10103, '删除批次喂养管理', 10099, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:batchFeed:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-20 14:44:02', NULL, '2025-07-20 14:44:02', '');
INSERT INTO `sys_menu` VALUES (10104, '批次用药SOP管理', 10000, 0, 'batchDrug', 'breeding/batchDrug/index', '', 1, 0, 'C', '1', '0', 'breeding:batchDrug', '#', NULL, NULL, 100, 1, '2025-07-21 09:08:47', NULL, '2025-07-21 09:08:47', '');
INSERT INTO `sys_menu` VALUES (10105, '查询批次用药管理', 10104, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:batchDrug:query', 'eye', '', '', 100, 1, '2025-07-21 09:08:47', NULL, '2025-07-21 09:08:47', '');
INSERT INTO `sys_menu` VALUES (10106, '批次用药绑定', 10104, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:batchDrug:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-21 09:08:47', NULL, '2025-07-21 09:08:47', '');
INSERT INTO `sys_menu` VALUES (10107, '修改批次用药管理', 10104, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:batchDrug:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-21 09:08:47', NULL, '2025-07-21 09:08:47', '');
INSERT INTO `sys_menu` VALUES (10108, '删除批次用药管理', 10104, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:batchDrug:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-21 09:08:47', NULL, '2025-07-21 09:08:47', '');
INSERT INTO `sys_menu` VALUES (10109, '批次疫苗SOP管理', 10000, 0, 'batchVaccine', 'breeding/batchVaccine/index', '', 1, 0, 'C', '1', '0', 'breeding:batchVaccine', '#', NULL, NULL, 100, 1, '2025-07-21 09:09:19', NULL, '2025-07-21 09:09:19', '');
INSERT INTO `sys_menu` VALUES (10110, '查询批次疫苗管理', 10109, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:batchVaccine:query', 'eye', '', '', 100, 1, '2025-07-21 09:09:19', NULL, '2025-07-21 09:09:19', '');
INSERT INTO `sys_menu` VALUES (10111, '批次疫苗绑定', 10109, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:batchVaccine:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-21 09:09:19', NULL, '2025-07-21 09:09:19', '');
INSERT INTO `sys_menu` VALUES (10112, '修改批次疫苗管理', 10109, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:batchVaccine:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-21 09:09:19', NULL, '2025-07-21 09:09:19', '');
INSERT INTO `sys_menu` VALUES (10113, '删除批次疫苗管理', 10109, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:batchVaccine:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-21 09:09:19', NULL, '2025-07-21 09:09:19', '');
INSERT INTO `sys_menu` VALUES (10114, '个体用药管理', 10000, 0, 'chickenDrug', 'breeding/chickenDrug/index', '', 1, 0, 'C', '1', '0', 'breeding:chickenDrug', '#', NULL, NULL, 100, 1, '2025-07-21 09:33:09', NULL, '2025-07-21 09:33:09', '');
INSERT INTO `sys_menu` VALUES (10115, '查询个体用药管理', 10114, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenDrug:query', 'eye', '', '', 100, 1, '2025-07-21 09:33:09', NULL, '2025-07-21 09:33:09', '');
INSERT INTO `sys_menu` VALUES (10116, '新增个体用药管理', 10114, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenDrug:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-21 09:33:09', NULL, '2025-07-21 09:33:09', '');
INSERT INTO `sys_menu` VALUES (10117, '修改个体用药管理', 10114, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenDrug:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-21 09:33:09', NULL, '2025-07-21 09:33:09', '');
INSERT INTO `sys_menu` VALUES (10118, '删除个体用药管理', 10114, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenDrug:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-21 09:33:09', NULL, '2025-07-21 09:33:09', '');
INSERT INTO `sys_menu` VALUES (10119, '个体疫苗管理', 3, 0, 'chickenVaccine', 'breeding/chickenVaccine/index', '', 1, 0, 'C', '1', '0', 'breeding:chickenVaccine', '#', NULL, NULL, 100, 1, '2025-07-21 09:33:13', NULL, '2025-07-21 09:33:13', '');
INSERT INTO `sys_menu` VALUES (10120, '查询个体疫苗管理', 10119, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenVaccine:query', 'eye', '', '', 100, 1, '2025-07-21 09:33:13', NULL, '2025-07-21 09:33:13', '');
INSERT INTO `sys_menu` VALUES (10121, '新增个体疫苗管理', 10119, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenVaccine:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-21 09:33:13', NULL, '2025-07-21 09:33:13', '');
INSERT INTO `sys_menu` VALUES (10122, '修改个体疫苗管理', 10119, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenVaccine:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-21 09:33:13', NULL, '2025-07-21 09:33:13', '');
INSERT INTO `sys_menu` VALUES (10123, '删除个体疫苗管理', 10119, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenVaccine:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-21 09:33:13', NULL, '2025-07-21 09:33:13', '');
INSERT INTO `sys_menu` VALUES (10124, '个体饲喂管理', 10000, 0, 'chickenFeed', 'breeding/chickenFeed/index', '', 1, 0, 'C', '1', '0', 'breeding:chickenFeed', '#', NULL, NULL, 100, 1, '2025-07-21 09:33:18', NULL, '2025-07-21 09:33:18', '');
INSERT INTO `sys_menu` VALUES (10125, '查询个体饲喂管理', 10124, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenFeed:query', 'eye', '', '', 100, 1, '2025-07-21 09:33:18', NULL, '2025-07-21 09:33:18', '');
INSERT INTO `sys_menu` VALUES (10126, '新增个体饲喂管理', 10124, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenFeed:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-21 09:33:18', NULL, '2025-07-21 09:33:18', '');
INSERT INTO `sys_menu` VALUES (10127, '修改个体饲喂管理', 10124, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenFeed:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-21 09:33:18', NULL, '2025-07-21 09:33:18', '');
INSERT INTO `sys_menu` VALUES (10128, '删除个体饲喂管理', 10124, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenFeed:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-21 09:33:18', NULL, '2025-07-21 09:33:18', '');
INSERT INTO `sys_menu` VALUES (10129, '换笼管理', 10000, 0, 'cageChange', 'breeding/cageChange/index', '', 1, 0, 'C', '0', '0', 'breeding:cageChange', '#', NULL, NULL, 100, 1, '2025-07-21 09:42:09', NULL, '2025-07-21 09:42:09', '');
INSERT INTO `sys_menu` VALUES (10130, '查询换笼管理', 10129, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:cageChange:query', 'eye', '', '', 100, 1, '2025-07-21 09:42:09', NULL, '2025-07-21 09:42:09', '');
INSERT INTO `sys_menu` VALUES (10131, '新增换笼管理', 10129, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:cageChange:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-21 09:42:09', NULL, '2025-07-21 09:42:09', '');
INSERT INTO `sys_menu` VALUES (10132, '修改换笼管理', 10129, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:cageChange:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-21 09:42:09', NULL, '2025-07-21 09:42:09', '');
INSERT INTO `sys_menu` VALUES (10133, '删除换笼管理', 10129, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:cageChange:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-21 09:42:09', NULL, '2025-07-21 09:42:09', '');
INSERT INTO `sys_menu` VALUES (10134, '称重管理', 10000, 0, 'chickenWeight', 'breeding/chickenWeight/index', '', 1, 0, 'C', '0', '0', 'breeding:chickenWeight', '#', NULL, NULL, 100, 1, '2025-07-21 09:46:15', 1, '2025-08-11 15:41:33', '');
INSERT INTO `sys_menu` VALUES (10135, '查询鸡体重信息', 10134, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenWeight:query', 'eye', '', '', 100, 1, '2025-07-21 09:46:15', NULL, '2025-07-21 09:46:15', '');
INSERT INTO `sys_menu` VALUES (10136, '新增鸡体重信息', 10134, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenWeight:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-21 09:46:15', NULL, '2025-07-21 09:46:15', '');
INSERT INTO `sys_menu` VALUES (10137, '修改鸡体重信息', 10134, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:chickenWeight:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-21 09:46:15', NULL, '2025-07-21 09:46:15', '');
INSERT INTO `sys_menu` VALUES (10138, '删除鸡体重信息', 10134, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:chickenWeight:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-21 09:46:15', NULL, '2025-07-21 09:46:15', '');
INSERT INTO `sys_menu` VALUES (10139, '种蛋管理', 10156, 0, 'breedingEgg', 'eggLaying/breedingEgg/index', '', 1, 0, 'C', '0', '0', 'breeding:breedingEgg', '#', NULL, NULL, 100, 1, '2025-07-21 10:00:28', 1, '2025-08-11 15:22:42', '');
INSERT INTO `sys_menu` VALUES (10140, '查询种蛋', 10139, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:breedingEgg:query', 'eye', '', '', 100, 1, '2025-07-21 10:00:28', NULL, '2025-07-21 10:00:28', '');
INSERT INTO `sys_menu` VALUES (10141, '新增种蛋', 10139, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:breedingEgg:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-21 10:00:28', NULL, '2025-07-21 10:00:28', '');
INSERT INTO `sys_menu` VALUES (10142, '修改种蛋', 10139, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:breedingEgg:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-21 10:00:28', NULL, '2025-07-21 10:00:28', '');
INSERT INTO `sys_menu` VALUES (10143, '删除种蛋', 10139, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:breedingEgg:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-21 10:00:28', NULL, '2025-07-21 10:00:28', '');
INSERT INTO `sys_menu` VALUES (10144, '入孵管理', 10000, 0, 'incubation', 'breeding/incubation/index', '', 1, 0, 'C', '0', '0', 'breeding:incubation', '#', NULL, NULL, 100, 1, '2025-07-21 10:08:18', NULL, '2025-07-21 10:08:18', '');
INSERT INTO `sys_menu` VALUES (10145, '查询入孵管理', 10144, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:incubation:query', 'eye', '', '', 100, 1, '2025-07-21 10:08:18', NULL, '2025-07-21 10:08:18', '');
INSERT INTO `sys_menu` VALUES (10146, '新增入孵管理', 10144, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:incubation:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-21 10:08:18', NULL, '2025-07-21 10:08:18', '');
INSERT INTO `sys_menu` VALUES (10147, '修改入孵管理', 10144, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:incubation:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-21 10:08:18', NULL, '2025-07-21 10:08:18', '');
INSERT INTO `sys_menu` VALUES (10148, '删除入孵管理', 10144, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:incubation:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-21 10:08:18', NULL, '2025-07-21 10:08:18', '');
INSERT INTO `sys_menu` VALUES (10149, '淘汰鸡个体', 10087, 6, '#', '', '', 1, 0, 'F', '0', '0', 'breeding:chicken:cull', 'dash-square', 'btn btn-light-danger', 'handleCull@0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');
INSERT INTO `sys_menu` VALUES (10150, '外拉管理', 10156, 0, 'pullOut', 'eggLaying/pullOut/index', '', 1, 0, 'C', '0', '0', 'breeding:pullOut', '#', NULL, NULL, 100, 1, '2025-07-30 13:17:45', 1, '2025-08-11 15:22:07', '');
INSERT INTO `sys_menu` VALUES (10151, '查询外拉信息', 10150, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:pullOut:query', 'eye', '', '', 100, 1, '2025-07-30 13:17:45', NULL, '2025-07-30 13:17:45', '');
INSERT INTO `sys_menu` VALUES (10152, '新增外拉信息', 10150, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:pullOut:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-07-30 13:17:45', NULL, '2025-07-30 13:17:45', '');
INSERT INTO `sys_menu` VALUES (10153, '修改外拉信息', 10150, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:pullOut:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-07-30 13:17:45', NULL, '2025-07-30 13:17:45', '');
INSERT INTO `sys_menu` VALUES (10154, '删除外拉信息', 10150, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:pullOut:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-07-30 13:17:45', NULL, '2025-07-30 13:17:45', '');
INSERT INTO `sys_menu` VALUES (10155, '鸡舍产蛋', 10000, 0, 'sta/coopEgg', 'breeding/sta/coopEgg/index', '', 1, 0, 'C', '1', '0', 'breeding:coopEggDay', '#', NULL, NULL, 100, 1, '2025-07-30 13:17:45', NULL, '2025-07-30 13:17:45', '');
INSERT INTO `sys_menu` VALUES (10156, '产蛋管理', 0, 3, 'eggLaying', NULL, NULL, 1, 0, 'M', '0', '0', NULL, '#', NULL, NULL, 100, 1, '2025-08-11 15:17:53', 1, '2025-08-11 15:17:53', '');
INSERT INTO `sys_menu` VALUES (10157, '测定管理', 10000, 0, 'measure', 'breeding/measure/index', '', 1, 0, 'C', '0', '0', 'breeding:measure', '#', NULL, NULL, 100, 1, '2025-08-12 09:44:38', NULL, '2025-08-12 09:44:38', '');
INSERT INTO `sys_menu` VALUES (10158, '查询测定管理', 10157, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:measure:query', 'eye', '', '', 100, 1, '2025-08-12 09:44:38', NULL, '2025-08-12 09:44:38', '');
INSERT INTO `sys_menu` VALUES (10159, '新增测定管理', 10157, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:measure:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-08-12 09:44:38', NULL, '2025-08-12 09:44:38', '');
INSERT INTO `sys_menu` VALUES (10160, '修改测定管理', 10157, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:measure:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-08-12 09:44:38', NULL, '2025-08-12 09:44:38', '');
INSERT INTO `sys_menu` VALUES (10161, '删除测定管理', 10157, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:measure:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-08-12 09:44:38', NULL, '2025-08-12 09:44:38', '');
INSERT INTO `sys_menu` VALUES (10162, '测定记录详情', 10000, 0, 'measureDetail', 'breeding/measureDetail/index', '', 1, 0, 'C', '1', '0', 'breeding:measureDetail', '#', NULL, NULL, 100, 1, '2025-08-12 09:44:41', NULL, '2025-08-12 09:44:41', '');
INSERT INTO `sys_menu` VALUES (10163, '查询测定记录详情', 10162, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:measureDetail:query', 'eye', '', '', 100, 1, '2025-08-12 09:44:41', NULL, '2025-08-12 09:44:41', '');
INSERT INTO `sys_menu` VALUES (10164, '新增测定记录详情', 10162, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:measureDetail:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-08-12 09:44:41', NULL, '2025-08-12 09:44:41', '');
INSERT INTO `sys_menu` VALUES (10165, '修改测定记录详情', 10162, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:measureDetail:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-08-12 09:44:41', NULL, '2025-08-12 09:44:41', '');
INSERT INTO `sys_menu` VALUES (10166, '删除测定记录详情', 10162, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:measureDetail:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-08-12 09:44:41', NULL, '2025-08-12 09:44:41', '');
INSERT INTO `sys_menu` VALUES (10167, '胫骨长管理', 10000, 0, 'chickenTibia', 'breeding/chickenTibia/index', '', 1, 0, 'C', '0', '0', 'breeding:chickenTibia', '#', NULL, NULL, 100, 1, '2025-08-14 09:39:46', NULL, '2025-08-14 09:39:46', '');
INSERT INTO `sys_menu` VALUES (10168, '查询胫骨长管理', 10167, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenTibia:query', 'eye', '', '', 100, 1, '2025-08-14 09:39:46', NULL, '2025-08-14 09:39:46', '');
INSERT INTO `sys_menu` VALUES (10169, '新增胫骨长管理', 10167, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenTibia:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-08-14 09:39:46', NULL, '2025-08-14 09:39:46', '');
INSERT INTO `sys_menu` VALUES (10170, '修改胫骨长管理', 10167, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:chickenTibia:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-08-14 09:39:46', NULL, '2025-08-14 09:39:46', '');
INSERT INTO `sys_menu` VALUES (10171, '删除胫骨长管理', 10167, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:chickenTibia:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-08-14 09:39:46', NULL, '2025-08-14 09:39:46', '');
INSERT INTO `sys_menu` VALUES (10172, '跖骨长管理', 10000, 0, 'chickenMetatarsal', 'breeding/chickenMetatarsal/index', '', 1, 0, 'C', '0', '0', 'breeding:chickenMetatarsal', '#', NULL, NULL, 100, 1, '2025-08-14 09:39:49', NULL, '2025-08-14 09:39:49', '');
INSERT INTO `sys_menu` VALUES (10173, '查询跖骨长管理', 10172, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenMetatarsal:query', 'eye', '', '', 100, 1, '2025-08-14 09:39:49', NULL, '2025-08-14 09:39:49', '');
INSERT INTO `sys_menu` VALUES (10174, '新增跖骨长管理', 10172, 0, '#', NULL, '', 1, 0, 'F', '0', '0', 'breeding:chickenMetatarsal:add', 'plus-square', 'btn btn-light-primary', 'handleCreate', 100, 1, '2025-08-14 09:39:49', NULL, '2025-08-14 09:39:49', '');
INSERT INTO `sys_menu` VALUES (10175, '修改跖骨长管理', 10172, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:chickenMetatarsal:edit', 'pencil-square', 'btn btn-light-success', 'handleUpdate@1', 100, 1, '2025-08-14 09:39:49', NULL, '2025-08-14 09:39:49', '');
INSERT INTO `sys_menu` VALUES (10176, '删除跖骨长管理', 10172, 0, '#', NULL, '', 1, 0, 'F', '1', '0', 'breeding:chickenMetatarsal:remove', 'dash-square', 'btn btn-light-danger', 'handleDelete@0', 100, 1, '2025-08-14 09:39:49', NULL, '2025-08-14 09:39:49', '');

-- ----------------------------
-- Table structure for sys_notice
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice`;
CREATE TABLE `sys_notice`  (
                               `notice_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '公告ID',
                               `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                               `notice_title` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '公告标题',
                               `notice_type` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '公告类型（1通知 2公告）',
                               `notice_content` longblob NULL COMMENT '公告内容',
                               `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
                               `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                               `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                               `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                               `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                               `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                               `remark` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                               PRIMARY KEY (`notice_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '通知公告表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_notice
-- ----------------------------

-- ----------------------------
-- Table structure for sys_notice_status
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice_status`;
CREATE TABLE `sys_notice_status`  (
                                      `user_id` bigint(20) NOT NULL COMMENT '用户ID',
                                      `message_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息ID',
                                      `message_type` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '消息类型',
                                      `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '阅读状态（0未读 1已读）',
                                      PRIMARY KEY (`user_id`, `message_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '消息阅读表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_notice_status
-- ----------------------------

-- ----------------------------
-- Table structure for sys_oper_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_oper_log`;
CREATE TABLE `sys_oper_log`  (
                                 `oper_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志主键',
                                 `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                                 `title` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '模块标题',
                                 `business_type` int(2) NULL DEFAULT 0 COMMENT '业务类型（0其它 1新增 2修改 3删除）',
                                 `method` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '方法名称',
                                 `request_method` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '请求方式',
                                 `operator_type` int(1) NULL DEFAULT 0 COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
                                 `oper_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '操作人员',
                                 `org_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '组织机构名称',
                                 `oper_url` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '请求URL',
                                 `oper_ip` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '主机地址',
                                 `oper_location` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '操作地点',
                                 `oper_param` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '请求参数',
                                 `json_result` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '返回参数',
                                 `status` int(1) NULL DEFAULT 0 COMMENT '操作状态（0正常 1异常）',
                                 `error_msg` varchar(4000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '错误消息',
                                 `oper_time` datetime NULL DEFAULT NULL COMMENT '操作时间',
                                 `cost_time` bigint(20) NULL DEFAULT 0 COMMENT '消耗时间',
                                 PRIMARY KEY (`oper_id`) USING BTREE,
                                 INDEX `idx_sys_oper_log_bt`(`business_type`) USING BTREE,
                                 INDEX `idx_sys_oper_log_s`(`status`) USING BTREE,
                                 INDEX `idx_sys_oper_log_ot`(`oper_time`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1583 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '操作日志记录' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_oper_log
-- ----------------------------

-- ----------------------------
-- Table structure for sys_org
-- ----------------------------
DROP TABLE IF EXISTS `sys_org`;
CREATE TABLE `sys_org`  (
                            `org_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '组织机构id',
                            `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                            `parent_id` bigint(20) NULL DEFAULT 0 COMMENT '父组织机构id',
                            `ancestors` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '祖级列表',
                            `org_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '组织机构名称',
                            `org_category` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '组织机构类别编码',
                            `order_num` int(4) NULL DEFAULT 0 COMMENT '显示顺序',
                            `leader` bigint(20) NULL DEFAULT NULL COMMENT '负责人',
                            `phone` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系电话',
                            `email` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱',
                            `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '组织机构状态（0正常 1停用）',
                            `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
                            `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                            `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                            `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                            `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                            `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                            PRIMARY KEY (`org_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '组织机构表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_org
-- ----------------------------
INSERT INTO `sys_org` VALUES (100, '000000', 0, '0', '科技有限公司', NULL, 0, 1, '15888888888', 'vber@iwbnet.com', '0', '0', 100, 1, '2025-07-10 14:59:13', NULL, NULL);
INSERT INTO `sys_org` VALUES (101, '000000', 100, '0,100', '001公司', NULL, 1, 3, '15888888888', 'xxx@qq.com', '0', '0', 100, 1, '2025-07-10 14:59:13', NULL, NULL);
INSERT INTO `sys_org` VALUES (102, '000000', 100, '0,100', '002公司', NULL, 2, 4, '15888888888', 'xxx@qq.com', '0', '0', 100, 1, '2025-07-10 14:59:13', NULL, NULL);

-- ----------------------------
-- Table structure for sys_oss
-- ----------------------------
DROP TABLE IF EXISTS `sys_oss`;
CREATE TABLE `sys_oss`  (
                            `oss_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '对象存储主键',
                            `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                            `file_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '文件名',
                            `original_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '原名',
                            `file_suffix` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '文件后缀名',
                            `url` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'URL地址',
                            `ext1` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '扩展字段',
                            `object_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '文件标识',
                            `service` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'minio' COMMENT '服务商',
                            `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                            `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                            `create_by` bigint(20) NULL DEFAULT NULL COMMENT '上传人',
                            `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                            `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新人',
                            PRIMARY KEY (`oss_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = 'OSS对象存储表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_oss
-- ----------------------------

-- ----------------------------
-- Table structure for sys_oss_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_oss_config`;
CREATE TABLE `sys_oss_config`  (
                                   `oss_config_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
                                   `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                                   `config_key` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '配置key',
                                   `access_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT 'accessKey',
                                   `secret_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '秘钥',
                                   `bucket_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '桶名称',
                                   `prefix` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '前缀',
                                   `endpoint` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '访问站点',
                                   `domain` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '自定义域名',
                                   `is_https` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'N' COMMENT '是否https（Y=是,N=否）',
                                   `region` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '域',
                                   `access_policy` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '1' COMMENT '桶权限类型(0=private 1=public 2=custom)',
                                   `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '是否默认（0=是,1=否）',
                                   `ext1` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '扩展字段',
                                   `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                                   `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                                   `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                                   `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                                   `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                                   `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                                   PRIMARY KEY (`oss_config_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '对象存储配置表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_oss_config
-- ----------------------------
INSERT INTO `sys_oss_config` VALUES (1, '000000', 'local', '', '', '/preview/', '', '', '', 'N', '', '1', '0', '', 100, 1, '2025-07-10 14:59:14', 1, '2025-07-10 14:59:14', NULL);
INSERT INTO `sys_oss_config` VALUES (2, '000000', 'qiniu', 'x', 'x', 'vber', '', 's3-cn-north-1.qiniucs.com', '', 'N', '', '1', '1', '', 100, 1, '2025-07-10 14:59:14', 1, '2025-07-10 14:59:14', NULL);
INSERT INTO `sys_oss_config` VALUES (3, '000000', 'aliyun', 'x', 'x', 'vber', '', 'oss-cn-beijing.aliyuncs.com', '', 'N', '', '1', '1', '', 100, 1, '2025-07-10 14:59:14', 1, '2025-07-10 14:59:14', NULL);
INSERT INTO `sys_oss_config` VALUES (4, '000000', 'qcloud', 'x', 'x', 'vber-1250000000', '', 'cos.ap-beijing.myqcloud.com', '', 'N', 'ap-beijing', '1', '1', '', 100, 1, '2025-07-10 14:59:14', 1, '2025-07-10 14:59:14', NULL);
INSERT INTO `sys_oss_config` VALUES (5, '000000', 'minio', 'vber', 'vber123', 'vber', 'image', '127.0.0.1:9000', '', 'N', '', '1', '1', '', 100, 1, '2025-07-10 14:59:14', 1, '2025-07-10 14:59:14', NULL);

-- ----------------------------
-- Table structure for sys_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_post`;
CREATE TABLE `sys_post`  (
                             `post_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '岗位ID',
                             `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                             `org_id` bigint(20) NOT NULL COMMENT '组织机构id',
                             `post_code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '岗位编码',
                             `post_category` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '岗位类别编码',
                             `post_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '岗位名称',
                             `post_sort` int(4) NOT NULL COMMENT '显示顺序',
                             `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '状态（0正常 1停用）',
                             `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                             `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                             `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                             `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                             `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                             `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                             PRIMARY KEY (`post_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '岗位信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_post
-- ----------------------------
INSERT INTO `sys_post` VALUES (1, '000000', 100, 'default', NULL, '默认岗位', 1, '0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '');

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role`  (
                             `role_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '角色ID',
                             `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                             `role_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '角色名称',
                             `role_key` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '角色权限字符串',
                             `role_sort` int(4) NOT NULL COMMENT '显示顺序',
                             `data_scope` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本组织机构数据权限 4：本组织机构及以下数据权限 ）',
                             `menu_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
                             `org_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '组织机构树选择项是否关联显示',
                             `is_static` tinyint(1) NULL DEFAULT 0 COMMENT '是否静态角色（0否 1是）',
                             `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '角色状态（0正常 1停用）',
                             `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
                             `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                             `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                             `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                             `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                             `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                             `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                             PRIMARY KEY (`role_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_role
-- ----------------------------
INSERT INTO `sys_role` VALUES (1, '000000', '超级管理员', 'super_admin', 1, '1', 1, 1, 1, '0', '0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '超级管理员');
INSERT INTO `sys_role` VALUES (2, '000000', '默认角色', 'default', 2, '3', 1, 1, 1, '0', '0', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '默认角色');

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu`  (
                                  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
                                  `menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
                                  PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------

-- ----------------------------
-- Table structure for sys_role_org
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_org`;
CREATE TABLE `sys_role_org`  (
                                 `role_id` bigint(20) NOT NULL COMMENT '角色ID',
                                 `org_id` bigint(20) NOT NULL COMMENT '组织机构ID',
                                 PRIMARY KEY (`role_id`, `org_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '角色和组织机构关联表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_role_org
-- ----------------------------
INSERT INTO `sys_role_org` VALUES (2, 100);
INSERT INTO `sys_role_org` VALUES (2, 101);
INSERT INTO `sys_role_org` VALUES (2, 102);

-- ----------------------------
-- Table structure for sys_social
-- ----------------------------
DROP TABLE IF EXISTS `sys_social`;
CREATE TABLE `sys_social`  (
                               `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
                               `user_id` bigint(20) NOT NULL COMMENT '用户ID',
                               `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户id',
                               `auth_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '平台+平台唯一id',
                               `source` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户来源',
                               `open_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '平台编号唯一id',
                               `user_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '登录账号',
                               `nick_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '用户昵称',
                               `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '用户邮箱',
                               `avatar` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '头像地址',
                               `access_token` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户的授权令牌',
                               `expire_in` int(11) NULL DEFAULT NULL COMMENT '用户的授权令牌的有效期，部分平台可能没有',
                               `refresh_token` varchar(2000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '刷新令牌，部分平台可能没有',
                               `access_code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '平台的授权信息，部分平台可能没有',
                               `union_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户的 unionid',
                               `scope` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '授予的权限，部分平台可能没有',
                               `token_type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '个别平台的授权信息，部分平台可能没有',
                               `id_token` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'id token，部分平台可能没有',
                               `mac_algorithm` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '小米平台用户的附带属性，部分平台可能没有',
                               `mac_key` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '小米平台用户的附带属性，部分平台可能没有',
                               `code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户的授权code，部分平台可能没有',
                               `oauth_token` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'Twitter平台用户的附带属性，部分平台可能没有',
                               `oauth_token_secret` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT 'Twitter平台用户的附带属性，部分平台可能没有',
                               `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                               `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                               `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                               `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                               `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                               `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
                               PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '社会化关系表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_social
-- ----------------------------

-- ----------------------------
-- Table structure for sys_tenant
-- ----------------------------
DROP TABLE IF EXISTS `sys_tenant`;
CREATE TABLE `sys_tenant`  (
                               `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id',
                               `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '租户编号',
                               `contact_user_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系人',
                               `contact_phone` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '联系电话',
                               `company_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '企业名称',
                               `license_number` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '统一社会信用代码',
                               `address` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地址',
                               `intro` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '企业简介',
                               `domain` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '域名',
                               `remark` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                               `package_id` bigint(20) NULL DEFAULT NULL COMMENT '租户套餐编号',
                               `expire_time` datetime NULL DEFAULT NULL COMMENT '过期时间',
                               `account_count` int(11) NULL DEFAULT -1 COMMENT '用户数量（-1不限制）',
                               `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '租户状态（0正常 1停用）',
                               `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
                               `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                               `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                               `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                               `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                               `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                               PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '租户表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_tenant
-- ----------------------------
INSERT INTO `sys_tenant` VALUES (1, '000000', '管理组', '15888888888', 'XXX有限公司', NULL, NULL, '多租户通用后台管理管理系统', NULL, NULL, NULL, NULL, -1, '0', '0', 100, 1, '2025-07-10 14:59:14', NULL, NULL);

-- ----------------------------
-- Table structure for sys_tenant_package
-- ----------------------------
DROP TABLE IF EXISTS `sys_tenant_package`;
CREATE TABLE `sys_tenant_package`  (
                                       `package_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '租户套餐id',
                                       `package_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '套餐名称',
                                       `menu_ids` varchar(3000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '关联菜单id',
                                       `remark` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                                       `menu_check_strictly` tinyint(1) NULL DEFAULT 1 COMMENT '菜单树选择项是否关联显示',
                                       `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '状态（0正常 1停用）',
                                       `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
                                       `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                                       `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                                       `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                                       `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                                       `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                                       PRIMARY KEY (`package_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '租户套餐表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_tenant_package
-- ----------------------------

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user`  (
                             `user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
                             `tenant_id` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '000000' COMMENT '租户编号',
                             `org_id` bigint(20) NULL DEFAULT NULL COMMENT '组织机构ID',
                             `user_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户账号',
                             `nick_name` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户昵称',
                             `user_type` varchar(10) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'sys_user' COMMENT '用户类型（sys_user系统用户）',
                             `email` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '用户邮箱',
                             `phonenumber` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '手机号码',
                             `sex` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
                             `avatar` bigint(20) NULL DEFAULT NULL COMMENT '头像地址',
                             `password` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '密码',
                             `status` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '帐号状态（0正常 1停用）',
                             `del_flag` char(1) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
                             `login_ip` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '最后登录IP',
                             `login_date` datetime NULL DEFAULT NULL COMMENT '最后登录时间',
                             `create_org` bigint(20) NULL DEFAULT NULL COMMENT '创建组织机构',
                             `create_by` bigint(20) NULL DEFAULT NULL COMMENT '创建者',
                             `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
                             `update_by` bigint(20) NULL DEFAULT NULL COMMENT '更新者',
                             `update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
                             `remark` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
                             PRIMARY KEY (`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1000 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_user
-- ----------------------------
INSERT INTO `sys_user` VALUES (1, '000000', 100, 'admin', 'Admin', 'sys_user', 'admin@iwbnet.com', '13812340010', '1', NULL, '$2a$10$2M15Bggh98qOy7aWrGUc2OHL4yvvNij/NtbnLfkASmCN/Xwco3rq.', '0', '0', '0:0:0:0:0:0:0:1', '2025-08-14 10:31:21', 100, 1, '2025-07-10 14:59:13', -1, '2025-08-14 10:31:21', '超级管理员');
INSERT INTO `sys_user` VALUES (2, '000000', 100, 'system', 'System', 'sys_user', 'system@iwbnet.com', '13812340011', '1', NULL, '$2a$10$rCiWvcYYyEIb.PTM940FweoU.qKwErcJFmFyQdopQ1ZT37q6UcaOm', '0', '0', '127.0.0.1', '2025-07-10 14:59:13', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '系统管理员');
INSERT INTO `sys_user` VALUES (3, '000000', 101, 'demo01', 'Demo01', 'sys_user', 'demo01@iwbnet.com', '13812340021', '1', NULL, '$2a$10$T2u3eqjhLe04ZUTGCPcYrONPpLEt03eDbdJdCD5JW.2PQhT/LixcO', '0', '0', '127.0.0.1', '2025-07-10 14:59:13', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '系统管理员');
INSERT INTO `sys_user` VALUES (4, '000000', 102, 'demo02', 'Demo02', 'sys_user', 'demo02@iwbnet.com', '13812340022', '1', NULL, '$2a$10$YpB6Bww0qTHZu31uDAlmg.MhDYTNKuOzN3KhaBEPM.PDVrJxHHuhW', '0', '0', '127.0.0.1', '2025-07-10 14:59:13', 100, 1, '2025-07-10 14:59:13', NULL, NULL, '系统管理员');

-- ----------------------------
-- Table structure for sys_user_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_post`;
CREATE TABLE `sys_user_post`  (
                                  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
                                  `post_id` bigint(20) NOT NULL COMMENT '岗位ID',
                                  PRIMARY KEY (`user_id`, `post_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_user_post
-- ----------------------------
INSERT INTO `sys_user_post` VALUES (1, 1);
INSERT INTO `sys_user_post` VALUES (2, 1);

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role`  (
                                  `user_id` bigint(20) NOT NULL COMMENT '用户ID',
                                  `role_id` bigint(20) NOT NULL COMMENT '角色ID',
                                  PRIMARY KEY (`user_id`, `role_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户和角色关联表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
INSERT INTO `sys_user_role` VALUES (1, 1);
INSERT INTO `sys_user_role` VALUES (2, 1);

-- ----------------------------
-- Procedure structure for generate_wing_tags_batched
-- ----------------------------
DROP PROCEDURE IF EXISTS `generate_wing_tags_batched`;
delimiter ;;
CREATE PROCEDURE `generate_wing_tags_batched`()
BEGIN
    DECLARE batch_start INT DEFAULT 21;
    DECLARE batch_end INT DEFAULT 999999;
    DECLARE tag_id VARCHAR(20);
    DECLARE i INT;

    WHILE batch_start <= 999999 DO
            SET i = batch_start;

            WHILE i <= batch_end AND i <= 999999 DO
                    SET tag_id = LPAD(i, 6, '0');

                    INSERT INTO f_wing_tag VALUES (
                                                      tag_id,
                                                      NULL,
                                                      0,
                                                      100,
                                                      1,
                                                      NOW(),
                                                      1,
                                                      NOW(),
                                                      NULL,
                                                      '0'
                                                  );

                    SET i = i + 1;
                END WHILE;

            -- 输出进度
            SELECT CONCAT('Inserted records from ', batch_start, ' to ', LEAST(batch_end, 999999)) as progress;

            SET batch_start = batch_end + 1;
            SET batch_end = batch_end + 100000;

            COMMIT;
        END WHILE;

END
;;
delimiter ;

SET FOREIGN_KEY_CHECKS = 1;
