修改店铺信息发送跟新mq
This commit is contained in:
@@ -316,10 +316,10 @@ public class ShopInfoServiceImpl extends ServiceImpl<ShopInfoMapper, ShopInfo> i
|
||||
if (flag) {
|
||||
sysUserService.updateById(sysUser);
|
||||
}
|
||||
rabbitPublisher.sendOrderDetailStatusMsg(shopInfo.getId().toString(), "shopInfoUpdate");
|
||||
return true;
|
||||
}
|
||||
|
||||
rabbitPublisher.sendOrderDetailStatusMsg(shopInfo.getId().toString());
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -325,7 +325,7 @@ public class OrderInfoCustomServiceImpl implements OrderInfoCustomService {
|
||||
redisService.set(RedisCst.classKeyExpired.EXPIRED_ORDER + orderInfo.getId(), "", 60 * 15);
|
||||
}
|
||||
rabbitPublisher.sendOrderStockMsg(orderInfo.getId().toString());
|
||||
rabbitPublisher.sendOrderDetailStatusMsg(orderInfo.getShopId().toString());
|
||||
rabbitPublisher.sendOrderDetailStatusMsg(orderInfo.getShopId().toString(), "bc");
|
||||
return orderInfo;
|
||||
}
|
||||
|
||||
@@ -1340,7 +1340,7 @@ public class OrderInfoCustomServiceImpl implements OrderInfoCustomService {
|
||||
rabbitPublisher.sendOrderPrintMsg(printParam, isPrint);
|
||||
// log.info("非事务环境下,直接发送订单{}打印消息", orderId);
|
||||
}
|
||||
rabbitPublisher.sendOrderDetailStatusMsg(orderInfo.getShopId().toString());
|
||||
rabbitPublisher.sendOrderDetailStatusMsg(orderInfo.getShopId().toString(), "bc");
|
||||
redisService.del(RedisCst.classKeyExpired.EXPIRED_ORDER + orderInfo.getId());
|
||||
}
|
||||
|
||||
@@ -1790,7 +1790,7 @@ public class OrderInfoCustomServiceImpl implements OrderInfoCustomService {
|
||||
}
|
||||
}
|
||||
|
||||
rabbitPublisher.sendOrderDetailStatusMsg(shopId.toString());
|
||||
rabbitPublisher.sendOrderDetailStatusMsg(shopId.toString(), "bc");
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user