feat:销售完成

This commit is contained in:
苏竹红
2025-06-26 14:47:08 +08:00
parent 1e8129aabc
commit eeb9bdc3ad
6 changed files with 52 additions and 13 deletions

View File

@@ -44,7 +44,12 @@ public class PreFryRecordsController {
log.info("预炸记录详情:{}", JSONObject.toJSONString(id));
return ResponseResult.success(preFryRecordsService.getById(id));
}
@ApiOperation("销售完成")
@GetMapping("/salesCompleted")
public ResponseResult<Boolean> salesCompleted(@RequestParam(required = true, value = "id") Long id) {
log.info("预炸记录详情:{}", JSONObject.toJSONString(id));
return ResponseResult.success(preFryRecordsService.salesCompleted(id));
}
@ApiOperation("预炸批量新增")
@PostMapping("/batchAdd")