|
@@ -1,6 +1,9 @@
|
|
|
package com.zskk.service;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
+import java.text.ParseException;
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
+import java.util.Date;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
|
|
|
@@ -40,7 +43,7 @@ public class DataService {
|
|
|
String IV = "0000000000000000";
|
|
|
Map <String,String> map = new HashMap<String,String>();
|
|
|
map.put("exam_status","3");
|
|
|
- map.put("createAt", "2023-06-01 00:00:00,2023-06-15 12:00:00");
|
|
|
+// map.put("createAt", "2023-06-01 00:00:00,2023-06-15 12:00:00");
|
|
|
map.put("num", number.toString());
|
|
|
String aesEncryptStr = AESUtils.aesEncryptStr(JSON.toJSONString(map), PropKit.get("nw_key"),IV);
|
|
|
Map <String,String> mapaes = new HashMap<String,String>();
|
|
@@ -134,6 +137,27 @@ public class DataService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 日期字符串格式转换
|
|
|
+ * @param dateStr
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+// private String parseStringToDate() {
|
|
|
+// SimpleDateFormat sdf= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
+// Date date = new Date();
|
|
|
+// Date date =
|
|
|
+// String timeStringFrom = "";
|
|
|
+// String timeStringTo = "";
|
|
|
+// try {
|
|
|
+// timeStringTo = sdf.format(date);
|
|
|
+// } catch (ParseException e) {
|
|
|
+// // TODO Auto-generated catch block
|
|
|
+// e.printStackTrace();
|
|
|
+// }
|
|
|
+//
|
|
|
+// return timeString;
|
|
|
+// }
|
|
|
+
|
|
|
public static void main(String[] args) {
|
|
|
String IV = "0000000000000000";
|
|
|
Map <String,String> map = new HashMap<String,String>();
|