在数据库中获取当前时间,也是用到了date函数。
String sql = "delete from jieyue where idr='" + idr + "' and idb='" + idb + "' and date='" + time + "'";
在数据库中获取当前时间,也是用到了date函数。
String sql = "delete from jieyue where idr='" + idr + "' and idb='" + idb + "' and date='" + time + "'";