diff --git a/ruoyi-system/src/main/resources/mapper/app/AppTaskMapper.xml b/ruoyi-system/src/main/resources/mapper/app/AppTaskMapper.xml
index 5fb48aa7..d11846dc 100644
--- a/ruoyi-system/src/main/resources/mapper/app/AppTaskMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/app/AppTaskMapper.xml
@@ -26,10 +26,11 @@
+
- select task_id, task_type, task_status, task_priority, vehicle_id, origin, destination, wcs_task_id, create_time, finish_time, goods_id, op_num, stock_num, op_user, pre_task, remark,plc_id,location_id,ck_type,stock_id from app_task
+ select task_id, task_type, task_status, task_priority, vehicle_id, origin, destination, wcs_task_id, create_time, finish_time, goods_id, op_num, stock_num, op_user, pre_task, remark,plc_id,location_id,ck_type,stock_id,order_id from app_task
@@ -81,6 +83,7 @@
location_id,
ck_type,
stock_id,
+ order_id,
#{taskId},
@@ -102,6 +105,7 @@
#{locationId},
#{ckType},
#{stockId},
+ #{stockId},
@@ -129,6 +133,7 @@
location_id,
ck_type,
stock_id,
+ order_id,
)
values
@@ -152,6 +157,7 @@
#{appTask.remark},
#{appTask.ckType},
#{appTask.stockId},
+ #{appTask.orderId},
)
@@ -179,6 +185,7 @@
location_id = #{locationId},
ck_type = #{ckType},
stock_id = #{stockId},
+ order_id = #{orderId},
where task_id = #{taskId}
@@ -205,6 +212,7 @@
location_id = #{appTask.locationId},
ck_type = #{appTask.ckType},
stock_id = #{appTask.stockId},
+ order_id = #{appTask.orderId},
where task_id = #{appTask.taskId}