正如标题所说,我使用SQL来选择但是报告错误。下面Mapper中的SQL<select id="selectBillDetailByBizIdAndClearType" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from dwd_clearing_bill_detail where biz_detail_id in <foreach collection="bizDetailIdList" item="item" index="index" open="(" separator="," close=")"> #{item} </foreach> and clear_type in <foreach collection="clearTypeList" item="item" index="index" open="(" separator="," close=")"> #{item} </foreach> </select>
添加回答
举报
0/150
提交
取消