admin_transfer_308_3
This commit is contained in:
@@ -83,7 +83,11 @@ class Transfer extends Wxapp
|
||||
}
|
||||
$biz_id_str = $bizs ? implode(',', array_column($bizs, 'id')) : 0;
|
||||
$where = ['status <>' => -1, "biz_id in({$biz_id_str})" => null];
|
||||
$where['status'] = $tabs_id == 2 ? 2 : 1;
|
||||
if ($tabs_id == 2) {
|
||||
$where['status'] = 2;
|
||||
} else {
|
||||
$where['status in(0,1)'] = null;
|
||||
}
|
||||
$s_date && $where['c_time >='] = strtotime($s_date . ' 00:00:00');
|
||||
$e_date && $where['c_time <='] = strtotime($e_date . ' 23:59:59');
|
||||
$count = $this->mdTransfer->count($where);
|
||||
|
||||
Reference in New Issue
Block a user