From 4637d6f780c76f1c5a0f95922c658efe8174be8f Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 13 四月 2020 18:34:09 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/div' into div --- fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgOtherDetailFactory.java | 50 -------------------------------------------------- 1 files changed, 0 insertions(+), 50 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgOtherDetailFactory.java b/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgOtherDetailFactory.java index 45a9682..91db74c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgOtherDetailFactory.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/MsgOtherDetailFactory.java @@ -5,7 +5,6 @@ import java.util.List; import com.google.gson.Gson; -import com.yeshi.fanli.dto.msg.MsgOtherCouponContentDTO; import com.yeshi.fanli.entity.bus.msg.MsgOtherDetail; import com.yeshi.fanli.entity.bus.msg.MsgOtherDetail.MsgTypeOtherTypeEnum; import com.yeshi.fanli.entity.bus.user.UserInfo; @@ -15,55 +14,6 @@ import com.yeshi.fanli.vo.msg.CommonMsgItemVOFactory; public class MsgOtherDetailFactory { - - /** - * 鍒哥浉鍏充俊鎭殑閫氱煡 - * - * @param uid - * @param content - * @param type - * @param beiZhu - * @return - */ - public static MsgOtherDetail createCouponMsg(Long uid, Long userCouponId, MsgOtherCouponContentDTO content, - MsgTypeOtherTypeEnum type, String beiZhu) { - if (uid == null) - return null; - MsgOtherDetail detail = new MsgOtherDetail(); - detail.setBeiZhu(beiZhu); - detail.setCreateTime(new Date()); - detail.setRead(false); - detail.setUser(new UserInfo(uid)); - detail.setCoupnContent(content); - detail.setType(type); - detail.setSourceId(userCouponId); - return detail; - } - - /** - * 鍒哥浉鍏充俊鎭殑閫氱煡 - * - * @param uid - * @param content - * @param type - * @param beiZhu - * @return - */ - public static MsgOtherDetail createTaoLiJinMsg(Long uid, Long userCouponId, MsgOtherCouponContentDTO content, - MsgTypeOtherTypeEnum type, String beiZhu) { - if (uid == null) - return null; - MsgOtherDetail detail = new MsgOtherDetail(); - detail.setBeiZhu(beiZhu); - detail.setCreateTime(new Date()); - detail.setRead(false); - detail.setUser(new UserInfo(uid)); - detail.setCoupnContent(content); - detail.setType(type); - detail.setSourceId(userCouponId); - return detail; - } - /** -- Gitblit v1.8.0