作者 李洪娟
1 个管道 的构建 通过 耗费 4 秒

Merge branch 'master' of http://114.215.101.231:8099/lihan/integral into lilijuan

@@ -78,8 +78,10 @@ class ZjOrderController extends AdminBaseController @@ -78,8 +78,10 @@ class ZjOrderController extends AdminBaseController
78 $whole = 0; 78 $whole = 0;
79 $whole_num = 0; 79 $whole_num = 0;
80 foreach ($all as $item) { 80 foreach ($all as $item) {
81 - $whole+=$item['whole'];  
82 - $whole_num+=$item['whole_num']; 81 + if($item['step'] > 1) {
  82 + $whole += $item['whole'];
  83 + $whole_num += $item['whole_num'];
  84 + }
83 } 85 }
84 $total = $whole - $whole_num; 86 $total = $whole - $whole_num;
85 $this->assign('start_time', !empty($arr['start_time']) ? $arr['start_time'] : ''); 87 $this->assign('start_time', !empty($arr['start_time']) ? $arr['start_time'] : '');