WIN-2308041133\Administrator 1 month ago
parent
commit
1bfa77eb61
1 changed files with 2 additions and 0 deletions
  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();