File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function findByExternalIdAndExternalSourceAndExternalSubId(string $extern
5252 */
5353 public function getLastExternalId ($ castToInt = true )
5454 {
55- $ query = 'MAX(cast (e.externalId as int )) as maxExternalId ' ;
55+ $ query = 'MAX(cast (e.externalId as bigint )) as maxExternalId ' ;
5656
5757 if (!$ castToInt ) {
5858 $ query = 'MAX(e.externalId) as maxExternalId ' ;
@@ -77,7 +77,7 @@ public function getLastExternalId($castToInt = true)
7777 */
7878 public function getLastExternalIdBySource (int $ externalSource , $ castToInt = true )
7979 {
80- $ query = 'MAX(cast (e.externalId as int )) as maxExternalId ' ;
80+ $ query = 'MAX(cast (e.externalId as bigint )) as maxExternalId ' ;
8181
8282 if (!$ castToInt ) {
8383 $ query = 'MAX(e.externalId) as maxExternalId ' ;
You can’t perform that action at this time.
0 commit comments