| | |
| | | <result column="wrk_sts" property="wrkSts" /> |
| | | <result column="io_type" property="ioType" /> |
| | | <result column="crn_no" property="crnNo" /> |
| | | <result column="rgv_no" property="rgvNo" /> |
| | | <result column="sheet_no" property="sheetNo" /> |
| | | <result column="io_pri" property="ioPri" /> |
| | | <result column="wrk_date" property="wrkDate" /> |
| | |
| | | <result column="sta_no" property="staNo" /> |
| | | <result column="source_sta_no" property="sourceStaNo" /> |
| | | <result column="source_loc_no" property="sourceLocNo" /> |
| | | <result column="rgv_ssta_no" property="rgvSstaNo" /> |
| | | <result column="rgv_dsta_no" property="rgvDstaNo" /> |
| | | <result column="loc_sts" property="locSts" /> |
| | | <result column="picking" property="picking" /> |
| | | <result column="link_mis" property="linkMis" /> |
| | |
| | | <select id="selectExistInEmpty" resultType="java.lang.Integer"> |
| | | SELECT COUNT(*) FROM dbo.asr_wrk_mast Where io_type = 10 and wrk_sts in (1,2,3) |
| | | </select> |
| | | |
| | | <!-- RGV调度入出库相关 --> |
| | | <select id="selectRgvInStep1" resultMap="BaseResultMap"> |
| | | select * from dbo.asr_wrk_mast |
| | | where rgv_no=#{rgvNo} and rgv_ssta_no in |
| | | <foreach item="item" collection="staNos" index="index" separator="," open="(" close=")"> |
| | | #{item} |
| | | </foreach> |
| | | and wrk_sts=2 and (io_type=1 or io_type=10 or io_type=53 or io_type=54 or io_type=57) |
| | | order by io_pri desc,io_time,wrk_no asc |
| | | </select> |
| | | |
| | | </mapper> |