自动化立体仓库 - WMS系统
#
Junjie
2025-10-21 bcd8d392d27ae13ed21fc1c96920a37544992d04
src/main/resources/mapper/nc/NccScZkmxbWmsMapper.xml
@@ -59,6 +59,7 @@
            <result property="dr" column="DR" />
            <result property="ts" column="TS" />
            <result property="wmsFlag" column="wms_flag" />
        <result property="wmsMemo" column="wms_memo" />
    </resultMap>
    <sql id="Base_Column_List">
@@ -75,9 +76,29 @@
        DR,TS,wms_flag
    </sql>
    <select id="selectZk" resultType="java.lang.String">
    <select id="selectZkIn" resultType="java.lang.String">
        select distinct VBILLCODE
        from ncc_sale_xsfhmx_wms
        where wms_flag != 1 and fstatusflag = 2 limit 100
        from ncc_sc_zkmxb_wms
        where wms_flag != 1 and DJZT = 4 and dr =0 and bdr =0
        <if test="ids != null">
            and RKCKBM in
            <foreach item="id" collection="ids" separator="," open="(" close=")" index="">
                #{id}
            </foreach>
        </if>
        limit 100
    </select>
    <select id="selectZkOut" resultType="java.lang.String">
        select distinct VBILLCODE
        from ncc_sc_zkmxb_wms
        where wms_flag != 1 and DJZT = 4  and dr =0 and bdr =0
        <if test="ids != null">
            and CKCKBM in
            <foreach item="id" collection="ids" separator="," open="(" close=")" index="">
                #{id}
            </foreach>
        </if>
        limit 100
    </select>
</mapper>