|
|
@@ -42,7 +42,7 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="queryId != null and queryId != ''">
|
|
|
- and user_id like concat(#{dto.queryId},'%')
|
|
|
+ and user_id like concat(#{queryId},'%')
|
|
|
</if>
|
|
|
<if test="dates != null and dates != ''">
|
|
|
and DATE_FORMAT(s.operation_time, '%Y-%m-%d' ) = DATE_FORMAT( #{dates}, '%Y-%m-%d' )
|
|
|
@@ -77,7 +77,7 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="queryId != null and queryId != ''">
|
|
|
- and user_id like concat(#{dto.queryId},'%')
|
|
|
+ and user_id like concat(#{queryId},'%')
|
|
|
</if>
|
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
|
and (DATE_FORMAT(s.operation_time, '%Y-%m-%d') between DATE_FORMAT( #{startTime}, '%Y-%m-%d') and DATE_FORMAT( #{endTime}, '%Y-%m-%d'))
|
|
|
@@ -110,7 +110,7 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="queryId != null and queryId != ''">
|
|
|
- and user_id like concat(#{dto.queryId},'%')
|
|
|
+ and user_id like concat(#{queryId},'%')
|
|
|
</if>
|
|
|
<if test="startTime != null and startTime != '' and endTime != null and endTime != ''">
|
|
|
and (DATE_FORMAT(s.operation_time, '%Y-%m-%d' ) between DATE_FORMAT( #{startTime}, '%Y-%m-%d' ) and DATE_FORMAT( #{endTime}, '%Y-%m-%d' ))
|
|
|
@@ -141,7 +141,7 @@
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="queryId != null and queryId != ''">
|
|
|
- and user_id like concat(#{dto.queryId},'%')
|
|
|
+ and user_id like concat(#{queryId},'%')
|
|
|
</if>
|
|
|
<if test="dates != null and dates != ''">
|
|
|
and DATE_FORMAT(s.operation_time, '%Y-%m-%d' ) = DATE_FORMAT( #{dates}, '%Y-%m-%d' )
|