From b6fdf185c7e8fb1f06da0e609e39aecaef6b66f5 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期日, 30 六月 2024 01:42:31 +0800 Subject: [PATCH] 微信强授权/后台管理 --- src/main/java/com/taoke/autopay/service/impl/WxUserSettingServiceImpl.java | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/taoke/autopay/service/impl/WxUserSettingServiceImpl.java b/src/main/java/com/taoke/autopay/service/impl/WxUserSettingServiceImpl.java index ef4e657..c95d142 100644 --- a/src/main/java/com/taoke/autopay/service/impl/WxUserSettingServiceImpl.java +++ b/src/main/java/com/taoke/autopay/service/impl/WxUserSettingServiceImpl.java @@ -9,7 +9,9 @@ import org.springframework.stereotype.Service; import javax.annotation.Resource; +import java.util.ArrayList; import java.util.Date; +import java.util.List; /** * @author hxh @@ -22,8 +24,6 @@ @Resource private WxUserSettingsMapper wxUserSettingsMapper; - - @Override @@ -49,4 +49,12 @@ } wxUserSettingsMapper.updateByPrimaryKeySelective(settings); } + + @Override + public List<WxUserSettings> listByUids(List<Long> uidList) { + if (uidList == null || uidList.size() == 0) { + return new ArrayList<>(); + } + return wxUserSettingsMapper.listByUids(uidList); + } } -- Gitblit v1.8.0