|
@@ -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 <= 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
|