Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zhny
Project
Project
Details
Activity
Releases
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
王夏晖
zhny
Commits
73cc32a7
Commit
73cc32a7
authored
Apr 19, 2018
by
WangXinYu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
团队评估修改
parent
805d57b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
13 deletions
+9
-13
TeamAssessmentController.java
...ss/evaluate/team/controller/TeamAssessmentController.java
+9
-13
No files found.
src/main/java/org/rcisoft/business/evaluate/team/controller/TeamAssessmentController.java
View file @
73cc32a7
...
...
@@ -6,18 +6,14 @@ import io.swagger.annotations.ApiImplicitParam;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
import
org.rcisoft.business.evaluate.team.service.TeamAssessmentService
;
import
org.springframework.validation.BindingResult
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.rcisoft.core.result.Result
;
import
org.rcisoft.core.model.PersistModel
;
import
org.rcisoft.core.constant.MessageConstant
;
import
org.rcisoft.core.controller.PaginationController
;
import
org.rcisoft.core.util.UserUtil
;
import
org.rcisoft.core.model.GridModel
;
import
javax.validation.Valid
;
import
org.rcisoft.core.model.PersistModel
;
import
org.rcisoft.core.result.Result
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
...
...
@@ -34,14 +30,14 @@ public class TeamAssessmentController {
@ApiOperation
(
value
=
"团队评估列表信息"
,
notes
=
"团队评估列表信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"teamId"
,
value
=
"团队主键"
,
required
=
true
,
dataType
=
"字符串"
)})
@
Reques
tMapping
(
"/getTeamAssessmentInfo"
)
@
Ge
tMapping
(
"/getTeamAssessmentInfo"
)
public
Result
TeamAssessmentInfo
()
{
return
Result
.
builder
(
new
PersistModel
(
1
),
MessageConstant
.
MESSAGE_ALERT_SUCCESS
,
MessageConstant
.
MESSAGE_ALERT_ERROR
,
teamAssessmentService
.
getTeamAssessmentInfo
());
}
@ApiOperation
(
value
=
"团队评估右侧信息"
,
notes
=
"团队评估右侧信息"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
name
=
"priId"
,
value
=
"负责人主键"
,
required
=
true
,
dataType
=
"字符串"
)})
@
Reques
tMapping
(
"/getTeamAssessmentRightInfo"
)
@
Ge
tMapping
(
"/getTeamAssessmentRightInfo"
)
public
Result
TeamAssessmentRightInfo
(
@RequestParam
String
priId
)
{
return
Result
.
builder
(
new
PersistModel
(
1
),
MessageConstant
.
MESSAGE_ALERT_SUCCESS
,
MessageConstant
.
MESSAGE_ALERT_ERROR
,
teamAssessmentService
.
getTeamAssessmentRightInfo
(
priId
));
}
...
...
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