|
@@ -1,9 +1,9 @@
|
|
|
<?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.keao.edu.datasource.dao.DatabaseSourceDao">
|
|
|
+<mapper namespace="com.yonge.datasource.dao.DatabaseSourceDao">
|
|
|
|
|
|
- <resultMap type="com.keao.edu.datasource.entity.DatabaseSource"
|
|
|
+ <resultMap type="com.yonge.datasource.entity.DatabaseSource"
|
|
|
id="DatabaseSource">
|
|
|
<result column="id_" property="id" />
|
|
|
<result column="tenant_id_" property="tenantId" />
|
|
@@ -30,7 +30,7 @@
|
|
|
</select>
|
|
|
|
|
|
|
|
|
- <insert id="insert" parameterType="com.keao.edu.datasource.entity.DatabaseSource"
|
|
|
+ <insert id="insert" parameterType="com.yonge.datasource.entity.DatabaseSource"
|
|
|
useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
|
|
|
|
|
AS ID FROM DUAL </selectKey> -->
|
|
@@ -40,7 +40,7 @@
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
- <update id="update" parameterType="com.keao.edu.datasource.entity.DatabaseSource">
|
|
|
+ <update id="update" parameterType="com.yonge.datasource.entity.DatabaseSource">
|
|
|
UPDATE database_source
|
|
|
<set>
|
|
|
<if test="driver != null">
|