From 158b3be9024917bc5798486777dead4dd167abc7 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 03 七月 2024 18:26:43 +0800 Subject: [PATCH] bug修改 --- src/main/java/com/taoke/autopay/service/impl/ClientInfoServiceImpl.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/taoke/autopay/service/impl/ClientInfoServiceImpl.java b/src/main/java/com/taoke/autopay/service/impl/ClientInfoServiceImpl.java index c4ccd67..270ac9f 100644 --- a/src/main/java/com/taoke/autopay/service/impl/ClientInfoServiceImpl.java +++ b/src/main/java/com/taoke/autopay/service/impl/ClientInfoServiceImpl.java @@ -39,15 +39,25 @@ } @Override + public void logout(Long uid) { + clientInfoMapper.clearActiveTime(uid); + } + + @Override public ClientInfo selectByPrimaryKey(Long id) { return clientInfoMapper.selectByPrimaryKey(id); } @Override public void setActiveTime(Long id, Date date) { - ClientInfo info=new ClientInfo(); + ClientInfo info = new ClientInfo(); info.setId(id); info.setActiveTime(date); clientInfoMapper.updateByPrimaryKeySelective(info); } + + @Override + public List<ClientInfo> listByIds(List<Long> ids) { + return clientInfoMapper.listByIds(ids); + } } -- Gitblit v1.8.0