DateJsonUtil.java
1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package cn.com.glsx.entmicro.manager;
import com.alibaba.fastjson.JSONObject;
/**
* @author wangxw
* @version 1.0.0
* @ClassName DateJsonUtil.java
* @description: ${description}
* @createTime 2022年01月09日 14:24:00
*/
public class DateJsonUtil {
public static JSONObject initDataJson() {
JSONObject dataJson = new JSONObject();
dataJson.put("merchantId", 10010001);
JSONObject storeJson = initStoreJson();
dataJson.put("data", storeJson);
return dataJson;
}
private static JSONObject initStoreJson() {
JSONObject storeJson = new JSONObject();
storeJson.put("sex", "男");
storeJson.put("birthday", "2020-12-12");
storeJson.put("phone", "13800000000");
storeJson.put("lastImportSource", "ERP");
storeJson.put("makeListCount", 100);
storeJson.put("makeListTime", "2020-12-12 12:12:12");
storeJson.put("importSourceArray", "ERP,DMP");
storeJson.put("keepArchivesCount", 100);
storeJson.put("keepArchivesCountArray", "{\"ERP\":100,\"DMP\":100}");
storeJson.put("carbrandArray", "奥迪,比亚迪");
storeJson.put("carseriesArray", "奥迪A4,比亚迪F0");
storeJson.put("lastBuyWay", "首购");
storeJson.put("firstKeepArchivesTime", "2020-12-12 12:12:12");
storeJson.put("trialCreateTime", "2020-12-12 12:12:12");
storeJson.put("lastOrderTime", "2020-12-12 12:12:12");
storeJson.put("lastDealTime", "2020-12-12 12:12:12");
storeJson.put("lastCarbrand", "比亚迪");
storeJson.put("lastCarseries", "比亚迪F0");
storeJson.put("lastCartype", "比亚迪F0 2022款");
storeJson.put("lastBuycarTime", "2020-12-12 12:12:12");
storeJson.put("lastRepairTime", "2020-12-12 12:12:12");
storeJson.put("lastEnteredTime", "2020-12-12 12:12:12");
storeJson.put("lastUpkeepTime", "2020-12-12 12:12:12");
return storeJson;
}
}