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>