From bf82ef10ab22922d93b342512a89e11b57352587 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期四, 18 六月 2020 18:09:14 +0800 Subject: [PATCH] 修改发圈 --- fanli/src/main/java/com/yeshi/fanli/service/impl/order/msg/MsgOrderDetailServiceImpl.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/msg/MsgOrderDetailServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/msg/MsgOrderDetailServiceImpl.java index 20f4348..6b734b7 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/msg/MsgOrderDetailServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/msg/MsgOrderDetailServiceImpl.java @@ -139,5 +139,15 @@ return msgOrderDetailMapper.listByOrderId(orderId); } - + @Override + public MsgOrderDetail selectByPrimaryKey(Long id) { + return msgOrderDetailMapper.selectByPrimaryKey(id); + } + + @Override + public void deleteByPrimaryKey(Long id) { + msgOrderDetailMapper.deleteByPrimaryKey(id); + msgExtraService.deleteByPidAndType(id, MsgExtra.MSG_TYPE_ORDER); + } + } -- Gitblit v1.8.0