Pre Merge pull request !356 from 辣肉拌饭/N/A

This commit is contained in:
辣肉拌饭 2026-08-07 07:15:16 +00:00 committed by Gitee
commit e136eb0bec
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 6 deletions

View File

@ -48,9 +48,8 @@ public class ChainRead extends AbstractSqlRead<ChainVO> {
@Override
public boolean getEnableFiledValue(ResultSet rs) throws SQLException {
String chainEnableField = super.config.getChainEnableField();
byte enable = rs.getByte(chainEnableField);
return enable == 1;
return rs.getBoolean(chainEnableField);
}
@Override

View File

@ -48,9 +48,8 @@ public class ScriptRead extends AbstractSqlRead<ScriptVO> {
@Override
public boolean getEnableFiledValue(ResultSet rs) throws SQLException {
String scriptEnableField = super.config.getScriptEnableField();
byte enable = rs.getByte(scriptEnableField);
return enable == 1;
return rs.getBoolean(scriptEnableField);
}
@Override