计算金额 类型问题3
This commit is contained in:
parent
316b618e24
commit
9881299f64
|
|
@ -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.select("sum(total_income) as totalIncome,sum(pending_income) as pendingIncome,sum(withdrawn_income) as cashOutAmount");
|
||||||
totalIncomeSumQueryWrapper.eq(MkDistributionUser::getUserId, userId);
|
totalIncomeSumQueryWrapper.eq(MkDistributionUser::getUserId, userId);
|
||||||
totalIncomeSumQueryWrapper.eq(MkDistributionUser::getIsDel, 0);
|
totalIncomeSumQueryWrapper.eq(MkDistributionUser::getIsDel, 0);
|
||||||
centerTopVO = getObjAs(totalIncomeSumQueryWrapper, DistributionCenterTopVO.class);
|
centerTopVO = getOneAs(totalIncomeSumQueryWrapper, DistributionCenterTopVO.class);
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.error("查询用户中心数据失败", e);
|
log.error("查询用户中心数据失败", e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue