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
26c6c131
Commit
26c6c131
authored
Nov 02, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix] fixed isProjectStatsuExist paramerter error
parent
0da6a1e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ProjectStatusManageController.java
...axtech/atms/controller/ProjectStatusManageController.java
+2
-1
ProjectStatusManageServiceImpl.java
...ech/atms/service/impl/ProjectStatusManageServiceImpl.java
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/ProjectStatusManageController.java
View file @
26c6c131
...
@@ -40,7 +40,8 @@ public class ProjectStatusManageController {
...
@@ -40,7 +40,8 @@ public class ProjectStatusManageController {
return
projectStatusManageService
.
getProjectStatus
(
projectId
,
periodId
);
return
projectStatusManageService
.
getProjectStatus
(
projectId
,
periodId
);
}
}
@RequestMapping
(
"isProjectStatusExisted/{projectId}/{periodId}"
)
@RequestMapping
(
value
=
{
"isProjectStatusExisted/{projectId}/{periodId}"
},
method
=
RequestMethod
.
GET
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
@ResponseBody
@ResponseBody
public
OperationResultDto
<
ProjectStatusManage
>
isProjectStatusExisted
(
@PathVariable
String
projectId
,
public
OperationResultDto
<
ProjectStatusManage
>
isProjectStatusExisted
(
@PathVariable
String
projectId
,
@PathVariable
int
periodId
)
{
@PathVariable
int
periodId
)
{
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/ProjectStatusManageServiceImpl.java
View file @
26c6c131
...
@@ -128,7 +128,7 @@ public class ProjectStatusManageServiceImpl {
...
@@ -128,7 +128,7 @@ public class ProjectStatusManageServiceImpl {
public
OperationResultDto
<
ProjectStatusManage
>
isProjectStatusExisted
(
String
projectId
,
int
periodId
)
{
public
OperationResultDto
<
ProjectStatusManage
>
isProjectStatusExisted
(
String
projectId
,
int
periodId
)
{
ProjectStatusManageExample
example
=
new
ProjectStatusManageExample
();
ProjectStatusManageExample
example
=
new
ProjectStatusManageExample
();
example
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodIdEqualTo
(
Integer
.
parseInt
(
projectId
)
);
example
.
createCriteria
().
andProjectIdEqualTo
(
projectId
).
andPeriodIdEqualTo
(
periodId
);
List
<
ProjectStatusManage
>
manage
=
projectStatusManageMapper
.
selectByExample
(
example
);
List
<
ProjectStatusManage
>
manage
=
projectStatusManageMapper
.
selectByExample
(
example
);
OperationResultDto
<
ProjectStatusManage
>
dto
=
new
OperationResultDto
();
OperationResultDto
<
ProjectStatusManage
>
dto
=
new
OperationResultDto
();
dto
.
setResult
(
true
);
dto
.
setResult
(
true
);
...
...
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