计算金额 类型问题3

This commit is contained in:
wangw 2025-10-27 21:25:11 +08:00
parent 316b618e24
commit 9881299f64
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ public class MkDistributionUserServiceImpl extends ServiceImpl<MkDistributionUse
totalIncomeSumQueryWrapper.select("sum(total_income) as totalIncome,sum(pending_income) as pendingIncome,sum(withdrawn_income) as cashOutAmount");
totalIncomeSumQueryWrapper.eq(MkDistributionUser::getUserId, userId);
totalIncomeSumQueryWrapper.eq(MkDistributionUser::getIsDel, 0);
centerTopVO = getObjAs(totalIncomeSumQueryWrapper, DistributionCenterTopVO.class);
centerTopVO = getOneAs(totalIncomeSumQueryWrapper, DistributionCenterTopVO.class);
}catch (Exception e){
log.error("查询用户中心数据失败", e);
}