diff --git a/renren-admin/src/main/java/io/renren/modules/date_snapshot/service/SysDateSnapshotService.java b/renren-admin/src/main/java/io/renren/modules/date_snapshot/service/SysDateSnapshotService.java index 8d926474..573efba7 100644 --- a/renren-admin/src/main/java/io/renren/modules/date_snapshot/service/SysDateSnapshotService.java +++ b/renren-admin/src/main/java/io/renren/modules/date_snapshot/service/SysDateSnapshotService.java @@ -29,4 +29,6 @@ public interface SysDateSnapshotService extends CrudService areas = (List) params.get("areas"); + logger.info("areas传参:{}", params.get("area").toString()); + List areas = JSONArray.parseArray(params.get("area").toString()).toJavaList(String.class); wrapper.in(!areas.isEmpty(), "area", areas); } break; case "senses": { - List senses = (List) params.get("senses"); + List senses = JSONArray.parseArray(params.get("senses").toString()).toJavaList(String.class); wrapper.in(!senses.isEmpty(), "application_area", senses); } break; diff --git a/renren-admin/src/main/resources/mapper/date_snapshot/SysDateSnapshotDao.xml b/renren-admin/src/main/resources/mapper/date_snapshot/SysDateSnapshotDao.xml index 315a9e6b..0ec4dd7a 100644 --- a/renren-admin/src/main/resources/mapper/date_snapshot/SysDateSnapshotDao.xml +++ b/renren-admin/src/main/resources/mapper/date_snapshot/SysDateSnapshotDao.xml @@ -12,4 +12,13 @@ typeHandler="com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler"/> + + + + + + + + \ No newline at end of file