Compare commits

...

3 Commits

Author SHA1 Message Date
wangliwen e4553ad1ca Merge branch 'master' into docker_package 2023-01-04 13:56:52 +08:00
wangliwen 48747dc68d Merge branch 'dev' 2023-01-04 13:56:44 +08:00
wangliwen 9673b2d52a 赋能场景分页增加过滤接口 2023-01-04 13:55:58 +08:00
1 changed files with 13 additions and 0 deletions

View File

@ -100,6 +100,19 @@ public class TbFuseServiceImpl extends CrudServiceImpl<TbFuseDao, TbFuseEntity,
case "updateDate":
wrapper.eq(StringUtils.isNotBlank(params.get("updateDate").toString()), "update_date", params.get("updateDate").toString());
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:
break;
}