|
|
@@ -322,6 +322,15 @@ public class DetailServiceImpl implements IDetailService {
|
|
|
|
|
|
}
|
|
|
if(!collect.isEmpty()){
|
|
|
+ collect.forEach(theGymnasiumIsCharteredInfoVO -> {
|
|
|
+ AppSitePriceRules appSitePriceRules = appSitePriceRulesMapper.selectById(theGymnasiumIsCharteredInfoVO.getId());
|
|
|
+ theGymnasiumIsCharteredInfoVO.setSellingPrice(appSitePriceRulesMapper.selectOne(Wrappers.<AppSitePriceRules>lambdaQuery()
|
|
|
+ .eq(AppSitePriceRules::getOrgCode, appSitePriceRules.getOrgCode())
|
|
|
+ .eq(AppSitePriceRules::getCategoryId, categoryId)
|
|
|
+ .eq(AppSitePriceRules::getDayOfWeek, appSitePriceRules.getDayOfWeek())
|
|
|
+ .orderByAsc(AppSitePriceRules::getSellingPrice).last("LIMIT 1"))
|
|
|
+ .getSellingPrice());
|
|
|
+ });
|
|
|
theGymnasiumIsCharteredVO.setVr(appSiteMapper.selectById(id).getVr());
|
|
|
}
|
|
|
theGymnasiumIsCharteredVO.setTimeSlot(collect);
|