mapper.xml文件中传入list参数,使用foreach循环遍历值,但是在遍历的过程中出错了,具体代码如下所示 mapper.xml <select id="selectByCondition2" resultType="java.util.Map"> select id,name from [dbo].[TB_LandInfectantData] where 1=1 and LandMonitoringUid in ( <foreach i…
<select id=selectByNameLike" parameterType="string" resultMap="BaseResultMap"> SELECT * FROM a LEFT JOIN b ON a.bid = b.id WHERE a.NAME LIKE concat ("%", #{name},"%") <select>…