🐛 Fixing a bug. 修复【字段管理】页面的【字典类型】过滤条件不生效

This commit is contained in:
lbw 2023-06-27 10:39:29 +08:00
parent 87ef461bc7
commit 1472ee11af

View File

@ -75,8 +75,10 @@ public class DictController {
*/
@GetMapping("/page")
public R<IPage<SysDict>> getDictPage(Page page, SysDict sysDict) {
return R.ok(sysDictService.page(page, Wrappers.<SysDict>lambdaQuery()
.like(StrUtil.isNotBlank(sysDict.getDictKey()), SysDict::getDictKey, sysDict.getDictKey())));
return R.ok(sysDictService.page(page,
Wrappers.<SysDict>lambdaQuery()
.like(StrUtil.isNotBlank(sysDict.getDictKey()), SysDict::getDictKey, sysDict.getDictKey())
.eq(StrUtil.isNotBlank(sysDict.getSystemFlag()), SysDict::getSystemFlag, sysDict.getSystemFlag())));
}
/**