From 1e1ae4f19489644c9ff35125d075a30f89536d16 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期四, 21 五月 2020 17:35:36 +0800 Subject: [PATCH] 后台编辑 --- fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java index 1aafd56..c2f91b0 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/msg/MsgOtherDetailServiceImpl.java @@ -76,4 +76,14 @@ msgOtherDetailMapper.setMsgReadByUid(uid); } + @Override + public MsgOtherDetail selectByPrimaryKey(Long id) { + return msgOtherDetailMapper.selectByPrimaryKey(id); + } + + @Override + public void deleteByPrimaryKey(Long id) { + msgOtherDetailMapper.deleteByPrimaryKey(id); + msgExtraService.deleteByPidAndType(id, MsgExtra.MSG_TYPE_OTHER); + } } -- Gitblit v1.8.0