|
@@ -44,8 +44,8 @@ public class MixDefectController {
|
|
|
@GetMapping("/generate/{taskCode}")
|
|
|
@LoginRequired
|
|
|
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);
|
|
|
}
|
|
|
|