|
|
@@ -4,6 +4,7 @@ import com.alibaba.excel.context.AnalysisContext;
|
|
|
import com.alibaba.excel.read.listener.ReadListener;
|
|
|
import com.alibaba.excel.util.ListUtils;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
+import com.alibaba.fastjson.JSONObject;
|
|
|
import com.fdkankan.external.entity.ZgxxzxPushLog;
|
|
|
import com.fdkankan.external.service.IScenePlusService;
|
|
|
import com.fdkankan.external.service.IZgxxzxPushLogService;
|
|
|
@@ -79,4 +80,10 @@ public class DemoDataListener implements ReadListener<ZgxxzxPushLog> {
|
|
|
zgxxzxPushLogService.saveBatch(cachedDataList);
|
|
|
log.info("存储数据库成功!");
|
|
|
}
|
|
|
+
|
|
|
+ public static void main(String[] args) {
|
|
|
+ JSONObject aa = new JSONObject();
|
|
|
+ aa.put("shootCount", null);
|
|
|
+ System.out.println(aa.getInteger("shootCount"));
|
|
|
+ }
|
|
|
}
|