ludc
2023-07-14 54e14bff397221b5b0d64720f77217f4d34ebf98
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
40
<?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="com.vci.ubcs.omd.mapper.LinkTypeMapper">
    <resultMap id="BaseResultMap" type="com.vci.ubcs.omd.entity.LinkType">
        <id column="oid" jdbcType="VARCHAR" property="oid" />
        <result column="id" jdbcType="VARCHAR" property="id" />
        <result column="name" jdbcType="VARCHAR" property="name" />
        <result column="description" jdbcType="VARCHAR" property="description" />
        <result column="shape" jdbcType="VARCHAR" property="shape" />
        <result column="impl_class" jdbcType="VARCHAR" property="implClass" />
        <result column="from_btm_type" jdbcType="VARCHAR" property="fromBtmType" />
        <result column="from_btm_type_name" jdbcType="VARCHAR" property="fromBtmTypeName" />
        <result column="to_btm_type" jdbcType="VARCHAR" property="toBtmType" />
        <result column="to_btm_type_name" jdbcType="VARCHAR" property="toBtmTypeName" />
        <result column="btm_name" property="btmName" jdbcType="VARCHAR" />
        <result column="owner" property="owner" jdbcType="VARCHAR" />
        <result column="creator" jdbcType="VARCHAR" property="creator" />
        <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
        <result column="last_modifier" jdbcType="VARCHAR" property="lastModifier" />
        <result column="last_modify_time" jdbcType="TIMESTAMP" property="lastModifyTime" />
        <result column="ts" jdbcType="TIMESTAMP" property="ts" />
        <result column="biz_domain" jdbcType="VARCHAR" property="bizDomain" />
    </resultMap>
 
    <sql id="base_query_column">
        oid, id, name, description, shape, impl_class, from_btm_type, from_btm_type_name,
            to_btm_type, to_btm_type_name, btm_name, owner, creator, create_time, last_modifier, last_modify_time,
            ts, biz_domain
    </sql>
 
    <sql id="tableName">
        pl_omd_link_type
    </sql>
 
    <select id="selectAll" resultMap="BaseResultMap">
        select <include refid="base_query_column"/>
        from <include refid="tableName" />
    </select>
 
</mapper>