Commit 6af20d8a by jinfeng.wang

fix

parent 60b33561
......@@ -30,7 +30,7 @@ public class GetPackageFromMongo {
Date dt = sdf.parse(sdf.format(date));
Calendar rightNow = Calendar.getInstance();
rightNow.setTime(dt);
rightNow.add(Calendar.DAY_OF_YEAR, -2);
rightNow.add(Calendar.DAY_OF_YEAR, -30);
// MongoClientOptions.Builder builder = new MongoClientOptions.Builder()
MongoClientSettings settings = MongoClientSettings.builder()
.retryWrites(true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment