Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
Overview
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
reyun
manager
Commits
6f6ba554
Commit
6f6ba554
authored
Sep 22, 2021
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加 收款金额 开票金额
parent
b81fe475
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
ContractServiceImpl.java
src/main/java/common/service/impl/ContractServiceImpl.java
+2
-1
AuthorizationInterceptor.java
...n/java/security/interceptor/AuthorizationInterceptor.java
+5
-0
No files found.
src/main/java/common/service/impl/ContractServiceImpl.java
View file @
6f6ba554
...
...
@@ -1634,7 +1634,8 @@ public class ContractServiceImpl implements ContractService {
//收款开票金额
if
(
codeMoneyMap
.
containsKey
(
c
.
getContractCode
()))
{
if
(
codeMoneyMap
==
null
||
codeMoneyMap
.
isEmpty
()
||
!
codeMoneyMap
.
containsKey
(
c
.
getContractCode
()))
{
c
.
setAmountCollected
(
"0"
);
c
.
setInvoiceAmount
(
"0"
);
}
else
{
...
...
src/main/java/security/interceptor/AuthorizationInterceptor.java
View file @
6f6ba554
...
...
@@ -95,6 +95,11 @@ public class AuthorizationInterceptor extends HandlerInterceptorAdapter {
if
(
sessionAct
==
null
)
{
User
one
=
userRepository
.
findOne
(
Long
.
parseLong
(
key
));
if
(
one
==
null
)
{
printJsonResponse
(
response
,
"用户不存在"
);
return
false
;
}
if
(!
one
.
getRole
().
equals
(
RoleEnum
.
MANAGER
.
getKey
()))
{
Auth
auth
=
authRepository
.
findByUser
(
one
.
getId
());
Map
<
String
,
String
>
authdata
=
(
Map
<
String
,
String
>)
JSONArray
.
fromObject
(
auth
.
getAuth
())
...
...
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