Przeglądaj źródła

财务经理查看修改

anderx 1 rok temu
rodzic
commit
8f15b8f5d6

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

@@ -965,7 +965,7 @@
       and dep.expense_finance_id = #{current}
     </if>
     <if test="roleType ==2">
-      and dep.expense_finance_id in  (select id from admin where superior_id = #{current})
+      and (dep.expense_finance_id in  (select id from admin where superior_id = #{current}) or dep.expense_finance_id = #{current})
     </if>
     <if test=" contractNo != null">
       and o.contract_no like concat('%',#{contractNo},'%')