diff --git a/app/chengji/model/TongjiBj.php b/app/chengji/model/TongjiBj.php index 52c36753..809f593a 100755 --- a/app/chengji/model/TongjiBj.php +++ b/app/chengji/model/TongjiBj.php @@ -339,10 +339,6 @@ class TongjiBj extends BaseModel $tongjiJg = $this ->where('kaoshi_id', $src['kaoshi_id']) ->where('banji_id', 'in', $src['banji_id']) - ->when($src['auth']['check'] == true, function ($query) use($src) { - $query->where('banji_id', 'in', $src['auth']['banji_id']) - ->whereOr('teacher_id', session('user_id')); - }) ->field('banji_id, kaoshi_id') ->with([ 'bjBanji '=> function ($query) { diff --git a/app/teach/model/Banji.php b/app/teach/model/Banji.php index 4a35d9f4..3f7792e6 100755 --- a/app/teach/model/Banji.php +++ b/app/teach/model/Banji.php @@ -405,7 +405,7 @@ class Banji extends BaseModel { $riqi = strtotime($riqi); } - + // 定义学年时间节点日期为每年的8月1日 // $yd = '8-1'; $sysClass = \app\facade\System::sysInfo();