Compare commits
2 Commits
0ff8cbe7b1
...
48747dc68d
Author | SHA1 | Date |
---|---|---|
wangliwen | 48747dc68d | |
wangliwen | 9673b2d52a |
|
@ -100,6 +100,19 @@ public class TbFuseServiceImpl extends CrudServiceImpl<TbFuseDao, TbFuseEntity,
|
||||||
case "updateDate":
|
case "updateDate":
|
||||||
wrapper.eq(StringUtils.isNotBlank(params.get("updateDate").toString()), "update_date", params.get("updateDate").toString());
|
wrapper.eq(StringUtils.isNotBlank(params.get("updateDate").toString()), "update_date", params.get("updateDate").toString());
|
||||||
break;
|
break;
|
||||||
|
case "district": // 0 市级 1基层
|
||||||
|
wrapper.eq(params.get("district") != null, "district", params.get("district"));
|
||||||
|
break;
|
||||||
|
case "areas": { // 区域
|
||||||
|
List<String> areas = (List<String>) params.get("areas");
|
||||||
|
wrapper.in(areas.isEmpty(), "area", areas);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "senses": {
|
||||||
|
List<String> senses = (List<String>) params.get("senses");
|
||||||
|
wrapper.in(senses.isEmpty(), "application_area", senses);
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue