自动化立体仓库 - WMS系统
zjj
2025-02-17 8aa26cdd7fd9c4ed2d9fc56be0f9c9c05f531b18
src/main/resources/mapper/LocDetlMapper.xml
@@ -44,6 +44,10 @@
        <result column="appe_user" property="appeUser" />
        <result column="appe_time" property="appeTime" />
        <result column="memo" property="memo" />
        <result column="temp1" property="temp1" />
        <result column="temp2" property="temp2" />
        <result column="temp3" property="temp3" />
        <result column="temp4" property="temp4" />
    </resultMap>
    <sql id="batchSeq">
@@ -220,6 +224,12 @@
        <if test="supp != null and supp != ''">
            and a.supp = #{supp}
        </if>
        <if test="temp1 != null and temp1 != ''">
            and a.temp1 = #{temp1}
        </if>
        <if test="temp2 != null and temp2 != ''">
            and a.temp2 = #{temp2}
        </if>
        <if test="batch != null and batch != ''">
            and a.batch = #{batch}
        </if>
@@ -310,7 +320,7 @@
        where 1=1
        group by matnr,batch
    </select>
    <select id="sum" resultType="java.lang.Integer">
    <select id="sum" resultType="java.lang.Double">
        SELECT SUM(anfme) FROM asr_loc_detl
    </select>
    <select id="unreason" resultMap="BaseResultMap">
@@ -416,6 +426,12 @@
        <if test="supp != null and supp != ''">
            and a.supp = #{supp}
        </if>
        <if test="temp1 != null and temp1 != ''">
            and a.temp1 = #{temp1}
        </if>
        <if test="temp2 != null and temp2 != ''">
            and a.temp2 = #{temp2}
        </if>
        <if test="batch != null and batch != ''">
            and a.batch = #{batch}
        </if>
@@ -508,6 +524,12 @@
        <if test="supp != null and supp != ''">
            and a.supp = #{supp}
        </if>
        <if test="temp1 != null and temp1 != ''">
            and a.temp1 = #{temp1}
        </if>
        <if test="temp2 != null and temp2 != ''">
            and a.temp2 = #{temp2}
        </if>
        <if test="batch != null and batch != ''">
            and a.batch = #{batch}
        </if>
@@ -599,6 +621,12 @@
        <if test="supp != null and supp != ''">
            and a.supp = #{supp}
        </if>
        <if test="temp1 != null and temp1 != ''">
            and a.temp1 = #{temp1}
        </if>
        <if test="temp2 != null and temp2 != ''">
            and a.temp2 = #{temp2}
        </if>
        <if test="batch != null and batch != ''">
            and a.batch = #{batch}
        </if>