...
This commit is contained in:
parent
77faae8e73
commit
aff4b37d5c
|
@ -22,12 +22,6 @@ public class TDemandDataServiceImpl extends CrudServiceImpl<TDemandDataDao, TDem
|
||||||
@Override
|
@Override
|
||||||
public QueryWrapper<TDemandDataEntity> getWrapper(Map<String, Object> params) {
|
public QueryWrapper<TDemandDataEntity> getWrapper(Map<String, Object> params) {
|
||||||
QueryWrapper<TDemandDataEntity> wrapper = new QueryWrapper<>();
|
QueryWrapper<TDemandDataEntity> wrapper = new QueryWrapper<>();
|
||||||
// if (params.containsKey("flag")) {
|
|
||||||
// wrapper.eq("flag", params.get("flag"));
|
|
||||||
// }
|
|
||||||
// if (params.containsKey("creator")) {
|
|
||||||
// wrapper.eq("creator", params.get("creator"));
|
|
||||||
// }
|
|
||||||
|
|
||||||
params.keySet().stream().filter(index -> null != params.get(index)).forEach(index -> {
|
params.keySet().stream().filter(index -> null != params.get(index)).forEach(index -> {
|
||||||
switch (index) {
|
switch (index) {
|
||||||
|
|
Loading…
Reference in New Issue