王佳豪
2021-03-17 f0c7bcab060507ed23c2d82d3ebe5a9af0378ea3
src/main/resources/mapper/LocDetlMapper.xml
@@ -53,6 +53,9 @@
        <if test="supplier!=null and supplier!=null">
            and a.supplier like '%' + #{supplier} + '%'
        </if>
        <if test="warehouse!=null and warehouse!=null">
            and a.warehouse like '%' + #{warehouse} + '%'
        </if>
    </sql>
    <select id="getStockOutPage" resultMap="BaseResultMap">
@@ -95,7 +98,7 @@
        BEGIN
        <foreach collection="list" item="item" index="index">
            update dbo.asr_loc_detl
            set mat_status = #{item.matStatusFlag,jdbcType=VARCHAR}
            set mat_status = #{item.matStatus,jdbcType=VARCHAR}
            where 1 = 1
            <if test="item.locNo!=null and item.locNo!='' ">
                and loc_no = #{item.locNo,jdbcType=VARCHAR}