This commit is contained in:
mcy
2018-12-20 19:53:30 +08:00
parent 75ee65f9e8
commit 34b5f9c927
@@ -126,9 +126,9 @@ public class SyncUtil {
if (value instanceof BigDecimal) {
pstmt.setBigDecimal(i, (BigDecimal) value);
} else if (value instanceof Byte) {
pstmt.setInt(i, (Byte) value);
pstmt.setInt(i, ((Byte) value).intValue());
} else if (value instanceof Short) {
pstmt.setInt(i, (Short) value);
pstmt.setInt(i, ((Short) value).intValue());
} else if (value instanceof Integer) {
pstmt.setInt(i, (Integer) value);
} else if (value instanceof Long) {