jiangqs
2023-06-18 c00d0d3bc399b6648145dfd955cedbea90f5f99d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.system.mapper.config.CustomConfigMapper">
 
 
    <select id="getByKey" resultType="CustomConfig">
        SELECT
            *
        FROM t_custom_config
        WHERE del_flag = 0 AND config_key = #{key}
    </select>
 
    <select id="pageOperLog" resultType="com.ruoyi.system.domain.vo.MgtOperLogPageVo">
        SELECT
        oper_time operTime,
        oper_name operName,
        oper_title operTitle,
        oper_ip operIp,
        oper_content operContent
        FROM sys_oper_log
        WHERE operator_type = 1
        ORDER BY oper_time DESC
    </select>
 
</mapper>