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
dad61b11
Commit
dad61b11
authored
Oct 09, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEL] delete project service interface
parent
e868e805
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
59 deletions
+3
-59
ProjectController.java
...n/java/pwc/taxtech/atms/controller/ProjectController.java
+0
-1
ServiceTypeController.java
...va/pwc/taxtech/atms/controller/ServiceTypeController.java
+2
-2
ProjectService.java
...rc/main/java/pwc/taxtech/atms/service/ProjectService.java
+0
-48
ProjectServiceImpl.java
...ava/pwc/taxtech/atms/service/impl/ProjectServiceImpl.java
+1
-8
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/ProjectController.java
View file @
dad61b11
...
...
@@ -15,7 +15,6 @@ import pwc.taxtech.atms.dpo.ProjectDisplayDto;
import
pwc.taxtech.atms.dto.ProjectClientDto
;
import
pwc.taxtech.atms.dto.ServiceTypeDto
;
import
pwc.taxtech.atms.dto.taxadmin.AddProjectResult
;
import
pwc.taxtech.atms.service.ProjectService
;
import
pwc.taxtech.atms.service.impl.ProjectServiceImpl
;
import
java.util.List
;
...
...
atms-api/src/main/java/pwc/taxtech/atms/controller/ServiceTypeController.java
View file @
dad61b11
...
...
@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
import
org.springframework.web.bind.annotation.RestController
;
import
pwc.taxtech.atms.dto.ServiceTypeDto
;
import
pwc.taxtech.atms.entity.ServiceType
;
import
pwc.taxtech.atms.service.
ProjectService
;
import
pwc.taxtech.atms.service.
impl.ProjectServiceImpl
;
import
pwc.taxtech.atms.service.impl.ServiceTypeServiceImpl
;
import
java.util.List
;
...
...
@@ -19,7 +19,7 @@ import java.util.List;
public
class
ServiceTypeController
{
@Autowired
private
ProjectService
projectService
;
private
ProjectService
Impl
projectService
;
@Autowired
private
ServiceTypeServiceImpl
serviceTypeService
;
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/ProjectService.java
deleted
100644 → 0
View file @
e868e805
package
pwc
.
taxtech
.
atms
.
service
;
import
java.util.List
;
import
java.util.Map
;
import
pwc.taxtech.atms.dpo.ProjectDisplayDto
;
import
pwc.taxtech.atms.dto.ProjectClientDto
;
import
pwc.taxtech.atms.dto.ServiceTypeDto
;
import
pwc.taxtech.atms.dto.taxadmin.AddProjectResult
;
public
interface
ProjectService
{
/**
* Find Top level areas (parentId == null)
*
* @return List<Area>
*/
List
<
ServiceTypeDto
>
getServiceList
();
// List<ProjectDisplayDto> getProjectList(String orgId, String serviceId,
// Integer projectYear);
// List<ProjectDisplayDto> getOneProjectByDbNameServiceIdAndPeriodId(String
// dbName, String serviceId, Integer periodId);
// List<ProjectDisplayDto> getAllProjectList(String orgId, String serviceId,
// Integer projectYear);
// List<ProjectDisplayDto> getProjectById(String projectId);
// List<ProjectDisplayDto> getProjectListExceptSelected(String userId);
//
// ProjectDisplayDto getSingleProjectById(String projectId);
//
// AddProjectResult addProject(ProjectDisplayDto projectDto, String userName);
//
// OperationResultDto<Object> updateProject(ProjectDisplayDto projectDto, String
// userName);
List
<
ProjectClientDto
>
getProjectClientList
();
List
<
ProjectDisplayDto
>
getProjectById
(
String
projectId
);
List
<
ProjectDisplayDto
>
getAllProjectList
(
String
orgId
,
String
s
,
Integer
projectYear
);
AddProjectResult
addProject
(
ProjectDisplayDto
projectDto
,
String
userName
);
Map
<
Integer
,
Integer
>
getProjectAllStatus
(
String
dbName
);
// Map<Integer, Integer> getProjectAllStatus(String dbName);
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/ProjectServiceImpl.java
View file @
dad61b11
...
...
@@ -24,7 +24,6 @@ import pwc.taxtech.atms.dto.taxadmin.AddProjectResult;
import
pwc.taxtech.atms.dto.taxadmin.ProjectYearParam
;
import
pwc.taxtech.atms.entity.*
;
import
pwc.taxtech.atms.entity.ProjectClientExample.Criteria
;
import
pwc.taxtech.atms.service.ProjectService
;
import
java.util.ArrayList
;
import
java.util.Calendar
;
...
...
@@ -36,7 +35,7 @@ import java.util.UUID;
import
java.util.stream.Collectors
;
@Service
public
class
ProjectServiceImpl
implements
ProjectService
{
public
class
ProjectServiceImpl
{
/**
*/
private
static
final
int
FIRST_OR_DEFAULT
=
0
;
...
...
@@ -67,7 +66,6 @@ public class ProjectServiceImpl implements ProjectService {
private
final
OperateLogType
LOG_TYPE
=
OperateLogType
.
OperationLogProject
;
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
ProjectServiceImpl
.
class
);
@Override
public
List
<
ServiceTypeDto
>
getServiceList
()
{
ServiceTypeExample
serviceTypeExample
=
new
ServiceTypeExample
();
...
...
@@ -94,7 +92,6 @@ public class ProjectServiceImpl implements ProjectService {
return
serviceTypeDtoList
;
}
@Override
public
List
<
ProjectClientDto
>
getProjectClientList
()
{
logger
.
debug
(
"获取ProjectClient Start"
);
ProjectClientExample
example
=
new
ProjectClientExample
();
...
...
@@ -108,14 +105,12 @@ public class ProjectServiceImpl implements ProjectService {
/**
* @TODO: this dmeo only for running,should change to query data from db (neo)
*/
@Override
public
List
<
ProjectDisplayDto
>
getProjectById
(
String
projectId
)
{
List
<
ProjectDisplayDto
>
displayDtos
=
new
ArrayList
<>();
displayDtos
.
add
(
new
ProjectDisplayDto
().
demo
());
return
displayDtos
;
}
@Override
public
List
<
ProjectDisplayDto
>
getAllProjectList
(
String
orgId
,
String
serviceId
,
Integer
projectYear
)
{
List
<
ProjectDisplayDto
>
pList
=
new
ArrayList
<>();
List
<
ProjectDisplayDto
>
data
=
projectMapper
.
getProjectList
(
orgId
,
serviceId
,
projectYear
);
...
...
@@ -171,7 +166,6 @@ public class ProjectServiceImpl implements ProjectService {
return
pList
;
}
@Override
public
AddProjectResult
addProject
(
ProjectDisplayDto
projectDto
,
String
userName
)
{
projectDto
.
setActive
(
true
);
projectDto
.
setRuleType
(
1
);
...
...
@@ -223,7 +217,6 @@ public class ProjectServiceImpl implements ProjectService {
}
@Override
public
Map
<
Integer
,
Integer
>
getProjectAllStatus
(
String
projectId
)
{
List
<
ProjectStatusManage
>
psmList
=
projectMapper
.
selectProjectAllStatus
(
projectId
);
Map
<
Integer
,
Integer
>
result
=
new
HashMap
<>(
psmList
.
size
());
...
...
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