瀏覽代碼

工程現場 接口修改

zhanghao 1 月之前
父節點
當前提交
6576333ba5
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      project-zcustom/src/main/resources/mapper/zcustom/unit/LargeIssueMapper.xml

+ 4 - 4
project-zcustom/src/main/resources/mapper/zcustom/unit/LargeIssueMapper.xml

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