自动化立体仓库 - WCS系统
#
LSH
2023-10-19 2b31b4af1d8d6777ec2ed6afec3c68c74762fa39
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.zy.asrs.mapper;
 
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 selectByWrkNo(Integer wrkNo);
 
    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);
 
    WrkMast selectCrnWorking(@Param("crnNo") Integer crnNo);
 
    List<TaskWrk> selectToBeHistoryData();
 
    int saveToHistory(String taskNo);//将任务转历史日志
 
}