Loading...
困扰了很久$result = Db::name('test')->group('ymd,code')->where('ymd', 'in', [20221003, 20221002]...
$ids = explode(',',I('id','','trim')); $this->Items->where(['id'=>['in',$ids]])->count()