999
zhangc
2025-04-19 e6f5b482519ee58052a934026c7523cc16f88291
src/main/java/com/zy/asrs/mapper/WrkMastMapper.java
@@ -2,7 +2,8 @@
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zy.asrs.entity.WrkMast;
import org.apache.ibatis.annotations.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
@@ -14,13 +15,18 @@
    // wcs ---------------------------------------------
    // 入库第一步,扫码仪获取条码信息时查询
//    @Select("select top 1 * from asr_wrk_mast where source_sta_no=#{sourceStaNo} and wrk_sts=2 and barcode=#{barcode} and (io_type=1 or io_type=10) order by io_pri desc,io_time,wrk_no ASC")
    WrkMast selectPakInStep1(@Param("sourceStaNo")Integer sourceStaNo, @Param("barcode")String barcode);
    WrkMast selectPakInStep1(@Param("sourceStaNo") Integer sourceStaNo, @Param("barcode") String barcode);
    WrkMast selectPakInStep11(@Param("sourceStaNo")Integer sourceStaNo);
    WrkMast selectPakInStep11(@Param("sourceStaNo") Integer sourceStaNo);
    List<WrkMast> selectInStep4();
    WrkMast selectByWorkNo(Integer workNo);
    WrkMast selectByMainWrkNo(Integer workNo);
    WrkMast selectByShuttleNo(Integer shuttleNo);
    List<WrkMast> selectLiftStep223103();
@@ -37,6 +43,8 @@
    WrkMast selectLiftWrkMast(Integer liftNo);
    WrkMast selectLiftWrkMastAndWrkNo(@Param("liftNo") Integer liftNo, @Param("wrkNo") Integer wrkNo, @Param("wrkNo2") Integer wrkNo2);
    List<WrkMast> selectLocToLocWrkMast();//查询库位移转工作档
    WrkMast selectPickStepByBarcode(String barcode);
@@ -47,6 +55,9 @@
    WrkMast selectShuttleWorking(@Param("shuttleNo") Integer shuttleNo);//是否有穿梭车任务(移库任务除外)
    WrkMast selectShuttleWorking2(@Param("shuttleNo") Integer shuttleNo, @Param("wrkNo") Integer wrkNo, @Param("wrkNo2") Integer wrkNo2);//是否有穿梭车任务(移库任务除外)
    WrkMast selectByBarcode(String barcode);
    List<WrkMast> selectInWrkMastByLiftNo(Integer liftNo);//搜索指定提升机的入库任务
@@ -55,4 +66,7 @@
    WrkMast selectChargeWorkingByChargeSta(Integer chargeSta);
    WrkMast selectWorkingPakout(Integer staNo);
    WrkMast selectWorkingPakin(Integer staNo);
}