|
@@ -524,7 +524,11 @@ where a.match_id = b.match_id and a.id = b.id ";
|
|
|
$whereOr = [];
|
|
$whereOr = [];
|
|
|
//有父级玩法,则获取该玩法下详细数据
|
|
//有父级玩法,则获取该玩法下详细数据
|
|
|
if($p_code){
|
|
if($p_code){
|
|
|
- $whereOr = [['sort','=',0],['status','=',0]];
|
|
|
|
|
|
|
+ if($type== 'StStringScene'){
|
|
|
|
|
+ $whereOr = [['sort','=',0],['status','=',0],['is_stringscene','=',1]];
|
|
|
|
|
+ }else{
|
|
|
|
|
+ $whereOr = [['sort','=',0],['status','=',0],['is_stringscene','=',0]];
|
|
|
|
|
+ }
|
|
|
$select = ['lg_id','match_id','id','p_code','odds_code','condition','odds','odds_only','sort','status','team'];
|
|
$select = ['lg_id','match_id','id','p_code','odds_code','condition','odds','odds_only','sort','status','team'];
|
|
|
//获取冠军盘口
|
|
//获取冠军盘口
|
|
|
if($p_code == 'kemp'){
|
|
if($p_code == 'kemp'){
|
|
@@ -552,7 +556,7 @@ where a.match_id = b.match_id and a.id = b.id ";
|
|
|
//如果是滚球,则获取滚球下详细数据
|
|
//如果是滚球,则获取滚球下详细数据
|
|
|
if($type == 'StRollBall'){
|
|
if($type == 'StRollBall'){
|
|
|
$select = ['lg_id','match_id','id','p_code','odds_code','condition','odds','odds_only','sort','status','team'];
|
|
$select = ['lg_id','match_id','id','p_code','odds_code','condition','odds','odds_only','sort','status','team'];
|
|
|
- $whereOr = [['sort','=',0],['status','=',0]];
|
|
|
|
|
|
|
+ $whereOr = [['sort','=',0],['status','=',0],['is_stringscene','=',0]];
|
|
|
//获取滚球下,各球类默认玩法代码
|
|
//获取滚球下,各球类默认玩法代码
|
|
|
if($game_code == 'zq'){
|
|
if($game_code == 'zq'){
|
|
|
$p_code = ['concede','goal_size','capot'];
|
|
$p_code = ['concede','goal_size','capot'];
|