Przeglądaj źródła

鲍工的表去掉删除状态 和 版本号等字段

王苗苗 6 miesięcy temu
rodzic
commit
e854b4160a

BIN
.DS_Store


+ 1 - 2
src/main/resources/mapper/TShuju1Mapper.xml

@@ -51,7 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectTShuju1ByID" parameterType="Long" resultMap="TShuju1Result">
         <include refid="selectTShuju1Vo"/>
-        where ID = #{ID} and del_flag = 0
+        where ID = #{ID}
     </select>
 
     <insert id="insertTShuju1" parameterType="TShuju1">
@@ -179,7 +179,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="tj1Ll != null">TJ_1_LL = #{tj1Ll},</if>
             <if test="tj2Ll != null">TJ_2_LL = #{tj2Ll},</if>
         </trim>
-        ,revision = revision + 1
         where ID = #{ID}
     </update>
 

+ 2 - 3
src/main/resources/mapper/TTbDuMapper.xml

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