策略测试

webUi
zhaocheng 5 years ago
parent 100894af44
commit 0c953d86dd
  1. 3
      frontend/controllers/MarketingStrategyController.php

@ -582,6 +582,9 @@ class MarketingStrategyController extends UserBaseController
$ids[] = $item->id;
}
}
$result['sql'] = ZhongjiTiaojian::find()
->where('celuo_id=:celuo_id and type=1',[':celuo_id'=>$yingxiao_item->id])
->andWhere(['<=','baofei', $total1_clear])->createCommand()->rawSql;
if(count($ids) == 0) {
return $result;
}

Loading…
Cancel
Save