|
|
@ -112,6 +112,6 @@ public class ${ClassName}Controller extends BaseController {
|
|
|
|
@DeleteMapping("/{${pkColumn.javaField}s}")
|
|
|
|
@DeleteMapping("/{${pkColumn.javaField}s}")
|
|
|
|
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
|
|
|
public R<Void> remove(@NotEmpty(message = "主键不能为空")
|
|
|
|
@PathVariable ${pkColumn.javaType}[] ${pkColumn.javaField}s) {
|
|
|
|
@PathVariable ${pkColumn.javaType}[] ${pkColumn.javaField}s) {
|
|
|
|
return toAjax(i${ClassName}Service.deleteWithValidByIds(Arrays.asList(${pkColumn.javaField}s), true));
|
|
|
|
return toAjax(i${ClassName}Service.deleteWithValidByIds(List.of(${pkColumn.javaField}s), true));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|