报错信息:The method setDate(int, java.sql.Date) in the type PreparedStatement is not applicable for the arguments (int, java.util.Date)
分析原因:数据库中的Date和java中的Date不兼容
解决办法:类型强转一下
报错信息:The method setDate(int, java.sql.Date) in the type PreparedStatement is not applicable for the arguments (int, java.util.Date)
分析原因:数据库中的Date和java中的Date不兼容
解决办法:类型强转一下