12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- /*
- Navicat Premium Data Transfer
- Source Server : 公司的201数据库
- Source Server Type : MySQL
- Source Server Version : 50733
- Source Host : 172.16.90.201:3306
- Source Schema : ycpharmacy_db
- Target Server Type : MySQL
- Target Server Version : 50733
- File Encoding : 65001
- Date: 09/02/2022 09:41:17
- */
- SET NAMES utf8mb4;
- SET FOREIGN_KEY_CHECKS = 0;
- -- ----------------------------
- -- Table structure for work_packer
- -- ----------------------------
- DROP TABLE IF EXISTS `work_packer`;
- CREATE TABLE `work_packer` (
- `id` bigint(20) NOT NULL COMMENT 'id',
- `drug_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '药品名称',
- `bar_code` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '条码',
- `pack_spec` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '包装规格 ',
- `batch` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '批次',
- `manu_time` datetime(0) NULL DEFAULT NULL COMMENT '生产日期',
- `qua_drugs` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '药品数量',
- `drug_spec` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '药品规格',
- `pack_time` datetime(0) NULL DEFAULT NULL COMMENT '包装时间',
- `operator` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '操作人',
- `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注',
- `file_path` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '文件全路径',
- `insert_time` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '插入时间年月日',
- `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'system' COMMENT '创建者',
- `create_user_id` bigint(20) NULL DEFAULT 1 COMMENT '创建者id',
- `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
- `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '更新者',
- `update_user_id` bigint(20) NULL DEFAULT NULL COMMENT '更新者id',
- `update_time` datetime(0) NULL DEFAULT NULL COMMENT '更新时间',
- `data_scope` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '1' COMMENT '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)',
- `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)',
- PRIMARY KEY (`id`) USING BTREE
- ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '包装机数据表' ROW_FORMAT = Dynamic;
- SET FOREIGN_KEY_CHECKS = 1;
|