fuliqi
2024-10-17 8546b3d285af4235a0ef615a0c6e89486ae2c806
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
26
27
28
29
30
31
32
<?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.ycl.jxkg.mapper.SysConfigMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ycl.jxkg.domain.vo.SysConfigVO">
        <result column="password_expire_time" property="passwordExpireTime" />
    </resultMap>
 
 
    <select id="getById" resultMap="BaseResultMap">
        SELECT
            SC.password_expire_time,
            SC.id
        FROM
            sys_config SC
        WHERE
            SC.id = #{id} AND SC.deleted = 0
    </select>
 
 
    <select id="getPage" resultMap="BaseResultMap">
        SELECT
            SC.password_expire_time,
            SC.id
        FROM
            sys_config SC
        WHERE
            SC.deleted = 0
    </select>
 
</mapper>