|
|
@@ -81,7 +81,7 @@ public class FactoryController{
|
|
|
*/
|
|
|
@ApiOperation(value = "停用", notes = "停用")
|
|
|
@PostMapping("disable/{id}")
|
|
|
- public ResponseResultVO<Boolean> disable(@PathVariable Long id) {
|
|
|
+ public ResponseResultVO<Boolean> disable(@PathVariable String id) {
|
|
|
return this.getService().disable(id);
|
|
|
}
|
|
|
|
|
|
@@ -92,7 +92,5 @@ public class FactoryController{
|
|
|
*/
|
|
|
@ApiOperation(value = "启用", notes = "启用")
|
|
|
@PostMapping("enable/{id}")
|
|
|
- public ResponseResultVO<Boolean> enable(@PathVariable Long id) {
|
|
|
- return this.getService().enable(id);
|
|
|
- }
|
|
|
+ public ResponseResultVO<Boolean> enable(@PathVariable String id) {return this.getService().enable(id); }
|
|
|
}
|