自动化立体仓库 - WMS系统
chen.lin
4 天以前 055743022694b6fc1bb1864137e0c81b6ea658c5
src/main/resources/mapper/asrs/LocDetlMapper.xml
@@ -51,6 +51,7 @@
        <result column="box_type2" property="boxType2" />
        <result column="box_type3" property="boxType3" />
        <result column="cstateid" property="cstateid" />
        <result column="mk" property="mk" />
    </resultMap>
    <sql id="batchSeq">
@@ -365,6 +366,14 @@
        <if test="standby1!=null and standby1!='' ">
            and a.standby1 like '%' + #{standby1} + '%'
        </if>
        <if test="mk!=null and mk!='' ">
            <if test='mk=="Y"'>
                and b.mk='Y'
            </if>
            <if test='mk=="N"'>
                and (b.mk!='Y' or b.mk is null)
            </if>
        </if>
    </sql>
    <select id="getStockOutPage" resultMap="BaseResultMap">
@@ -372,7 +381,7 @@
        (
            select
            ROW_NUMBER() over (order by a.appe_time,a.matnr,a.loc_no) as row,
            a.*
            a.*, b.mk
            from asr_loc_detl a
            left join asr_loc_mast b on a.loc_no = b.loc_no
            where 1=1