Quellcode durchsuchen

报销列表全查询修改

anderx vor 2 Jahren
Ursprung
Commit
1f70fea40d

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