正在显示
1 个修改的文件
包含
4 行增加
和
2 行删除
@@ -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'] : ''); |
-
请 注册 或 登录 后发表评论