xiebin
2022-09-21 f1d0e4505c8dd01452b054f78eb5f1efbf42a987
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.taskinfo.mapper.TaskplanUserMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="taskplanUserResultMap" type="org.springblade.modules.taskinfo.entity.TaskplanUserEntity">
        <result column="id" property="id"/>
        <result column="plan_id" property="planId"/>
        <result column="user_id" property="userId"/>
        <result column="start_time" property="startTime"/>
        <result column="end_time" property="endTime"/>
        <result column="is_deleted" property="isDeleted"/>
    </resultMap>
 
 
    <select id="selectTaskplanUserPage" resultMap="taskplanUserResultMap">
        select * from ins_taskplan_user where is_deleted = 0
    </select>
 
 
</mapper>