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
b10cb188
Commit
b10cb188
authored
Jul 29, 2019
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v1.3
parent
6778b148
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
ADIAccountController.java
src/main/java/adi/controller/ADIAccountController.java
+3
-3
ContractController.java
src/main/java/common/controller/ContractController.java
+2
-2
AccountCommonService.java
src/main/java/common/service/AccountCommonService.java
+1
-1
AccountCommonServiceImpl.java
...in/java/common/service/impl/AccountCommonServiceImpl.java
+2
-2
DmpAccountController.java
src/main/java/dmp/controller/DmpAccountController.java
+3
-3
No files found.
src/main/java/adi/controller/ADIAccountController.java
View file @
b10cb188
...
@@ -4,7 +4,7 @@ package adi.controller;
...
@@ -4,7 +4,7 @@ package adi.controller;
import
adi.model.ADIUser
;
import
adi.model.ADIUser
;
import
adi.service.ADIAccountService
;
import
adi.service.ADIAccountService
;
import
common.model.*
;
import
common.model.*
;
import
common.service.AccountService
;
import
common.service.Account
Common
Service
;
import
dic.OperateObjectTypeEnum
;
import
dic.OperateObjectTypeEnum
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
...
@@ -30,7 +30,7 @@ public class ADIAccountController {
...
@@ -30,7 +30,7 @@ public class ADIAccountController {
ADIAccountService
tkioAccountService
;
ADIAccountService
tkioAccountService
;
@Autowired
@Autowired
Account
Service
account
Service
;
Account
CommonService
accountCommon
Service
;
//sale
//sale
@RequestMapping
(
value
=
"/findSale"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/findSale"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
@ResponseBody
...
@@ -71,7 +71,7 @@ public class ADIAccountController {
...
@@ -71,7 +71,7 @@ public class ADIAccountController {
// if(null == account4Web){
// if(null == account4Web){
// return ResultModel.ERROR(ResultStatus.USER_EMPTY);
// return ResultModel.ERROR(ResultStatus.USER_EMPTY);
// }
// }
return
ResultModel
.
OK
(
accountService
.
findOne
(
"adi"
,
email
));
return
ResultModel
.
OK
(
account
Common
Service
.
findOne
(
"adi"
,
email
));
}
}
@RequestMapping
(
value
=
"/find/reminderlevel"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/find/reminderlevel"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
@ResponseBody
...
...
src/main/java/common/controller/ContractController.java
View file @
b10cb188
...
@@ -75,10 +75,10 @@ public class ContractController {
...
@@ -75,10 +75,10 @@ public class ContractController {
return
ResultModel
.
OK
(
service
.
findAll
(
loginAccount
,
startDate
,
endDate
,
platform
,
contractId
));
return
ResultModel
.
OK
(
service
.
findAll
(
loginAccount
,
startDate
,
endDate
,
platform
,
contractId
));
}
}
@RequestMapping
(
value
=
"
findOne
"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"
contractid/find
"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
@ResponseBody
public
ResultModel
findOne
(
@CurrentAccount
User
loginAccount
,
@PathVariable
String
platform
,
public
ResultModel
findOne
(
@CurrentAccount
User
loginAccount
,
@PathVariable
String
platform
,
@RequestParam
String
startDate
,
@RequestParam
String
endDate
,
String
contractId
)
{
String
startDate
,
String
endDate
,
String
contractId
)
{
return
ResultModel
.
OK
(
service
.
findOne
(
loginAccount
,
startDate
,
endDate
,
platform
,
contractId
));
return
ResultModel
.
OK
(
service
.
findOne
(
loginAccount
,
startDate
,
endDate
,
platform
,
contractId
));
}
}
...
...
src/main/java/common/service/AccountService.java
→
src/main/java/common/service/Account
Common
Service.java
View file @
b10cb188
...
@@ -3,6 +3,6 @@ package common.service;
...
@@ -3,6 +3,6 @@ package common.service;
import
common.model.Account4Web
;
import
common.model.Account4Web
;
public
interface
AccountService
{
public
interface
Account
Common
Service
{
Account4Web
findOne
(
String
dmp
,
String
email
);
Account4Web
findOne
(
String
dmp
,
String
email
);
}
}
src/main/java/common/service/impl/AccountServiceImpl.java
→
src/main/java/common/service/impl/Account
Common
ServiceImpl.java
View file @
b10cb188
...
@@ -5,7 +5,7 @@ import common.model.Contract;
...
@@ -5,7 +5,7 @@ import common.model.Contract;
import
common.model.PackageBase
;
import
common.model.PackageBase
;
import
common.repository.ContractRepository
;
import
common.repository.ContractRepository
;
import
common.repository.PackageBaseRepository
;
import
common.repository.PackageBaseRepository
;
import
common.service.AccountService
;
import
common.service.Account
Common
Service
;
import
office.model.BussinessMan
;
import
office.model.BussinessMan
;
import
office.repository.BussinessManRepository
;
import
office.repository.BussinessManRepository
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -15,7 +15,7 @@ import java.util.List;
...
@@ -15,7 +15,7 @@ import java.util.List;
@Service
@Service
public
class
Account
ServiceImpl
implements
Account
Service
{
public
class
Account
CommonServiceImpl
implements
AccountCommon
Service
{
@Autowired
@Autowired
...
...
src/main/java/dmp/controller/DmpAccountController.java
View file @
b10cb188
...
@@ -3,7 +3,7 @@ package dmp.controller;
...
@@ -3,7 +3,7 @@ package dmp.controller;
import
common.model.Account4Web
;
import
common.model.Account4Web
;
import
common.model.User
;
import
common.model.User
;
import
common.service.AccountService
;
import
common.service.Account
Common
Service
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
@@ -21,7 +21,7 @@ public class DmpAccountController {
...
@@ -21,7 +21,7 @@ public class DmpAccountController {
@Autowired
@Autowired
Account
Service
account
Service
;
Account
CommonService
accountCommon
Service
;
//功能使用查询
//功能使用查询
...
@@ -46,6 +46,6 @@ public class DmpAccountController {
...
@@ -46,6 +46,6 @@ public class DmpAccountController {
@ResponseBody
@ResponseBody
public
ResultModel
findOne
(
@CurrentAccount
User
loginAccount
,
@RequestParam
String
email
)
{
public
ResultModel
findOne
(
@CurrentAccount
User
loginAccount
,
@RequestParam
String
email
)
{
return
ResultModel
.
OK
(
accountService
.
findOne
(
"dmp"
,
email
));
return
ResultModel
.
OK
(
account
Common
Service
.
findOne
(
"dmp"
,
email
));
}
}
}
}
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