|
|
@@ -907,7 +907,7 @@
|
|
|
</if>
|
|
|
<if test="listStatus ==1">
|
|
|
and b.process_status > 3
|
|
|
- and ((b.process_status > eae.type ) or (b.process_status =8 and b.status=2))
|
|
|
+ and ((b.process_status < 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>
|