zoujiajian il y a 1 an
Parent
commit
c584e4aeaf

+ 1 - 1
netflix-web/src/main/java/com/cyksj/web/controller/manage/mirrorshop/manage/CmsUserMirrorShopDataController.java

@@ -55,7 +55,7 @@ public class CmsUserMirrorShopDataController {
 	@GetMapping("/get/distribute/detail/data")
 	@GetMapping("/get/distribute/detail/data")
 	public Result<YhShopUserDistributeDetailView> getDistributeDetail() {
 	public Result<YhShopUserDistributeDetailView> getDistributeDetail() {
 		long yhShopUserId = StpUserMirrorShopManageUser.getLoginIdAsLong();
 		long yhShopUserId = StpUserMirrorShopManageUser.getLoginIdAsLong();
-		User user = beanSearcher.searchFirst(User.class, MapUtils.builder().field(User::getId, yhShopUserId).onlySelect(User::getYhsMoney).build());
+		User user = beanSearcher.searchFirst(User.class, MapUtils.builder().field(User::getId, yhShopUserId).onlySelect(User::getMpMoney).build());
 		BigDecimal wApplyMoney = user.getMpMoney().divide(BigDecimal.valueOf(100));
 		BigDecimal wApplyMoney = user.getMpMoney().divide(BigDecimal.valueOf(100));
 		//已提现
 		//已提现
 		Number gotApplyMoney = beanSearcher.searchSum(UserMirrorShopDistributeMoneyApply.class, MapUtils.builder()
 		Number gotApplyMoney = beanSearcher.searchSum(UserMirrorShopDistributeMoneyApply.class, MapUtils.builder()