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
496b9874
Commit
496b9874
authored
Jan 02, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test pom
parent
8109e0b5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
workspace.xml
.idea/workspace.xml
+0
-0
UserServiceImpl.java
src/main/java/common/service/impl/UserServiceImpl.java
+4
-4
applicationContext.xml
src/main/resources/applicationContext.xml
+1
-0
No files found.
.idea/workspace.xml
View file @
496b9874
This diff is collapsed.
Click to expand it.
src/main/java/common/service/impl/UserServiceImpl.java
View file @
496b9874
...
@@ -33,8 +33,8 @@ public class UserServiceImpl implements UserService {
...
@@ -33,8 +33,8 @@ public class UserServiceImpl implements UserService {
private
AuthRepository
authRepository
;
private
AuthRepository
authRepository
;
@Autowired
@Autowired
private
CodeRepository
codeRepository
;
private
CodeRepository
codeRepository
;
//
@Autowired
@Autowired
//
BussinussManService bussinussManService;
BussinussManService
bussinussManService
;
@Autowired
@Autowired
private
SalesManService
salesManService
;
private
SalesManService
salesManService
;
...
@@ -61,10 +61,10 @@ public class UserServiceImpl implements UserService {
...
@@ -61,10 +61,10 @@ public class UserServiceImpl implements UserService {
User
save
=
userRepository
.
save
(
resource
);
User
save
=
userRepository
.
save
(
resource
);
if
(
resource
.
getRole
().
equals
(
RoleEnum
.
SOUTH_BUSSINUSS
.
getKey
())){
if
(
resource
.
getRole
().
equals
(
RoleEnum
.
SOUTH_BUSSINUSS
.
getKey
())){
//
bussinussManService.create(login.getEmail(), save.getEmail(), save.getName(),"华北");
bussinussManService
.
create
(
login
.
getEmail
(),
save
.
getEmail
(),
save
.
getName
(),
"华北"
);
salesManService
.
create
(
login
.
getEmail
(),
save
.
getEmail
(),
save
.
getName
());
salesManService
.
create
(
login
.
getEmail
(),
save
.
getEmail
(),
save
.
getName
());
}
else
if
(
resource
.
getRole
().
equals
(
RoleEnum
.
NORTH_BUSSINUSS
.
getKey
())){
}
else
if
(
resource
.
getRole
().
equals
(
RoleEnum
.
NORTH_BUSSINUSS
.
getKey
())){
//
bussinussManService.create(login.getEmail(), save.getEmail(), save.getName(),"华南");
bussinussManService
.
create
(
login
.
getEmail
(),
save
.
getEmail
(),
save
.
getName
(),
"华南"
);
salesManService
.
create
(
login
.
getEmail
(),
save
.
getEmail
(),
save
.
getName
());
salesManService
.
create
(
login
.
getEmail
(),
save
.
getEmail
(),
save
.
getName
());
}
}
...
...
src/main/resources/applicationContext.xml
View file @
496b9874
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
<context:component-scan
base-package=
"tkio"
/>
<context:component-scan
base-package=
"tkio"
/>
<context:component-scan
base-package=
"track"
/>
<context:component-scan
base-package=
"track"
/>
<context:component-scan
base-package=
"common"
/>
<context:component-scan
base-package=
"common"
/>
<context:component-scan
base-package=
"office"
/>
<context:component-scan
base-package=
"dmp"
/>
<context:component-scan
base-package=
"dmp"
/>
<context:component-scan
base-package=
"security"
/>
<context:component-scan
base-package=
"security"
/>
...
...
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