From 6927d3bed414fb1a44312668d4e9d91d62e91b3f Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 09 七月 2024 00:43:50 +0800 Subject: [PATCH] 口令付款不依赖与订单 --- 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