ソースを参照

报销列表全查询修改

anderx 2 年 前
コミット
1f70fea40d
共有1 個のファイルを変更した8 個の追加0 個の削除を含む
  1. 8 0
      src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

+ 8 - 0
src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

@@ -510,6 +510,14 @@
     <if test="processStatus ==5">
       and f.finance_id in (select id from admin where superior_id = #{auditor})
     </if>
+    <if test="processStatus ==6">
+      <if test="examineStatus ==1">
+        and a.status=1
+      </if>
+      <if test="examineStatus ==2">
+        and a.status in (2)
+      </if>
+    </if>
     <if test=" aid !=null">
       and a.aid= #{aid}
     </if>