忽略实体
This commit is contained in:
@@ -104,7 +104,7 @@ public class TaskCenterController {
|
|||||||
@ApiImplicitParam(name = "sourceId", value = "实物(物品Id)", dataTypeClass = Long.class, paramType = "body")
|
@ApiImplicitParam(name = "sourceId", value = "实物(物品Id)", dataTypeClass = Long.class, paramType = "body")
|
||||||
})
|
})
|
||||||
@Debounce(interval = 1000, value = "#userId")
|
@Debounce(interval = 1000, value = "#userId")
|
||||||
public Result receiveGoods(@ApiIgnore @RequestAttribute("userId") Long userId, TaskCenterRecord record) {
|
public Result receiveGoods(@ApiIgnore @RequestAttribute("userId") Long userId,@ApiIgnore TaskCenterRecord record) {
|
||||||
TaskCenter task = taskCenterService.getById(record.getTaskId());
|
TaskCenter task = taskCenterService.getById(record.getTaskId());
|
||||||
if (Objects.isNull(task)) {
|
if (Objects.isNull(task)) {
|
||||||
return Result.error("任务不存在。");
|
return Result.error("任务不存在。");
|
||||||
|
|||||||
Reference in New Issue
Block a user