1.解决审计统计没有显示的bug

2.解决数据中心数据查询过慢和数据展示bug
This commit is contained in:
wr
2023-06-01 17:16:28 +08:00
parent 4fe1039934
commit 7419142abe
33 changed files with 797 additions and 286 deletions

View File

@@ -45,4 +45,10 @@ public interface AuditMapper {
*/
List<String> selectOperateType();
/**
* 时间范围查询id集合
* @return
*/
List<String> getListIDs(@Param("startTime") String startTime,
@Param("endTime") String endTime);
}

View File

@@ -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 &lt;= #{endTime}
</if>
</where>
</select>
</mapper>