理财潜在客户分析

This commit is contained in:
尹吉欢
2017-11-06 11:43:49 +08:00
parent b1d4806f86
commit 148a9a38fa
16 changed files with 707 additions and 1 deletions
@@ -56,7 +56,23 @@ public class DateUtilCustom {
return map;
}
/**
* 获取近几天的时间范围
* @return
*/
public static Map<String, String> getLatelyDate(int days) {
Map<String, String> map = new HashMap<String, String>();
DateTime dt = new DateTime();
// 昨天
DateTime yesterday = dt.minusDays(days);
String start = yesterday.toString("yyyy-MM-dd") + " 00:00:00";
String end = dt.toString("yyyy-MM-dd") + " 00:00:00";
map.put("start", start);
map.put("end", end);
return map;
}
public static void main(String[] args) {
getTopMonth();
System.err.println(JsonUtils.toJson(getLatelyDate(3)));
}
}