邮件API
This commit is contained in:
@@ -320,7 +320,7 @@ public class DbService {
|
||||
|
||||
|
||||
private void clearTargetTableLastWeekData(JdbcTemplate targetJdbc, String targetTable) {
|
||||
String sql = "DELETE FROM " + targetTable + " WHERE ds = ?";
|
||||
String sql = "DELETE FROM " + targetTable + " WHERE ds <= ?";
|
||||
targetJdbc.update(sql, DateUtils.getSevenDaysAgo());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user