ソースを参照

工程現場 接口修改

zhanghao 1 ヶ月 前
コミット
677c852b45

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

@@ -94,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             a.del_flag = '0'
           AND b.del_flag = '0'
         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 id="getProjectNumX" parameterType="String" resultMap="LargeProjectResult">
@@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         WHERE
             a.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
         GROUP BY
             subdivision
@@ -123,7 +123,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         WHERE
             a.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
         GROUP BY
             subdivision