Browse Source

查询新增筛选人

anderx 2 years ago
parent
commit
84da07b99d
1 changed files with 5 additions and 13 deletions
  1. 5 13
      src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

+ 5 - 13
src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

@@ -373,13 +373,10 @@
     where 1=1
       <if test="superShiro ==1">
         and a.process_status>0
-        <if test=" aid !=null">
-        and a.aid= #{aid}
-        </if>
       </if>
-    <if test="processStatus ==0">
+    <if test=" aid !=null">
     and a.aid= #{aid}
-    </if>
+  </if>
     <if test="processStatus ==1">
       and a.process_status>0
     <if test="examineStatus ==0">
@@ -428,11 +425,8 @@
     where 1=1
     <if test="superShiro ==1">
       and a.process_status>0
-      <if test=" aid !=null">
-        and a.aid= #{aid}
-      </if>
     </if>
-    <if test="processStatus ==0">
+    <if test=" aid !=null">
       and a.aid= #{aid}
     </if>
     <if test="processStatus ==1">
@@ -479,11 +473,9 @@
     where 1=1
     <if test="superShiro ==1">
       and a.process_status>0
-      <if test=" aid !=null">
-        and a.aid= #{aid}
-      </if>
+
     </if>
-    <if test="processStatus ==0">
+    <if test=" aid !=null">
       and a.aid= #{aid}
     </if>
     <if test="processStatus ==1">