|
|
@@ -462,7 +462,7 @@
|
|
|
inner join (select eaid ,auditor,min(process_status)`type` from expense_account_examine
|
|
|
where auditor= #{auditor} group by eaid) eae on a.id=eae.eaid
|
|
|
</if>
|
|
|
- where 1=1
|
|
|
+
|
|
|
<include refid="selectExpenseAccountSql"/>
|
|
|
order by a.status,a.create_time desc
|
|
|
<if test="page_sql !=null">
|
|
|
@@ -470,6 +470,7 @@
|
|
|
</if>
|
|
|
</select>
|
|
|
<sql id="selectExpenseAccountSql">
|
|
|
+ where 1=1 and a.status < 4
|
|
|
<if test="processStatus ==2">
|
|
|
and a.process_status>=0
|
|
|
<if test="examineStatus ==1">
|
|
|
@@ -555,7 +556,6 @@
|
|
|
inner join (select eaid ,auditor,min(process_status)`type` from expense_account_examine
|
|
|
where auditor= #{auditor} group by eaid) eae on a.id=eae.eaid
|
|
|
</if>
|
|
|
- where 1=1
|
|
|
<include refid="selectExpenseAccountSql"/>
|
|
|
</select>
|
|
|
|
|
|
@@ -583,7 +583,6 @@
|
|
|
inner join (select eaid ,auditor,min(process_status)`type` from expense_account_examine
|
|
|
where auditor= #{auditor} group by eaid) eae on a.id=eae.eaid
|
|
|
</if>
|
|
|
- where 1=1
|
|
|
<include refid="selectExpenseAccountSql"/>
|
|
|
</select>
|
|
|
|