Authored by LiQZ

bug 修复

... ... @@ -92,7 +92,7 @@ public class ChannelUserServiceImpl implements IChannelUserService, IBusinessExp
protected static Map<String, Object> getCondition(ChannelUserRequest request) {
Map<String, Object> condition = Maps.newHashMap();
condition.put("channelSource", StringUtils.isBlank(request.getChannelSource())? null: request.getChannelSource().split(","));
condition.put("channelSource", request.getChannelSource());
condition.put("channelOrderCode", request.getChannelOrderCode());
condition.put("beginChannelOrderTime", request.getBeginChannelOrderTime());
condition.put("endChannelOrderTime", request.getEndChannelOrderTime());
... ...
... ... @@ -263,10 +263,7 @@
<trim prefix="where" prefixOverrides="and | or">
1 = 1
<if test="condition.channelSource != null">
and channel_source in
<foreach item="item" index="index" collection="condition.channelSource" open="(" separator="," close=")">
#{item}
</foreach>
and channel_source in (${condition.channelSource})
</if>
<if test="condition.channelOrderCode != null">
AND channel_order_code like CONCAT('%', #{condition.channelOrderCode}, '%')
... ...