admin_transfer_308_3

This commit is contained in:
dengbw
2022-03-08 11:41:35 +08:00
parent 502306b10a
commit 93dd37df2d
+5 -1
View File
@@ -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);