fix: 修复SysTenantController编译错误 - LambdaQueryWrapper导入+字段名修正

This commit is contained in:
2026-06-20 14:16:28 +08:00
parent 6843418a88
commit f5ae4f3c64

View File

@@ -1,5 +1,6 @@
package com.core.web.controller.system;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.core.common.annotation.Anonymous;
import com.core.common.core.controller.BaseController;
@@ -205,8 +206,8 @@ public class SysTenantController extends BaseController {
public R<List<SysTenant>> getAllActiveTenants() {
LambdaQueryWrapper<SysTenant> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(SysTenant::getStatus, "0");
wrapper.eq(SysTenant::getDelFlag, "0");
wrapper.orderByAsc(SysTenant::getTenantId);
wrapper.eq(SysTenant::getDeleteFlag, "0");
wrapper.orderByAsc(SysTenant::getId);
return R.ok(sysTenantService.list(wrapper));
}
}