...
|
...
|
@@ -83,9 +83,9 @@ class OrderInfoModel extends Model |
|
|
//在托管中状态的保单份数
|
|
|
public function collocationCount($where){
|
|
|
$where['o.delete_time'] = ['eq',0];
|
|
|
$where['c.expire_time'] = ['>',time()];//判断保单是否还在缴费期限内
|
|
|
$where['o.order_expire_time'] = ['>',time()];//筛选出托管中状态
|
|
|
$where['o.status'] = ['eq',3];//筛选出托管中状态
|
|
|
$where1['o.order_expire_time'] = ['>',time()];//筛选出托管中状态
|
|
|
$where1['o.order_about_time'] = ['>',(time()-30*24*60*60)];
|
|
|
// $where['o.status'] = ['eq',3];//筛选出托管中状态
|
|
|
$field = "c.*";
|
|
|
$data = $this
|
|
|
->alias('o_i')
|
...
|
...
|
|