策略测试

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

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

Loading…
Cancel
Save