Commit 40c7bc88 authored by 吴卿华's avatar 吴卿华

修改借支申请

parent e3ecdf2d
...@@ -56,10 +56,11 @@ public class TBorrowingApplyForController extends BaseController ...@@ -56,10 +56,11 @@ public class TBorrowingApplyForController extends BaseController
if ("calculator".equals(user.getRoles().get(i).getRoleKey())){ if ("calculator".equals(user.getRoles().get(i).getRoleKey())){
permission=1; permission=1;
} }
} if (!"calculator".equals(user.getRoles().get(i).getRoleKey())){
if (!"核算部".equals(user.getDept().getDeptName())){
tBorrowingApplyFor.setBorrowingDeptId(user.getDeptId()); tBorrowingApplyFor.setBorrowingDeptId(user.getDeptId());
} }
}
startPage(); startPage();
List<TBorrowingApplyFor> list = tBorrowingApplyForService.selectTBorrowingApplyForList(tBorrowingApplyFor); List<TBorrowingApplyFor> list = tBorrowingApplyForService.selectTBorrowingApplyForList(tBorrowingApplyFor);
return getDataTableT(list,permission); return getDataTableT(list,permission);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment