|
@@ -44,8 +44,8 @@ public class MixDefectController {
|
|
@GetMapping("/generate/{taskCode}")
|
|
@GetMapping("/generate/{taskCode}")
|
|
@LoginRequired
|
|
@LoginRequired
|
|
public ResponseVO generate(HttpServletRequest request, @PathVariable("taskCode") String taskCode) {
|
|
public ResponseVO generate(HttpServletRequest request, @PathVariable("taskCode") String taskCode) {
|
|
-// boolean res = mixDefectService.post(RequestUtils.getUserId(request), taskCode);
|
|
|
|
- boolean res = mixDefectService.post(taskCode);
|
|
|
|
|
|
+ boolean res = mixDefectService.post(RequestUtils.getUserId(request), taskCode);
|
|
|
|
+// boolean res = mixDefectService.post(taskCode);
|
|
return new ResponseVO(res ? ServerCode.SUCCESS : ServerCode.ERROR);
|
|
return new ResponseVO(res ? ServerCode.SUCCESS : ServerCode.ERROR);
|
|
}
|
|
}
|
|
|
|
|