添加输送线发货口配置界面
This commit is contained in:
parent
e50d0a9562
commit
918b393aad
|
|
@ -20,3 +20,5 @@
|
||||||
电子标签联动输送线逻辑:输送线扫码时检查该捡选站台对应的电子标签货位是否有任务,若有则弹出;此处<span style="color:#F56789">需要正确在电子标签货位表填写站台号</span>
|
电子标签联动输送线逻辑:输送线扫码时检查该捡选站台对应的电子标签货位是否有任务,若有则弹出;此处<span style="color:#F56789">需要正确在电子标签货位表填写站台号</span>
|
||||||
|
|
||||||
电子标签状态:立即点亮的直接定时任务点亮,未激活的要扫码触发
|
电子标签状态:立即点亮的直接定时任务点亮,未激活的要扫码触发
|
||||||
|
|
||||||
|
电子标签区域标签状态:正在捡选(橙色) ----> 这片区域捡选完成(蓝色) ----> 所有任务完成(绿色)
|
||||||
100
wcs/db/wcs.sql
100
wcs/db/wcs.sql
|
|
@ -11,7 +11,7 @@
|
||||||
Target Server Version : 80404 (8.4.4)
|
Target Server Version : 80404 (8.4.4)
|
||||||
File Encoding : 65001
|
File Encoding : 65001
|
||||||
|
|
||||||
Date: 09/01/2026 17:01:56
|
Date: 28/01/2026 14:14:07
|
||||||
*/
|
*/
|
||||||
|
|
||||||
SET NAMES utf8mb4;
|
SET NAMES utf8mb4;
|
||||||
|
|
@ -35,9 +35,9 @@ CREATE TABLE `t_app_base_api_info` (
|
||||||
-- Records of t_app_base_api_info
|
-- Records of t_app_base_api_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
BEGIN;
|
BEGIN;
|
||||||
|
INSERT INTO `t_app_base_api_info` (`api_key`, `api_name`, `root_key`, `address`, `tag`, `remark`) VALUES ('WMS__STOCK_LOGIN_REQ', '注册堆垛机任务', 'WMS_BASE', ' ', NULL, NULL);
|
||||||
INSERT INTO `t_app_base_api_info` (`api_key`, `api_name`, `root_key`, `address`, `tag`, `remark`) VALUES ('WMS_BASE', 'WMS根地址', NULL, 'http://106.14.189.117:18080', '-', NULL);
|
INSERT INTO `t_app_base_api_info` (`api_key`, `api_name`, `root_key`, `address`, `tag`, `remark`) VALUES ('WMS_BASE', 'WMS根地址', NULL, 'http://106.14.189.117:18080', '-', NULL);
|
||||||
INSERT INTO `t_app_base_api_info` (`api_key`, `api_name`, `root_key`, `address`, `tag`, `remark`) VALUES ('WMS_CONVEY_TASK_STATUS_CALLBACK', '上报箱式线任务状态', 'WMS_BASE', '/api/test', NULL, NULL);
|
INSERT INTO `t_app_base_api_info` (`api_key`, `api_name`, `root_key`, `address`, `tag`, `remark`) VALUES ('WMS_CONVEY_TASK_STATUS_CALLBACK', '上报箱式线任务状态', 'WMS_BASE', '/api/test', NULL, NULL);
|
||||||
INSERT INTO `t_app_base_api_info` (`api_key`, `api_name`, `root_key`, `address`, `tag`, `remark`) VALUES ('WMS_LOGIN_STACKER', '注册堆垛机任务', 'WMS_BASE', ' ', NULL, NULL);
|
|
||||||
INSERT INTO `t_app_base_api_info` (`api_key`, `api_name`, `root_key`, `address`, `tag`, `remark`) VALUES ('WMS_STOCK_TASK_STATUS_CALLBACK', '上报仓储任务状态', 'WMS_BASE', '\n', NULL, '-');
|
INSERT INTO `t_app_base_api_info` (`api_key`, `api_name`, `root_key`, `address`, `tag`, `remark`) VALUES ('WMS_STOCK_TASK_STATUS_CALLBACK', '上报仓储任务状态', 'WMS_BASE', '\n', NULL, '-');
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
|
|
@ -295,11 +295,11 @@ INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_men
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-1', '当前箱线任务', 2, '01', 1, NULL, 'conveyTask', '2025-09-16 11:37:43', '2025-09-17 22:25:44');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-1', '当前箱线任务', 2, '01', 1, NULL, 'conveyTask', '2025-09-16 11:37:43', '2025-09-17 22:25:44');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-2', '历史箱线任务', 2, '01', 1, NULL, 'conveyTaskBak', '2025-09-16 11:37:55', '2025-09-19 16:33:19');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-2', '历史箱线任务', 2, '01', 1, NULL, 'conveyTaskBak', '2025-09-16 11:37:55', '2025-09-19 16:33:19');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-3', '复核台设置', 2, '01', 1, NULL, 'conveyCheckStand', '2024-10-31 12:25:07', '2025-11-18 14:47:31');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-3', '复核台设置', 2, '01', 1, NULL, 'conveyCheckStand', '2024-10-31 12:25:07', '2025-11-18 14:47:31');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-4', '发货口设置', 2, '01', 1, NULL, NULL, '2024-10-31 12:25:30', '2024-10-31 12:25:33');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-4', '发货口设置', 2, '01', 1, NULL, 'conveyDeliverStand', '2024-10-31 12:25:30', '2026-01-28 14:09:54');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-5', '捡货站台配置', 2, '01', 1, NULL, 'conveyPickStand', '2025-09-22 08:51:09', '2025-09-24 13:58:16');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('01-5', '捡货站台配置', 2, '01', 1, NULL, 'conveyPickStand', '2025-09-22 08:51:09', '2025-09-24 13:58:16');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02', '电子标签综合管理', 1, NULL, 1, 'Pointer', NULL, '2024-10-31 12:26:24', '2024-10-31 12:26:26');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02', '电子标签综合管理', 1, NULL, 1, 'Pointer', NULL, '2024-10-31 12:26:24', '2024-10-31 12:26:26');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-1', '当前标签任务', 2, '02', 1, NULL, 'etagTask', '2024-10-31 12:26:47', '2025-09-17 22:26:02');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-1', '当前标签任务', 2, '02', 1, NULL, 'etagTask', '2024-10-31 12:26:47', '2025-09-17 22:26:02');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-2', '历史标签任务', 2, '02', 1, NULL, NULL, '2024-10-31 12:27:11', '2025-09-17 22:26:11');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-2', '历史标签任务', 2, '02', 1, NULL, 'etagTagBak', '2024-10-31 12:27:11', '2026-01-20 12:11:24');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-3', '控制器管理', 2, '02', 1, NULL, 'etagController', '2024-10-31 12:27:32', '2025-11-03 14:26:34');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-3', '控制器管理', 2, '02', 1, NULL, 'etagController', '2024-10-31 12:27:32', '2025-11-03 14:26:34');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-4', '标签ID管理', 2, '02', 1, NULL, 'etagTag', '2024-10-31 12:27:54', '2025-11-12 15:46:42');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-4', '标签ID管理', 2, '02', 1, NULL, 'etagTag', '2024-10-31 12:27:54', '2025-11-12 15:46:42');
|
||||||
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-5', '电子标签货位管理', 2, '02', 1, NULL, 'etagLocation', '2024-10-31 12:28:12', '2025-12-23 13:10:30');
|
INSERT INTO `t_app_base_menu` (`menu_id`, `menu_name`, `menu_level`, `father_menu_id`, `menu_status`, `menu_ico`, `router_name`, `create_time`, `update_time`) VALUES ('02-5', '电子标签货位管理', 2, '02', 1, NULL, 'etagLocation', '2024-10-31 12:28:12', '2025-12-23 13:10:30');
|
||||||
|
|
@ -422,7 +422,7 @@ CREATE TABLE `t_app_base_user` (
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
BEGIN;
|
BEGIN;
|
||||||
INSERT INTO `t_app_base_user` (`user_id`, `user_name`, `user_pwd`, `user_status`, `user_level`, `create_time`, `update_time`, `user_group`, `sex`, `photo`, `last_login_time`) VALUES ('admin', '管理员', '7MQZUEZJDUWWZ9XTEVTBGWFYEDKWVZU7HMF4PSP6L6QCCQVICCVQEBFTAN31XGMW9RNXRYYYK7J8BCOW34PWTW0YDDESA9XF6SLEA6XRSQZW3XCTWMIPMTFJ3TWMSNJQLEBO2HBD2JR2D6ZIQZY1JGLHGR0ZV8CKON5RTZZ9CNWOMWOWL7TLKHDVJ6LENHNAMK1DWZKZSFOI1LA4LXYDGDEQOJDVQ8YKBZM5E3ZLIQNLGRXRNNUA8KW40HEU8YG', 1, 3, '2025-09-02 14:31:38', '2026-01-08 13:28:09', 'ug-Admin', 0, NULL, '2026-01-08 13:28:09');
|
INSERT INTO `t_app_base_user` (`user_id`, `user_name`, `user_pwd`, `user_status`, `user_level`, `create_time`, `update_time`, `user_group`, `sex`, `photo`, `last_login_time`) VALUES ('admin', '管理员', '7MQZUEZJDUWWZ9XTEVTBGWFYEDKWVZU7HMF4PSP6L6QCCQVICCVQEBFTAN31XGMW9RNXRYYYK7J8BCOW34PWTW0YDDESA9XF6SLEA6XRSQZW3XCTWMIPMTFJ3TWMSNJQLEBO2HBD2JR2D6ZIQZY1JGLHGR0ZV8CKON5RTZZ9CNWOMWOWL7TLKHDVJ6LENHNAMK1DWZKZSFOI1LA4LXYDGDEQOJDVQ8YKBZM5E3ZLIQNLGRXRNNUA8KW40HEU8YG', 1, 3, '2025-09-02 14:31:38', '2026-01-08 13:28:09', 'ug-Admin', 0, NULL, '2026-01-08 13:28:09');
|
||||||
INSERT INTO `t_app_base_user` (`user_id`, `user_name`, `user_pwd`, `user_status`, `user_level`, `create_time`, `update_time`, `user_group`, `sex`, `photo`, `last_login_time`) VALUES ('dev', '无所不能的开发者', 'Z4MVQYYWJ1ECCBSFLIWOG2CN7ZSLZRFGUWYLKF9ZXYWY6H4RHHGRKZ8XG2KZ6HDLQOBIW7QDMJZBFSIC1QUD65GZZVGUQXP4EY1UUOWRZHCQD7CKAGNYHRV3DSV1Y53NZWHIRAXXKXGADI426LFIDFGG7Z6XLV3HYRMBEY5QK22WZUX0WZT9E9Y7PCX5TMASWP9S4RKXGYOBYMNOT2JYGQM7MGOYAAMHP3NT3WISD2NQZ8JLFTVE70AIAUFJEGO', 1, 4, '2024-10-31 12:42:23', '2026-01-08 14:05:11', 'ug-developer', 0, NULL, '2026-01-08 14:05:11');
|
INSERT INTO `t_app_base_user` (`user_id`, `user_name`, `user_pwd`, `user_status`, `user_level`, `create_time`, `update_time`, `user_group`, `sex`, `photo`, `last_login_time`) VALUES ('dev', '无所不能的开发者', 'Z4MVQYYWJ1ECCBSFLIWOG2CN7ZSLZRFGUWYLKF9ZXYWY6H4RHHGRKZ8XG2KZ6HDLQOBIW7QDMJZBFSIC1QUD65GZZVGUQXP4EY1UUOWRZHCQD7CKAGNYHRV3DSV1Y53NZWHIRAXXKXGADI426LFIDFGG7Z6XLV3HYRMBEY5QK22WZUX0WZT9E9Y7PCX5TMASWP9S4RKXGYOBYMNOT2JYGQM7MGOYAAMHP3NT3WISD2NQZ8JLFTVE70AIAUFJEGO', 1, 4, '2024-10-31 12:42:23', '2026-01-28 14:09:40', 'ug-developer', 0, NULL, '2026-01-28 14:09:40');
|
||||||
INSERT INTO `t_app_base_user` (`user_id`, `user_name`, `user_pwd`, `user_status`, `user_level`, `create_time`, `update_time`, `user_group`, `sex`, `photo`, `last_login_time`) VALUES ('test', '测试账号', 'test', 4, 1, '2025-05-07 22:00:20', '2025-05-13 14:17:25', 'ug-developer', 1, NULL, NULL);
|
INSERT INTO `t_app_base_user` (`user_id`, `user_name`, `user_pwd`, `user_status`, `user_level`, `create_time`, `update_time`, `user_group`, `sex`, `photo`, `last_login_time`) VALUES ('test', '测试账号', 'test', 4, 1, '2025-05-07 22:00:20', '2025-05-13 14:17:25', 'ug-developer', 1, NULL, NULL);
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
|
|
@ -475,6 +475,31 @@ BEGIN;
|
||||||
INSERT INTO `t_app_convey_check_stand` (`stand_id`, `stand_name`, `plc_id`, `area_id`, `stand_status`, `router`, `read_arrive_address`, `write_task_address`, `remark`) VALUES ('CHECK_1', '复核台1', 1, '-', 1, 1, 'DB300.23', 'DB301.33', 'wu');
|
INSERT INTO `t_app_convey_check_stand` (`stand_id`, `stand_name`, `plc_id`, `area_id`, `stand_status`, `router`, `read_arrive_address`, `write_task_address`, `remark`) VALUES ('CHECK_1', '复核台1', 1, '-', 1, 1, 'DB300.23', 'DB301.33', 'wu');
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for t_app_convey_deliver_stand
|
||||||
|
-- ----------------------------
|
||||||
|
DROP TABLE IF EXISTS `t_app_convey_deliver_stand`;
|
||||||
|
CREATE TABLE `t_app_convey_deliver_stand` (
|
||||||
|
`stand_id` varchar(64) NOT NULL COMMENT '站台号',
|
||||||
|
`stand_name` varchar(64) DEFAULT NULL COMMENT '站台名称',
|
||||||
|
`plc_id` int NOT NULL COMMENT '管辖的PLC',
|
||||||
|
`area_id` varchar(64) NOT NULL DEFAULT '-' COMMENT '区域号',
|
||||||
|
`stand_status` int NOT NULL COMMENT '站台状态',
|
||||||
|
`router` int NOT NULL DEFAULT '0' COMMENT '路向',
|
||||||
|
`read_arrive_address` varchar(32) DEFAULT NULL COMMENT '读取到达数据地址',
|
||||||
|
`write_task_address` varchar(32) DEFAULT NULL COMMENT '写入任务地址',
|
||||||
|
`remark` varchar(255) DEFAULT NULL COMMENT '备注',
|
||||||
|
PRIMARY KEY (`stand_id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='纯输送线发货站台表';
|
||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Records of t_app_convey_deliver_stand
|
||||||
|
-- ----------------------------
|
||||||
|
BEGIN;
|
||||||
|
INSERT INTO `t_app_convey_deliver_stand` (`stand_id`, `stand_name`, `plc_id`, `area_id`, `stand_status`, `router`, `read_arrive_address`, `write_task_address`, `remark`) VALUES ('T1', '发货口1', 1, 'A1', 1, 1, 'DB90.100', 'DB30.45', '无备注0');
|
||||||
|
INSERT INTO `t_app_convey_deliver_stand` (`stand_id`, `stand_name`, `plc_id`, `area_id`, `stand_status`, `router`, `read_arrive_address`, `write_task_address`, `remark`) VALUES ('T3', '发货口3', 1, 'A1', 1, 1, 'DB90.100', 'DB30.45', '无备注');
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
-- Table structure for t_app_convey_location
|
-- Table structure for t_app_convey_location
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
|
@ -745,7 +770,7 @@ CREATE TABLE `t_app_etag_tag_info` (
|
||||||
-- Records of t_app_etag_tag_info
|
-- Records of t_app_etag_tag_info
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
BEGIN;
|
BEGIN;
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-1', 1, 1, 1, 0, '12', '0003-1', '234');
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-1', 1, 1, 1, 1, '12', '0003-1', '234');
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-10', 1, 10, 1, 0, '', '0003-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-10', 1, 10, 1, 0, '', '0003-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-100', 1, 100, 1, 0, '', '0004-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-100', 1, 100, 1, 0, '', '0004-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-101', 1, 101, 6, 0, '234', 'ADD', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-101', 1, 101, 6, 0, '234', 'ADD', NULL);
|
||||||
|
|
@ -769,7 +794,7 @@ INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_t
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-17', 1, 17, 1, 0, '', '0003-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-17', 1, 17, 1, 0, '', '0003-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-18', 1, 18, 1, 0, '', '0003-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-18', 1, 18, 1, 0, '', '0003-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-19', 1, 19, 1, 0, '', '0003-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-19', 1, 19, 1, 0, '', '0003-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-2', 1, 2, 1, 0, '-', '0003-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-2', 1, 2, 1, 2, '---', '0003-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-20', 1, 20, 1, 0, '', '0003-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-20', 1, 20, 1, 0, '', '0003-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-21', 1, 21, 1, 0, '', '0003-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-21', 1, 21, 1, 0, '', '0003-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-22', 1, 22, 1, 0, '', '0003-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-22', 1, 22, 1, 0, '', '0003-1', NULL);
|
||||||
|
|
@ -790,7 +815,7 @@ INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_t
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-37', 1, 37, 1, 0, '', '0004-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-37', 1, 37, 1, 0, '', '0004-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-38', 1, 38, 1, 0, '', '0004-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-38', 1, 38, 1, 0, '', '0004-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-39', 1, 39, 1, 0, '', '0004-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-39', 1, 39, 1, 0, '', '0004-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-4', 1, 4, 1, 0, '', '0003-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-4', 1, 4, 3, 0, '0', '0003-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-40', 1, 40, 1, 0, '', '0004-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-40', 1, 40, 1, 0, '', '0004-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-41', 1, 41, 1, 0, '', '0004-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-41', 1, 41, 1, 0, '', '0004-1', NULL);
|
||||||
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-42', 1, 42, 1, 0, '', '0004-1', NULL);
|
INSERT INTO `t_app_etag_tag_info` (`tag_name`, `controller_id`, `tag_id`, `tag_type`, `business_type`, `tunnel_no`, `area_id`, `remark`) VALUES ('A1-42', 1, 42, 1, 0, '', '0004-1', NULL);
|
||||||
|
|
@ -989,7 +1014,7 @@ CREATE TABLE `t_app_etag_tag_location` (
|
||||||
-- Records of t_app_etag_tag_location
|
-- Records of t_app_etag_tag_location
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
BEGIN;
|
BEGIN;
|
||||||
INSERT INTO `t_app_etag_tag_location` (`record_id`, `location`, `tag_name`, `location_type`, `stand`, `remark`) VALUES ('1766470737254010000', '1-102', '2233', 1, '66', '9090');
|
INSERT INTO `t_app_etag_tag_location` (`record_id`, `location`, `tag_name`, `location_type`, `stand`, `remark`) VALUES ('1766470737254010000', '1-102', 'A1-1', 1, '66', '9090');
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
|
@ -1024,23 +1049,24 @@ CREATE TABLE `t_app_etag_task` (
|
||||||
-- Records of t_app_etag_task
|
-- Records of t_app_etag_task
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
BEGIN;
|
BEGIN;
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('0000001465', '78412W24122300002', 1, 'SF1649488540362', '78412S230314000006', 'GZ-J2-01-04-03', '3110246', '消毒液1.8L', 6.00, NULL, 1, 0, 'WMS_API', 'WMS', '2024-12-24 14:32:43', NULL, NULL, NULL, NULL, NULL);
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('0000001465', '78412W24122300002', 1, 'SF1649488540362', '78412S230314000006', 'GZ-J2-01-04-03', '3110246', '消毒液1.8L', 6.00, NULL, 1, 1, 'WMS_API', 'WMS', '2024-12-24 14:32:43', NULL, NULL, NULL, NULL, NULL);
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('0000001466', '78412W24122300002', 1, 'SF1613717093943', '78412S230314000009', 'GZ-J2-01-04-03', '3110246', '消毒液1.8L', 1.00, NULL, 9, 0, 'WMS_API', 'WMS', '2024-12-24 14:32:43', NULL, NULL, NULL, NULL, NULL);
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('0000001466', '78412W24122300002', 1, 'SF1613717093943', '78412S230314000009', 'GZ-J2-01-04-03', '3110246', '消毒液1.8L', 1.00, NULL, 9, 1, 'WMS_API', 'WMS', '2024-12-24 14:32:43', NULL, NULL, NULL, NULL, NULL);
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('00000gdfgd', '78412W24122300002', 1, 'SF1613717093943', '78412S230314000009', 'GZ-J2-01-04-03', '3110246', '消毒液1.8L', 1.00, NULL, 9, 0, 'WMS_API', 'WMS', '2024-12-24 14:32:43', NULL, NULL, NULL, NULL, NULL);
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('00000gdfgd', '78412W24122300002', 1, 'SF1613717093943', '78412S230314000009', 'GZ-J2-01-04-03', '3110246', '消毒液1.8L', 1.00, NULL, 9, 1, 'WMS_API', 'WMS', '2024-12-24 14:32:43', NULL, NULL, NULL, NULL, NULL);
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('1766646518792010000', '1766646518792010000', 1, 'V0001', '7878', 'L-0101', '555', 'yyy', 1.00, NULL, 1, 1, '', 'dev', '2025-12-25 15:08:39', NULL, NULL, NULL, NULL, '1111');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('1766646518792010000', '1766646518792010000', 1, 'V0001', '7878', 'L-0101', '555', 'yyy', 1.00, NULL, 1, 1, '', 'dev', '2025-12-25 15:08:39', NULL, NULL, NULL, NULL, '1111');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('fghfghfgh', '011', 1, 'SF3131742242758', '54', 'C1-L2-03', '454321', '123131', 50.00, 50.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:34:56', '2024-12-22 16:35:40', '192.168.110.223', '2024-12-14 14:24:38', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('1768876802098010000', '1768876802098010000', 1, 'Z0001', NULL, 'A01-00-21', NULL, NULL, 1.00, NULL, 1, 1, '', 'dev', '2026-01-20 10:40:02', NULL, NULL, NULL, NULL, NULL);
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('srewrwerwer', 'TS00002517', 3, '-', '3205967', 'GZ-J1-01-03-03', '6974214220087', '001 3只', 120.00, NULL, 9, 0, 'WMS', 'WMS_API', '2024-12-25 10:28:05', NULL, NULL, NULL, NULL, NULL);
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('fghfghfgh', '011', 1, 'SF3131742242758', 'D2290899', 'C1-L2-03', '454321', '测试物料232', 50.00, 8.00, 2, 1, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:34:56', '2024-12-22 16:35:40', '192.168.110.223', '2024-12-14 14:24:38', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T00004', '011', 3, 'SF3131742242758', '54', 'B1-L2-04', 'G0001', '一杯水', 500.00, 5002.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:36:48', '2024-12-22 16:37:02', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('srewrwerwer', 'TS00002517', 3, '-', '3205967', 'GZ-J1-01-03-03', '6974214220087', '001 3只', 120.00, NULL, 9, 1, 'WMS', 'WMS_API', '2024-12-25 10:28:05', NULL, NULL, NULL, NULL, NULL);
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T00004dfgdfgdf', '011', 3, 'SF3131742242758', '54', 'B1-L2-04', 'G0001', '一杯水', 500.00, 5002.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:36:48', '2024-12-22 16:37:02', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T00004', '011', 3, 'SF3131742242758', 'WMS123456789', 'B1-L2-04', 'G0001', '一杯水', 500.00, 5002.00, 2, 1, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:36:48', '2024-12-22 16:37:02', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T00005', '011', 3, 'SF3131742242758', '54', 'B1-L2-06', 'G0002', '一瓶茶', 500.00, 5002.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:36:47', '2024-12-22 16:37:09', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T00004dfgdfgdf', '011', 3, 'SF3131742242758', '54', 'B1-L2-04', 'G0001', '一杯水', 500.00, 5002.00, 2, 1, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:36:48', '2024-12-22 16:37:02', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T001', '011', 1, 'SF3131742242758', '54', 'C1-L2-03', '454321', '123131', 50.00, 50.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:34:56', '2024-12-22 16:35:40', '192.168.110.223', '2024-12-14 14:24:38', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T00005', '011', 3, 'SF3131742242758', '54', 'B1-L2-06', 'G0002', '一瓶茶', 500.00, 5002.00, 2, 1, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:36:47', '2024-12-22 16:37:09', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T002', '011', 1, 'SF3131742242758', '54', 'A1-07', '454321', '123131', 400.00, 400.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 13:53:23', '2024-12-22 13:53:28', '192.168.110.223', '2024-11-28 19:35:35', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T001', '011', 1, 'SF3131742242758', '54', 'C1-L2-03', '454321', '123131', 50.00, 50.00, 2, 1, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:34:56', '2024-12-22 16:35:40', '192.168.110.223', '2024-12-14 14:24:38', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T003', '011', 1, 'SF3131742242758', '54', 'B1-L2-03', '454321', '123131', 20.00, 20.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:34:56', '2024-12-22 16:35:49', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T002', '011', 1, 'SF3131742242758', '54', 'A1-07', '454321', '123131', 400.00, 400.00, 2, 1, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 13:53:23', '2024-12-22 13:53:28', '192.168.110.223', '2024-11-28 19:35:35', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T00hfgjgfjjh', '011', 3, 'SF3131742242758', '54', 'B1-L2-06', 'G0002', '一瓶茶', 500.00, 5002.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:36:47', '2024-12-22 16:37:09', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T003', '011', 1, 'SF3131742242758', '54', 'B1-L2-03', '454321', '123131', 20.00, 20.00, 2, 2, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:34:56', '2024-12-22 16:35:49', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T0345456456', '011', 1, 'SF3131742242758', '54', 'A1-07', '454321', '123131', 400.00, 400.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 13:53:23', '2024-12-22 13:53:28', '192.168.110.223', '2024-11-28 19:35:35', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T00hfgjgfjjh', '011', 3, 'SF3131742242758', '54', 'B1-L2-06', 'G0002', '一瓶茶', 500.00, 5002.00, 2, 2, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:36:47', '2024-12-22 16:37:09', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('Tghjghjghjghj', '011', 1, 'SF3131742242758', '54', 'B1-L2-03', '454321', '123131', 20.00, 20.00, 2, 0, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:34:56', '2024-12-22 16:35:49', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('T0345456456', '011', 1, 'SF3131742242758', '54', 'A1-07', '454321', '123131', 400.00, 400.00, 2, 2, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 13:53:23', '2024-12-22 13:53:28', '192.168.110.223', '2024-11-28 19:35:35', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('TS00002517', 'TS00002517', 3, '-', '3205967', 'GZ-J1-01-03-03', '6974214220087', '001 3只', 120.00, NULL, 9, 0, 'WMS', 'WMS_API', '2024-12-25 10:28:05', NULL, NULL, NULL, NULL, NULL);
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('Tghjghjghjghj', '011', 1, 'SF3131742242758', '54', 'B1-L2-03', '454321', '123131', 20.00, 20.00, 2, 2, '245', '4545', '2024-12-11 19:35:05', '2024-12-22 16:34:56', '2024-12-22 16:35:49', '192.168.110.222', '2024-12-14 14:24:38', 'QQ');
|
||||||
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('w23423423', '78412W24122300002', 1, 'SF1649488540362', '78412S230314000006', 'GZ-J2-01-04-03', '3110246', '消毒液1.8L', 6.00, NULL, 1, 0, 'WMS_API', 'WMS', '2024-12-24 14:32:43', NULL, NULL, NULL, NULL, NULL);
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('TS00002517', 'TS00002517', 3, '-', '3205967', 'GZ-J1-01-03-03', '6974214220087', '001 3只', 120.00, NULL, 9, 2, 'WMS', 'WMS_API', '2024-12-25 10:28:05', NULL, NULL, NULL, NULL, NULL);
|
||||||
|
INSERT INTO `t_app_etag_task` (`task_id`, `task_group`, `task_type`, `vehicle_no`, `order_id`, `location`, `goods_id`, `goods_name`, `light_num`, `confirm_num`, `task_status`, `light_model`, `task_source`, `create_person`, `create_time`, `light_time`, `confirm_time`, `confirm_person`, `completed_time`, `remark`) VALUES ('w23423423', '78412W24122300002', 1, 'SF1649488540362', '78412S230314000006', 'GZ-J2-01-04-03', '3110246', '消毒液1.8L', 6.00, NULL, 1, 2, 'WMS_API', 'WMS', '2024-12-24 14:32:43', NULL, NULL, NULL, NULL, NULL);
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
|
@ -1251,9 +1277,11 @@ CREATE TABLE `t_app_quartz_config` (
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
BEGIN;
|
BEGIN;
|
||||||
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('CleanDataJob', '数据清理', 0, '5/2 * * * * ? *', '2025-05-20 09:04:24', '2025-09-03 09:25:11', NULL);
|
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('CleanDataJob', '数据清理', 0, '5/2 * * * * ? *', '2025-05-20 09:04:24', '2025-09-03 09:25:11', NULL);
|
||||||
|
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('EtagJob', '电子标签点亮定时任务', 0, '5/1 * * * * ? *', '2026-01-28 09:27:12', '2026-01-28 09:27:12', NULL);
|
||||||
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('ExecuteStackerTaskJob', '执行堆垛机任务定时任务', 0, '5/1 * * * * ? *', '2025-07-04 13:20:40', '2025-09-03 09:25:28', NULL);
|
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('ExecuteStackerTaskJob', '执行堆垛机任务定时任务', 0, '5/1 * * * * ? *', '2025-07-04 13:20:40', '2025-09-03 09:25:28', NULL);
|
||||||
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('ResolveStockTaskJob', '解析仓库任务', 0, '2/2 * * * * ? *', '2025-09-03 09:25:01', '2025-10-07 15:19:17', NULL);
|
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('ResolveStockTaskJob', '解析仓库任务', 0, '2/2 * * * * ? *', '2025-09-03 09:25:01', '2025-10-07 15:19:17', NULL);
|
||||||
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('RetryApiRequestJob', '接口重试定时任务', 0, '5/2 * * * * ? *', '2025-09-16 11:34:41', '2025-09-16 11:34:56', NULL);
|
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('RetryApiRequestJob', '接口重试定时任务', 0, '5/2 * * * * ? *', '2025-09-16 11:34:41', '2025-09-16 11:34:56', NULL);
|
||||||
|
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('ScannerJob', '扫码器数据读取定时任务', 0, '5/1 * * * * ? *', '2026-01-22 14:58:28', '2026-01-22 14:58:28', NULL);
|
||||||
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('TestQuartzJob', '测试2', 0, '0/2 * * * * ? *', '2025-05-20 09:05:16', '2025-05-21 08:04:01', '-');
|
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('TestQuartzJob', '测试2', 0, '0/2 * * * * ? *', '2025-05-20 09:05:16', '2025-05-21 08:04:01', '-');
|
||||||
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('TrayConveyJob', '托盘线定时任务', 0, '5/2 * * * * ? *', '2025-12-22 17:24:33', '2025-12-22 17:24:39', NULL);
|
INSERT INTO `t_app_quartz_config` (`class_name`, `job_desc`, `status`, `cron`, `create_time`, `update_time`, `remark`) VALUES ('TrayConveyJob', '托盘线定时任务', 0, '5/2 * * * * ? *', '2025-12-22 17:24:33', '2025-12-22 17:24:39', NULL);
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
@ -1623,7 +1651,7 @@ INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weigh
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004533338010000', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:42:13', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004533338010000', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:42:13', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004540313010000', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:42:20', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004540313010000', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:42:20', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004548547010000', '0001', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:42:29', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004548547010000', '0001', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:42:29', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004551790010000', 'P1', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:42:32', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004551790010000', 'P1', '4456456', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:42:32', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004580743010000', '0001', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:43:01', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735004580743010000', '0001', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:43:01', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735005002734010000', '0001', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:50:03', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735005002734010000', '0001', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:50:03', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735005004728010000', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:50:05', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735005004728010000', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:50:05', 'PLC');
|
||||||
|
|
@ -1640,14 +1668,14 @@ INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weigh
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735005148091010000', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:52:28', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735005148091010000', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:52:28', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735005148091010001', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:52:28', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735005148091010001', '0003', 'NoRead', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 09:52:28', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735006030923010000', 'P1', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:07:11', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735006030923010000', 'P1', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:07:11', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735006460966010000', '0007', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:14:21', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735006460966010000', '0007', 'DE348890', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:14:21', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735006956351010000', '0007', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:22:36', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735006956351010000', '0007', 'DE348890', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:22:36', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735007088814010000', '0007', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:24:49', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735007088814010000', '0007', 'DE348890', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:24:49', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735007164134010000', '0007', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:26:04', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735007164134010000', '0007', 'DE348890', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:26:04', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735008100026010000', '0007', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:41:40', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735008100026010000', '0007', 'DE348890', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:41:40', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735008245941010000', '0007', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:44:06', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735008245941010000', '0007', 'DE348890', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:44:06', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735008887930010000', '0007', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:54:48', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735008887930010000', '0007', 'DE348890', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 10:54:48', 'PLC');
|
||||||
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735013556515010000', '0007', '', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 12:12:37', 'PLC');
|
INSERT INTO `t_app_record_scan` (`record_id`, `location`, `code`, `size`, `weight`, `length`, `width`, `height`, `scan_time`, `remark`) VALUES ('1735013556515010000', '0007', 'DE348890', '0', 0.0000, 0.0000, 0.0000, 0.0000, '2024-12-24 12:12:37', 'PLC');
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
|
@ -9481,7 +9509,7 @@ CREATE TABLE `t_app_stock_compose_task` (
|
||||||
-- Records of t_app_stock_compose_task
|
-- Records of t_app_stock_compose_task
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
BEGIN;
|
BEGIN;
|
||||||
INSERT INTO `t_app_stock_compose_task` (`task_id`, `task_group`, `upper_task_id`, `task_type`, `origin`, `destination`, `task_status`, `step_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759820293397010000', '1759820293397010001', NULL, 2, 'A1-001-02-2', '101', 1, 0, 1, 5, 'T1001', 0, 0.0000, '2025-10-07 14:58:13', '2025-10-07 14:58:13', NULL, NULL, NULL, 'WCS', 'developer', '任务解析完成');
|
INSERT INTO `t_app_stock_compose_task` (`task_id`, `task_group`, `upper_task_id`, `task_type`, `origin`, `destination`, `task_status`, `step_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759820293397010000', '1759820293397010001', '67889900', 2, 'A1-001-02-2', '101', 1, 0, 1, 5, 'T1001', 0, 0.0000, '2025-10-07 14:58:13', '2025-10-07 14:58:13', NULL, NULL, NULL, 'WCS', 'developer', '任务解析完成');
|
||||||
INSERT INTO `t_app_stock_compose_task` (`task_id`, `task_group`, `upper_task_id`, `task_type`, `origin`, `destination`, `task_status`, `step_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759820351955010000', '1759820351955010001', NULL, 1, '203', 'A1-011-02-2', 1, 0, 1, 5, 'T1002', 0, 0.0000, '2025-10-07 14:59:12', '2025-10-07 14:59:12', NULL, NULL, NULL, 'WCS', 'developer', '任务解析完成');
|
INSERT INTO `t_app_stock_compose_task` (`task_id`, `task_group`, `upper_task_id`, `task_type`, `origin`, `destination`, `task_status`, `step_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759820351955010000', '1759820351955010001', NULL, 1, '203', 'A1-011-02-2', 1, 0, 1, 5, 'T1002', 0, 0.0000, '2025-10-07 14:59:12', '2025-10-07 14:59:12', NULL, NULL, NULL, 'WCS', 'developer', '任务解析完成');
|
||||||
INSERT INTO `t_app_stock_compose_task` (`task_id`, `task_group`, `upper_task_id`, `task_type`, `origin`, `destination`, `task_status`, `step_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759821023022010000', '1759821023023010000', NULL, 1, '202', 'A1-012-02-2', 1, 0, 1, 5, 'T1003', 0, 0.0000, '2025-10-07 15:10:23', '2025-10-07 15:10:23', NULL, NULL, NULL, 'WCS', 'developer', '任务解析完成');
|
INSERT INTO `t_app_stock_compose_task` (`task_id`, `task_group`, `upper_task_id`, `task_type`, `origin`, `destination`, `task_status`, `step_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759821023022010000', '1759821023023010000', NULL, 1, '202', 'A1-012-02-2', 1, 0, 1, 5, 'T1003', 0, 0.0000, '2025-10-07 15:10:23', '2025-10-07 15:10:23', NULL, NULL, NULL, 'WCS', 'developer', '任务解析完成');
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
@ -9594,7 +9622,7 @@ CREATE TABLE `t_app_stock_single_task` (
|
||||||
BEGIN;
|
BEGIN;
|
||||||
INSERT INTO `t_app_stock_single_task` (`task_id`, `task_group`, `plc_task_id`, `upper_task_id`, `execute_machine`, `task_type`, `origin`, `destination`, `compose_destination`, `task_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_no_number`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759820294025010000', '1759820293397010001', 100011, NULL, 1, 2, 'A1-001-02-2', '101', '101', 3, 1, 5, 'T1001', 0, 0, 0.0000, '2025-11-01 14:58:14', '2025-10-07 14:58:34', NULL, NULL, NULL, 'WCS', 'developer', NULL);
|
INSERT INTO `t_app_stock_single_task` (`task_id`, `task_group`, `plc_task_id`, `upper_task_id`, `execute_machine`, `task_type`, `origin`, `destination`, `compose_destination`, `task_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_no_number`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759820294025010000', '1759820293397010001', 100011, NULL, 1, 2, 'A1-001-02-2', '101', '101', 3, 1, 5, 'T1001', 0, 0, 0.0000, '2025-11-01 14:58:14', '2025-10-07 14:58:34', NULL, NULL, NULL, 'WCS', 'developer', NULL);
|
||||||
INSERT INTO `t_app_stock_single_task` (`task_id`, `task_group`, `plc_task_id`, `upper_task_id`, `execute_machine`, `task_type`, `origin`, `destination`, `compose_destination`, `task_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_no_number`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759820352008010000', '1759820351955010001', 100012, NULL, 1, 1, '102', 'A1-011-02-2', 'A1-011-02-2', 3, 1, 5, 'T1002', 0, 0, 0.0000, '2025-11-01 14:59:12', '2025-10-07 14:59:12', NULL, NULL, NULL, 'WCS', 'developer', NULL);
|
INSERT INTO `t_app_stock_single_task` (`task_id`, `task_group`, `plc_task_id`, `upper_task_id`, `execute_machine`, `task_type`, `origin`, `destination`, `compose_destination`, `task_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_no_number`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759820352008010000', '1759820351955010001', 100012, NULL, 1, 1, '102', 'A1-011-02-2', 'A1-011-02-2', 3, 1, 5, 'T1002', 0, 0, 0.0000, '2025-11-01 14:59:12', '2025-10-07 14:59:12', NULL, NULL, NULL, 'WCS', 'developer', NULL);
|
||||||
INSERT INTO `t_app_stock_single_task` (`task_id`, `task_group`, `plc_task_id`, `upper_task_id`, `execute_machine`, `task_type`, `origin`, `destination`, `compose_destination`, `task_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_no_number`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759821024039010000', '1759821023023010000', 100015, NULL, 1, 3, 'A1-011-02-2', 'A1-012-02-2', 'A1-012-02-2', 3, 1, 5, 'T1003', 0, 0, 0.0000, '2025-11-02 15:10:24', '2025-10-07 15:10:24', NULL, NULL, NULL, 'WCS', 'developer', NULL);
|
INSERT INTO `t_app_stock_single_task` (`task_id`, `task_group`, `plc_task_id`, `upper_task_id`, `execute_machine`, `task_type`, `origin`, `destination`, `compose_destination`, `task_status`, `can_cancel`, `priority`, `vehicle_no`, `vehicle_no_number`, `vehicle_size`, `weight`, `create_time`, `update_time`, `start_time`, `complete_time`, `end_time`, `task_source`, `create_person`, `task_msg`) VALUES ('1759821024039010000', '1759821023023010000', 100142, NULL, 1, 3, 'A1-011-02-2', 'A1-012-02-2', 'A1-012-02-2', 3, 1, 5, 'T1003', 0, 0, 0.0000, '2025-11-02 15:10:24', '2026-01-28 13:14:22', NULL, NULL, NULL, 'WCS', 'developer', NULL);
|
||||||
COMMIT;
|
COMMIT;
|
||||||
|
|
||||||
-- ----------------------------
|
-- ----------------------------
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
package org.wcs.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
|
import org.wcs.model.po.app.AppConveyDeliverStand;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 输送线发货站台表的 Mapper 类
|
||||||
|
*/
|
||||||
|
@Mapper
|
||||||
|
public interface AppConveyDeliverStandMapper extends BaseMapper<AppConveyDeliverStand> {
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,131 @@
|
||||||
|
package org.wcs.mapper.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.wcs.mapper.AppConveyDeliverStandMapper;
|
||||||
|
import org.wcs.mapper.intf.AppConveyDeliverStandService;
|
||||||
|
import org.wcs.model.bo.db.DataBaseActionResult;
|
||||||
|
import org.wcs.model.bo.tuple.Tuple2;
|
||||||
|
import org.wcs.model.dto.serve.conveyStand.QueryDeliverStandReq;
|
||||||
|
import org.wcs.model.po.app.AppConveyDeliverStand;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 输送线站台数据访问实现类
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class AppConveyDeliverStandStandDao extends ServiceImpl<AppConveyDeliverStandMapper, AppConveyDeliverStand> implements AppConveyDeliverStandService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询输送线站台
|
||||||
|
* @param request 查询参数
|
||||||
|
* @param pageSize 每页数量
|
||||||
|
* @param pageIndex 页码
|
||||||
|
* @return 站台列表
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public Tuple2<Long, List<AppConveyDeliverStand>> query(QueryDeliverStandReq request, Integer pageSize, Integer pageIndex) {
|
||||||
|
if(request == null || pageSize == null || pageIndex == null || pageSize <= 0 || pageIndex <= 0) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
LambdaQueryWrapper<AppConveyDeliverStand> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
queryWrapper.eq(request.getAreaId() != null, AppConveyDeliverStand::getAreaId, request.getAreaId());
|
||||||
|
queryWrapper.like(request.getStandId() != null, AppConveyDeliverStand::getStandId, request.getStandId());
|
||||||
|
queryWrapper.eq(request.getStandStatus() != null, AppConveyDeliverStand::getStandStatus, request.getStandStatus());
|
||||||
|
queryWrapper.orderByAsc(AppConveyDeliverStand::getStandId);
|
||||||
|
try {
|
||||||
|
Page<AppConveyDeliverStand> page = new Page<>(pageIndex, pageSize);
|
||||||
|
Page<AppConveyDeliverStand> conveyDeliverStandPage = baseMapper.selectPage(page, queryWrapper);
|
||||||
|
return new Tuple2<>(conveyDeliverStandPage.getTotal(), conveyDeliverStandPage.getRecords());
|
||||||
|
} catch (Exception e) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 根据站台ID查询
|
||||||
|
* @param standId 站台ID
|
||||||
|
* @return 站台列表
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<AppConveyDeliverStand> queryByStandId(String standId) {
|
||||||
|
LambdaQueryWrapper<AppConveyDeliverStand> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
queryWrapper.eq(AppConveyDeliverStand::getStandId, standId);
|
||||||
|
queryWrapper.orderByAsc(AppConveyDeliverStand::getStandId);
|
||||||
|
try {
|
||||||
|
return super.list(queryWrapper);
|
||||||
|
} catch (Exception e) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加数据
|
||||||
|
* @param appConveyDeliverStand 添加参数
|
||||||
|
* @return 添加结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public DataBaseActionResult<Integer> insert(AppConveyDeliverStand appConveyDeliverStand) {
|
||||||
|
if(appConveyDeliverStand == null) {
|
||||||
|
return new DataBaseActionResult<>(0, new Exception("参数错误"));
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
int insert = baseMapper.insert(appConveyDeliverStand);
|
||||||
|
return new DataBaseActionResult<>(insert);
|
||||||
|
} catch (Exception e) {
|
||||||
|
return new DataBaseActionResult<>(0, e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改数据
|
||||||
|
* @param appConveyDeliverStand 修改参数
|
||||||
|
* @return 修改结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public DataBaseActionResult<Integer> update(AppConveyDeliverStand appConveyDeliverStand) {
|
||||||
|
if(appConveyDeliverStand == null) {
|
||||||
|
return new DataBaseActionResult<>(0, new Exception("参数错误"));
|
||||||
|
}
|
||||||
|
LambdaUpdateWrapper<AppConveyDeliverStand> updateWrapper = new LambdaUpdateWrapper<>();
|
||||||
|
updateWrapper.eq(AppConveyDeliverStand::getStandId, appConveyDeliverStand.getStandId());
|
||||||
|
updateWrapper.set(AppConveyDeliverStand::getAreaId, appConveyDeliverStand.getAreaId())
|
||||||
|
.set(AppConveyDeliverStand::getStandName, appConveyDeliverStand.getStandName())
|
||||||
|
.set(AppConveyDeliverStand::getPlcId, appConveyDeliverStand.getPlcId())
|
||||||
|
.set(AppConveyDeliverStand::getStandStatus, appConveyDeliverStand.getStandStatus())
|
||||||
|
.set(AppConveyDeliverStand::getRouter, appConveyDeliverStand.getRouter())
|
||||||
|
.set(AppConveyDeliverStand::getReadArriveAddress, appConveyDeliverStand.getReadArriveAddress())
|
||||||
|
.set(AppConveyDeliverStand::getWriteTaskAddress, appConveyDeliverStand.getWriteTaskAddress())
|
||||||
|
.set(AppConveyDeliverStand::getRemark, appConveyDeliverStand.getRemark());
|
||||||
|
try {
|
||||||
|
int update = baseMapper.update(appConveyDeliverStand, updateWrapper);
|
||||||
|
return new DataBaseActionResult<>(update);
|
||||||
|
} catch (Exception e) {
|
||||||
|
return new DataBaseActionResult<>(0, e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除数据
|
||||||
|
* @param standId 站台ID
|
||||||
|
* @return 删除结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public DataBaseActionResult<Integer> delete(String standId) {
|
||||||
|
if(standId == null) {
|
||||||
|
return new DataBaseActionResult<>(0, new Exception("参数错误"));
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
LambdaQueryWrapper<AppConveyDeliverStand> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
queryWrapper.eq(AppConveyDeliverStand::getStandId, standId);
|
||||||
|
int delete = baseMapper.delete(queryWrapper);
|
||||||
|
return new DataBaseActionResult<>(delete);
|
||||||
|
} catch (Exception e) {
|
||||||
|
return new DataBaseActionResult<>(0, e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
package org.wcs.mapper.intf;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import org.wcs.model.bo.db.DataBaseActionResult;
|
||||||
|
import org.wcs.model.bo.tuple.Tuple2;
|
||||||
|
import org.wcs.model.dto.serve.conveyStand.QueryDeliverStandReq;
|
||||||
|
import org.wcs.model.po.app.AppConveyDeliverStand;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 输送线站台表服务接口
|
||||||
|
*/
|
||||||
|
public interface AppConveyDeliverStandService extends IService<AppConveyDeliverStand> {
|
||||||
|
|
||||||
|
Tuple2<Long, List<AppConveyDeliverStand>> query(QueryDeliverStandReq request, Integer pageSize, Integer pageIndex); // 查询
|
||||||
|
List<AppConveyDeliverStand> queryByStandId(String standId); // 根据站台ID查询
|
||||||
|
DataBaseActionResult<Integer> insert(AppConveyDeliverStand appConveyDeliverStand); // 添加输送机发货站台
|
||||||
|
DataBaseActionResult<Integer> update(AppConveyDeliverStand appConveyDeliverStand); // 修改站台信息
|
||||||
|
DataBaseActionResult<Integer> delete(String standId); // 删除一个站台
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,74 @@
|
||||||
|
package org.wcs.model.dto.serve.conveyStand;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import jakarta.validation.constraints.NotBlank;
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class AddConveyDeliverStandReq {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台ID
|
||||||
|
*/
|
||||||
|
@NotBlank(message = "站台ID不能为空")
|
||||||
|
@JsonProperty("standId")
|
||||||
|
private String standId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台名称
|
||||||
|
*/
|
||||||
|
@NotBlank(message = "站台名称不能为空")
|
||||||
|
@JsonProperty("standName")
|
||||||
|
private String standName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PLC编号
|
||||||
|
*/
|
||||||
|
@NotNull(message = "PLC编号不能为空")
|
||||||
|
@JsonProperty("plcId")
|
||||||
|
private Integer plcId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 区域ID
|
||||||
|
*/
|
||||||
|
@NotBlank(message = "区域ID不能为空")
|
||||||
|
@JsonProperty("areaId")
|
||||||
|
private String areaId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台状态
|
||||||
|
*/
|
||||||
|
@NotNull(message = "站台状态不能为空")
|
||||||
|
@JsonProperty("standStatus")
|
||||||
|
private Integer standStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 路由
|
||||||
|
*/
|
||||||
|
@NotNull(message = "路由不能为空")
|
||||||
|
@JsonProperty("router")
|
||||||
|
private Integer router;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 读取到达站台地址
|
||||||
|
*/
|
||||||
|
@JsonProperty("readArriveAddress")
|
||||||
|
private String readArriveAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 写任务地址
|
||||||
|
*/
|
||||||
|
@JsonProperty("writeTaskAddress")
|
||||||
|
private String writeTaskAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台描述
|
||||||
|
*/
|
||||||
|
@JsonProperty("remark")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
package org.wcs.model.dto.serve.conveyStand;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询发货站台参数
|
||||||
|
*/
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
public class QueryDeliverStandReq {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台ID
|
||||||
|
*/
|
||||||
|
@JsonProperty("standId")
|
||||||
|
private String standId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 区域号
|
||||||
|
*/
|
||||||
|
@JsonProperty("areaId")
|
||||||
|
private String areaId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台状态
|
||||||
|
*/
|
||||||
|
@JsonProperty("standStatus")
|
||||||
|
private Integer standStatus;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,72 @@
|
||||||
|
package org.wcs.model.dto.serve.conveyStand;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import jakarta.validation.constraints.NotBlank;
|
||||||
|
import jakarta.validation.constraints.NotNull;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class UpdateConveyDeliverStandReq {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台ID
|
||||||
|
*/
|
||||||
|
@NotBlank(message = "站台ID不能为空")
|
||||||
|
@JsonProperty("standId")
|
||||||
|
private String standId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台名称
|
||||||
|
*/
|
||||||
|
@NotBlank(message = "站台名称不能为空")
|
||||||
|
@JsonProperty("standName")
|
||||||
|
private String standName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PLC编号
|
||||||
|
*/
|
||||||
|
@NotNull(message = "PLC编号不能为空")
|
||||||
|
@JsonProperty("plcId")
|
||||||
|
private Integer plcId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 区域ID
|
||||||
|
*/
|
||||||
|
@NotBlank(message = "区域ID不能为空")
|
||||||
|
@JsonProperty("areaId")
|
||||||
|
private String areaId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台状态
|
||||||
|
*/
|
||||||
|
@NotNull(message = "站台状态不能为空")
|
||||||
|
@JsonProperty("standStatus")
|
||||||
|
private Integer standStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 路由
|
||||||
|
*/
|
||||||
|
@NotNull(message = "路由不能为空")
|
||||||
|
@JsonProperty("router")
|
||||||
|
private Integer router;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 读取到达站台地址
|
||||||
|
*/
|
||||||
|
@JsonProperty("readArriveAddress")
|
||||||
|
private String readArriveAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 写任务地址
|
||||||
|
*/
|
||||||
|
@JsonProperty("writeTaskAddress")
|
||||||
|
private String writeTaskAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台描述
|
||||||
|
*/
|
||||||
|
@JsonProperty("remark")
|
||||||
|
private String remark;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,70 @@
|
||||||
|
package org.wcs.model.po.app;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 输送线发货站台
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
@TableName("t_app_convey_deliver_stand")
|
||||||
|
public class AppConveyDeliverStand {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台编号
|
||||||
|
*/
|
||||||
|
@TableId(value = "stand_id")
|
||||||
|
private String standId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台名称
|
||||||
|
*/
|
||||||
|
@TableField(value = "stand_name")
|
||||||
|
private String standName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 管辖的PLC编号
|
||||||
|
*/
|
||||||
|
@TableField(value = "plc_id")
|
||||||
|
private Integer plcId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台所属区域编号
|
||||||
|
*/
|
||||||
|
@TableField(value = "area_id")
|
||||||
|
private String areaId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台状态
|
||||||
|
*/
|
||||||
|
@TableField(value = "stand_status")
|
||||||
|
private Integer standStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台路由
|
||||||
|
*/
|
||||||
|
@TableField(value = "router")
|
||||||
|
private Integer router;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台读取任务到达地址
|
||||||
|
*/
|
||||||
|
@TableField(value = "read_arrive_address")
|
||||||
|
private String readArriveAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台写入任务地址
|
||||||
|
*/
|
||||||
|
@TableField(value = "write_task_address")
|
||||||
|
private String writeTaskAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台描述
|
||||||
|
*/
|
||||||
|
@TableField(value = "remark")
|
||||||
|
private String remark;
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,67 @@
|
||||||
|
package org.wcs.model.vo.serve.conveyStand;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 输送线发货站台信息
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class ConveyDeliverStandVo {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台编号
|
||||||
|
*/
|
||||||
|
@JsonProperty(value = "standId")
|
||||||
|
private String standId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台名称
|
||||||
|
*/
|
||||||
|
@JsonProperty(value = "standName")
|
||||||
|
private String standName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 管辖的PLC编号
|
||||||
|
*/
|
||||||
|
@JsonProperty(value = "plcId")
|
||||||
|
private Integer plcId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台所属区域编号
|
||||||
|
*/
|
||||||
|
@JsonProperty(value = "areaId")
|
||||||
|
private String areaId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台状态
|
||||||
|
*/
|
||||||
|
@JsonProperty(value = "standStatus")
|
||||||
|
private Integer standStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台路由
|
||||||
|
*/
|
||||||
|
@JsonProperty(value = "router")
|
||||||
|
private Integer router;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台读取任务到达地址
|
||||||
|
*/
|
||||||
|
@JsonProperty(value = "readArriveAddress")
|
||||||
|
private String readArriveAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台写入任务地址
|
||||||
|
*/
|
||||||
|
@JsonProperty(value = "writeTaskAddress")
|
||||||
|
private String writeTaskAddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 站台描述
|
||||||
|
*/
|
||||||
|
@JsonProperty(value = "remark")
|
||||||
|
private String remark;
|
||||||
|
}
|
||||||
|
|
@ -9,6 +9,7 @@ import org.wcs.model.vo.serve.AppServeDataResponse;
|
||||||
import org.wcs.model.vo.serve.AppServeResponse;
|
import org.wcs.model.vo.serve.AppServeResponse;
|
||||||
import org.wcs.model.vo.serve.common.PageDataResponse;
|
import org.wcs.model.vo.serve.common.PageDataResponse;
|
||||||
import org.wcs.model.vo.serve.conveyStand.ConveyCheckStandVo;
|
import org.wcs.model.vo.serve.conveyStand.ConveyCheckStandVo;
|
||||||
|
import org.wcs.model.vo.serve.conveyStand.ConveyDeliverStandVo;
|
||||||
import org.wcs.model.vo.serve.conveyStand.ConveyPickStandVo;
|
import org.wcs.model.vo.serve.conveyStand.ConveyPickStandVo;
|
||||||
import org.wcs.serve.service.intf.IConveyStandService;
|
import org.wcs.serve.service.intf.IConveyStandService;
|
||||||
|
|
||||||
|
|
@ -108,5 +109,45 @@ public class ConveyStandController {
|
||||||
return conveyStandService.updateConveyCheckStand(request);
|
return conveyStandService.updateConveyCheckStand(request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询输送线发货站台
|
||||||
|
* @param request 添加参数
|
||||||
|
* @return 添加结果
|
||||||
|
*/
|
||||||
|
@PostMapping("queryDeliverStand")
|
||||||
|
public AppServeDataResponse<PageDataResponse<ConveyDeliverStandVo>> queryDeliverStand(@RequestBody QueryDeliverStandReq request, @RequestParam("pageSize") Integer pageSize, @RequestParam("pageIndex") Integer pageIndex) {
|
||||||
|
return conveyStandService.queryDeliverStand(request, pageSize, pageIndex);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加输送线发货站台
|
||||||
|
* @param request 添加参数
|
||||||
|
* @return 添加结果
|
||||||
|
*/
|
||||||
|
@PostMapping("addConveyDeliverStand")
|
||||||
|
public AppServeResponse addConveyDeliverStand(@RequestBody @Validated AddConveyDeliverStandReq request) {
|
||||||
|
return conveyStandService.addConveyDeliverStand(request);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除输送线发货站台
|
||||||
|
* @param standId 站台ID
|
||||||
|
* @return 删除结果
|
||||||
|
*/
|
||||||
|
@DeleteMapping("deleteConveyDeliverStand")
|
||||||
|
public AppServeResponse deleteConveyDeliverStand(@RequestParam("standId") @NotBlank(message = "站台ID不能为空") String standId) {
|
||||||
|
return conveyStandService.deleteConveyDeliverStand(standId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改输送线发货站台
|
||||||
|
* @param request 添加参数
|
||||||
|
* @return 添加结果
|
||||||
|
*/
|
||||||
|
@PostMapping("updateConveyDeliverStand")
|
||||||
|
public AppServeResponse updateConveyDeliverStand(@RequestBody @Validated UpdateConveyDeliverStandReq request) {
|
||||||
|
return conveyStandService.updateConveyDeliverStand(request);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,15 +4,18 @@ import lombok.RequiredArgsConstructor;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.wcs.factory.AppServeResponseFactory;
|
import org.wcs.factory.AppServeResponseFactory;
|
||||||
import org.wcs.mapper.intf.AppConveyCheckStandService;
|
import org.wcs.mapper.intf.AppConveyCheckStandService;
|
||||||
|
import org.wcs.mapper.intf.AppConveyDeliverStandService;
|
||||||
import org.wcs.mapper.intf.AppConveyPickStandService;
|
import org.wcs.mapper.intf.AppConveyPickStandService;
|
||||||
import org.wcs.model.bo.tuple.Tuple2;
|
import org.wcs.model.bo.tuple.Tuple2;
|
||||||
import org.wcs.model.dto.serve.conveyStand.*;
|
import org.wcs.model.dto.serve.conveyStand.*;
|
||||||
import org.wcs.model.po.app.AppConveyCheckStand;
|
import org.wcs.model.po.app.AppConveyCheckStand;
|
||||||
|
import org.wcs.model.po.app.AppConveyDeliverStand;
|
||||||
import org.wcs.model.po.app.AppConveyPickStand;
|
import org.wcs.model.po.app.AppConveyPickStand;
|
||||||
import org.wcs.model.vo.serve.AppServeDataResponse;
|
import org.wcs.model.vo.serve.AppServeDataResponse;
|
||||||
import org.wcs.model.vo.serve.AppServeResponse;
|
import org.wcs.model.vo.serve.AppServeResponse;
|
||||||
import org.wcs.model.vo.serve.common.PageDataResponse;
|
import org.wcs.model.vo.serve.common.PageDataResponse;
|
||||||
import org.wcs.model.vo.serve.conveyStand.ConveyCheckStandVo;
|
import org.wcs.model.vo.serve.conveyStand.ConveyCheckStandVo;
|
||||||
|
import org.wcs.model.vo.serve.conveyStand.ConveyDeliverStandVo;
|
||||||
import org.wcs.model.vo.serve.conveyStand.ConveyPickStandVo;
|
import org.wcs.model.vo.serve.conveyStand.ConveyPickStandVo;
|
||||||
import org.wcs.serve.service.intf.IConveyStandService;
|
import org.wcs.serve.service.intf.IConveyStandService;
|
||||||
import org.wcs.utils.AppBeanUtils;
|
import org.wcs.utils.AppBeanUtils;
|
||||||
|
|
@ -29,6 +32,7 @@ public class ConveyStandService implements IConveyStandService {
|
||||||
|
|
||||||
private final AppConveyPickStandService conveyPickStandService; // 捡选站台操作类
|
private final AppConveyPickStandService conveyPickStandService; // 捡选站台操作类
|
||||||
private final AppConveyCheckStandService conveyCheckStandService; // 复核站台操作类
|
private final AppConveyCheckStandService conveyCheckStandService; // 复核站台操作类
|
||||||
|
private final AppConveyDeliverStandService conveyDeliverStandService; // 发货站台操作类
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询捡货站台
|
* 查询捡货站台
|
||||||
|
|
@ -210,4 +214,98 @@ public class ConveyStandService implements IConveyStandService {
|
||||||
}
|
}
|
||||||
return AppServeResponseFactory.success();
|
return AppServeResponseFactory.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取发货站台
|
||||||
|
* @param request 获取参数
|
||||||
|
* @param pageSize 每页数量
|
||||||
|
* @param pageIndex 页码
|
||||||
|
* @return 站台列表
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppServeDataResponse<PageDataResponse<ConveyDeliverStandVo>> queryDeliverStand(QueryDeliverStandReq request, Integer pageSize, Integer pageIndex) {
|
||||||
|
Tuple2<Long, List<AppConveyDeliverStand>> queryResult = conveyDeliverStandService.query(request, pageSize, pageIndex);
|
||||||
|
if(queryResult == null) {
|
||||||
|
return AppServeResponseFactory.fail("数据服务异常", null);
|
||||||
|
}
|
||||||
|
List<ConveyDeliverStandVo> conveyDeliverStandVos = AppBeanUtils.copyListProperties(queryResult.getItem2(), ConveyDeliverStandVo::new);
|
||||||
|
PageDataResponse<ConveyDeliverStandVo> response = new PageDataResponse<>();
|
||||||
|
response.setPageIndex(pageIndex);
|
||||||
|
response.setPageSize(pageSize);
|
||||||
|
response.setTotalCount(queryResult.getItem1());
|
||||||
|
response.setData(conveyDeliverStandVos);
|
||||||
|
return AppServeResponseFactory.success(response);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加发货站台
|
||||||
|
* @param request 添加参数
|
||||||
|
* @return 添加结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppServeResponse addConveyDeliverStand(AddConveyDeliverStandReq request) {
|
||||||
|
List<AppConveyDeliverStand> conveyDeliverStands = conveyDeliverStandService.queryByStandId(request.getStandId());
|
||||||
|
if(conveyDeliverStands == null) {
|
||||||
|
return AppServeResponseFactory.fail("数据服务异常");
|
||||||
|
}
|
||||||
|
if(!conveyDeliverStands.isEmpty()) {
|
||||||
|
return AppServeResponseFactory.fail("站台已存在");
|
||||||
|
}
|
||||||
|
AppConveyDeliverStand newDeliverStand = new AppConveyDeliverStand();
|
||||||
|
AppBeanUtils.copyProperties(request, newDeliverStand);
|
||||||
|
Integer result = conveyDeliverStandService.insert(newDeliverStand).result();
|
||||||
|
if(result <= 0) {
|
||||||
|
return AppServeResponseFactory.fail("添加失败,数据服务异常");
|
||||||
|
}
|
||||||
|
return AppServeResponseFactory.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除发货站台
|
||||||
|
* @param standId 站台号
|
||||||
|
* @return 操作结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppServeResponse deleteConveyDeliverStand(String standId) {
|
||||||
|
List<AppConveyDeliverStand> conveyDeliverStands = conveyDeliverStandService.queryByStandId(standId);
|
||||||
|
if(conveyDeliverStands == null) {
|
||||||
|
return AppServeResponseFactory.fail("数据服务异常");
|
||||||
|
}
|
||||||
|
if(conveyDeliverStands.isEmpty()) {
|
||||||
|
return AppServeResponseFactory.fail("站台不存在");
|
||||||
|
}
|
||||||
|
Integer result = conveyDeliverStandService.delete(standId).result();
|
||||||
|
if(result <= 0) {
|
||||||
|
return AppServeResponseFactory.fail("数据服务异常", null);
|
||||||
|
}
|
||||||
|
return AppServeResponseFactory.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新发货站台信息
|
||||||
|
* @param request 要更新的数据
|
||||||
|
* @return 操作结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AppServeResponse updateConveyDeliverStand(UpdateConveyDeliverStandReq request) {
|
||||||
|
List<AppConveyDeliverStand> conveyDeliverStands = conveyDeliverStandService.queryByStandId(request.getStandId());
|
||||||
|
if(conveyDeliverStands == null) {
|
||||||
|
return AppServeResponseFactory.fail("数据服务异常");
|
||||||
|
}
|
||||||
|
if(conveyDeliverStands.isEmpty()) {
|
||||||
|
return AppServeResponseFactory.fail("站台不存在");
|
||||||
|
}
|
||||||
|
AppConveyDeliverStand conveyDeliverStand = new AppConveyDeliverStand();
|
||||||
|
conveyDeliverStand.setStandId(request.getStandId());
|
||||||
|
conveyDeliverStand.setStandName(request.getStandName());
|
||||||
|
conveyDeliverStand.setPlcId(request.getPlcId());
|
||||||
|
conveyDeliverStand.setAreaId(request.getAreaId());
|
||||||
|
conveyDeliverStand.setStandStatus(request.getStandStatus());
|
||||||
|
conveyDeliverStand.setRouter(request.getRouter());
|
||||||
|
conveyDeliverStand.setReadArriveAddress(request.getReadArriveAddress());
|
||||||
|
conveyDeliverStand.setWriteTaskAddress(request.getWriteTaskAddress());
|
||||||
|
conveyDeliverStand.setRemark(request.getRemark());
|
||||||
|
Integer result = conveyDeliverStandService.update(conveyDeliverStand).result();
|
||||||
|
return result > 0 ? AppServeResponseFactory.success() : AppServeResponseFactory.fail("数据服务异常");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ import org.wcs.model.vo.serve.AppServeDataResponse;
|
||||||
import org.wcs.model.vo.serve.AppServeResponse;
|
import org.wcs.model.vo.serve.AppServeResponse;
|
||||||
import org.wcs.model.vo.serve.common.PageDataResponse;
|
import org.wcs.model.vo.serve.common.PageDataResponse;
|
||||||
import org.wcs.model.vo.serve.conveyStand.ConveyCheckStandVo;
|
import org.wcs.model.vo.serve.conveyStand.ConveyCheckStandVo;
|
||||||
|
import org.wcs.model.vo.serve.conveyStand.ConveyDeliverStandVo;
|
||||||
import org.wcs.model.vo.serve.conveyStand.ConveyPickStandVo;
|
import org.wcs.model.vo.serve.conveyStand.ConveyPickStandVo;
|
||||||
|
|
||||||
public interface IConveyStandService {
|
public interface IConveyStandService {
|
||||||
|
|
@ -19,4 +20,9 @@ public interface IConveyStandService {
|
||||||
AppServeResponse addConveyCheckStand(AddConveyCheckStandReq request);
|
AppServeResponse addConveyCheckStand(AddConveyCheckStandReq request);
|
||||||
AppServeResponse deleteConveyCheckStand(String standId);
|
AppServeResponse deleteConveyCheckStand(String standId);
|
||||||
AppServeResponse updateConveyCheckStand(UpdateConveyCheckStandReq request);
|
AppServeResponse updateConveyCheckStand(UpdateConveyCheckStandReq request);
|
||||||
|
/* 输送线发货站台 */
|
||||||
|
AppServeDataResponse<PageDataResponse<ConveyDeliverStandVo>> queryDeliverStand(QueryDeliverStandReq request, Integer pageSize, Integer pageIndex); // 查询发货站台
|
||||||
|
AppServeResponse addConveyDeliverStand(AddConveyDeliverStandReq request); // 添加发货站台
|
||||||
|
AppServeResponse deleteConveyDeliverStand(String standId); // 删除发货站台
|
||||||
|
AppServeResponse updateConveyDeliverStand(UpdateConveyDeliverStandReq request); // 修改发货站台
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,9 @@ import type {IConveyPickStandSearch} from "@/interface/page/convey/IConveyPickSt
|
||||||
import axiosInstance from "@/api/axios.ts";
|
import axiosInstance from "@/api/axios.ts";
|
||||||
import type {IAppConveyPickStand} from "@/model/table/IAppConveyPickStand.ts";
|
import type {IAppConveyPickStand} from "@/model/table/IAppConveyPickStand.ts";
|
||||||
import type {IConveyCheckStandSearch} from "@/interface/page/convey/IConveyCheckStandSearch.ts";
|
import type {IConveyCheckStandSearch} from "@/interface/page/convey/IConveyCheckStandSearch.ts";
|
||||||
|
import type {IConveyDeliverStandSearch} from "@/interface/page/convey/IConveyDeliverStandSearch.ts";
|
||||||
|
import type {IAppConveyDeliverStand} from "@/model/table/IAppConveyDeliverStand.ts";
|
||||||
|
import type {IAppConveyCheckStand} from "@/model/table/IAppConveyCheckStand.ts";
|
||||||
|
|
||||||
export default class ConveyStandApi {
|
export default class ConveyStandApi {
|
||||||
|
|
||||||
|
|
@ -50,7 +53,7 @@ export default class ConveyStandApi {
|
||||||
* 添加复核站台数据
|
* 添加复核站台数据
|
||||||
* @param params
|
* @param params
|
||||||
*/
|
*/
|
||||||
static addCheckStand(params: IAppConveyPickStand): Promise<any> {
|
static addCheckStand(params: IAppConveyCheckStand): Promise<any> {
|
||||||
return axiosInstance.post('/app/conveyStand/addConveyCheckStand', params);
|
return axiosInstance.post('/app/conveyStand/addConveyCheckStand', params);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -70,11 +73,55 @@ export default class ConveyStandApi {
|
||||||
* 修改复核站台信息
|
* 修改复核站台信息
|
||||||
* @param params
|
* @param params
|
||||||
*/
|
*/
|
||||||
static updateCheckStand(params: IAppConveyPickStand): Promise<any> {
|
static updateCheckStand(params: IAppConveyCheckStand): Promise<any> {
|
||||||
return axiosInstance.post('/app/conveyStand/updateConveyCheckStand', params);
|
return axiosInstance.post('/app/conveyStand/updateConveyCheckStand', params);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页查询发货站台信息
|
||||||
|
* @param params
|
||||||
|
* @param pageSize
|
||||||
|
* @param pageIndex
|
||||||
|
*/
|
||||||
|
static queryDeliverStand(params: IConveyDeliverStandSearch, pageSize: number, pageIndex: number): Promise<any> {
|
||||||
|
return axiosInstance.post('/app/conveyStand/queryDeliverStand', params, {
|
||||||
|
params: {
|
||||||
|
pageSize: pageSize,
|
||||||
|
pageIndex: pageIndex
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加发货站台数据
|
||||||
|
* @param params
|
||||||
|
*/
|
||||||
|
static addDeliverStand(params: IAppConveyDeliverStand): Promise<any> {
|
||||||
|
return axiosInstance.post('/app/conveyStand/addConveyDeliverStand', params);
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除发货站台
|
||||||
|
* @param standId
|
||||||
|
*/
|
||||||
|
static deleteDeliverStand(standId: string): Promise<any> {
|
||||||
|
return axiosInstance.delete('/app/conveyStand/deleteConveyDeliverStand', {
|
||||||
|
params: {
|
||||||
|
standId: standId
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改发货站台信息
|
||||||
|
* @param params
|
||||||
|
*/
|
||||||
|
static updateDeliverStand(params: IAppConveyDeliverStand): Promise<any> {
|
||||||
|
return axiosInstance.post('/app/conveyStand/updateConveyDeliverStand', params);
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
96
wcs_web/src/components/page/conveyStand/AddDeliverStand.vue
Normal file
96
wcs_web/src/components/page/conveyStand/AddDeliverStand.vue
Normal file
|
|
@ -0,0 +1,96 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import TrueFalseTagStyleFormatter from "@/plugin/formatter/TrueFalseTagStyleFormatter.ts";
|
||||||
|
import {ref} from "vue";
|
||||||
|
import MessageUtils from "@/utils/MessageUtils.ts";
|
||||||
|
import ConveyStandApi from "@/api/conveyStand.ts";
|
||||||
|
import type {AppServeResponse} from "@/interface/api/AppServeResponse.ts";
|
||||||
|
import {AppServeResponseCodeEnum} from "@/constant/enums/AppServeResponseCodeEnum.ts";
|
||||||
|
import type {IAppConveyDeliverStand} from "@/model/table/IAppConveyDeliverStand.ts";
|
||||||
|
|
||||||
|
const modelValue = defineModel('modelValue', {required: true, default: false});
|
||||||
|
const emit = defineEmits(['reLoadingTableData']);
|
||||||
|
const trueFalseTagStyleFormatter = new TrueFalseTagStyleFormatter();
|
||||||
|
const close = () => { modelValue.value = false; };
|
||||||
|
const formData = ref<IAppConveyDeliverStand>({
|
||||||
|
standId: '',
|
||||||
|
standName: '',
|
||||||
|
plcId: 1,
|
||||||
|
areaId: '',
|
||||||
|
standStatus: 1,
|
||||||
|
router: 1
|
||||||
|
});
|
||||||
|
const add = () => {
|
||||||
|
if(!formData.value.standId || !formData.value.standName || formData.value.standId == '' || formData.value.standName == '') {
|
||||||
|
MessageUtils.warningMessageBox('站台号和站台名称不能为空', '警告');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(!formData.value.areaId || formData.value.areaId == '') {
|
||||||
|
MessageUtils.warningMessageBox('请填写区域号', '警告');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
MessageUtils.confirmMessageBox('确定要保存吗?', '请确认').then(() => {
|
||||||
|
const loadingInstance = MessageUtils.loading('正在添加站台信息');
|
||||||
|
ConveyStandApi.addDeliverStand(formData.value).then((res) => {
|
||||||
|
const response = JSON.parse(JSON.stringify(res.data)) as AppServeResponse;
|
||||||
|
if(response.code == AppServeResponseCodeEnum.SUCCESS) {
|
||||||
|
MessageUtils.successMessage('添加成功');
|
||||||
|
emit('reLoadingTableData');
|
||||||
|
close();
|
||||||
|
} else {
|
||||||
|
MessageUtils.warningMessageBox(response.msg);
|
||||||
|
}
|
||||||
|
}).catch(() => {}).finally(() => {
|
||||||
|
loadingInstance.close();
|
||||||
|
});
|
||||||
|
}).catch(() => {});
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<el-dialog v-model="modelValue" title="新增发货站台信息" @close="close" :close-on-click-modal="false">
|
||||||
|
<el-scrollbar style="height:50vh;">
|
||||||
|
<el-form :model="formData" label-position="right" label-width="100px" require-asterisk-position="right" style="width: calc(100% - 10px)">
|
||||||
|
<el-form-item label="站台号:" required>
|
||||||
|
<el-input v-model="formData.standId" placeholder="请填写站台号" ></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="站台名称:" required>
|
||||||
|
<el-input v-model="formData.standName" placeholder="请填写站台名称"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="管辖的PLC:" required>
|
||||||
|
<el-input-number v-model="formData.plcId" :min="1" :max="99"/>
|
||||||
|
<el-text type="warning" style="font-size: 12px">该PLCID必须在PLC配置内,表示该站台归属哪个PLC控制</el-text>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="区域号:" required>
|
||||||
|
<el-input v-model="formData.areaId" placeholder="请填写区域号"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="站台状态:" required>
|
||||||
|
<el-select v-model="formData.standStatus" placeholder="请选择站台状态" clearable>
|
||||||
|
<el-option v-for="item in trueFalseTagStyleFormatter.canUseTagStyle" :key="item.value" :label="item.label" :value="item.value"/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="路向:" required>
|
||||||
|
<el-input-number v-model="formData.router" :min="1" :max="30000"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="读取信息地址:">
|
||||||
|
<el-input v-model="formData.readArriveAddress" placeholder="请填写读取信息地址"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="写入任务地址:">
|
||||||
|
<el-input v-model="formData.writeTaskAddress" placeholder="请填写写入任务地址"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="备注:">
|
||||||
|
<el-input v-model="formData.remark" placeholder="请填写备注"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</el-scrollbar>
|
||||||
|
<template #footer>
|
||||||
|
<el-button-group>
|
||||||
|
<el-button type="primary" @click="add">确定添加</el-button>
|
||||||
|
<el-button type="danger" @click="close">关闭窗口</el-button>
|
||||||
|
</el-button-group>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
113
wcs_web/src/components/page/conveyStand/DeliverStandDetail.vue
Normal file
113
wcs_web/src/components/page/conveyStand/DeliverStandDetail.vue
Normal file
|
|
@ -0,0 +1,113 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
import TrueFalseTagStyleFormatter from "@/plugin/formatter/TrueFalseTagStyleFormatter.ts";
|
||||||
|
import {computed} from "vue";
|
||||||
|
import MessageUtils from "@/utils/MessageUtils.ts";
|
||||||
|
import ConveyStandApi from "@/api/conveyStand.ts";
|
||||||
|
import type {AppServeResponse} from "@/interface/api/AppServeResponse.ts";
|
||||||
|
import {AppServeResponseCodeEnum} from "@/constant/enums/AppServeResponseCodeEnum.ts";
|
||||||
|
import type {IAppConveyDeliverStand} from "@/model/table/IAppConveyDeliverStand.ts";
|
||||||
|
|
||||||
|
const modelValue = defineModel('modelValue', {required: true, default: false});
|
||||||
|
const props = defineProps<{
|
||||||
|
formData: IAppConveyDeliverStand;
|
||||||
|
}>();
|
||||||
|
const emit = defineEmits(['reLoadingTableData']);
|
||||||
|
const trueFalseTagStyleFormatter = new TrueFalseTagStyleFormatter();
|
||||||
|
const close = () => { modelValue.value = false; };
|
||||||
|
const formData = computed(() => props.formData);
|
||||||
|
|
||||||
|
// 保存数据
|
||||||
|
const save = () => {
|
||||||
|
if(!formData.value.standId || !formData.value.standName || formData.value.standId == '' || formData.value.standName == '') {
|
||||||
|
MessageUtils.warningMessageBox('站台号和站台名称不能为空', '警告');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if(!formData.value.areaId || formData.value.areaId == '') {
|
||||||
|
MessageUtils.warningMessageBox('请填写区域号', '警告');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
MessageUtils.confirmMessageBox('确定要保存吗?', '请确认').then(() => {
|
||||||
|
const loadingInstance = MessageUtils.loading('正在修改站台信息');
|
||||||
|
ConveyStandApi.updateDeliverStand(formData.value).then((res) => {
|
||||||
|
const response = JSON.parse(JSON.stringify(res.data)) as AppServeResponse;
|
||||||
|
if(response.code == AppServeResponseCodeEnum.SUCCESS) {
|
||||||
|
MessageUtils.successMessage('更新成功');
|
||||||
|
emit('reLoadingTableData');
|
||||||
|
close();
|
||||||
|
} else {
|
||||||
|
MessageUtils.warningMessageBox(response.msg);
|
||||||
|
}
|
||||||
|
}).catch(() => {}).finally(() => {
|
||||||
|
loadingInstance.close();
|
||||||
|
});
|
||||||
|
}).catch(() => {});
|
||||||
|
};
|
||||||
|
// 删除站台
|
||||||
|
const deleteStand = () => {
|
||||||
|
MessageUtils.confirmMessageBox(`确定要删除站台:${formData.value.standId} 吗?删除后不可恢复`, '请确认').then(() => {
|
||||||
|
const loadingInstance = MessageUtils.loading();
|
||||||
|
ConveyStandApi.deleteDeliverStand(formData.value.standId ?? '').then((res) => {
|
||||||
|
const response = JSON.parse(JSON.stringify(res.data)) as AppServeResponse;
|
||||||
|
if(response.code == AppServeResponseCodeEnum.SUCCESS) {
|
||||||
|
MessageUtils.successMessage('删除成功');
|
||||||
|
emit('reLoadingTableData');
|
||||||
|
close();
|
||||||
|
} else {
|
||||||
|
MessageUtils.warningMessageBox(response.msg);
|
||||||
|
}
|
||||||
|
}).catch(() => {}).finally(() => {
|
||||||
|
loadingInstance.close();
|
||||||
|
});
|
||||||
|
}).catch(() => {});
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<el-dialog v-model="modelValue" title="编辑发货站台信息" @close="close" :close-on-click-modal="false">
|
||||||
|
<el-scrollbar style="height:50vh;">
|
||||||
|
<el-form :model="formData" label-position="right" label-width="100px" require-asterisk-position="right" style="width: calc(100% - 10px)">
|
||||||
|
<el-form-item label="站台号:" required>
|
||||||
|
<el-input v-model="formData.standId" placeholder="若此处没有值请退出重新打开" disabled></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="站台名称:" required>
|
||||||
|
<el-input v-model="formData.standName" placeholder="请填写站台名称"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="管辖的PLC:" required>
|
||||||
|
<el-input-number v-model="formData.plcId" :min="1" :max="99"/>
|
||||||
|
<el-text type="warning" style="font-size: 12px">该PLCID必须在PLC配置内,表示该站台归属哪个PLC控制</el-text>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="区域号:" required>
|
||||||
|
<el-input v-model="formData.areaId" placeholder="请填写区域号"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="站台状态:" required>
|
||||||
|
<el-select v-model="formData.standStatus" placeholder="请选择站台状态" clearable>
|
||||||
|
<el-option v-for="item in trueFalseTagStyleFormatter.canUseTagStyle" :key="item.value" :label="item.label" :value="item.value"/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="路向:" required>
|
||||||
|
<el-input-number v-model="formData.router" :min="1" :max="30000"/>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="读取信息地址:">
|
||||||
|
<el-input v-model="formData.readArriveAddress" placeholder="请填写读取信息地址"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="写入任务地址:">
|
||||||
|
<el-input v-model="formData.writeTaskAddress" placeholder="请填写写入任务地址"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="备注:">
|
||||||
|
<el-input v-model="formData.remark" placeholder="请填写备注"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</el-scrollbar>
|
||||||
|
<template #footer>
|
||||||
|
<el-button-group>
|
||||||
|
<el-button type="primary" @click="save">保存数据</el-button>
|
||||||
|
<el-button type="warning" @click="deleteStand">删除站台</el-button>
|
||||||
|
<el-button type="danger" @click="close">关闭窗口</el-button>
|
||||||
|
</el-button-group>
|
||||||
|
</template>
|
||||||
|
</el-dialog>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
/**
|
||||||
|
* 输送线发货站台查询参数
|
||||||
|
*/
|
||||||
|
export interface IConveyDeliverStandSearch {
|
||||||
|
standId? : string;
|
||||||
|
areaId? : string;
|
||||||
|
standStatus?: number;
|
||||||
|
}
|
||||||
14
wcs_web/src/model/table/IAppConveyDeliverStand.ts
Normal file
14
wcs_web/src/model/table/IAppConveyDeliverStand.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
/**
|
||||||
|
* 发货站台表格数据
|
||||||
|
*/
|
||||||
|
export interface IAppConveyDeliverStand {
|
||||||
|
standId?: string;
|
||||||
|
standName?: string;
|
||||||
|
plcId?: number;
|
||||||
|
standStatus?: number;
|
||||||
|
areaId?: string;
|
||||||
|
router?: number;
|
||||||
|
readArriveAddress?: string;
|
||||||
|
writeTaskAddress?: string;
|
||||||
|
remark?: string;
|
||||||
|
}
|
||||||
|
|
@ -41,6 +41,7 @@ const router = createRouter({
|
||||||
{ path: 'conveyTaskBak', name: 'conveyTaskBak', component: () => import('@/views/tabs/ConveyTaskBak.vue') },
|
{ path: 'conveyTaskBak', name: 'conveyTaskBak', component: () => import('@/views/tabs/ConveyTaskBak.vue') },
|
||||||
{ path: 'conveyPickStand', name: 'conveyPickStand', component: () => import('@/views/tabs/ConveyPickStand.vue')},
|
{ path: 'conveyPickStand', name: 'conveyPickStand', component: () => import('@/views/tabs/ConveyPickStand.vue')},
|
||||||
{ path: 'conveyCheckStand', name: 'conveyCheckStand', component: () => import('@/views/tabs/ConveyCheckStand.vue')},
|
{ path: 'conveyCheckStand', name: 'conveyCheckStand', component: () => import('@/views/tabs/ConveyCheckStand.vue')},
|
||||||
|
{ path: 'conveyDeliverStand', name: 'conveyDeliverStand', component: () => import('@/views/tabs/ConveyDeliverStand.vue')},
|
||||||
{ path: 'baseError', name: 'baseError', component: () => import('@/views/tabs/ErrorBase.vue')},
|
{ path: 'baseError', name: 'baseError', component: () => import('@/views/tabs/ErrorBase.vue')},
|
||||||
{ path: 'equipmentError', name: 'equipmentError', component: () => import('@/views/tabs/RecordEquipmentError.vue')},
|
{ path: 'equipmentError', name: 'equipmentError', component: () => import('@/views/tabs/RecordEquipmentError.vue')},
|
||||||
{ path: 'ledManage', name: 'ledManage', component: () => import('@/views/tabs/LedBaseManage.vue')},
|
{ path: 'ledManage', name: 'ledManage', component: () => import('@/views/tabs/LedBaseManage.vue')},
|
||||||
|
|
|
||||||
146
wcs_web/src/views/tabs/ConveyDeliverStand.vue
Normal file
146
wcs_web/src/views/tabs/ConveyDeliverStand.vue
Normal file
|
|
@ -0,0 +1,146 @@
|
||||||
|
<script setup lang="ts">
|
||||||
|
|
||||||
|
import {ref} from "vue";
|
||||||
|
import TrueFalseTagStyleFormatter from "@/plugin/formatter/TrueFalseTagStyleFormatter.ts";
|
||||||
|
import MessageUtils from "@/utils/MessageUtils.ts";
|
||||||
|
import ConveyStandApi from "@/api/conveyStand.ts";
|
||||||
|
import type {PageDataResponse} from "@/interface/api/PageDataResponse.ts";
|
||||||
|
import type {AppServeDataResponse} from "@/interface/api/AppServeDataResponse.ts";
|
||||||
|
import {AppServeResponseCodeEnum} from "@/constant/enums/AppServeResponseCodeEnum.ts";
|
||||||
|
import AddDeliverStand from "@/components/page/conveyStand/AddDeliverStand.vue";
|
||||||
|
import DeliverStandDetail from "@/components/page/conveyStand/DeliverStandDetail.vue";
|
||||||
|
import type {IConveyDeliverStandSearch} from "@/interface/page/convey/IConveyDeliverStandSearch.ts";
|
||||||
|
import type {IAppConveyDeliverStand} from "@/model/table/IAppConveyDeliverStand.ts";
|
||||||
|
|
||||||
|
const searchParams = ref<IConveyDeliverStandSearch>({});
|
||||||
|
const trueFalseTagStyleFormatter = new TrueFalseTagStyleFormatter();
|
||||||
|
const tableData = ref<IAppConveyDeliverStand[] | undefined>([]);
|
||||||
|
const pageSize = ref<number>(100); // 分页单页数据
|
||||||
|
const pageIndex = ref<number>(1); // 分页页码
|
||||||
|
const totalPages = ref<number | undefined>(0); // 总数据数
|
||||||
|
const showAdd = ref<boolean>(false); // 是否展示添加窗口
|
||||||
|
const showDetail = ref<boolean>(false); // 是否展示详情窗口
|
||||||
|
const detailData = ref<IAppConveyDeliverStand>({});
|
||||||
|
|
||||||
|
// 查询
|
||||||
|
const query = () => {
|
||||||
|
const loadingInstance = MessageUtils.loading('查询中...');
|
||||||
|
ConveyStandApi.queryDeliverStand(searchParams.value, pageSize.value, pageIndex.value).then((res) => {
|
||||||
|
const responseString = JSON.stringify(res.data);
|
||||||
|
const response = JSON.parse(responseString) as AppServeDataResponse<PageDataResponse<IAppConveyDeliverStand>>;
|
||||||
|
if (response && response.code == AppServeResponseCodeEnum.SUCCESS && response.data != undefined) {
|
||||||
|
tableData.value = response.data.data;
|
||||||
|
totalPages.value = response.data.totalCount;
|
||||||
|
MessageUtils.successMessage('查询成功');
|
||||||
|
} else {
|
||||||
|
MessageUtils.warningMessageBox(response.msg);
|
||||||
|
}
|
||||||
|
}).catch(() => {}).finally(() => {
|
||||||
|
loadingInstance.close();
|
||||||
|
});
|
||||||
|
};
|
||||||
|
// 重置查询参数
|
||||||
|
const resetInput = () => {
|
||||||
|
searchParams.value = {};
|
||||||
|
};
|
||||||
|
// 添加站台
|
||||||
|
const addStand = () => {
|
||||||
|
showAdd.value = true;
|
||||||
|
};
|
||||||
|
// 查看
|
||||||
|
const handleEdit = (index: number, row: any) => {
|
||||||
|
detailData.value = {
|
||||||
|
standId: row.standId,
|
||||||
|
standName: row.standName,
|
||||||
|
plcId: row.plcId,
|
||||||
|
areaId: row.areaId,
|
||||||
|
standStatus: row.standStatus,
|
||||||
|
router: row.router,
|
||||||
|
readArriveAddress: row.readArriveAddress,
|
||||||
|
writeTaskAddress: row.writeTaskAddress,
|
||||||
|
remark: row.remark
|
||||||
|
};
|
||||||
|
showDetail.value = true;
|
||||||
|
};
|
||||||
|
// 分页
|
||||||
|
const paginationChange = () => {
|
||||||
|
query();
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div style="margin-left: 10px;margin-top: 10px; width: calc(100vw - 280px);">
|
||||||
|
<h3>输送线站台管理【发货站台】</h3>
|
||||||
|
<el-row class="searchCard">
|
||||||
|
<el-row style="width: 100%;">
|
||||||
|
<el-form class="searchForm" v-model="searchParams" label-position="top" label-width="150px" inline>
|
||||||
|
<el-form-item label="站台号:" style="width: 250px;">
|
||||||
|
<el-input v-model="searchParams.standId" placeholder="支持模糊查询" clearable></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="区域号:" style="width: 250px;">
|
||||||
|
<el-input v-model="searchParams.areaId" placeholder="支持模糊查询" clearable></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="站台状态:" style="width: 250px;">
|
||||||
|
<el-select v-model="searchParams.standStatus" placeholder="请选择状态" clearable>
|
||||||
|
<el-option v-for="item in trueFalseTagStyleFormatter.canUseTagStyle" :key="item.value" :label="item.label" :value="item.value">
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
|
</el-form>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-button-group style="width: 100%;margin-left: 10px; margin-bottom: 10px">
|
||||||
|
<el-button type="primary" @click="query">查询/刷新</el-button>
|
||||||
|
<el-button type="warning" @click="resetInput">重置查询参数</el-button>
|
||||||
|
<el-button type="success" @click="addStand">添加站台</el-button>
|
||||||
|
</el-button-group>
|
||||||
|
</el-row>
|
||||||
|
</el-row>
|
||||||
|
<el-row class="dataTable">
|
||||||
|
<el-table :data="tableData" stripe border style="width: 100%" max-height="calc(100vh - 320px)">
|
||||||
|
<el-table-column type="index" width="80" label="序号" align="center" show-overflow-tooltip fixed="left"/>
|
||||||
|
<el-table-column prop="standId" label="站台号" width="150" align="center" show-overflow-tooltip />
|
||||||
|
<el-table-column prop="standName" label="站台名称" width="150" align="center" show-overflow-tooltip/>
|
||||||
|
<el-table-column prop="plcId" label="管辖的PLC" width="100" align="center" show-overflow-tooltip/>
|
||||||
|
<el-table-column prop="areaId" label="区域号" width="150" align="center" show-overflow-tooltip/>
|
||||||
|
<el-table-column prop="standStatus" label="站台状态" width="100" align="center" show-overflow-tooltip>
|
||||||
|
<template #default="scope">
|
||||||
|
<el-tag :type="trueFalseTagStyleFormatter.canUseTagStyleFormatter(scope.row.standStatus).type">
|
||||||
|
{{trueFalseTagStyleFormatter.canUseTagStyleFormatter(scope.row.standStatus).label }}
|
||||||
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="router" label="路向" width="100" align="center" show-overflow-tooltip/>
|
||||||
|
<el-table-column prop="readArriveAddress" label="读取到达的地址" width="150" align="center" show-overflow-tooltip/>
|
||||||
|
<el-table-column prop="writeTaskAddress" label="写入任务的地址" width="180" align="center" show-overflow-tooltip/>
|
||||||
|
<el-table-column prop="remark" label="备注" min-width="150" align="left" show-overflow-tooltip/>
|
||||||
|
<el-table-column label="操作" width="80" align="center" fixed="right">
|
||||||
|
<template #default="scope">
|
||||||
|
<el-button size="small" type="primary" @click="handleEdit(scope.$index, scope.row)">查看</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<el-pagination style="margin: 10px"
|
||||||
|
background
|
||||||
|
v-model:current-page="pageIndex"
|
||||||
|
v-model:page-size="pageSize"
|
||||||
|
:page-sizes="[10, 100, 200, 300]"
|
||||||
|
size="small"
|
||||||
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
|
:total="totalPages"
|
||||||
|
@size-change="paginationChange"
|
||||||
|
@current-change="paginationChange"
|
||||||
|
/>
|
||||||
|
</el-row>
|
||||||
|
</div>
|
||||||
|
<!--添加发货站台-->
|
||||||
|
<AddDeliverStand v-model="showAdd" @reLoadingTableData="query"/>
|
||||||
|
<!--发货站台详情-->
|
||||||
|
<DeliverStandDetail v-model="showDetail" :formData="detailData" @reLoadingTableData="query"/>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user