|
@@ -112,7 +112,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
a.del_flag = 0
|
|
|
AND b.del_flag = 0
|
|
|
AND c.del_flag = '0'
|
|
|
- <if test="appOrg != '10001'">AND ( c.app_parent_org = #{appOrg} OR c.app_org = #{appOrg} )</if>
|
|
|
+ <if test="appOrg != '0000'">AND ( c.app_parent_org = #{appOrg} OR c.app_org = #{appOrg} )</if>
|
|
|
</select>
|
|
|
|
|
|
<select id="getOverIssueNum" parameterType="String" resultType="int">
|
|
@@ -126,7 +126,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
a.del_flag = 0 and a.status = 1
|
|
|
AND b.del_flag = 0
|
|
|
AND c.del_flag = '0'
|
|
|
- <if test="appOrg != '10001'">AND ( c.app_parent_org = #{appOrg} OR c.app_org = #{appOrg} )</if>
|
|
|
+ <if test="appOrg != '0000'">AND ( c.app_parent_org = #{appOrg} OR c.app_org = #{appOrg} )</if>
|
|
|
</select>
|
|
|
|
|
|
<select id="getIssueListLastWeek" parameterType="String" resultMap="LargeIssueResult">
|
|
@@ -147,7 +147,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
AND (
|
|
|
DATE( a.create_time ) BETWEEN DATE_SUB(CURDATE(), INTERVAL 7 DAY) AND CURDATE()
|
|
|
)
|
|
|
- <if test="appOrg != '10001'">AND ( c.app_parent_org = #{appOrg} OR c.app_org = #{appOrg} )</if>
|
|
|
+ <if test="appOrg != '0000'">AND ( c.app_parent_org = #{appOrg} OR c.app_org = #{appOrg} )</if>
|
|
|
order by a.create_time desc
|
|
|
</select>
|
|
|
|
|
@@ -170,7 +170,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
DATE( a.create_time ) BETWEEN DATE( #{arg1} )
|
|
|
AND CURDATE()
|
|
|
)
|
|
|
- <if test="arg0 != '10001'">AND ( c.app_parent_org = #{arg0} OR c.app_org = #{arg0} )</if>
|
|
|
+ <if test="arg0 != '0000'">AND ( c.app_parent_org = #{arg0} OR c.app_org = #{arg0} )</if>
|
|
|
order by a.create_time desc
|
|
|
</select>
|
|
|
</mapper>
|