mybatis
Vo包
public class OutPayLogGroupByOutIdVo {
private List feeItem;
}
xml里面的写法
AND log.fee_item in
separator=","
close=")">
#{feeItem}
直接传参数的
List> selectTFInfoByList(@Param("list")List list, @Param("type")String type)
@Select("
+ " SELECT * "
WHERE aaa IN "
+ " "
+ " #{list}"
+ " "
+ " ")