自动化立体仓库 - WMS系统
#
lty
9 小时以前 d8c9b9afb41c368a08d7e05d0f624c98bf72042a
src/main/resources/mapper/OrderDetlMapper.xml
@@ -58,6 +58,7 @@
        <result column="ware_id" property="wareId" />
        <result column="ware_mame" property="wareName" />
        <result column="packing" property="packing" />
        <result column="det_id" property="detId"/>
    </resultMap>
    <select id="selectItem" resultMap="BaseResultMap">
@@ -80,9 +81,14 @@
        where 1=1
        and order_no = #{orderNo}
        and matnr = #{matnr}
        <if test="batch!=null and batch!='' ">
            and batch = #{batch}
        </if>
        <choose>
            <when test="batch != null and batch != ''">
                and batch = #{batch}
            </when>
            <otherwise>
                and (batch IS NULL OR batch = '')
            </otherwise>
        </choose>
    </select>
    <select id="selectWorkingDetls" resultMap="BaseResultMap">