|
@@ -30,10 +30,10 @@
|
|
|
and l.user_id_ = #{userId}
|
|
|
</if>
|
|
|
<if test="name != null">
|
|
|
- and d.name_ like '%' #{name} '%'
|
|
|
+ and d.name_ like concat('%',#{name},'%')
|
|
|
</if>
|
|
|
<if test="rewardType != null">
|
|
|
- and d.reward_type_ like '%' #{rewardType} '%'
|
|
|
+ and d.reward_type_ like concat('%',#{rewardType},'%')
|
|
|
</if>
|
|
|
<if test="groupId != null">
|
|
|
and l.group_id_ = #{groupId}
|