zrj
2024-10-30 1f3835b24d77a899a2e2e55c846a575dc4db825d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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.yw.mapper.RescueTeamMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="rescueTeamResultMap" type="org.springblade.modules.yw.entity.RescueTeamEntity">
        <result column="id" property="id"/>
        <result column="firm_id" property="firmId"/>
        <result column="per_in_cha" property="perInCha"/>
        <result column="per_in_cha_pho" property="perInChaPho"/>
        <result column="create_user" property="createUser"/>
        <result column="create_time" property="createTime"/>
        <result column="update_user" property="updateUser"/>
        <result column="update_time" property="updateTime"/>
        <result column="is_deleted" property="isDeleted"/>
    </resultMap>
 
    <!--自定义分页查询-->
    <select id="selectRescueTeamPage" resultMap="rescueTeamResultMap">
        select * from yw_rescue_team where is_deleted = 0
    </select>
 
</mapper>