浏览代码

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

王苗苗 6 月之前
父节点
当前提交
e854b4160a
共有 3 个文件被更改,包括 3 次插入5 次删除
  1. 二进制
      .DS_Store
  2. 1 2
      src/main/resources/mapper/TShuju1Mapper.xml
  3. 2 3
      src/main/resources/mapper/TTbDuMapper.xml

二进制
.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>