浏览代码

Merge branch 'dev'

master
父节点
当前提交
125849e358
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      common/models/Distribution.php

+ 4
- 1
common/models/Distribution.php 查看文件

@@ -204,7 +204,10 @@ class Distribution extends ActiveRecordCommon
{
$distributionsArray = Distribution::find()
->where('date > \'' . date('Y-m-d').'\'')
->andWhere(['id_producer' => Producer::getId()])
->andWhere([
'id_producer' => Producer::getId(),
'active' => 1
])
->orderBy('date ASC')
->all();

正在加载...
取消
保存