Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
Overview
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
base_platform_enterprise
gic-platform-enterprise
Commits
5b9c40bc
Commit
5b9c40bc
authored
Jul 07, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
ce4e3a1e
a9c2f270
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
OfflineStrategy.java
...ic/enterprise/service/outer/impl/pay/OfflineStrategy.java
+1
-1
LoginController.java
...ava/com/gic/operation/web/controller/LoginController.java
+1
-0
No files found.
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/pay/OfflineStrategy.java
View file @
5b9c40bc
...
@@ -219,7 +219,7 @@ public class OfflineStrategy implements PayStrategy {
...
@@ -219,7 +219,7 @@ public class OfflineStrategy implements PayStrategy {
// gic
// gic
approvalDTO
.
setPlatformType
(
1
);
approvalDTO
.
setPlatformType
(
1
);
if
(
outPayDTO
.
getInitiatorUser
()
!=
null
)
{
if
(
outPayDTO
.
getInitiatorUser
()
!=
null
)
{
UserDTO
userDTO
=
userApiService
.
getUserById
(
outPayDTO
.
getInitiatorUser
()).
getResult
();
UserDTO
userDTO
=
userApiService
.
getUser
Info
ById
(
outPayDTO
.
getInitiatorUser
()).
getResult
();
if
(
userDTO
!=
null
)
{
if
(
userDTO
!=
null
)
{
approvalDTO
.
setInitiatorType
(
userDTO
.
getLoginType
()
==
0
?
approvalDTO
.
setInitiatorType
(
userDTO
.
getLoginType
()
==
0
?
BillingInitiatorTypeEnum
.
ENTERPRISE
.
getCode
()
:
BillingInitiatorTypeEnum
.
OPERATION
.
getCode
());
BillingInitiatorTypeEnum
.
ENTERPRISE
.
getCode
()
:
BillingInitiatorTypeEnum
.
OPERATION
.
getCode
());
...
...
gic-platform-operation-web/src/main/java/com/gic/operation/web/controller/LoginController.java
View file @
5b9c40bc
...
@@ -122,6 +122,7 @@ public class LoginController {
...
@@ -122,6 +122,7 @@ public class LoginController {
temp
.
setUserName
(
userDetailsVO
.
getRealName
());
temp
.
setUserName
(
userDetailsVO
.
getRealName
());
temp
.
setPhoneAreaCode
(
Constants
.
NATION_CODE
);
temp
.
setPhoneAreaCode
(
Constants
.
NATION_CODE
);
temp
.
setSuperAdmin
(
1
);
temp
.
setSuperAdmin
(
1
);
temp
.
setLoginType
(
1
);
ServiceResponse
<
Integer
>
saveResult
=
userApiService
.
saveOperationUser
(
temp
);
ServiceResponse
<
Integer
>
saveResult
=
userApiService
.
saveOperationUser
(
temp
);
user
=
temp
;
user
=
temp
;
user
.
setUserId
(
saveResult
.
getResult
());
user
.
setUserId
(
saveResult
.
getResult
());
...
...
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