浏览代码

Merge branch 'dev'

prodstable
Guillaume 2 年前
父节点
当前提交
c4b1c9d69a
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. +3
    -1
      backend/controllers/DistributionController.php
  2. +2
    -0
      common/helpers/Tiller.php

+ 3
- 1
backend/controllers/DistributionController.php 查看文件

@@ -1267,7 +1267,9 @@ class DistributionController extends BackendController
$orders = Order::searchAll([
'distribution.date' => $date,
'order.tiller_synchronization' => 1
]);
], [
'conditions' => 'date_delete IS NULL'
]);

$strDate = date('Y-m-d\T12:i:s+0000', strtotime($date) + 1);


+ 2
- 0
common/helpers/Tiller.php 查看文件

@@ -79,6 +79,8 @@ class Tiller
$ordersOpendistrib = Order::searchAll([
'distribution.date' => $date,
'order.tiller_synchronization' => 1
], [
'conditions' => 'date_delete IS NULL'
]);

$ordersOpendistribSynchro = [];

正在加载...
取消
保存