DracImFollowStaffMapper.xml
1.92 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
<?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="cn.com.glsx.entmicro.mapper.DracImFollowStaffMapper">
<resultMap id="BaseResultMap" type="cn.com.glsx.entmicro.entity.DracImFollowStaff">
<!--
WARNING - @mbg.generated
-->
<id column="id" jdbcType="INTEGER" property="id"/>
<result column="im_id" jdbcType="INTEGER" property="imId"/>
<result column="staff_id" jdbcType="INTEGER" property="staffId"/>
<result column="staff_name" jdbcType="VARCHAR" property="staffName"/>
<result column="code_id" jdbcType="INTEGER" property="codeId"/>
<result column="del_flag" jdbcType="INTEGER" property="delFlag"/>
<result column="created_by" jdbcType="INTEGER" property="createdBy"/>
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime"/>
<result column="updated_by" jdbcType="INTEGER" property="updatedBy"/>
<result column="updated_time" jdbcType="TIMESTAMP" property="updatedTime"/>
</resultMap>
<resultMap id="resultMap" type="cn.com.glsx.entmicro.model.response.DracImFollowStaffResponse">
<!--
WARNING - @mbg.generated
-->
<result column="im_id" jdbcType="INTEGER" property="imId"/>
<result column="staff_id" jdbcType="INTEGER" property="staffId"/>
<result column="staff_name" jdbcType="VARCHAR" property="staffName"/>
<result column="code_id" jdbcType="INTEGER" property="codeId"/>
</resultMap>
<sql id="Base_Column_List">
<!--
WARNING - @mbg.generated
-->
id, im_id, staff_id, staff_name, code_id, del_flag, created_by, created_time, updated_by,
updated_time
</sql>
<select id="findByDracId" resultMap="resultMap">
select * from drac_im_follow_staff WHERE im_id=#{imId}
</select>
</mapper>