|
@@ -8,6 +8,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import org.apache.shiro.SecurityUtils;
|
|
|
import org.jeecg.common.constant.CommonConstant;
|
|
|
import org.jeecg.common.system.vo.LoginUser;
|
|
|
+import org.jeecg.modules.app.vo.AppGameScheduleVO;
|
|
|
import org.jeecg.modules.app.vo.AppOrderProInfoVerifyVO;
|
|
|
import org.jeecg.modules.app.vo.ScanCodeQueryOrderVO;
|
|
|
import org.jeecg.modules.system.app.dto.AppOrderDTO;
|
|
@@ -68,6 +69,9 @@ public class AppOrderServiceImpl extends ServiceImpl<AppOrderMapper, AppOrder> i
|
|
|
@Resource
|
|
|
private AppGameMapper appGameMapper;
|
|
|
|
|
|
+ @Resource
|
|
|
+ private AppGameScheduleMapper appGameScheduleMapper;
|
|
|
+
|
|
|
@Resource
|
|
|
private AppGamePriceRulesMapper appGamePriceRulesMapper;
|
|
|
|
|
@@ -164,6 +168,12 @@ public class AppOrderServiceImpl extends ServiceImpl<AppOrderMapper, AppOrder> i
|
|
|
});
|
|
|
appOrderInfoVO.setIsinList(appIsinVOList);
|
|
|
}
|
|
|
+ //只有赛事有赛程
|
|
|
+ if (appOrder.getType() == 2) {
|
|
|
+ String gameId = appOrder.getProductIds();
|
|
|
+ List<AppGameScheduleVO> gameScheduleVOList = appGameScheduleMapper.getListVo(gameId);
|
|
|
+ appOrderInfoVO.setGameScheduleVOList(gameScheduleVOList);
|
|
|
+ }
|
|
|
//课程才有核销记录和优惠信息
|
|
|
if (appOrder.getType() == 2) {
|
|
|
BigDecimal sDiscounts = BigDecimal.ZERO;
|