|
@@ -2,7 +2,6 @@ package org.dromara.controller.houseInfo;
|
|
|
|
|
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
|
|
import jakarta.servlet.http.HttpServletResponse;
|
|
|
-import jakarta.validation.constraints.NotEmpty;
|
|
|
import jakarta.validation.constraints.NotNull;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.dromara.common.core.domain.R;
|
|
@@ -99,8 +98,7 @@ public class PropertySettingsController extends BaseController {
|
|
|
@SaCheckPermission("wuYe:feeSettings:remove")
|
|
|
@Log(title = "物业费设置", businessType = BusinessType.DELETE)
|
|
|
@GetMapping("/delete/{settingsId}")
|
|
|
- public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
|
|
- @PathVariable Long settingsId) {
|
|
|
+ public R<Void> remove(@PathVariable Long settingsId) {
|
|
|
return toAjax(propertySettingsService.deleteWithValidByIds(settingsId, true));
|
|
|
}
|
|
|
}
|