|
|
@@ -1001,15 +1001,19 @@
|
|
|
#{dep}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
- <if test="roleType ==1">
|
|
|
+ <if test="myType ==1">
|
|
|
and a.aid = #{current}
|
|
|
</if>
|
|
|
<if test="roleType ==1">
|
|
|
+ <if test="myType ==0">
|
|
|
and dep.expense_finance_id = #{current}
|
|
|
</if>
|
|
|
+ </if>
|
|
|
<if test="roleType ==2">
|
|
|
+ <if test="myType ==0">
|
|
|
and (dep.expense_finance_id in (select id from admin where superior_id = #{current}) or dep.expense_finance_id = #{current})
|
|
|
</if>
|
|
|
+ </if>
|
|
|
<if test=" contractNo != null">
|
|
|
and o.contract_no like concat('%',#{contractNo},'%')
|
|
|
</if><if test=" buyerName != null">
|