src/main/resources/mapper/ManLocDetlMapper.xml
@@ -343,5 +343,17 @@ update man_loc_detl set anfme = #{anfme} where node_id = #{nodeId} ; </update> <update id="updateAnfme"> update man_loc_detl set anfme = #{anfme} where loc_no = #{locNo} and matnr = #{matnr} <choose> <when test="batch != null and batch != ''"> and batch = #{batch} </when> <otherwise> and (batch IS NULL OR batch = '') </otherwise> </choose> </update> </mapper>