WIN-2308041133\Administrator 1 mês atrás
pai
commit
1bfa77eb61
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      application/admin/model/WechatPlanRecord.php

+ 2 - 0
application/admin/model/WechatPlanRecord.php

@@ -47,6 +47,7 @@ class WechatPlanRecord extends Model
         $order = "id desc";
         if (isset($where['uid']) && $where['uid'] > 0) $xwhere['uid'] = $where['uid'];
         if (isset($where['cid']) && $where['cid'] > 0) $xwhere['cid'] = $where['cid'];
+        $model = $model->where(['is_signing','!=',2]);
         $data = $model->where($xwhere)->order($order)->select();
         $wechatPlan = new WechatPlan();
         foreach ($data as $k => $v){
@@ -64,6 +65,7 @@ class WechatPlanRecord extends Model
         if (isset($where['cid']) && $where['cid'] > 0) $xwhere['cid'] = $where['cid'];
         if (isset($where['uid']) && $where['uid'] > 0) $xwhere['uid'] = $where['uid'];
 //        if (isset($where['category_id']) && $where['category_id'] > 0) $xwhere['category_id'] = $where['category_id'];
+        $model = $model->where(['is_signing','!=',2]);
         $data = $model->where($xwhere)->order($order)->find();
         $count = $model->where($xwhere)->count();
         $laveMonth = new LaveMonth();