1
This commit is contained in:
@@ -809,24 +809,39 @@ public class JDUtils {
|
|||||||
|
|
||||||
}
|
}
|
||||||
case "刷新3090": {
|
case "刷新3090": {
|
||||||
|
String appKey = superAdmin.getAppKey();
|
||||||
|
String secretKey = superAdmin.getSecretKey();
|
||||||
|
if (Util.isAnyEmpty(appKey,secretKey)){
|
||||||
|
return;
|
||||||
|
}
|
||||||
long start = System.currentTimeMillis();
|
long start = System.currentTimeMillis();
|
||||||
int count = fetchHistoricalOrders3090Do();
|
int count = fetchHistoricalOrders3090Do(appKey,secretKey);
|
||||||
long time = System.currentTimeMillis() - start;
|
long time = System.currentTimeMillis() - start;
|
||||||
content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
|
content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
}
|
}
|
||||||
case "刷新1430": {
|
case "刷新1430": {
|
||||||
|
String appKey = superAdmin.getAppKey();
|
||||||
|
String secretKey = superAdmin.getSecretKey();
|
||||||
|
if (Util.isAnyEmpty(appKey,secretKey)){
|
||||||
|
return;
|
||||||
|
}
|
||||||
long start = System.currentTimeMillis();
|
long start = System.currentTimeMillis();
|
||||||
int count = fetchHistoricalOrders1430Do();
|
int count = fetchHistoricalOrders1430Do(appKey,secretKey);
|
||||||
long time = System.currentTimeMillis() - start;
|
long time = System.currentTimeMillis() - start;
|
||||||
content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
|
content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case "刷新0714": {
|
case "刷新0714": {
|
||||||
|
String appKey = superAdmin.getAppKey();
|
||||||
|
String secretKey = superAdmin.getSecretKey();
|
||||||
|
if (Util.isAnyEmpty(appKey,secretKey)){
|
||||||
|
return;
|
||||||
|
}
|
||||||
long start = System.currentTimeMillis();
|
long start = System.currentTimeMillis();
|
||||||
int count = fetchHistoricalOrders0714Do();
|
int count = fetchHistoricalOrders0714Do(appKey,secretKey);
|
||||||
long time = System.currentTimeMillis() - start;
|
long time = System.currentTimeMillis() - start;
|
||||||
content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
|
content.append("订单行:").append(count).append(",耗时: ").append(time).append("ms, ").append((time) / 1000).append(" s\r");
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user