|
@@ -9,6 +9,7 @@ import com.yunzhi.niucai.mapper.TaMatchMapper;
|
9
|
9
|
import com.yunzhi.niucai.mapper.TaMatchOddsMapper;
|
10
|
10
|
import com.yunzhi.niucai.service.ITaMatchService;
|
11
|
11
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
12
|
+import com.yunzhi.niucai.service.ITaMatchWayService;
|
12
|
13
|
import org.springframework.beans.factory.annotation.Autowired;
|
13
|
14
|
import org.springframework.stereotype.Service;
|
14
|
15
|
|
|
@@ -28,6 +29,9 @@ import java.util.Map;
|
28
|
29
|
@Service
|
29
|
30
|
public class TaMatchServiceImpl extends ServiceImpl<TaMatchMapper, TaMatch> implements ITaMatchService {
|
30
|
31
|
|
|
32
|
+ @Autowired
|
|
33
|
+ ITaMatchWayService iTaMatchWayService;
|
|
34
|
+
|
31
|
35
|
@Autowired
|
32
|
36
|
TaMatchMapper taMatchMapper;
|
33
|
37
|
|
|
@@ -59,6 +63,7 @@ public class TaMatchServiceImpl extends ServiceImpl<TaMatchMapper, TaMatch> impl
|
59
|
63
|
}
|
60
|
64
|
|
61
|
65
|
match.setPlayOdds(odds);
|
|
66
|
+ match.setMatchWay(iTaMatchWayService.getGroupedByWay(match.getMatchId()));
|
62
|
67
|
}
|
63
|
68
|
}
|
64
|
69
|
|