Commit 73cc32a7 authored by WangXinYu's avatar WangXinYu

团队评估修改

parent 805d57b7
......@@ -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 = "字符串")})
@RequestMapping("/getTeamAssessmentInfo")
@GetMapping("/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 = "字符串")})
@RequestMapping("/getTeamAssessmentRightInfo")
@GetMapping("/getTeamAssessmentRightInfo")
public Result TeamAssessmentRightInfo(@RequestParam String priId) {
return Result.builder(new PersistModel(1), MessageConstant.MESSAGE_ALERT_SUCCESS, MessageConstant.MESSAGE_ALERT_ERROR, teamAssessmentService.getTeamAssessmentRightInfo(priId));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment