WIN-2308041133\Administrator 1 月之前
父節點
當前提交
1bfa77eb61
共有 1 個文件被更改,包括 2 次插入0 次删除
  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();