This commit is contained in:
parent
125a8be83e
commit
efd38c1c4d
|
@ -9,6 +9,7 @@ import org.dromara.system.domain.SysCatalogResource;
|
||||||
|
|
||||||
import java.io.Serial;
|
import java.io.Serial;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -66,5 +67,7 @@ public class SysCatalogResourceVo implements Serializable {
|
||||||
*/
|
*/
|
||||||
private Long resourceNum;
|
private Long resourceNum;
|
||||||
|
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,10 +98,6 @@ public class SysCatalogResourceServiceImpl implements ISysCatalogResourceService
|
||||||
Map<String, Object> params = bo.getParams();
|
Map<String, Object> params = bo.getParams();
|
||||||
LambdaQueryWrapper<SysCatalogResource> lqw = Wrappers.lambdaQuery();
|
LambdaQueryWrapper<SysCatalogResource> lqw = Wrappers.lambdaQuery();
|
||||||
lqw.eq(bo.getParentId() != null, SysCatalogResource::getParentId, bo.getParentId());
|
lqw.eq(bo.getParentId() != null, SysCatalogResource::getParentId, bo.getParentId());
|
||||||
lqw.eq(StringUtils.isNotBlank(bo.getAncestors()), SysCatalogResource::getAncestors, bo.getAncestors());
|
|
||||||
lqw.like(StringUtils.isNotBlank(bo.getCatalogName()), SysCatalogResource::getCatalogName, bo.getCatalogName());
|
|
||||||
lqw.eq(bo.getOrderNum() != null, SysCatalogResource::getOrderNum, bo.getOrderNum());
|
|
||||||
lqw.eq(bo.getCover() != null, SysCatalogResource::getCover, bo.getCover());
|
|
||||||
lqw.eq(bo.getType() != null, SysCatalogResource::getType, bo.getType());
|
lqw.eq(bo.getType() != null, SysCatalogResource::getType, bo.getType());
|
||||||
return lqw;
|
return lqw;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue