|
|
@@ -5,6 +5,7 @@ import cn.idev.excel.event.AnalysisEventListener;
|
|
|
import org.apache.commons.collections4.CollectionUtils;
|
|
|
import org.dromara.business.domain.bo.BlindLevelsBo;
|
|
|
import org.dromara.business.domain.vo.BlindLevelsImportVo;
|
|
|
+import org.dromara.business.domain.vo.BlindLevelsVo;
|
|
|
import org.dromara.business.domain.vo.TournamentBlindStructuresVo;
|
|
|
import org.dromara.business.mapper.TournamentBlindStructuresMapper;
|
|
|
import org.dromara.business.service.IBlindLevelsService;
|
|
|
@@ -55,6 +56,7 @@ public class BlindStructuresServiceImpl implements IBlindStructuresService {
|
|
|
|
|
|
private final TournamentBlindStructuresMapper tournamentBlindStructuresMapper;
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* 查询【请填写功能名称】
|
|
|
*
|
|
|
@@ -105,6 +107,15 @@ public class BlindStructuresServiceImpl implements IBlindStructuresService {
|
|
|
if(blindStructuresVo.getCreateUserId()!=null){
|
|
|
String createName = userService.selectUserNameById(blindStructuresVo.getCreateUserId());
|
|
|
blindStructuresVo.setCreateName(createName);
|
|
|
+ BlindLevelsBo blindLevelsBo=new BlindLevelsBo();
|
|
|
+ List<BlindLevelsVo> blindLevelsVos = blindLevelsService.queryList(blindLevelsBo);
|
|
|
+ if(blindLevelsVos.size()>0){
|
|
|
+ Long smallBlind = blindLevelsVos.get(0).getSmallBlind();
|
|
|
+ Long bigBlind = blindLevelsVos.get(0).getBigBlind();
|
|
|
+ Long ante = blindLevelsVos.get(0).getAnte();
|
|
|
+ String parseBlindsInfo = smallBlind+"/"+bigBlind+" "+ante;
|
|
|
+ blindStructuresVo.setParseBlindsInfo(parseBlindsInfo);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
return blindStructuresVoList;
|