瀏覽代碼

查询新增筛选人

anderx 2 年之前
父節點
當前提交
84da07b99d
共有 1 個文件被更改,包括 5 次插入13 次删除
  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">