|
|
@ -518,7 +518,7 @@ class MarketingStrategyController extends UserBaseController |
|
|
|
} |
|
|
|
} |
|
|
|
$items = ZhongjiTiaojian::find() |
|
|
|
$items = 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]) |
|
|
|
->andWhere(['<=','baofei', $total1_clear]) |
|
|
|
->all(); |
|
|
|
->all(); |
|
|
|
$ids = []; |
|
|
|
$ids = []; |
|
|
|
foreach($items as $item) { |
|
|
|
foreach($items as $item) { |
|
|
|