|
|
@@ -4,7 +4,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.onemap.sanya.mapper.Modeling3DMapper">
|
|
|
|
|
|
- <resultMap type="Modeling3D" id="Modeling3DResult">
|
|
|
+ <resultMap type="com.onemap.sanya.domain.Modeling3D" id="Modeling3DResult">
|
|
|
<result property="id" column="id" />
|
|
|
<result property="plotId" column="plot_id" />
|
|
|
<result property="taskId" column="task_id" />
|
|
|
@@ -15,7 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
select id, plot_id, task_id, model_data from "base".t_fzss_fzxz_3d_modeling
|
|
|
</sql>
|
|
|
|
|
|
- <select id="selectModeling3DList" parameterType="Modeling3D" resultMap="Modeling3DResult">
|
|
|
+ <select id="selectModeling3DList" parameterType="com.onemap.sanya.domain.Modeling3D" resultMap="Modeling3DResult">
|
|
|
<include refid="selectModeling3DVo"/>
|
|
|
<where>
|
|
|
<if test="plotId != null and plotId != ''"> and plot_id = #{plotId}</if>
|
|
|
@@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
where id = #{id}
|
|
|
</select>
|
|
|
|
|
|
- <insert id="insertModeling3D" parameterType="Modeling3D" useGeneratedKeys="true" keyProperty="id">
|
|
|
+ <insert id="insertModeling3D" parameterType="com.onemap.sanya.domain.Modeling3D" useGeneratedKeys="true" keyProperty="id">
|
|
|
insert into "base".t_fzss_fzxz_3d_modeling
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="plotId != null">plot_id,</if>
|
|
|
@@ -42,7 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
- <update id="updateModeling3D" parameterType="Modeling3D">
|
|
|
+ <update id="updateModeling3D" parameterType="com.onemap.sanya.domain.Modeling3D">
|
|
|
update "base".t_fzss_fzxz_3d_modeling
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="plotId != null">plot_id = #{plotId},</if>
|