mapper中参数为实体类和int数
此时不用再单独指定输入参数的Type或者Map
在select语句中采用实体类.属性等
比如:
<select id="selectCleanAllevelTabChartSlotDetailList" resultMap="TabChartSlotDetailResult">
<include refid="selectTabChartSlotDetailVo"/>
<where>
<if test="tabChartSlotDetail.slotCode != null "> and slot_code like concat('%', #{tabChartSlotDetail.slotCode}, '%')</if>
and Al_level != ""
</where>
order by Al_level
limit #{lowlevel},#{num}
</select>
对于普通的参数#{参数}取值即可