whereNull

This commit is contained in:
邓皓元 2019-05-10 16:28:02 +08:00
parent f83701b303
commit 65f0282a36

View File

@ -92,7 +92,7 @@ class CardService extends Service
break; break;
case 4: case 4:
$res = Card::selectRaw('DISTINCT(sim) sim, created_at')->whereNull('cancelled_at')->orderBy('created_at', 'desc')->paginate($limit); $res = Card::selectRaw('sim, created_at')->whereNull('cancelled_at')->orderBy('created_at', 'desc')->paginate($limit);
break; break;
default: default: