作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

当年保费支出

... ... @@ -16,7 +16,7 @@ class SubjoinInsuranceModel extends Model
public function subjoinSum($where){
$where['c.delete_time'] = ['eq',0];
$where['s.delete_time'] = ['eq',0];
$where['o.order_expire_time2'] = ['>',time()];//判断保单是否还在缴费期限内
// $where['c.expire_time'] = ['>',time()];//判断保单是否还在缴费期限内
$data = $this
->alias('s')
->join('collocation c','s.collocation_id = c.id')
... ...