智慧保安后台管理项目备份
Administrator
2021-07-19 6224d1c19b5d92a2e5dd31eaa36d70fdfb0f5243
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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.punish.mapper.PunishMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="punishResultMap" type="org.springblade.modules.punish.entity.Punish">
        <id column="id" property="id"/>
        <result column="deptid" property="deptid"/>
        <result column="punishtype" property="punishtype"/>
        <result column="punishreason" property="punishreason"/>
        <result column="punishresult" property="punishresult"/>
        <result column="punishtime" property="punishtime"/>
        <result column="punisnum" property="punisnum"/>
    </resultMap>
 
 
    <select id="selectPunishPage" resultMap="punishResultMap">
        select * from sys_punish
    </select>
 
</mapper>