Browse Source

工程現場 接口修改

zhanghao 1 month ago
parent
commit
babe9eb645
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/resources/mapper/zcustom/unit/LargeProjectMapper.xml

+ 3 - 3
src/main/resources/mapper/zcustom/unit/LargeProjectMapper.xml

@@ -94,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             a.del_flag = '0'
             a.del_flag = '0'
           AND b.del_flag = '0'
           AND b.del_flag = '0'
         AND subdivision <= 10
         AND subdivision <= 10
-        <if test="appOrg != '10001'">AND ( b.app_parent_org = #{appOrg} OR b.app_org = #{appOrg} )</if>
+        <if test="appOrg != '0000'">AND ( b.app_parent_org = #{appOrg} OR b.app_org = #{appOrg} )</if>
     </select>
     </select>
 
 
     <select id="getProjectNumX" parameterType="String" resultMap="LargeProjectResult">
     <select id="getProjectNumX" parameterType="String" resultMap="LargeProjectResult">
@@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         WHERE
         WHERE
             a.del_flag = '0'
             a.del_flag = '0'
           AND b.del_flag = '0'
           AND b.del_flag = '0'
-        <if test="appOrg != '10001'">AND ( b.app_parent_org = #{appOrg} OR b.app_org = #{appOrg} )</if>
+        <if test="appOrg != '0000'">AND ( b.app_parent_org = #{appOrg} OR b.app_org = #{appOrg} )</if>
           AND subdivision &lt;= 10
           AND subdivision &lt;= 10
         GROUP BY
         GROUP BY
             subdivision
             subdivision
@@ -123,7 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         WHERE
         WHERE
             a.del_flag = '0'
             a.del_flag = '0'
           AND b.del_flag = '0'
           AND b.del_flag = '0'
-        <if test="appOrg != '10001'">AND ( b.app_parent_org = #{appOrg} OR b.app_org = #{appOrg} )</if>
+        <if test="appOrg != '0000'">AND ( b.app_parent_org = #{appOrg} OR b.app_org = #{appOrg} )</if>
           AND subdivision > 10
           AND subdivision > 10
         GROUP BY
         GROUP BY
             subdivision
             subdivision