|
@@ -144,9 +144,9 @@ public class DetailServiceImpl implements IDetailService {
|
|
|
.last("limit 1").orderByDesc(AppSitePriceRules::getSellingPrice));
|
|
|
PlaceInfoVO.PlaceInfoMsgVO placeInfoMsgVO = new PlaceInfoVO.PlaceInfoMsgVO();
|
|
|
placeInfoMsgVO.setName(appSitePlace.getName())
|
|
|
- .setSales(0)
|
|
|
+ .setSales(Math.toIntExact(appOrderMapper.selectCount(Wrappers.<AppOrder>lambdaQuery().eq(AppOrder::getOrderCode, appSitePlace.getOrgCode()))))
|
|
|
.setId(appSitePlace.getId())
|
|
|
- .setCategory(getCategoryName(appSitePlace.getCategoryId()))
|
|
|
+ .setCategory(getCategoryName(appSite.getCategoryId()))
|
|
|
.setCover(appSitePlace.getCover().split(",")[0])
|
|
|
.setReminder(appSitePlace.getReminder())
|
|
|
.setRefundType(appSitePlace.getRefundType());
|