|
@@ -91,6 +91,9 @@
|
|
|
left join sys_user u on t.user_id_ = u.id_
|
|
|
left join sys_user au on t.auth_user_id_ = au.id_
|
|
|
<where>
|
|
|
+ <if test="param.userId !=null">
|
|
|
+ AND t.user_id_ = #{param.userId}
|
|
|
+ </if>
|
|
|
<if test="null != param.search and '' != param.search">
|
|
|
AND (
|
|
|
t.user_id_ LIKE CONCAT('%', #{param.search}, '%') or
|
|
@@ -120,10 +123,10 @@
|
|
|
AND t.trans_no_ LIKE CONCAT('%', #{transNo}, '%')
|
|
|
</if>
|
|
|
<if test="param.startTime !=null">
|
|
|
- <![CDATA[AND t.auth_time_ >= #{param.startTime} ]]>
|
|
|
+ <![CDATA[AND t.create_time_ >= #{param.startTime} ]]>
|
|
|
</if>
|
|
|
<if test="param.endTime !=null">
|
|
|
- <![CDATA[AND t.auth_time_ < #{param.endTime} ]]>
|
|
|
+ <![CDATA[AND t.create_time_ < #{param.endTime} ]]>
|
|
|
</if>
|
|
|
</where>
|
|
|
order by t.create_time_ desc
|