From 2fddfc8a998c5861ef1c2084f4081d580dbc27d2 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期二, 28 十一月 2023 09:33:14 +0800
Subject: [PATCH] #任务管理运行修改起点-终点数据

---
 src/main/java/com/zy/asrs/mapper/TaskWrkMapper.java |   25 +++++++++++++++++++++++++
 1 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/mapper/TaskWrkMapper.java b/src/main/java/com/zy/asrs/mapper/TaskWrkMapper.java
index b0f3514..17b4e46 100644
--- a/src/main/java/com/zy/asrs/mapper/TaskWrkMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/TaskWrkMapper.java
@@ -2,15 +2,40 @@
 
 import com.zy.asrs.entity.TaskWrk;
 import com.baomidou.mybatisplus.mapper.BaseMapper;
+import com.zy.asrs.entity.WrkMast;
 import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
 import org.springframework.stereotype.Repository;
+
+import java.util.List;
 
 @Mapper
 @Repository
 public interface TaskWrkMapper extends BaseMapper<TaskWrk> {
 
     TaskWrk selectByTaskNo(String taskNo);
+    TaskWrk selectByStartPoint(@Param("startPoint") String startPoint);
 
     TaskWrk selectByWrkNo(Integer wrkNo);
 
+    List<TaskWrk> selectReceive();//鑾峰彇鎺ユ敹浠诲姟
+
+    TaskWrk selectPakIn(@Param("crnNo") Integer crnNo, @Param("workNo") Integer workNo, @Param("startPoint") String startPoint);
+
+    List<TaskWrk> selectPakOut(@Param("crnNo") Integer crnNo, @Param("targetPoint") String targetPoint);
+
+    List<TaskWrk> selectPakOut3(@Param("crnNo") Integer crnNo, @Param("targetPoint") String targetPoint);
+
+    List<TaskWrk> selectPakOutIoType(@Param("crnNo") Integer crnNo);
+
+    TaskWrk selectCrnWorking(@Param("crnNo") Integer crnNo);
+
+    TaskWrk selectCrnStaWorking(@Param("crnNo") Integer crnNo, @Param("targetPoint") String targetPoint);
+
+    TaskWrk selectCrnNoWorking(@Param("crnNo") Integer crnNo,@Param("workNo") Integer workNo);
+
+    List<TaskWrk> selectToBeHistoryData();
+
+    int saveToHistory(String taskNo);//灏嗕换鍔¤浆鍘嗗彶鏃ュ織
+
 }

--
Gitblit v1.9.1