瀏覽代碼

财务经理查看修改

anderx 1 年之前
父節點
當前提交
8f15b8f5d6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

+ 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},'%')