自动化立体仓库 - WMS系统
#
Junjie
2023-10-15 db92e88a70a59437b48c9369cf1c46dba0ecb0a5
src/main/resources/mapper/OrderDetlMapper.xml
@@ -74,6 +74,20 @@
        </if>
    </select>
    <select id="selectItemNoneOfBatch" resultMap="BaseResultMap">
        select top 1 * from man_order_detl
        where 1=1
        and order_no = #{orderNo}
        and matnr = #{matnr}
    </select>
    <select id="selectItemOfBatch" resultMap="BaseResultMap">
        select top 1 * from man_order_detl
        where 1=1
        and matnr = #{matnr}
        and batch = #{batch}
    </select>
    <select id="selectWorkingDetls" resultMap="BaseResultMap">
        select * from man_order_detl
        where 1=1
@@ -190,4 +204,12 @@
        and order_id = #{orderId}
    </select>
    <select id="selectByMatnr" resultMap="BaseResultMap">
        select
        *
        from man_order_detl
        where 1=1
        and matnr = #{matnr}
    </select>
</mapper>