| | |
| | | import com.baomidou.mybatisplus.mapper.BaseMapper; |
| | | import com.zy.asrs.entity.WrkDetl; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Mapper |
| | | @Repository |
| | | public interface WrkDetlMapper extends BaseMapper<WrkDetl> { |
| | | List<WrkDetl> queryWrkDetl(@Param("matNo") String matNo,@Param("locNo") String locNo); |
| | | |
| | | /** |
| | | * PDA盘点根据出库口查询对应物料信息 |
| | | * @param devNo |
| | | * @return |
| | | */ |
| | | @Select("select b.source_loc_no as locNo, a.mat_no as matNo,a.mat_name as matName,a.qty as qty" + |
| | | " from asr_wrk_detl a left join asr_wrk_mast b on a.wrk_no = b.wrk_no where a.wrk_no = (select wrk_no from asr_bas_devp where dev_no = #{devNo})") |
| | | List<WrkDetl> queryMatFromDevNo(Integer devNo); |
| | | } |