1.解决审计统计没有显示的bug
2.解决数据中心数据查询过慢和数据展示bug
This commit is contained in:
@@ -45,4 +45,10 @@ public interface AuditMapper {
|
||||
*/
|
||||
List<String> selectOperateType();
|
||||
|
||||
/**
|
||||
* 时间范围查询id集合
|
||||
* @return
|
||||
*/
|
||||
List<String> getListIDs(@Param("startTime") String startTime,
|
||||
@Param("endTime") String endTime);
|
||||
}
|
||||
|
||||
@@ -148,5 +148,18 @@
|
||||
</where>
|
||||
|
||||
</select>
|
||||
<select id="getListIDs" resultType="java.lang.String">
|
||||
SELECT
|
||||
id
|
||||
FROM sys_user_log
|
||||
<where>
|
||||
<if test="startTime != null and startTime != ''">
|
||||
and create_time >= #{startTime}
|
||||
</if>
|
||||
<if test="endTime != null and endTime != ''">
|
||||
and create_time <= #{endTime}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user