|
|
@@ -1237,6 +1237,9 @@ left join department d on o.order_dep = d.id left join t_order_mid a on o.orde
|
|
|
<if test="shiroType == 2 and fid !=null">
|
|
|
and tm.finance_id in (select id from admin where superior_id= #{fid,jdbcType=VARCHAR})
|
|
|
</if>
|
|
|
+ <if test="amountStatus == 0">
|
|
|
+ and b.total_amount < 10
|
|
|
+ </if>
|
|
|
<if test="amountStatus == 1">
|
|
|
and b.total_amount between 10 and 20
|
|
|
</if>
|
|
|
@@ -1306,6 +1309,9 @@ left join department d on o.order_dep = d.id left join t_order_mid a on o.orde
|
|
|
<if test="shiroType == 2 and fid !=null">
|
|
|
and tm.finance_id in (select id from admin where superior_id= #{fid,jdbcType=VARCHAR})
|
|
|
</if>
|
|
|
+ <if test="amountStatus == 0">
|
|
|
+ and b.total_amount < 10
|
|
|
+ </if>
|
|
|
<if test="amountStatus == 1">
|
|
|
and b.total_amount between 10 and 20
|
|
|
</if>
|