You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
直接用mysql native语法可以做到
SELECT * from models where id in (26612,26611,26610) order by field(id,26612,26611,26610);
@query(value = "select * from dress where id in (?1) and source = ?2 order by field(id,?3)", nativeQuery = true)
List queryDid(List dids, Integer code, List dids2);
The text was updated successfully, but these errors were encountered:
没找到非native的xiefa
直接用mysql native语法可以做到
SELECT * from
models
whereid
in (26612,26611,26610) order by field(id,26612,26611,26610);@query(value = "select * from dress where id in (?1) and source = ?2 order by field(id,?3)", nativeQuery = true)
List queryDid(List dids, Integer code, List dids2);
The text was updated successfully, but these errors were encountered: