Преглед изворни кода

实现createObjRelationsByKeywordAndObjType接口

lijie пре 3 година
родитељ
комит
1bda075c67

+ 20 - 0
dmp-business/dmp-rwd/src/main/resources/mapper/RelationCalSignMapper.xml

@@ -0,0 +1,20 @@
+<?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.persagy.dmp.rwd.digital.dao.RelationCalSignMapper">
+
+    <resultMap id="BaseResultMap" type="com.persagy.dmp.rwd.digital.domain.RelationCalSign">
+            <id property="id" column="id" jdbcType="VARCHAR"/>
+            <result property="sign" column="sign" jdbcType="TINYINT"/>
+            <result property="creationTime" column="creation_time" jdbcType="CHAR"/>
+            <result property="modifiedTime" column="modified_time" jdbcType="CHAR"/>
+            <result property="valid" column="valid" jdbcType="TINYINT"/>
+            <result property="ts" column="ts" jdbcType="TIMESTAMP"/>
+    </resultMap>
+
+    <sql id="Base_Column_List">
+        id,sign,creation_time,
+        modified_time,valid,ts
+    </sql>
+</mapper>