解决JdbcUtils.getQueryRunner().query(sql2,new ScalarHandler())报错
@SuppressWarnings({"unchecked","rawtypes"})publicintsave(Ordersorder){Stringsql="INSERTINTOorders(orderDate,orderPrice,orderStatus,userId)VALUES(?,?,?,?);";Stringsql2="selectlast_insert_id()fromorders