From 59a94ed12e65e596c84a9d8ed06bcf7732a3f44f Mon Sep 17 00:00:00 2001 From: wangliwen Date: Wed, 4 Jan 2023 14:45:55 +0800 Subject: [PATCH] ... --- .../date_snapshot/service/SysDateSnapshotService.java | 2 ++ .../service/impl/SysDateSnapshotServiceImpl.java | 5 +++++ .../modules/fuse/service/impl/TbFuseServiceImpl.java | 6 ++++-- .../mapper/date_snapshot/SysDateSnapshotDao.xml | 9 +++++++++ 4 files changed, 20 insertions(+), 2 deletions(-) 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