Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
precision-effect
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
precision-effect
Commits
ea71e0a1
Commit
ea71e0a1
authored
Aug 18, 2023
by
吴卿华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改借支申请
parent
40c7bc88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
TBorrowingApplyForController.java
.../controller/transaction/TBorrowingApplyForController.java
+12
-1
No files found.
precision-effect-admin/src/main/java/com/zehong/web/controller/transaction/TBorrowingApplyForController.java
View file @
ea71e0a1
...
...
@@ -56,10 +56,21 @@ public class TBorrowingApplyForController extends BaseController
if
(
"calculator"
.
equals
(
user
.
getRoles
().
get
(
i
).
getRoleKey
())){
permission
=
1
;
}
if
(!
"calculator"
.
equals
(
user
.
getRoles
().
get
(
i
).
getRoleKey
())){
}
int
n
=
0
;
for
(
int
i
=
0
;
i
<
user
.
getRoles
().
size
();
i
++)
{
if
(
"calculator"
.
equals
(
user
.
getRoles
().
get
(
i
).
getRoleKey
()))
{
n
=
1
;
}
/**判断是否是部门长 如果是部门长 就只查询本部门*/
if
(!
"deptLeader"
.
equals
(
user
.
getRoles
().
get
(
i
).
getRoleKey
()))
{
tBorrowingApplyFor
.
setBorrowingDeptId
(
user
.
getDeptId
());
}
}
if
(
n
==
1
){
tBorrowingApplyFor
.
setBorrowingDeptId
(
null
);
}
startPage
();
List
<
TBorrowingApplyFor
>
list
=
tBorrowingApplyForService
.
selectTBorrowingApplyForList
(
tBorrowingApplyFor
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment