update
This commit is contained in:
parent
b913f7b643
commit
72f363c112
@ -676,14 +676,6 @@
|
|||||||
}
|
}
|
||||||
$where[] = ['create_time','between',[strtotime($params['start_time']),strtotime($params['end_time'])]];
|
$where[] = ['create_time','between',[strtotime($params['start_time']),strtotime($params['end_time'])]];
|
||||||
}
|
}
|
||||||
if(!empty($params['status'])){
|
|
||||||
$where[] = match ($params['status']){
|
|
||||||
1=> [['check_status','=',2],['pay_admin_id','=',0],['pay_time','=',0]], //审批通过,待打款
|
|
||||||
2=> [['check_status','=',2],['pay_admin_id','>',0],['pay_time','>',0]], //审批通过,已打款
|
|
||||||
};
|
|
||||||
}else{
|
|
||||||
$where[] = ['check_status','=',2];
|
|
||||||
}
|
|
||||||
if(!empty($params['status'])){
|
if(!empty($params['status'])){
|
||||||
$where[] = match ($params['status']){
|
$where[] = match ($params['status']){
|
||||||
1=> ['check_status','=',2], //审批通过,待开具
|
1=> ['check_status','=',2], //审批通过,待开具
|
||||||
|
Loading…
x
Reference in New Issue
Block a user