|
@@ -33,11 +33,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="density != null "> and density = #{density}</if>
|
|
<if test="density != null "> and density = #{density}</if>
|
|
<if test="farmId != null and farmId != ''"> and farm_id = #{farmId}</if>
|
|
<if test="farmId != null and farmId != ''"> and farm_id = #{farmId}</if>
|
|
</where>
|
|
</where>
|
|
|
|
+ order by seq ASC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectTECompareobjectInstanceById" parameterType="String" resultMap="TECompareobjectInstanceResult">
|
|
<select id="selectTECompareobjectInstanceById" parameterType="String" resultMap="TECompareobjectInstanceResult">
|
|
<include refid="selectTECompareobjectInstanceVo"/>
|
|
<include refid="selectTECompareobjectInstanceVo"/>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
|
|
+ order by seq ASC
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<insert id="insertTECompareobjectInstance" parameterType="TECompareobjectInstance">
|
|
<insert id="insertTECompareobjectInstance" parameterType="TECompareobjectInstance">
|