mark for pull
This commit is contained in:
@@ -64,6 +64,14 @@ public class FactoryController {
|
||||
return new Result<FactoryDTO>().ok(data);
|
||||
}
|
||||
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation("改变状态")
|
||||
@LogOperation("改变状态")
|
||||
public Result changeStatus(@PathVariable("id") Long id){
|
||||
factoryService.changeStatus(id);
|
||||
return new Result();
|
||||
}
|
||||
|
||||
@PostMapping
|
||||
@ApiOperation("保存")
|
||||
@LogOperation("保存")
|
||||
@@ -113,13 +121,6 @@ public class FactoryController {
|
||||
ExcelUtils.exportExcelToTarget(response, null, list, FactoryExcel.class);
|
||||
}
|
||||
|
||||
@GetMapping("{id}")
|
||||
@ApiOperation("改变状态")
|
||||
@LogOperation("改变状态")
|
||||
public Result changeStatus(@PathVariable("id") Long id){
|
||||
factoryService.changeStatus(id);
|
||||
|
||||
return new Result();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user