update WCY

This commit is contained in:
BTMS2
2025-03-05 16:03:28 +08:00
parent ef98949426
commit 2e0a4e4961
+1 -1
View File
@@ -1817,7 +1817,7 @@ class LelongController extends Controller
) )
->distinct() ->distinct()
->orderByRaw(" ->orderByRaw("
SUBSTRING_INDEX(SUBSTRING_INDEX(lelong.norujukan, '-', 1), 'WCY', -1), SUBSTRING_INDEX(SUBSTRING_INDEX(lelong.norujukan, '-', 1), '^[A-Za-z]+', -1),
CAST(SUBSTRING_INDEX(lelong.norujukan, '-', -1) AS UNSIGNED) CAST(SUBSTRING_INDEX(lelong.norujukan, '-', -1) AS UNSIGNED)
") ")
->get(); ->get();