mirror of
https://github.com/PlayEdu/PlayEdu
synced 2026-01-02 00:59:25 +08:00
管理员日志条件查询
This commit is contained in:
@@ -43,6 +43,12 @@
|
||||
<if test="opt != null">
|
||||
AND `admin_logs`.`opt` = #{opt}
|
||||
</if>
|
||||
<if test="startTime != null and startTime != ''">
|
||||
AND `admin_logs`.`created_at` >= #{startTime}
|
||||
</if>
|
||||
<if test="endTime != null and endTime != ''">
|
||||
AND `admin_logs`.`created_at` <= #{endTime}
|
||||
</if>
|
||||
</where>
|
||||
|
||||
<if test="sortAlgo == 'asc'">
|
||||
@@ -84,6 +90,12 @@
|
||||
<if test="opt != null">
|
||||
AND `admin_logs`.`opt` = #{opt}
|
||||
</if>
|
||||
<if test="startTime != null and startTime != ''">
|
||||
AND `admin_logs`.`created_at` >= #{startTime}
|
||||
</if>
|
||||
<if test="endTime != null and endTime != ''">
|
||||
AND `admin_logs`.`created_at` <= #{endTime}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user