自动化立体仓库 - WMS系统
zwl
2026-04-16 5a07bb3f4e4846ac5425b5ec73d4017e2b7c57dd
src/main/resources/mapper/WrkMastMapper.xml
@@ -26,6 +26,7 @@
        <result column="upd_mk" property="updMk" />
        <result column="exit_mk" property="exitMk" />
        <result column="plt_type" property="pltType" />
        <result column="batch_seq" property="batchSeq" />
        <result column="empty_mk" property="emptyMk" />
        <result column="io_time" property="ioTime" />
        <result column="ctn_type" property="ctnType" />
@@ -56,6 +57,13 @@
        <result column="log_err_time" property="logErrTime" />
        <result column="log_err_memo" property="logErrMemo" />
        <result column="barcode" property="barcode" />
        <result column="Pdc_type" property="PdcType" />
        <result column="container_no" property="containerNo" />
        <result column="teu" property="teu" />
        <result column="plate_no" property="plateNo" />
        <result column="train_no" property="trainNo" />
        <result column="freq_type" property="freqType" />
        <result column="cube_number" property="cubeNumber" />
        <result column="ctn_no" property="ctnNo" />
        <result column="full_plt" property="fullPlt" />
        <result column="pre_have" property="preHave" />
@@ -70,9 +78,10 @@
        select * from asr_wrk_mast
        where wrk_sts=5
        or (wrk_sts=15 and take_none = '1' and ove_mk='Y' and wrk_no not in (select wrk_no from asr_bas_devp) and wrk_no not in (select wrk_no from asr_wrk_mast_sta))
        or (wrk_sts=15 and log_mk='F' and exp_time &gt;= 3 and wrk_no not in (select wrk_no from asr_bas_devp))
        or (wrk_sts=15 and dateadd(mi,3,crn_end_time) &lt;= getdate() and wrk_no not in (select wrk_no from asr_bas_devp))
        or (wrk_sts=15 and crn_end_time is null and wrk_no not in (select wrk_no from asr_bas_devp))
        or (wrk_no in (9997,9996) and wrk_sts = 5)
        or (wrk_no in (9997,9996) and wrk_sts = 15)
        order by io_time,wrk_no asc
    </select>
@@ -156,3 +165,4 @@
    </select>
</mapper>