yonghu_ddl_20230921.sql 1.9 KB

123456789101112131415161718192021
  1. CREATE TABLE if not exists `pallet_match_log`
  2. (
  3. `id` varchar(255) NOT NULL COMMENT 'id',
  4. `pallet_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '托盘',
  5. `sku` varchar(255) DEFAULT NULL COMMENT '物料/产品',
  6. `total_qty` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci DEFAULT NULL COMMENT '数量',
  7. `order_nos` varchar(2000) DEFAULT NULL COMMENT '所扫描出库单(多出库单以,隔开)',
  8. `location_id` varchar(255) DEFAULT NULL COMMENT '库位id',
  9. `agv_no` varchar(255) DEFAULT NULL COMMENT 'agv车号',
  10. `remark` varchar(255) DEFAULT NULL COMMENT '备注',
  11. `userdefine1` varchar(255) DEFAULT NULL,
  12. `userdefine2` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  13. `userdefine3` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  14. `userdefine4` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  15. `userdefine5` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
  16. `create_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者',
  17. `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  18. `update_by` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '更新者',
  19. `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  20. PRIMARY KEY (`id`)
  21. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='托盘匹配记录';