|
@@ -77,8 +77,14 @@ public class VisitController extends BaseController {
|
|
|
@ApiOperation(value = "修改问题状态")
|
|
|
@PostMapping(value = "/updateProbStatus")
|
|
|
@PreAuthorize("@pcs.hasPermissions('visit/updateProbStatus')")
|
|
|
- public HttpResponseResult<String> updateProbStatus(@RequestParam("id")Integer id, @RequestParam("probStatus")Integer probStatus) {
|
|
|
- return succeed(studentVisitService.updateProbStatus(id,probStatus));
|
|
|
+ public HttpResponseResult<String> updateProbStatus(@RequestParam("id")Integer id,@RequestParam("probStatus")Integer probStatus) {
|
|
|
+ String s = studentVisitService.updateProbStatus(id, probStatus);
|
|
|
+ if(s.equals("成功")){
|
|
|
+ return succeed(studentVisitService.updateProbStatus(id,probStatus));
|
|
|
+ }else{
|
|
|
+ return failed(studentVisitService.updateProbStatus(id,probStatus));
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "获取乐团列表")
|