Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
looly committed Sep 17, 2021
1 parent b935ace commit 62df101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hutool-db/src/main/java/cn/hutool/db/StatementUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ private static void setParam(PreparedStatement ps, int paramIndex, Object param,
return;
}
if (param instanceof BigInteger) {
// BigInteger转为Long
// BigInteger转为BigDecimal
ps.setBigDecimal(paramIndex, new BigDecimal((BigInteger) param));
return;
}
Expand Down

0 comments on commit 62df101

Please sign in to comment.