This commit is contained in:
parent
676a4e8693
commit
55f882ecb5
|
@ -119,7 +119,7 @@ public class ScalePublishController extends BaseController {
|
|||
* @param batchNo 主键
|
||||
*/
|
||||
@SaCheckPermission("scale:publish:delete")
|
||||
@GetMapping("/{batchNo}")
|
||||
@DeleteMapping("/{batchNo}")
|
||||
public R<Void> delete(@NotNull(message = "主键不能为空") @PathVariable Long batchNo) {
|
||||
return toAjax(sysScalePublishService.deleteById(batchNo));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue