cuijian
2023-08-19 bdd0875d4b13a3f1ef472f64d4b6a95e0ef64b22
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
<?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="org.jeecg.modules.system.mapper.AdministratorMapper">
    <select id="mapList" resultType="Map">
        select
            t1.id id,
            t1.account account,
            t1.code code,
            t1.name name,
            t1.password password,
            t1.password_strategy_id passwordStrategyId,
            t1.status_flag statusFlag,
            t1.create_by createBy,
            t1.create_time createTime,
            t1.update_by updateBy,
            t1.update_time updateTime,
            t1.remark remark,
            t2.name passwordStrategyName,
            t2.certification_type certificationType
        from mom_sys_administrator t1
        left join  (select * from mom_sys_password_strategy where del_flag = 0) t2
        on t1.password_strategy_id=t2.id
        where t1.del_flag = 0
    </select>
 
</mapper>