Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
6b72a933
Commit
6b72a933
authored
Oct 09, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEL] delete identity service interface
parent
1818ea76
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
21 deletions
+11
-21
InputInvoiceImportController.java
...taxtech/atms/controller/InputInvoiceImportController.java
+2
-3
OutputInvoiceController.java
.../pwc/taxtech/atms/controller/OutputInvoiceController.java
+2
-2
ProjectInfoController.java
...va/pwc/taxtech/atms/controller/ProjectInfoController.java
+2
-2
ProjectStatusManageController.java
...axtech/atms/controller/ProjectStatusManageController.java
+2
-2
VoucherInvoiceMappingController.java
...tech/atms/controller/VoucherInvoiceMappingController.java
+2
-2
IdentityService.java
...c/main/java/pwc/taxtech/atms/service/IdentityService.java
+0
-7
IdentityServiceImpl.java
...va/pwc/taxtech/atms/service/impl/IdentityServiceImpl.java
+1
-3
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/InputInvoiceImportController.java
View file @
6b72a933
...
...
@@ -7,7 +7,6 @@ import org.springframework.http.MediaType;
import
org.springframework.http.ResponseEntity
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestHeader
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.ResponseBody
;
...
...
@@ -17,7 +16,7 @@ import pwc.taxtech.atms.dto.vatdto.ImportInputInvoiceDto;
import
pwc.taxtech.atms.dto.vatdto.ImportInputInvoiceItemDto
;
import
pwc.taxtech.atms.dto.vatdto.InputInvoice
;
import
pwc.taxtech.atms.dto.vatdto.InputVATInvoiceBaseDto
;
import
pwc.taxtech.atms.service.
IdentityService
;
import
pwc.taxtech.atms.service.
impl.IdentityServiceImpl
;
import
pwc.taxtech.atms.thirdparty.ExcelSheet
;
import
pwc.taxtech.atms.thirdparty.ExcelUtil
;
import
pwc.taxtech.atms.vat.dpo.InputInvoicePreviewQueryParam
;
...
...
@@ -42,7 +41,7 @@ public class InputInvoiceImportController {
@Autowired
InputInvoiceDataImportServiceImpl
inputInvoiceDataImportService
;
@Autowired
private
IdentityService
identityService
;
private
IdentityService
Impl
identityService
;
private
Logger
logger
=
LoggerFactory
.
getLogger
(
InputInvoiceImportController
.
class
);
@RequestMapping
(
value
=
"inputInvoicePreviewList"
,
method
=
RequestMethod
.
POST
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
...
...
atms-api/src/main/java/pwc/taxtech/atms/controller/OutputInvoiceController.java
View file @
6b72a933
...
...
@@ -15,7 +15,7 @@ import pwc.taxtech.atms.dpo.PagingResultDto;
import
pwc.taxtech.atms.dto.vatdto.ImportOutputInvoiceDto
;
import
pwc.taxtech.atms.dto.vatdto.OutputInvoice
;
import
pwc.taxtech.atms.dto.vatdto.QueryEvidenceDto
;
import
pwc.taxtech.atms.service.
IdentityService
;
import
pwc.taxtech.atms.service.
impl.IdentityServiceImpl
;
import
pwc.taxtech.atms.thirdparty.ExcelUtil
;
import
pwc.taxtech.atms.vat.dpo.OutputVATInvoiceInfoDto
;
import
pwc.taxtech.atms.vat.dpo.QueryOutputDto
;
...
...
@@ -44,7 +44,7 @@ public class OutputInvoiceController {
@Autowired
OutputInvoiceServiceImpl
outputInvoiceService
;
@Autowired
private
IdentityService
identityService
;
private
IdentityService
Impl
identityService
;
@Autowired
private
FileUploadAdapter
fileUploadAdapter
;
...
...
atms-api/src/main/java/pwc/taxtech/atms/controller/ProjectInfoController.java
View file @
6b72a933
...
...
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RestController;
import
pwc.taxtech.atms.dto.OperationResultDto
;
import
pwc.taxtech.atms.dto.vatdto.QueryImportType
;
import
pwc.taxtech.atms.entity.PeriodInfo
;
import
pwc.taxtech.atms.service.
IdentityService
;
import
pwc.taxtech.atms.service.
impl.IdentityServiceImpl
;
import
pwc.taxtech.atms.service.impl.ProjectInfoServiceImpl
;
import
java.util.List
;
...
...
@@ -23,7 +23,7 @@ public class ProjectInfoController {
@Autowired
private
ProjectInfoServiceImpl
projectInfoService
;
@Autowired
private
IdentityService
identityService
;
private
IdentityService
Impl
identityService
;
@ApiOperation
(
value
=
"isProjectImportedData"
,
notes
=
""
)
@RequestMapping
(
value
=
"isProjectImportedData/{projectId}/{serviceType}/{importTypeId}"
,
method
=
RequestMethod
.
GET
)
...
...
atms-api/src/main/java/pwc/taxtech/atms/controller/ProjectStatusManageController.java
View file @
6b72a933
...
...
@@ -10,7 +10,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import
org.springframework.web.bind.annotation.RestController
;
import
pwc.taxtech.atms.dto.OperationResultDto
;
import
pwc.taxtech.atms.dto.taxadmin.ProjectStatusManageDto
;
import
pwc.taxtech.atms.service.
IdentityService
;
import
pwc.taxtech.atms.service.
impl.IdentityServiceImpl
;
import
pwc.taxtech.atms.service.impl.ProjectStatusManageServiceImpl
;
@RestController
...
...
@@ -21,7 +21,7 @@ public class ProjectStatusManageController {
private
ProjectStatusManageServiceImpl
projectStatusManageService
;
@Autowired
private
IdentityService
identityService
;
private
IdentityService
Impl
identityService
;
@ApiOperation
(
value
=
"setProjectStatus"
,
notes
=
""
)
@RequestMapping
(
value
=
{
"/setProjectStatus/{projectId}/{periodId}/{status}"
},
method
=
RequestMethod
.
GET
,
...
...
atms-api/src/main/java/pwc/taxtech/atms/controller/VoucherInvoiceMappingController.java
View file @
6b72a933
...
...
@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestMethod;
import
org.springframework.web.bind.annotation.RestController
;
import
pwc.taxtech.atms.dto.vatdto.InvoiceMappingDto
;
import
pwc.taxtech.atms.dto.vatdto.VoucherMappingDto
;
import
pwc.taxtech.atms.service.
IdentityService
;
import
pwc.taxtech.atms.service.
impl.IdentityServiceImpl
;
import
pwc.taxtech.atms.vat.service.impl.VoucherInvoiceMappingServiceImpl
;
import
java.util.List
;
...
...
@@ -25,7 +25,7 @@ public class VoucherInvoiceMappingController {
@Autowired
private
VoucherInvoiceMappingServiceImpl
voucherInvoiceMappingService
;
@Autowired
private
IdentityService
identityService
;
private
IdentityService
Impl
identityService
;
@RequestMapping
(
value
=
"getvmappings/{period}"
,
method
=
RequestMethod
.
GET
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/IdentityService.java
deleted
100644 → 0
View file @
1818ea76
package
pwc
.
taxtech
.
atms
.
service
;
import
pwc.taxtech.atms.dpo.UserDto
;
public
interface
IdentityService
{
UserDto
getIdentityUser
();
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/IdentityServiceImpl.java
View file @
6b72a933
...
...
@@ -3,11 +3,9 @@ package pwc.taxtech.atms.service.impl;
import
org.springframework.stereotype.Service
;
import
pwc.taxtech.atms.AppCachePool
;
import
pwc.taxtech.atms.dpo.UserDto
;
import
pwc.taxtech.atms.service.IdentityService
;
@Service
public
class
IdentityServiceImpl
implements
IdentityService
{
@Override
public
class
IdentityServiceImpl
{
public
UserDto
getIdentityUser
()
{
return
AppCachePool
.
getCachedUser
(
"cach_test"
);
//TODO:should fixed use session username(neo)
}
...
...
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