| | |
| | | memberCoupon.setShopId(shopId); |
| | | memberCoupon.setType(Constants.ZERO); |
| | | memberCoupon.setStatus(Constants.ONE); |
| | | Integer shopCouponUseCount = memberCouponService.count(memberCoupon); |
| | | long shopCouponUseCount = memberCouponService.count(memberCoupon); |
| | | |
| | | ShopFollow shopFollow = new ShopFollow(); |
| | | shopFollow.setObjId(shopId); |
| | | shopFollow.setObjType(Constants.ZERO); |
| | | Integer shopFansCount = shopFollowService.count(shopFollow); |
| | | long shopFansCount = shopFollowService.count(shopFollow); |
| | | |
| | | ShopNews shopNews = new ShopNews(); |
| | | shopNews.setShopId(shopId); |
| | | Integer shopNewCount = shopNewsService.count(shopNews); |
| | | long shopNewCount = shopNewsService.count(shopNews); |
| | | ShopDataStatisticsDTO shopDataStatisticsDTO = new ShopDataStatisticsDTO(); |
| | | shopDataStatisticsDTO.setShopCouponUseCount(shopCouponUseCount) |
| | | .setShopFansCount(shopFansCount).setShopNewCount(shopNewCount); |