admin
2020-03-20 f0d06601a6be8c09ef5e8e7e76666cb1e8ef72a5
fanli/src/main/java/com/yeshi/fanli/service/impl/redpack/RedPackForbidServiceImpl.java
@@ -143,8 +143,16 @@
   @Override
   public void delete(List<Long> idsList) {
      if (idsList != null)
         for (Long id : idsList)
         for (Long id : idsList) {
            redPackForbidMapper.deleteByPrimaryKey(id);
            //消息
            MsgRedPackExchangeContentDTO dto = new MsgRedPackExchangeContentDTO();
            dto.setReason("封禁时间到期,自动解封");
            dto.setTime("已可以重新使用红包功能");
            dto.setHandle("已被清空");
            userMoneyMsgNotificationService.redPackMsg(id, MsgTypeMoneyTypeEnum.redPackForbidRemove,
                  new Gson().toJson(dto), null);
         }
   }