站内信消息优化

This commit is contained in:
pikachu
2021-07-21 19:38:59 +08:00
1062 changed files with 1952 additions and 1419 deletions

View File

@@ -7,7 +7,7 @@ import cn.lili.modules.order.order.entity.dos.AfterSale;
* 售后单改变状态
*
* @author Chopper
* @date 2020/11/17 7:13 下午
* @since 2020/11/17 7:13 下午
*/
public interface AfterSaleStatusChangeEvent {

View File

@@ -6,7 +6,7 @@ import cn.lili.modules.member.entity.dos.MemberEvaluation;
* 订单状态改变事件
*
* @author Chopper
* @date 2020/11/17 7:13 下午
* @since 2020/11/17 7:13 下午
*/
public interface GoodsCommentCompleteEvent {

View File

@@ -6,7 +6,7 @@ import cn.lili.modules.member.entity.dto.MemberPointMessage;
* 会员积分改变消息
*
* @author Chopper
* @date 2020/11/17 7:13 下午
* @since 2020/11/17 7:13 下午
*/
public interface MemberPointChangeEvent {

View File

@@ -6,7 +6,7 @@ import cn.lili.modules.member.entity.dos.Member;
* 会员注册消息
*
* @author Chopper
* @date 2020/11/17 7:13 下午
* @since 2020/11/17 7:13 下午
*/
public interface MemberRegisterEvent {

View File

@@ -6,7 +6,7 @@ import cn.lili.modules.member.entity.dto.MemberWithdrawalMessage;
* 会员提现消息
*
* @author Chopper
* @date 2020/11/17 7:13 下午
* @since 2020/11/17 7:13 下午
*/
public interface MemberWithdrawalEvent {

View File

@@ -6,7 +6,7 @@ import cn.lili.modules.order.order.entity.dto.OrderMessage;
* 订单状态改变事件
*
* @author Chopper
* @date 2020/11/17 7:13 下午
* @since 2020/11/17 7:13 下午
*/
public interface OrderStatusChangeEvent {

View File

@@ -6,7 +6,7 @@ import cn.lili.modules.order.cart.entity.dto.TradeDTO;
* 订单创建消息
*
* @author Chopper
* @date 2021/2/2 15:15
* @since 2021/2/2 15:15
*/
public interface TradeEvent {

View File

@@ -22,7 +22,7 @@ import javax.annotation.Resource;
* 分销订单入库
*
* @author Chopper
* @date 2020-07-03 11:20
* @since 2020-07-03 11:20
*/
@Slf4j
@Service

View File

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Service;
* 商品SKU变化
*
* @author Chopper
* @date 2020-07-03 11:20
* @since 2020-07-03 11:20
*/
@Service
public class GoodsSkuExecute implements GoodsCommentCompleteEvent {

View File

@@ -24,7 +24,7 @@ import org.springframework.stereotype.Service;
* 会员经验值
*
* @author Bulbasaur
* @date: 2021/5/16 11:16 下午
* @since: 2021/5/16 11:16 下午
*/
@Service
public class MemberExperienceExecute implements MemberRegisterEvent, GoodsCommentCompleteEvent, OrderStatusChangeEvent {

View File

@@ -28,7 +28,7 @@ import org.springframework.stereotype.Service;
* 会员积分
*
* @author Bulbasaur
* @date 2020-07-03 11:20
* @since 2020-07-03 11:20
*/
@Service
public class MemberPointExecute implements MemberRegisterEvent, GoodsCommentCompleteEvent, OrderStatusChangeEvent, AfterSaleStatusChangeEvent {

View File

@@ -12,7 +12,7 @@ import org.springframework.stereotype.Service;
* 会员钱包创建
*
* @author Chopper
* @date 2020-07-03 11:20
* @since 2020-07-03 11:20
*/
@Service
public class MemberWalletExecute implements MemberRegisterEvent {

View File

@@ -28,7 +28,7 @@ import java.util.Map;
* 通知类消息实现
*
* @author Chopper
* @date 2020-07-03 11:20
* @since 2020-07-03 11:20
**/
@Service
public class NoticeMessageExecute implements TradeEvent, OrderStatusChangeEvent, AfterSaleStatusChangeEvent, MemberPointChangeEvent, MemberWithdrawalEvent {

View File

@@ -19,7 +19,7 @@ import java.util.List;
* 订单创建发票相关处理
*
* @author Chopper
* @date 2020-07-03 11:20
* @since 2020-07-03 11:20
**/
@Service
public class OrderCreateReceiptExecute implements TradeEvent {

View File

@@ -11,7 +11,7 @@ import org.springframework.stereotype.Service;
* 订单状态处理类
*
* @author Chopper
* @date 2020-07-03 11:20
* @since 2020-07-03 11:20
**/
@Service
public class OrderStatusHandlerExecute implements TradeEvent {

View File

@@ -18,7 +18,7 @@ import org.springframework.stereotype.Service;
* 支付
*
* @author Chopper
* @date 2021-03-13 16:58
* @since 2021-03-13 16:58
*/
@Slf4j
@Service

View File

@@ -16,7 +16,7 @@ import java.util.List;
* 注册赠券活动
*
* @author Bulbasaur
* @date: 2021/5/24 10:48 上午
* @since: 2021/5/24 10:48 上午
*/
@Component
public class RegisteredCouponActivityExecute implements MemberRegisterEvent {

View File

@@ -26,7 +26,7 @@ import java.util.List;
* 库存扣减,他表示了订单状态是否出库成功
*
* @author Chopper
* @date 2020-07-03 11:20
* @since 2020-07-03 11:20
*/
@Slf4j
@Service
@@ -161,6 +161,11 @@ public class StockUpdateExecute implements OrderStatusChangeEvent {
/**
* 同步库存和促销库存
*
* 需修改DB商品库存、Sku商品库存、活动商品库存
* 1.获取需要修改的Sku列表、活动商品列表
* 2.写入sku商品库存批量修改
* 3.写入促销商品的卖出数量、剩余数量,批量修改
* 4.调用方法修改商品库存
* @param order 订单
*/
private void synchroDB(OrderDetailVO order) {

View File

@@ -21,7 +21,7 @@ import org.springframework.stereotype.Component;
* 虚拟商品
*
* @author Bulbasaur
* @date: 2021/5/29 9:17 上午
* @since: 2021/5/29 9:17 上午
*/
@Component
public class VerificationOrderExecute implements OrderStatusChangeEvent {