Skip to content
This repository has been archived by the owner on Sep 25, 2024. It is now read-only.

fix(MariaCustomResponse): use guild_id field instead of guild #58

Merged
merged 3 commits into from
Mar 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public static List<MariaCustomResponse> getAllCustomResponseEntity() throws SQLE
return customResponseDao.queryForAll();
}
public static List<MariaCustomResponse> queryAllCustomResponseEntity(MariaGuild data) throws SQLException {
return customResponseDao.queryForEq("guild", data);
return customResponseDao.queryForEq("guild_id", data);
}
public static void updateCustomResponseEntity(@NotNull MariaCustomResponse customResponse) throws SQLException {
customResponseDao.createOrUpdate(customResponse);
Expand Down