mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
🐛 Fixing a bug. 修复【字段管理】页面的【字典类型】过滤条件不生效
This commit is contained in:
parent
87ef461bc7
commit
1472ee11af
@ -75,8 +75,10 @@ public class DictController {
|
|||||||
*/
|
*/
|
||||||
@GetMapping("/page")
|
@GetMapping("/page")
|
||||||
public R<IPage<SysDict>> getDictPage(Page page, SysDict sysDict) {
|
public R<IPage<SysDict>> getDictPage(Page page, SysDict sysDict) {
|
||||||
return R.ok(sysDictService.page(page, Wrappers.<SysDict>lambdaQuery()
|
return R.ok(sysDictService.page(page,
|
||||||
.like(StrUtil.isNotBlank(sysDict.getDictKey()), SysDict::getDictKey, sysDict.getDictKey())));
|
Wrappers.<SysDict>lambdaQuery()
|
||||||
|
.like(StrUtil.isNotBlank(sysDict.getDictKey()), SysDict::getDictKey, sysDict.getDictKey())
|
||||||
|
.eq(StrUtil.isNotBlank(sysDict.getSystemFlag()), SysDict::getSystemFlag, sysDict.getSystemFlag())));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user