...
This commit is contained in:
parent
497a9b6d43
commit
4a94caddd3
|
@ -77,7 +77,10 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
|||
// .orderByDesc("create_date")
|
||||
// .eq(StringUtils.isNotBlank(params.get("creator").toString()),"creator", params.get("creator").toString())
|
||||
// .eq("del_flag", 0);
|
||||
wrapper.orderByDesc("create_date").eq("del_flag", params.get("del_flag") == null ? 0 : Integer.valueOf(params.get("del_flag").toString()));
|
||||
wrapper.orderByDesc("create_date");
|
||||
if (!params.containsKey("creator")) {
|
||||
wrapper.eq("del_flag", params.get("del_flag") == null ? 0 : Integer.valueOf(params.get("del_flag").toString()))
|
||||
}
|
||||
return wrapper;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue