Browse Source

财务审核列表处理

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

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

@@ -907,7 +907,7 @@
           </if>
           <if test="listStatus ==1">
             and b.process_status &gt; 3
-            and ((b.process_status &gt; eae.type ) or (b.process_status =8 and b.status=2))
+            and ((b.process_status &lt; eae.type ) or (b.process_status =8 and b.status=2))
           </if>
         </if>
     </if>
@@ -928,7 +928,7 @@
     left join admin ad on b.aid=ad.id left join department adDep on ad.department_id=adDep.id
     <if test="roleType > 0">
       inner join (select eaid ,auditor,min(process_status)`type` from expense_account_examine
-      where auditor= #{aid} group by eaid) eae on b.id=eae.eaid
+      where auditor= #{aid} and status=0  group by eaid) eae on b.id=eae.eaid
     </if>
     <include refid="ExpenseMainSql"/>
   </select>