|
@@ -29,12 +29,12 @@
|
|
<if test="activeOne != null "> and ACTIVE_ONE = #{activeOne}</if>
|
|
<if test="activeOne != null "> and ACTIVE_ONE = #{activeOne}</if>
|
|
<if test="activeTwo != null "> and ACTIVE_TWO = #{activeTwo}</if>
|
|
<if test="activeTwo != null "> and ACTIVE_TWO = #{activeTwo}</if>
|
|
</where>
|
|
</where>
|
|
- and del_flag = 0 order by id desc
|
|
|
|
|
|
+ order by id desc
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectTTbDuByID" parameterType="Long" resultMap="TTbDuResult">
|
|
<select id="selectTTbDuByID" parameterType="Long" resultMap="TTbDuResult">
|
|
<include refid="selectTTbDuVo"/>
|
|
<include refid="selectTTbDuVo"/>
|
|
- where ID = #{ID} and del_flag = 0
|
|
|
|
|
|
+ where ID = #{ID}
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<insert id="insertTTbDu" parameterType="TTbDu">
|
|
<insert id="insertTTbDu" parameterType="TTbDu">
|
|
@@ -69,7 +69,6 @@
|
|
<if test="activeOne != null">ACTIVE_ONE = #{activeOne},</if>
|
|
<if test="activeOne != null">ACTIVE_ONE = #{activeOne},</if>
|
|
<if test="activeTwo != null">ACTIVE_TWO = #{activeTwo},</if>
|
|
<if test="activeTwo != null">ACTIVE_TWO = #{activeTwo},</if>
|
|
</trim>
|
|
</trim>
|
|
- ,revision = revision + 1
|
|
|
|
where ID = #{ID}
|
|
where ID = #{ID}
|
|
</update>
|
|
</update>
|
|
|
|
|