自动化立体仓库 - WMS系统
zhangc
2024-12-31 a440992f23e33ccf9e0f6d52079e9b16813ead59
src/main/resources/mapper/LocRuleMapper.xml
@@ -37,9 +37,17 @@
    </select>
    <select id="selectByMixed" resultMap="BaseResultMap">
        select top 1 * from asr_loc_rule
        select * from asr_loc_rule
        where mixed = #{mixed}
        and status = 1
    </select>
    <update id="updateKeepGoByMatnr">
        update asr_loc_rule set keep_go = #{keepGo} where matnr = #{matnr}
    </update>
    <update id="updateKeepGoByMixed">
        update asr_loc_rule set keep_go = #{keepGo} where mixed = 1
    </update>
</mapper>