修改分润逻辑

This commit is contained in:
韩鹏辉
2023-08-28 18:01:24 +08:00
parent 11863192fc
commit 0f007b7e1a

View File

@@ -389,7 +389,7 @@ public class MerchantProfitServiceImpl extends ServiceImpl<MerchantProfitMapper,
return;
}
UserApp nowUserApp = userAppMapper.selectByUserId(userId);
UserApp nowUserApp = userAppMapper.selectByUserId(userPromotion.getUserId());
if(ObjectUtil.isEmpty(nowUserApp)){
log.error("订单号:{},分润结束,获取分润数为:{}",order.getOrderNumber(),profits.size());
return;