userId问题
This commit is contained in:
@@ -289,7 +289,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
|
|||||||
if ("invite".equals(mkDistributionConfig.getUpgradeType())) {
|
if ("invite".equals(mkDistributionConfig.getUpgradeType())) {
|
||||||
if (mkDistributionConfig.getInviteConsume() == 1) {
|
if (mkDistributionConfig.getInviteConsume() == 1) {
|
||||||
long count = orderInfoService.count(QueryWrapper.create()
|
long count = orderInfoService.count(QueryWrapper.create()
|
||||||
.eq(OrderInfo::getUserId, shopUser.getId())
|
.eq(OrderInfo::getUserId, shopUser.getUserId())
|
||||||
.eq(OrderInfo::getShopId, parent.getShopId())
|
.eq(OrderInfo::getShopId, parent.getShopId())
|
||||||
.eq(OrderInfo::getStatus, OrderStatusEnums.DONE.getCode()));
|
.eq(OrderInfo::getStatus, OrderStatusEnums.DONE.getCode()));
|
||||||
if (count < 1) {
|
if (count < 1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user