|
|
@@ -15,10 +15,10 @@
|
|
|
and r.type=#{req.type}
|
|
|
</if>
|
|
|
<if test="req.mobile != null and req.mobile != ''">
|
|
|
- and r.user_phone=#{req.mobile}
|
|
|
+ and r.user_phone like concat('%',#{req.mobile},'%')
|
|
|
</if>
|
|
|
<if test="req.userName != null and req.userName != ''">
|
|
|
- and r.user_name=#{req.userName}
|
|
|
+ and r.user_name like concat('%',#{req.userName},'%')
|
|
|
</if>
|
|
|
<if test="req.range != null and req.range.length==2 ">
|
|
|
and r.time between #{req.range[0]} and #{req.range[1]}
|