/*
 Navicat Premium Data Transfer

 Source Server         : 127.0.0.1_mysql
 Source Server Type    : MySQL
 Source Server Version : 50730
 Source Host           : 127.0.0.1:3306
 Source Schema         : asrs

 Target Server Type    : MySQL
 Target Server Version : 50730
 File Encoding         : 65001

 Date: 20/08/2024 16:13:05
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for wcs_task_cache
-- ----------------------------
DROP TABLE IF EXISTS `wcs_task_cache`;
CREATE TABLE `wcs_task_cache`  (
  `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `task_type` int(11) NULL DEFAULT NULL COMMENT '任务类型{1:入库,2:出库}',
  `task_param` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '任务参数',
  `host_id` bigint(20) NULL DEFAULT NULL COMMENT '所属机构[sys_host]',
  `status` int(11) NULL DEFAULT 1 COMMENT '状态{1:正常,0:禁用}',
  `deleted` int(11) NULL DEFAULT 0 COMMENT '是否删除{1:是,0:否}',
  `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '添加时间',
  `create_by` bigint(20) NULL DEFAULT NULL COMMENT '添加人员[sys_user]',
  `update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '修改时间',
  `update_by` bigint(20) NULL DEFAULT NULL COMMENT '修改人员[sys_user]',
  `memo` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 34 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
