zy-asrs-wms/src/main/resources/mapper/asrs/LocDetlMapper.xml
@@ -15,5 +15,19 @@ </foreach> </if> </select> <select id="getStock" resultType="com.zy.asrs.wms.asrs.entity.LocDetl"> select * from man_loc_detl where matnr = #{matnr} <if test="batch!=null"> and batch = #{batch} </if> <if test="ids!=null and ids.size()>0"> and id in <foreach item="item" collection="ids" index="index" separator="," open="(" close=")"> #{item} </foreach> </if> </select> </mapper>