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
<?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.LinkTypeAttributeMapper">
    <resultMap id="BaseResultMap" type="com.vci.ubcs.omd.entity.LinkTypeAttribute">
        <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="pk_link_type" jdbcType="VARCHAR" property="pkLinkType" />
        <result column="attribute_length" jdbcType="DECIMAL" property="attributeLength" />
        <result column="attr_data_type" jdbcType="VARCHAR" property="attrDataType" />
        <result column="nullable_flag" jdbcType="VARCHAR" property="nullableFlag" />
        <result column="default_value" jdbcType="VARCHAR" property="defaultValue" />
        <result column="precision_length" jdbcType="DECIMAL" property="precisionLength" />
        <result column="scale_length" property="scaleLength" jdbcType="DECIMAL" />
        <result column="range" jdbcType="VARCHAR" property="range" />
        <result column="refer_btm_type_id" jdbcType="VARCHAR" property="referBtmTypeId" />
        <result column="refer_btm_type_name" jdbcType="VARCHAR" property="referBtmTypeName" />
        <result column="enum_id" jdbcType="VARCHAR" property="enumId" />
        <result column="enum_name" jdbcType="VARCHAR" property="enumName" />
        <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" />
    </resultMap>
    <sql id="base_query_column">
        oid, id, name, description, pk_link_type, attr_data_type, nullable_flag, default_value,
            precision_length, scale_length, range, refer_btm_type_id, refer_btm_type_name, enum_id,
            enum_name, btm_name, owner, creator, create_time, last_modifier, last_modify_time, ts
    </sql>
 
    <sql id="tableName">
        pl_omd_link_type_attr
    </sql>
</mapper>