package com.zy.asrs.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.zy.asrs.domain.vo.WrkTaskCountVo; import com.zy.asrs.entity.WrkMast; import org.apache.ibatis.annotations.*; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository public interface WrkMastMapper extends BaseMapper { WrkMast selectByWorkNo(Integer workNo); int updateWrkStsByWrkNoAndCurrentWrkSts(@Param("wrkNo") Integer wrkNo, @Param("wrkSts") Long wrkSts, @Param("currentWrkSts") Long currentWrkSts); int deleteByWrkNoAndCurrentWrkSts(@Param("wrkNo") Integer wrkNo, @Param("currentWrkSts") Long currentWrkSts); int deleteByWrkNoAndMkIn(@Param("wrkNo") Integer wrkNo, @Param("mks") List mks); List selectCrnTaskCountList(@Param("inIoType") Integer inIoType); List selectDualCrnTaskCountList(@Param("inIoType") Integer inIoType); }