智慧保安后台管理项目备份
zhongrj
2024-05-24 b5960d1968e007b91d4d33dd7cbb74f1b566f2c1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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.springblade.modules.licetuser.mapper.LicetuserMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="licetuserResultMap" type="org.springblade.modules.licetuser.entity.Licetuser">
        <id column="id" property="id"/>
        <result column="userid" property="userid"/>
        <result column="ptype" property="ptype"/>
        <result column="templateid" property="templateid"/>
    </resultMap>
 
 
    <select id="selectLicetuserPage" resultMap="licetuserResultMap">
        select * from sys_licetuser where is_deleted = 0
    </select>
 
    <select id="liceIn" resultType="java.util.HashMap">
        select  * from  sys_licetuser where  userid=#{userid} and ptype=#{ptype}
    </select>
 
</mapper>