代码说明
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -1,919 +0,0 @@
|
|||||||
package com.example.sso.controller;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.example.sso.dao.JiChuBiaoDao;
|
|
||||||
import com.example.sso.dao.JiaoTongYuQiDao;
|
|
||||||
|
|
||||||
import com.example.sso.util.V5utils;
|
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class JiaoTongYuQi {
|
|
||||||
@Scheduled(cron = "0 0 19 19 * ?")
|
|
||||||
public void main1() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 20 * ?")
|
|
||||||
public void main2() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 21 * ?")
|
|
||||||
public void main3() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 22 * ?")
|
|
||||||
public void main5() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 23 * ?")
|
|
||||||
public void main6() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 24 * ?")
|
|
||||||
public void main7() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 25 * ?")
|
|
||||||
public void main8() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 26 * ?")
|
|
||||||
public void main9() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 27 * ?")
|
|
||||||
public void main10() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@Scheduled(cron = "0 0 19 28 * ?")
|
|
||||||
public void main11() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 29 * ?")
|
|
||||||
public void main12() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 30 * ?")
|
|
||||||
public void main13() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 19 31 * ?")
|
|
||||||
public void main14() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,979 +0,0 @@
|
|||||||
package com.example.sso.controller;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.example.sso.dao.JiChuBiaoDao;
|
|
||||||
import com.example.sso.dao.KeChengWeiWanchengDao;
|
|
||||||
|
|
||||||
import com.example.sso.util.V5utils;
|
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class KeChengWeiWanCheng {
|
|
||||||
@Scheduled(cron = "0 0 7 1 * ?")
|
|
||||||
public void main1() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 20 * ?")
|
|
||||||
public void main2() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 21 * ?")
|
|
||||||
public void main3() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 22 * ?")
|
|
||||||
public void main4() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 23 * ?")
|
|
||||||
public void main5() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 24 * ?")
|
|
||||||
public void main6() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 25 * ?")
|
|
||||||
public void main7() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 26 * ?")
|
|
||||||
public void main8() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 27 * ?")
|
|
||||||
public void main9() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 28 * ?")
|
|
||||||
public void main10() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 29 * ?")
|
|
||||||
public void main11() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 30 * ?")
|
|
||||||
public void main12() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0 7 31 * ?")
|
|
||||||
public void main13() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,930 +0,0 @@
|
|||||||
package com.example.sso.controller;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.example.sso.dao.JiChuBiaoDao;
|
|
||||||
import com.example.sso.dao.QfDao;
|
|
||||||
import com.example.sso.util.V5utils;
|
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class QianFei {
|
|
||||||
/* @Scheduled(cron = "0 59 23 19 * ?")
|
|
||||||
public void main1() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 20 * ?")
|
|
||||||
public void main2() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 21 * ?")
|
|
||||||
public void main3() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 22 * ?")
|
|
||||||
public void main4() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 23 * ?")
|
|
||||||
public void main5() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 24 * ?")
|
|
||||||
public void main6() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 25 * ?")
|
|
||||||
public void main7() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 26 * ?")
|
|
||||||
public void main8() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 26 * ?")
|
|
||||||
public void main9() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 28 * ?")
|
|
||||||
public void main10() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 29 * ?")
|
|
||||||
public void main11() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 30 * ?")
|
|
||||||
public void main12() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 59 23 31 * ?")
|
|
||||||
public void main13() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
public static void qianfei() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = QfDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget1717726834808 = jsonObject.getString("_widget_1717726834808");
|
|
||||||
Double aDouble = jsonObject.getDouble("_widget_1717726834804");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1717726834807");
|
|
||||||
Double aDouble1 = jsonObject.getDouble("_widget_1717726834805");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717726834808 = new JSONObject();
|
|
||||||
_widget_1717726834808.put("value",widget1717726834808);
|
|
||||||
jsonObject2.put("_widget_1717666304762",_widget_1717726834808);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834804 = new JSONObject();
|
|
||||||
_widget_1717726834804.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086807",_widget_1717726834804);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834807 = new JSONObject();
|
|
||||||
_widget_1717726834807.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086810",_widget_1717726834807);
|
|
||||||
|
|
||||||
JSONObject _widget_1717726834805 = new JSONObject();
|
|
||||||
_widget_1717726834805.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086808",_widget_1717726834805);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
@ -1,81 +0,0 @@
|
|||||||
package com.example.sso.controller;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSON;
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.example.sso.util.TimeUtil;
|
|
||||||
import com.example.sso.util.V5utils;
|
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class YuanChengJiHuo {
|
|
||||||
// @Scheduled(cron = "0 0 12 1 * ?")
|
|
||||||
public void main123() {
|
|
||||||
JSONObject jsonObject = new JSONObject();
|
|
||||||
jsonObject.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject.put("limit",10000);
|
|
||||||
String jsonString = jsonObject.toJSONString();
|
|
||||||
String list = V5utils.list(jsonString);
|
|
||||||
JSONObject jsonObject1 = JSON.parseObject(list);
|
|
||||||
JSONArray jsonArray = jsonObject1.getJSONArray("data");
|
|
||||||
String two = TimeUtil.two();
|
|
||||||
String now = TimeUtil.now();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
JSONObject te = (JSONObject) o;
|
|
||||||
String widget1717727492391 = te.getString("_widget_1717727492391");
|
|
||||||
String widget1718100655891 = te.getString("_widget_1718100655891");
|
|
||||||
String widget1718098344622 = te.getString("_widget_1718098344622");
|
|
||||||
String widget1717557644374 = te.getString("_widget_1717557644374");
|
|
||||||
String widget1717557644376 = te.getString("_widget_1717557644376");
|
|
||||||
String widget1717727492392 = te.getString("_widget_1717727492392");
|
|
||||||
if (widget1717727492391.equals("是")) {
|
|
||||||
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject2.put("entry_id", "666959e5f718f1edcc291a08");
|
|
||||||
jsonObject2.put("is_start_workflow", true);
|
|
||||||
jsonObject2.put("is_start_trigger", true);
|
|
||||||
JSONObject data = new JSONObject();
|
|
||||||
|
|
||||||
JSONObject _widget_1718181789185 = new JSONObject();
|
|
||||||
_widget_1718181789185.put("value",widget1718098344622);
|
|
||||||
|
|
||||||
JSONObject id_card = new JSONObject();
|
|
||||||
id_card.put("value",widget1717557644376);
|
|
||||||
|
|
||||||
JSONObject car = new JSONObject();
|
|
||||||
car.put("value",widget1717557644374);
|
|
||||||
|
|
||||||
JSONObject start_time = new JSONObject();
|
|
||||||
start_time.put("value",now);
|
|
||||||
|
|
||||||
JSONObject end_time = new JSONObject();
|
|
||||||
end_time.put("value",two);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject next_date = new JSONObject();
|
|
||||||
next_date.put("value",widget1717727492392);
|
|
||||||
|
|
||||||
data.put("_widget_1718181789185",_widget_1718181789185);
|
|
||||||
data.put("id_card",id_card);
|
|
||||||
data.put("car",car);
|
|
||||||
data.put("start_time",start_time);
|
|
||||||
data.put("end_time",end_time);
|
|
||||||
data.put("next_date",next_date);
|
|
||||||
|
|
||||||
jsonObject2.put("data",data);
|
|
||||||
String jsonString1 = jsonObject2.toJSONString();
|
|
||||||
String add = V5utils.add(jsonString1);
|
|
||||||
System.out.println(add);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -5,10 +5,14 @@ import com.alibaba.fastjson.JSONArray;
|
|||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.example.sso.util.V5utils;
|
import com.example.sso.util.V5utils;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.scheduling.annotation.Scheduled;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
|
@Component
|
||||||
public class DpChongXie {
|
public class DpChongXie {
|
||||||
public static void main(String[] args) {
|
@Scheduled(cron = "0 10 2 * * ?")
|
||||||
|
public void main() {
|
||||||
|
|
||||||
Boolean flag = true;
|
Boolean flag = true;
|
||||||
|
|
||||||
@ -68,7 +72,7 @@ public class DpChongXie {
|
|||||||
|
|
||||||
JSONObject jsonObject12 = new JSONObject();
|
JSONObject jsonObject12 = new JSONObject();
|
||||||
jsonObject12.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject12.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject12.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
jsonObject12.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
jsonObject12.put("limit", 100);
|
jsonObject12.put("limit", 100);
|
||||||
|
|
||||||
|
|
||||||
@ -104,7 +108,7 @@ public class DpChongXie {
|
|||||||
|
|
||||||
JSONObject jsonObject1123 = new JSONObject();
|
JSONObject jsonObject1123 = new JSONObject();
|
||||||
jsonObject1123.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject1123.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject1123.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
jsonObject1123.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
jsonObject1123.put("data_id", id);
|
jsonObject1123.put("data_id", id);
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import java.util.List;
|
|||||||
@Component
|
@Component
|
||||||
public class DpZhiKong {
|
public class DpZhiKong {
|
||||||
//每天置空空
|
//每天置空空
|
||||||
@Scheduled
|
@Scheduled(cron = "0 0 0 * * ?")
|
||||||
public void main1() {
|
public void main1() {
|
||||||
String yue1 = TimeUtil.yue();
|
String yue1 = TimeUtil.yue();
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ public class DpZhiKong {
|
|||||||
|
|
||||||
JSONObject jsonObject = new JSONObject();
|
JSONObject jsonObject = new JSONObject();
|
||||||
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
jsonObject.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
jsonObject.put("limit", 10000);
|
jsonObject.put("limit", 10000);
|
||||||
JSONArray fields = new JSONArray();
|
JSONArray fields = new JSONArray();
|
||||||
fields.add("createTime");
|
fields.add("createTime");
|
||||||
@ -89,7 +89,7 @@ public class DpZhiKong {
|
|||||||
if (lists.size() == 100) {
|
if (lists.size() == 100) {
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject2.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
jsonObject2.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
jsonObject2.put("data_ids", lists);
|
jsonObject2.put("data_ids", lists);
|
||||||
JSONObject datas = new JSONObject();
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
@ -232,7 +232,7 @@ public class DpZhiKong {
|
|||||||
if (lists.size() == 100) {
|
if (lists.size() == 100) {
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject2.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
jsonObject2.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
jsonObject2.put("data_ids", lists);
|
jsonObject2.put("data_ids", lists);
|
||||||
JSONObject datas = new JSONObject();
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
@ -373,7 +373,7 @@ public class DpZhiKong {
|
|||||||
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject2.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
jsonObject2.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
jsonObject2.put("data_ids", lists);
|
jsonObject2.put("data_ids", lists);
|
||||||
JSONObject datas = new JSONObject();
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
@ -508,180 +508,183 @@ public class DpZhiKong {
|
|||||||
|
|
||||||
|
|
||||||
//月初置空
|
//月初置空
|
||||||
@Scheduled
|
@Scheduled(cron = "0 50 23 28-31 * ?")
|
||||||
|
public void executeOnLastDay() {
|
||||||
|
// 验证是否确实是当月最后一天
|
||||||
|
if (isLastDayOfMonth()) {
|
||||||
|
|
||||||
public void main2() {
|
JSONObject yue = new JSONObject();
|
||||||
|
yue.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
yue.put("entry_id", "68ac12b80499bc3808905065");
|
||||||
|
yue.put("limit", 1);
|
||||||
|
JSONArray fields1 = new JSONArray();
|
||||||
|
fields1.add("dpsj");
|
||||||
|
yue.put("fields", fields1);
|
||||||
|
|
||||||
|
|
||||||
JSONObject yue = new JSONObject();
|
String jsonString2 = yue.toJSONString();
|
||||||
yue.put("app_id", "665ea38ef718f1edccf7b20d");
|
String list1 = V5utils.list(jsonString2);
|
||||||
yue.put("entry_id", "68ac12b80499bc3808905065");
|
System.out.println(list1);
|
||||||
yue.put("limit", 1);
|
JSONObject jsonObject11 = JSON.parseObject(list1);
|
||||||
JSONArray fields1 = new JSONArray();
|
JSONArray data1 = jsonObject11.getJSONArray("data");
|
||||||
fields1.add("dpsj");
|
|
||||||
yue.put("fields", fields1);
|
|
||||||
|
|
||||||
|
|
||||||
String jsonString2 = yue.toJSONString();
|
Boolean flag = true;
|
||||||
String list1 = V5utils.list(jsonString2);
|
String id = "";
|
||||||
System.out.println(list1);
|
List<String> lists = new ArrayList<>();
|
||||||
JSONObject jsonObject11 = JSON.parseObject(list1);
|
while (flag) {
|
||||||
JSONArray data1 = jsonObject11.getJSONArray("data");
|
|
||||||
|
|
||||||
|
JSONObject jsonObject = new JSONObject();
|
||||||
Boolean flag = true;
|
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
String id = "";
|
jsonObject.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
List<String> lists = new ArrayList<>();
|
jsonObject.put("limit", 10000);
|
||||||
while (flag) {
|
JSONArray fields = new JSONArray();
|
||||||
|
fields.add("createTime");
|
||||||
JSONObject jsonObject = new JSONObject();
|
jsonObject.put("fields", fields);
|
||||||
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
if (!id.equals("")) {
|
||||||
jsonObject.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
jsonObject.put("data_id", id);
|
||||||
jsonObject.put("limit", 10000);
|
|
||||||
JSONArray fields = new JSONArray();
|
|
||||||
fields.add("createTime");
|
|
||||||
jsonObject.put("fields", fields);
|
|
||||||
if (!id.equals("")) {
|
|
||||||
jsonObject.put("data_id", id);
|
|
||||||
}
|
|
||||||
|
|
||||||
String jsonString = jsonObject.toJSONString();
|
|
||||||
String list = V5utils.list(jsonString);
|
|
||||||
JSONObject jsonObject1 = JSON.parseObject(list);
|
|
||||||
JSONArray data = jsonObject1.getJSONArray("data");
|
|
||||||
|
|
||||||
|
|
||||||
int size = data.size();
|
|
||||||
log.info("我是长度 " + size);
|
|
||||||
|
|
||||||
|
|
||||||
if (size < 10000) {
|
|
||||||
for (Object o : data) {
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String string = test.getString("_id");
|
|
||||||
lists.add(string);
|
|
||||||
if (lists.size() == 100) {
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject2.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
|
||||||
jsonObject2.put("data_ids", lists);
|
|
||||||
JSONObject datas = new JSONObject();
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value", "否");
|
|
||||||
datas.put("_widget_1729302240116", _widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value", "");
|
|
||||||
datas.put("_widget_1729302240117", _widget_1717727879725);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value", "");
|
|
||||||
datas.put("_widget_1724117232219", _widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1718157291962 = new JSONObject();
|
|
||||||
_widget_1718157291962.put("value", "");
|
|
||||||
datas.put("_widget_1724396148712", _widget_1718157291962);
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject2.put("data", datas);
|
|
||||||
|
|
||||||
|
|
||||||
String jsonString1 = jsonObject2.toJSONString();
|
|
||||||
log.info("我是更新参数 " + jsonString1);
|
|
||||||
V5utils.updatas(jsonString1);
|
|
||||||
lists.clear();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String jsonString = jsonObject.toJSONString();
|
||||||
flag = false;
|
String list = V5utils.list(jsonString);
|
||||||
|
JSONObject jsonObject1 = JSON.parseObject(list);
|
||||||
} else {
|
JSONArray data = jsonObject1.getJSONArray("data");
|
||||||
for (Object o : data) {
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String string = test.getString("_id");
|
|
||||||
lists.add(string);
|
|
||||||
id = string;
|
|
||||||
if (lists.size() == 100) {
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject2.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
|
||||||
jsonObject2.put("data_ids", lists);
|
|
||||||
JSONObject datas = new JSONObject();
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value", "否");
|
|
||||||
datas.put("_widget_1729302240116", _widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value", "");
|
|
||||||
datas.put("_widget_1729302240117", _widget_1717727879725);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value", "");
|
|
||||||
datas.put("_widget_1724117232219", _widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1718157291962 = new JSONObject();
|
int size = data.size();
|
||||||
_widget_1718157291962.put("value", "");
|
log.info("我是长度 " + size);
|
||||||
datas.put("_widget_1724396148712", _widget_1718157291962);
|
|
||||||
|
|
||||||
jsonObject2.put("data", datas);
|
|
||||||
|
|
||||||
|
|
||||||
String jsonString1 = jsonObject2.toJSONString();
|
if (size < 10000) {
|
||||||
log.info("我是更新参数 " + jsonString1);
|
for (Object o : data) {
|
||||||
V5utils.updatas(jsonString1);
|
JSONObject test = (JSONObject) o;
|
||||||
lists.clear();
|
String string = test.getString("_id");
|
||||||
|
lists.add(string);
|
||||||
|
if (lists.size() == 100) {
|
||||||
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject2.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
|
jsonObject2.put("data_ids", lists);
|
||||||
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879724 = new JSONObject();
|
||||||
|
_widget_1717727879724.put("value", "否");
|
||||||
|
datas.put("_widget_1729302240116", _widget_1717727879724);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879725 = new JSONObject();
|
||||||
|
_widget_1717727879725.put("value", "");
|
||||||
|
datas.put("_widget_1729302240117", _widget_1717727879725);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492391 = new JSONObject();
|
||||||
|
_widget_1717727492391.put("value", "");
|
||||||
|
datas.put("_widget_1724117232219", _widget_1717727492391);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1718157291962 = new JSONObject();
|
||||||
|
_widget_1718157291962.put("value", "");
|
||||||
|
datas.put("_widget_1724396148712", _widget_1718157291962);
|
||||||
|
|
||||||
|
|
||||||
|
jsonObject2.put("data", datas);
|
||||||
|
|
||||||
|
|
||||||
|
String jsonString1 = jsonObject2.toJSONString();
|
||||||
|
log.info("我是更新参数 " + jsonString1);
|
||||||
|
V5utils.updatas(jsonString1);
|
||||||
|
lists.clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
flag = false;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
for (Object o : data) {
|
||||||
|
JSONObject test = (JSONObject) o;
|
||||||
|
String string = test.getString("_id");
|
||||||
|
lists.add(string);
|
||||||
|
id = string;
|
||||||
|
if (lists.size() == 100) {
|
||||||
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject2.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
|
jsonObject2.put("data_ids", lists);
|
||||||
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879724 = new JSONObject();
|
||||||
|
_widget_1717727879724.put("value", "否");
|
||||||
|
datas.put("_widget_1729302240116", _widget_1717727879724);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879725 = new JSONObject();
|
||||||
|
_widget_1717727879725.put("value", "");
|
||||||
|
datas.put("_widget_1729302240117", _widget_1717727879725);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492391 = new JSONObject();
|
||||||
|
_widget_1717727492391.put("value", "");
|
||||||
|
datas.put("_widget_1724117232219", _widget_1717727492391);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1718157291962 = new JSONObject();
|
||||||
|
_widget_1718157291962.put("value", "");
|
||||||
|
datas.put("_widget_1724396148712", _widget_1718157291962);
|
||||||
|
|
||||||
|
jsonObject2.put("data", datas);
|
||||||
|
|
||||||
|
|
||||||
|
String jsonString1 = jsonObject2.toJSONString();
|
||||||
|
log.info("我是更新参数 " + jsonString1);
|
||||||
|
V5utils.updatas(jsonString1);
|
||||||
|
lists.clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject2.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
|
jsonObject2.put("data_ids", lists);
|
||||||
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879724 = new JSONObject();
|
||||||
|
_widget_1717727879724.put("value", "否");
|
||||||
|
datas.put("_widget_1729302240116", _widget_1717727879724);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879725 = new JSONObject();
|
||||||
|
_widget_1717727879725.put("value", "");
|
||||||
|
datas.put("_widget_1729302240117", _widget_1717727879725);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492391 = new JSONObject();
|
||||||
|
_widget_1717727492391.put("value", "");
|
||||||
|
datas.put("_widget_1724117232219", _widget_1717727492391);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1718157291962 = new JSONObject();
|
||||||
|
_widget_1718157291962.put("value", "");
|
||||||
|
datas.put("_widget_1724396148712", _widget_1718157291962);
|
||||||
|
|
||||||
|
jsonObject2.put("data", datas);
|
||||||
|
|
||||||
|
|
||||||
|
String jsonString1 = jsonObject2.toJSONString();
|
||||||
|
log.info("我是更新参数 " + jsonString1);
|
||||||
|
V5utils.updatas(jsonString1);
|
||||||
|
lists.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject2.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
|
||||||
jsonObject2.put("data_ids", lists);
|
|
||||||
JSONObject datas = new JSONObject();
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value", "否");
|
|
||||||
datas.put("_widget_1729302240116", _widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value", "");
|
|
||||||
datas.put("_widget_1729302240117", _widget_1717727879725);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value", "");
|
|
||||||
datas.put("_widget_1724117232219", _widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1718157291962 = new JSONObject();
|
|
||||||
_widget_1718157291962.put("value", "");
|
|
||||||
datas.put("_widget_1724396148712", _widget_1718157291962);
|
|
||||||
|
|
||||||
jsonObject2.put("data", datas);
|
|
||||||
|
|
||||||
|
|
||||||
String jsonString1 = jsonObject2.toJSONString();
|
|
||||||
log.info("我是更新参数 " + jsonString1);
|
|
||||||
V5utils.updatas(jsonString1);
|
|
||||||
lists.clear();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//每天置空前置空
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
|
|
||||||
|
//每天置空前置空
|
||||||
|
@Scheduled(cron = "0 0 23 * * ?")
|
||||||
|
public void main3() {
|
||||||
|
|
||||||
Boolean flag = true;
|
Boolean flag = true;
|
||||||
|
|
||||||
@ -691,7 +694,7 @@ public class DpZhiKong {
|
|||||||
try {
|
try {
|
||||||
JSONObject jsonObject = new JSONObject();
|
JSONObject jsonObject = new JSONObject();
|
||||||
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
jsonObject.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
jsonObject.put("limit", 1);
|
jsonObject.put("limit", 1);
|
||||||
JSONArray fields = new JSONArray();
|
JSONArray fields = new JSONArray();
|
||||||
fields.add("_widget_1717727492391");
|
fields.add("_widget_1717727492391");
|
||||||
@ -728,7 +731,7 @@ public class DpZhiKong {
|
|||||||
|
|
||||||
JSONObject jsonObject1123 = new JSONObject();
|
JSONObject jsonObject1123 = new JSONObject();
|
||||||
jsonObject1123.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject1123.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject1123.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
jsonObject1123.put("entry_id", "665fd98bf718f1edcc00377c");
|
||||||
jsonObject1123.put("data_id", id);
|
jsonObject1123.put("data_id", id);
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
|
||||||
@ -763,4 +766,15 @@ public class DpZhiKong {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private boolean isLastDayOfMonth() {
|
||||||
|
java.time.LocalDate today = java.time.LocalDate.now();
|
||||||
|
java.time.LocalDate tomorrow = today.plusDays(1);
|
||||||
|
return tomorrow.getDayOfMonth() == 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,11 +5,14 @@ import com.alibaba.fastjson.JSONArray;
|
|||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.example.sso.util.V5utils;
|
import com.example.sso.util.V5utils;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.scheduling.annotation.Scheduled;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
|
@Component
|
||||||
public class LianYingChongXie {
|
public class LianYingChongXie {
|
||||||
|
@Scheduled(cron = "0 10 2 * * ?")
|
||||||
public static void main(String[] args) {
|
public void main1() {
|
||||||
Boolean flag = true;
|
Boolean flag = true;
|
||||||
|
|
||||||
while (flag) {
|
while (flag) {
|
||||||
@ -53,7 +56,7 @@ public class LianYingChongXie {
|
|||||||
String wfs = te.getString("wfs");
|
String wfs = te.getString("wfs");
|
||||||
String wfjf = te.getString("wfjf");
|
String wfjf = te.getString("wfjf");
|
||||||
String wfje = te.getString("wfje");
|
String wfje = te.getString("wfje");
|
||||||
String wfzz = te.getString("dj");
|
String wfzz = te.getString("wfzz");
|
||||||
String yqys = te.getString("yqys");
|
String yqys = te.getString("yqys");
|
||||||
String njyf = te.getString("njyf");
|
String njyf = te.getString("njyf");
|
||||||
String ch = te.getString("ch");
|
String ch = te.getString("ch");
|
||||||
@ -65,7 +68,7 @@ public class LianYingChongXie {
|
|||||||
|
|
||||||
JSONObject jsonObject12 = new JSONObject();
|
JSONObject jsonObject12 = new JSONObject();
|
||||||
jsonObject12.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject12.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject12.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
jsonObject12.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
jsonObject12.put("limit", 100);
|
jsonObject12.put("limit", 100);
|
||||||
|
|
||||||
|
|
||||||
@ -111,7 +114,7 @@ public class LianYingChongXie {
|
|||||||
|
|
||||||
JSONObject jsonObject1123 = new JSONObject();
|
JSONObject jsonObject1123 = new JSONObject();
|
||||||
jsonObject1123.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject1123.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject1123.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
jsonObject1123.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
jsonObject1123.put("data_id", id);
|
jsonObject1123.put("data_id", id);
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import java.util.List;
|
|||||||
@Component
|
@Component
|
||||||
public class LyZhiKong {
|
public class LyZhiKong {
|
||||||
|
|
||||||
@Scheduled
|
@Scheduled(cron = "0 0 0 * * ?")
|
||||||
public void main1() {
|
public void main1() {
|
||||||
String yue1 = TimeUtil.yue();
|
String yue1 = TimeUtil.yue();
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ public class LyZhiKong {
|
|||||||
|
|
||||||
JSONObject jsonObject = new JSONObject();
|
JSONObject jsonObject = new JSONObject();
|
||||||
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
jsonObject.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
jsonObject.put("limit", 10000);
|
jsonObject.put("limit", 10000);
|
||||||
JSONArray fields = new JSONArray();
|
JSONArray fields = new JSONArray();
|
||||||
fields.add("createTime");
|
fields.add("createTime");
|
||||||
@ -89,7 +89,7 @@ public class LyZhiKong {
|
|||||||
if (lists.size() == 100) {
|
if (lists.size() == 100) {
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject2.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
jsonObject2.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
jsonObject2.put("data_ids", lists);
|
jsonObject2.put("data_ids", lists);
|
||||||
JSONObject datas = new JSONObject();
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
@ -373,7 +373,7 @@ public class LyZhiKong {
|
|||||||
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject2.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
jsonObject2.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
jsonObject2.put("data_ids", lists);
|
jsonObject2.put("data_ids", lists);
|
||||||
JSONObject datas = new JSONObject();
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
@ -505,180 +505,185 @@ public class LyZhiKong {
|
|||||||
|
|
||||||
|
|
||||||
//月初置空
|
//月初置空
|
||||||
@Scheduled
|
@Scheduled(cron = "0 50 23 28-31 * ?")
|
||||||
|
|
||||||
public void main2() {
|
public void executeOnLastDay() {
|
||||||
|
if (isLastDayOfMonth()) {
|
||||||
|
JSONObject yue = new JSONObject();
|
||||||
|
yue.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
yue.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
|
yue.put("limit", 1);
|
||||||
|
JSONArray fields1 = new JSONArray();
|
||||||
|
fields1.add("dpsj");
|
||||||
|
yue.put("fields", fields1);
|
||||||
|
|
||||||
|
|
||||||
JSONObject yue = new JSONObject();
|
String jsonString2 = yue.toJSONString();
|
||||||
yue.put("app_id", "665ea38ef718f1edccf7b20d");
|
String list1 = V5utils.list(jsonString2);
|
||||||
yue.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
System.out.println(list1);
|
||||||
yue.put("limit", 1);
|
JSONObject jsonObject11 = JSON.parseObject(list1);
|
||||||
JSONArray fields1 = new JSONArray();
|
JSONArray data1 = jsonObject11.getJSONArray("data");
|
||||||
fields1.add("dpsj");
|
|
||||||
yue.put("fields", fields1);
|
|
||||||
|
|
||||||
|
|
||||||
String jsonString2 = yue.toJSONString();
|
Boolean flag = true;
|
||||||
String list1 = V5utils.list(jsonString2);
|
String id = "";
|
||||||
System.out.println(list1);
|
List<String> lists = new ArrayList<>();
|
||||||
JSONObject jsonObject11 = JSON.parseObject(list1);
|
while (flag) {
|
||||||
JSONArray data1 = jsonObject11.getJSONArray("data");
|
|
||||||
|
|
||||||
|
JSONObject jsonObject = new JSONObject();
|
||||||
Boolean flag = true;
|
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
String id = "";
|
jsonObject.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
List<String> lists = new ArrayList<>();
|
jsonObject.put("limit", 10000);
|
||||||
while (flag) {
|
JSONArray fields = new JSONArray();
|
||||||
|
fields.add("createTime");
|
||||||
JSONObject jsonObject = new JSONObject();
|
jsonObject.put("fields", fields);
|
||||||
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
if (!id.equals("")) {
|
||||||
jsonObject.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
jsonObject.put("data_id", id);
|
||||||
jsonObject.put("limit", 10000);
|
|
||||||
JSONArray fields = new JSONArray();
|
|
||||||
fields.add("createTime");
|
|
||||||
jsonObject.put("fields", fields);
|
|
||||||
if (!id.equals("")) {
|
|
||||||
jsonObject.put("data_id", id);
|
|
||||||
}
|
|
||||||
|
|
||||||
String jsonString = jsonObject.toJSONString();
|
|
||||||
String list = V5utils.list(jsonString);
|
|
||||||
JSONObject jsonObject1 = JSON.parseObject(list);
|
|
||||||
JSONArray data = jsonObject1.getJSONArray("data");
|
|
||||||
|
|
||||||
|
|
||||||
int size = data.size();
|
|
||||||
log.info("我是长度 " + size);
|
|
||||||
|
|
||||||
|
|
||||||
if (size < 10000) {
|
|
||||||
for (Object o : data) {
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String string = test.getString("_id");
|
|
||||||
lists.add(string);
|
|
||||||
if (lists.size() == 100) {
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject2.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
|
||||||
jsonObject2.put("data_ids", lists);
|
|
||||||
JSONObject datas = new JSONObject();
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value", "否");
|
|
||||||
datas.put("_widget_1729302240116", _widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value", "");
|
|
||||||
datas.put("_widget_1729302240117", _widget_1717727879725);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value", "");
|
|
||||||
datas.put("_widget_1724117232219", _widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1718157291962 = new JSONObject();
|
|
||||||
_widget_1718157291962.put("value", "");
|
|
||||||
datas.put("_widget_1724396148712", _widget_1718157291962);
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject2.put("data", datas);
|
|
||||||
|
|
||||||
|
|
||||||
String jsonString1 = jsonObject2.toJSONString();
|
|
||||||
log.info("我是更新参数 " + jsonString1);
|
|
||||||
V5utils.updatas(jsonString1);
|
|
||||||
lists.clear();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String jsonString = jsonObject.toJSONString();
|
||||||
flag = false;
|
String list = V5utils.list(jsonString);
|
||||||
|
JSONObject jsonObject1 = JSON.parseObject(list);
|
||||||
} else {
|
JSONArray data = jsonObject1.getJSONArray("data");
|
||||||
for (Object o : data) {
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String string = test.getString("_id");
|
|
||||||
lists.add(string);
|
|
||||||
id = string;
|
|
||||||
if (lists.size() == 100) {
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject2.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
|
||||||
jsonObject2.put("data_ids", lists);
|
|
||||||
JSONObject datas = new JSONObject();
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value", "否");
|
|
||||||
datas.put("_widget_1729302240116", _widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value", "");
|
|
||||||
datas.put("_widget_1729302240117", _widget_1717727879725);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value", "");
|
|
||||||
datas.put("_widget_1724117232219", _widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1718157291962 = new JSONObject();
|
int size = data.size();
|
||||||
_widget_1718157291962.put("value", "");
|
log.info("我是长度 " + size);
|
||||||
datas.put("_widget_1724396148712", _widget_1718157291962);
|
|
||||||
|
|
||||||
jsonObject2.put("data", datas);
|
|
||||||
|
|
||||||
|
|
||||||
String jsonString1 = jsonObject2.toJSONString();
|
if (size < 10000) {
|
||||||
log.info("我是更新参数 " + jsonString1);
|
for (Object o : data) {
|
||||||
V5utils.updatas(jsonString1);
|
JSONObject test = (JSONObject) o;
|
||||||
lists.clear();
|
String string = test.getString("_id");
|
||||||
|
lists.add(string);
|
||||||
|
if (lists.size() == 100) {
|
||||||
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject2.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
|
jsonObject2.put("data_ids", lists);
|
||||||
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879724 = new JSONObject();
|
||||||
|
_widget_1717727879724.put("value", "否");
|
||||||
|
datas.put("_widget_1729302240116", _widget_1717727879724);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879725 = new JSONObject();
|
||||||
|
_widget_1717727879725.put("value", "");
|
||||||
|
datas.put("_widget_1729302240117", _widget_1717727879725);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492391 = new JSONObject();
|
||||||
|
_widget_1717727492391.put("value", "");
|
||||||
|
datas.put("_widget_1724117232219", _widget_1717727492391);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1718157291962 = new JSONObject();
|
||||||
|
_widget_1718157291962.put("value", "");
|
||||||
|
datas.put("_widget_1724396148712", _widget_1718157291962);
|
||||||
|
|
||||||
|
|
||||||
|
jsonObject2.put("data", datas);
|
||||||
|
|
||||||
|
|
||||||
|
String jsonString1 = jsonObject2.toJSONString();
|
||||||
|
log.info("我是更新参数 " + jsonString1);
|
||||||
|
V5utils.updatas(jsonString1);
|
||||||
|
lists.clear();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
flag = false;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
for (Object o : data) {
|
||||||
|
JSONObject test = (JSONObject) o;
|
||||||
|
String string = test.getString("_id");
|
||||||
|
lists.add(string);
|
||||||
|
id = string;
|
||||||
|
if (lists.size() == 100) {
|
||||||
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject2.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
||||||
|
jsonObject2.put("data_ids", lists);
|
||||||
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879724 = new JSONObject();
|
||||||
|
_widget_1717727879724.put("value", "否");
|
||||||
|
datas.put("_widget_1729302240116", _widget_1717727879724);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879725 = new JSONObject();
|
||||||
|
_widget_1717727879725.put("value", "");
|
||||||
|
datas.put("_widget_1729302240117", _widget_1717727879725);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492391 = new JSONObject();
|
||||||
|
_widget_1717727492391.put("value", "");
|
||||||
|
datas.put("_widget_1724117232219", _widget_1717727492391);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1718157291962 = new JSONObject();
|
||||||
|
_widget_1718157291962.put("value", "");
|
||||||
|
datas.put("_widget_1724396148712", _widget_1718157291962);
|
||||||
|
|
||||||
|
jsonObject2.put("data", datas);
|
||||||
|
|
||||||
|
|
||||||
|
String jsonString1 = jsonObject2.toJSONString();
|
||||||
|
log.info("我是更新参数 " + jsonString1);
|
||||||
|
V5utils.updatas(jsonString1);
|
||||||
|
lists.clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject2.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
|
jsonObject2.put("data_ids", lists);
|
||||||
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879724 = new JSONObject();
|
||||||
|
_widget_1717727879724.put("value", "否");
|
||||||
|
datas.put("_widget_1729302240116", _widget_1717727879724);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879725 = new JSONObject();
|
||||||
|
_widget_1717727879725.put("value", "");
|
||||||
|
datas.put("_widget_1729302240117", _widget_1717727879725);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492391 = new JSONObject();
|
||||||
|
_widget_1717727492391.put("value", "");
|
||||||
|
datas.put("_widget_1724117232219", _widget_1717727492391);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1718157291962 = new JSONObject();
|
||||||
|
_widget_1718157291962.put("value", "");
|
||||||
|
datas.put("_widget_1724396148712", _widget_1718157291962);
|
||||||
|
|
||||||
|
jsonObject2.put("data", datas);
|
||||||
|
|
||||||
|
|
||||||
|
String jsonString1 = jsonObject2.toJSONString();
|
||||||
|
log.info("我是更新参数 " + jsonString1);
|
||||||
|
V5utils.updatas(jsonString1);
|
||||||
|
lists.clear();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject2.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
|
||||||
jsonObject2.put("data_ids", lists);
|
|
||||||
JSONObject datas = new JSONObject();
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value", "否");
|
|
||||||
datas.put("_widget_1729302240116", _widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value", "");
|
|
||||||
datas.put("_widget_1729302240117", _widget_1717727879725);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value", "");
|
|
||||||
datas.put("_widget_1724117232219", _widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1718157291962 = new JSONObject();
|
|
||||||
_widget_1718157291962.put("value", "");
|
|
||||||
datas.put("_widget_1724396148712", _widget_1718157291962);
|
|
||||||
|
|
||||||
jsonObject2.put("data", datas);
|
|
||||||
|
|
||||||
|
|
||||||
String jsonString1 = jsonObject2.toJSONString();
|
|
||||||
log.info("我是更新参数 " + jsonString1);
|
|
||||||
V5utils.updatas(jsonString1);
|
|
||||||
lists.clear();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//每天置空前置空
|
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
|
|
||||||
|
|
||||||
|
//每天置空前置空
|
||||||
|
@Scheduled(cron = "0 0 23 * * ?")
|
||||||
|
public void main3() {
|
||||||
|
|
||||||
Boolean flag = true;
|
Boolean flag = true;
|
||||||
|
|
||||||
@ -688,7 +693,7 @@ public class LyZhiKong {
|
|||||||
try {
|
try {
|
||||||
JSONObject jsonObject = new JSONObject();
|
JSONObject jsonObject = new JSONObject();
|
||||||
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
jsonObject.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
jsonObject.put("limit", 1);
|
jsonObject.put("limit", 1);
|
||||||
JSONArray fields = new JSONArray();
|
JSONArray fields = new JSONArray();
|
||||||
fields.add("_widget_1717727492391");
|
fields.add("_widget_1717727492391");
|
||||||
@ -725,7 +730,7 @@ public class LyZhiKong {
|
|||||||
|
|
||||||
JSONObject jsonObject1123 = new JSONObject();
|
JSONObject jsonObject1123 = new JSONObject();
|
||||||
jsonObject1123.put("app_id", "665ea38ef718f1edccf7b20d");
|
jsonObject1123.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
jsonObject1123.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
jsonObject1123.put("entry_id", "68a7c86a0499bc38086d05ce");
|
||||||
jsonObject1123.put("data_id", id);
|
jsonObject1123.put("data_id", id);
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
|
||||||
@ -757,4 +762,12 @@ public class LyZhiKong {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private boolean isLastDayOfMonth() {
|
||||||
|
java.time.LocalDate today = java.time.LocalDate.now();
|
||||||
|
java.time.LocalDate tomorrow = today.plusDays(1);
|
||||||
|
return tomorrow.getDayOfMonth() == 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,9 +1,13 @@
|
|||||||
package com.example.sso.newcontroller;
|
package com.example.sso.newcontroller;
|
||||||
|
|
||||||
import com.example.sso.newdao.*;
|
import com.example.sso.newdao.*;
|
||||||
|
import org.springframework.scheduling.annotation.Scheduled;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
@Component
|
||||||
public class ZhiKongDelete {
|
public class ZhiKongDelete {
|
||||||
public static void main(String[] args) {
|
@Scheduled(cron = "0 0 15 * * ?")
|
||||||
|
public void main() {
|
||||||
DeleteZhiKong.main1();
|
DeleteZhiKong.main1();
|
||||||
DeleteZhiKong1.main2();
|
DeleteZhiKong1.main2();
|
||||||
DeleteZhiKong2.main3();
|
DeleteZhiKong2.main3();
|
||||||
|
|||||||
@ -3,55 +3,503 @@ package com.example.sso.test;
|
|||||||
import com.alibaba.fastjson.JSON;
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.alibaba.fastjson.JSONArray;
|
import com.alibaba.fastjson.JSONArray;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.example.sso.controller.QianFei;
|
|
||||||
import com.example.sso.dao.JiChuBiaoDao;
|
|
||||||
import com.example.sso.dao.JiaoTongWeiFaDao;
|
import com.example.sso.dao.JiaoTongWeiFaDao;
|
||||||
import com.example.sso.util.TimeUtil;
|
import com.example.sso.util.TimeUtil;
|
||||||
import com.example.sso.util.V5utils;
|
import com.example.sso.util.V5utils;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
import org.springframework.scheduling.annotation.Scheduled;
|
||||||
|
|
||||||
import java.time.Duration;
|
import java.time.Duration;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
import java.time.format.DateTimeFormatter;
|
import java.time.format.DateTimeFormatter;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
@Slf4j
|
||||||
public class A {
|
public class A {
|
||||||
public static void main(String[] args){
|
public static void main(String[] args) {
|
||||||
String yue1 = TimeUtil.yue();
|
String yue1 = TimeUtil.yue();
|
||||||
|
|
||||||
JSONObject yue = new JSONObject();
|
JSONObject yue = new JSONObject();
|
||||||
yue.put("app_id","665ea38ef718f1edccf7b20d");
|
yue.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
yue.put("entry_id","68ac12b80499bc3808905065");
|
yue.put("entry_id", "68ac12b80499bc3808905065");
|
||||||
yue.put("limit",1);
|
yue.put("limit", 1);
|
||||||
JSONArray fields1 = new JSONArray();
|
JSONArray fields1 = new JSONArray();
|
||||||
fields1.add("dpsj");
|
fields1.add("lysjsj");
|
||||||
yue.put("fields",fields1);
|
yue.put("fields", fields1);
|
||||||
JSONObject filter = new JSONObject();
|
JSONObject filter = new JSONObject();
|
||||||
filter.put("rel","and");
|
filter.put("rel", "and");
|
||||||
JSONArray cond = new JSONArray();
|
JSONArray cond = new JSONArray();
|
||||||
|
|
||||||
JSONObject oo = new JSONObject();
|
JSONObject oo = new JSONObject();
|
||||||
oo.put("field","_widget_1756107451181");
|
oo.put("field", "_widget_1756107451181");
|
||||||
oo.put("method","eq");
|
oo.put("method", "eq");
|
||||||
JSONArray ii = new JSONArray();
|
JSONArray ii = new JSONArray();
|
||||||
ii.add(yue1);
|
ii.add(yue1);
|
||||||
oo.put("method","eq");
|
oo.put("method", "eq");
|
||||||
oo.put("value",ii);
|
oo.put("value", ii);
|
||||||
cond.add(oo);
|
cond.add(oo);
|
||||||
|
|
||||||
filter.put("cond",cond);
|
filter.put("cond", cond);
|
||||||
yue.put("filter",filter);
|
yue.put("filter", filter);
|
||||||
String jsonString2 = yue.toJSONString();
|
String jsonString2 = yue.toJSONString();
|
||||||
String list1 = V5utils.list(jsonString2);
|
String list1 = V5utils.list(jsonString2);
|
||||||
System.out.println(list1);
|
System.out.println(list1);
|
||||||
JSONObject jsonObject11 = JSON.parseObject(list1);
|
JSONObject jsonObject11 = JSON.parseObject(list1);
|
||||||
JSONArray data1 = jsonObject11.getJSONArray("data");
|
JSONArray data1 = jsonObject11.getJSONArray("data");
|
||||||
String qw = "";
|
String qw = "";
|
||||||
for (Object object : data1){
|
for (Object object : data1) {
|
||||||
JSONObject pp = (JSONObject) object;
|
JSONObject pp = (JSONObject) object;
|
||||||
qw = pp.getString("dpsj");
|
qw = pp.getString("lysjsj");
|
||||||
}
|
}
|
||||||
System.out.println(qw);
|
System.out.println(qw);
|
||||||
|
|
||||||
|
|
||||||
|
Boolean flag = true;
|
||||||
|
String id = "";
|
||||||
|
List<String> lists = new ArrayList<>();
|
||||||
|
while (flag) {
|
||||||
|
|
||||||
|
JSONObject jsonObject = new JSONObject();
|
||||||
|
jsonObject.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
||||||
|
jsonObject.put("limit", 10000);
|
||||||
|
JSONArray fields = new JSONArray();
|
||||||
|
fields.add("createTime");
|
||||||
|
jsonObject.put("fields", fields);
|
||||||
|
if (!id.equals("")) {
|
||||||
|
jsonObject.put("data_id", id);
|
||||||
|
}
|
||||||
|
|
||||||
|
String jsonString = jsonObject.toJSONString();
|
||||||
|
String list = V5utils.list(jsonString);
|
||||||
|
JSONObject jsonObject1 = JSON.parseObject(list);
|
||||||
|
JSONArray data = jsonObject1.getJSONArray("data");
|
||||||
|
|
||||||
|
|
||||||
|
int size = data.size();
|
||||||
|
log.info("我是长度 " + size);
|
||||||
|
|
||||||
|
|
||||||
|
if (size < 10000) {
|
||||||
|
for (Object o : data) {
|
||||||
|
JSONObject test = (JSONObject) o;
|
||||||
|
String string = test.getString("_id");
|
||||||
|
lists.add(string);
|
||||||
|
if (lists.size() == 100) {
|
||||||
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject2.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
||||||
|
jsonObject2.put("data_ids", lists);
|
||||||
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304762 = new JSONObject();
|
||||||
|
_widget_1717666304762.put("value", "");
|
||||||
|
datas.put("_widget_1717666304762", _widget_1717666304762);
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304763 = new JSONObject();
|
||||||
|
_widget_1717666304763.put("value", "");
|
||||||
|
datas.put("_widget_1717666304763", _widget_1717666304763);
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304765 = new JSONObject();
|
||||||
|
_widget_1717666304765.put("value", "");
|
||||||
|
datas.put("_widget_1717666304765", _widget_1717666304765);
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304764 = new JSONObject();
|
||||||
|
_widget_1717666304764.put("value", "");
|
||||||
|
datas.put("_widget_1717666304764", _widget_1717666304764);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086807 = new JSONObject();
|
||||||
|
_widget_1718086086807.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086807", _widget_1718086086807);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086808 = new JSONObject();
|
||||||
|
_widget_1718086086808.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086808", _widget_1718086086808);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086810 = new JSONObject();
|
||||||
|
_widget_1718086086810.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086810", _widget_1718086086810);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086811 = new JSONObject();
|
||||||
|
_widget_1718086086811.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086811", _widget_1718086086811);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086812 = new JSONObject();
|
||||||
|
_widget_1718086086812.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086812", _widget_1718086086812);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086813 = new JSONObject();
|
||||||
|
_widget_1718086086813.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086813", _widget_1718086086813);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086814 = new JSONObject();
|
||||||
|
_widget_1718086086814.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086814", _widget_1718086086814);
|
||||||
|
|
||||||
|
JSONObject _widget_1718347956660 = new JSONObject();
|
||||||
|
_widget_1718347956660.put("value", "");
|
||||||
|
datas.put("_widget_1718347956660", _widget_1718347956660);
|
||||||
|
|
||||||
|
JSONObject _widget_1718157395046 = new JSONObject();
|
||||||
|
_widget_1718157395046.put("value", 0);
|
||||||
|
datas.put("_widget_1718157395046", _widget_1718157395046);
|
||||||
|
|
||||||
|
JSONObject _widget_1718098344621 = new JSONObject();
|
||||||
|
_widget_1718098344621.put("value", 0);
|
||||||
|
datas.put("_widget_1718098344621", _widget_1718098344621);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148701 = new JSONObject();
|
||||||
|
_widget_1724396148701.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148701", _widget_1724396148701);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148706 = new JSONObject();
|
||||||
|
_widget_1724396148706.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148706", _widget_1724396148706);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148707 = new JSONObject();
|
||||||
|
_widget_1724396148707.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148707", _widget_1724396148707);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148708 = new JSONObject();
|
||||||
|
_widget_1724396148708.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148708", _widget_1724396148708);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148709 = new JSONObject();
|
||||||
|
_widget_1724396148709.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148709", _widget_1724396148709);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148710 = new JSONObject();
|
||||||
|
_widget_1724396148710.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148710", _widget_1724396148710);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148711 = new JSONObject();
|
||||||
|
_widget_1724396148711.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148711", _widget_1724396148711);
|
||||||
|
|
||||||
|
JSONObject _widget_1718097576151 = new JSONObject();
|
||||||
|
_widget_1718097576151.put("value", 0);
|
||||||
|
datas.put("_widget_1718097576151", _widget_1718097576151);
|
||||||
|
|
||||||
|
JSONObject _widget_1718097576152 = new JSONObject();
|
||||||
|
_widget_1718097576152.put("value", "");
|
||||||
|
datas.put("_widget_1718097576152", _widget_1718097576152);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879724 = new JSONObject();
|
||||||
|
_widget_1717727879724.put("value", "");
|
||||||
|
datas.put("_widget_1717727879724", _widget_1717727879724);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879725 = new JSONObject();
|
||||||
|
_widget_1717727879725.put("value", "");
|
||||||
|
datas.put("_widget_1717727879725", _widget_1717727879725);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492391 = new JSONObject();
|
||||||
|
_widget_1717727492391.put("value", "是");
|
||||||
|
datas.put("_widget_1717727492391", _widget_1717727492391);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1718157291962 = new JSONObject();
|
||||||
|
_widget_1718157291962.put("value", "");
|
||||||
|
datas.put("_widget_1718157291962", _widget_1718157291962);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492392 = new JSONObject();
|
||||||
|
_widget_1717727492392.put("value", qw);
|
||||||
|
datas.put("_widget_1717727492392", _widget_1717727492392);
|
||||||
|
|
||||||
|
JSONObject a = new JSONObject();
|
||||||
|
a.put("value", "");
|
||||||
|
datas.put("a", a);
|
||||||
|
|
||||||
|
jsonObject2.put("data", datas);
|
||||||
|
|
||||||
|
|
||||||
|
String jsonString1 = jsonObject2.toJSONString();
|
||||||
|
log.info("我是更新参数 " + jsonString1);
|
||||||
|
V5utils.updatas(jsonString1);
|
||||||
|
lists.clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
flag = false;
|
||||||
|
|
||||||
|
} else {
|
||||||
|
for (Object o : data) {
|
||||||
|
JSONObject test = (JSONObject) o;
|
||||||
|
String string = test.getString("_id");
|
||||||
|
lists.add(string);
|
||||||
|
id = string;
|
||||||
|
if (lists.size() == 100) {
|
||||||
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject2.put("entry_id", "695c7a4c2b2ce8cf415cc0e6");
|
||||||
|
jsonObject2.put("data_ids", lists);
|
||||||
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304762 = new JSONObject();
|
||||||
|
_widget_1717666304762.put("value", "");
|
||||||
|
datas.put("_widget_1717666304762", _widget_1717666304762);
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304763 = new JSONObject();
|
||||||
|
_widget_1717666304763.put("value", "");
|
||||||
|
datas.put("_widget_1717666304763", _widget_1717666304763);
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304765 = new JSONObject();
|
||||||
|
_widget_1717666304765.put("value", "");
|
||||||
|
datas.put("_widget_1717666304765", _widget_1717666304765);
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304764 = new JSONObject();
|
||||||
|
_widget_1717666304764.put("value", "");
|
||||||
|
datas.put("_widget_1717666304764", _widget_1717666304764);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086807 = new JSONObject();
|
||||||
|
_widget_1718086086807.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086807", _widget_1718086086807);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086808 = new JSONObject();
|
||||||
|
_widget_1718086086808.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086808", _widget_1718086086808);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086810 = new JSONObject();
|
||||||
|
_widget_1718086086810.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086810", _widget_1718086086810);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086811 = new JSONObject();
|
||||||
|
_widget_1718086086811.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086811", _widget_1718086086811);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086812 = new JSONObject();
|
||||||
|
_widget_1718086086812.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086812", _widget_1718086086812);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086813 = new JSONObject();
|
||||||
|
_widget_1718086086813.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086813", _widget_1718086086813);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086814 = new JSONObject();
|
||||||
|
_widget_1718086086814.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086814", _widget_1718086086814);
|
||||||
|
|
||||||
|
JSONObject _widget_1718347956660 = new JSONObject();
|
||||||
|
_widget_1718347956660.put("value", "");
|
||||||
|
datas.put("_widget_1718347956660", _widget_1718347956660);
|
||||||
|
|
||||||
|
JSONObject _widget_1718157395046 = new JSONObject();
|
||||||
|
_widget_1718157395046.put("value", 0);
|
||||||
|
datas.put("_widget_1718157395046", _widget_1718157395046);
|
||||||
|
|
||||||
|
JSONObject _widget_1718098344621 = new JSONObject();
|
||||||
|
_widget_1718098344621.put("value", 0);
|
||||||
|
datas.put("_widget_1718098344621", _widget_1718098344621);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148701 = new JSONObject();
|
||||||
|
_widget_1724396148701.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148701", _widget_1724396148701);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148706 = new JSONObject();
|
||||||
|
_widget_1724396148706.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148706", _widget_1724396148706);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148707 = new JSONObject();
|
||||||
|
_widget_1724396148707.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148707", _widget_1724396148707);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148708 = new JSONObject();
|
||||||
|
_widget_1724396148708.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148708", _widget_1724396148708);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148709 = new JSONObject();
|
||||||
|
_widget_1724396148709.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148709", _widget_1724396148709);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148710 = new JSONObject();
|
||||||
|
_widget_1724396148710.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148710", _widget_1724396148710);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148711 = new JSONObject();
|
||||||
|
_widget_1724396148711.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148711", _widget_1724396148711);
|
||||||
|
|
||||||
|
JSONObject _widget_1718097576151 = new JSONObject();
|
||||||
|
_widget_1718097576151.put("value", 0);
|
||||||
|
datas.put("_widget_1718097576151", _widget_1718097576151);
|
||||||
|
|
||||||
|
JSONObject _widget_1718097576152 = new JSONObject();
|
||||||
|
_widget_1718097576152.put("value", "");
|
||||||
|
datas.put("_widget_1718097576152", _widget_1718097576152);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879724 = new JSONObject();
|
||||||
|
_widget_1717727879724.put("value", "");
|
||||||
|
datas.put("_widget_1717727879724", _widget_1717727879724);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879725 = new JSONObject();
|
||||||
|
_widget_1717727879725.put("value", "");
|
||||||
|
datas.put("_widget_1717727879725", _widget_1717727879725);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492391 = new JSONObject();
|
||||||
|
_widget_1717727492391.put("value", "是");
|
||||||
|
datas.put("_widget_1717727492391", _widget_1717727492391);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1718157291962 = new JSONObject();
|
||||||
|
_widget_1718157291962.put("value", "");
|
||||||
|
datas.put("_widget_1718157291962", _widget_1718157291962);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492392 = new JSONObject();
|
||||||
|
_widget_1717727492392.put("value", qw);
|
||||||
|
datas.put("_widget_1717727492392", _widget_1717727492392);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject a = new JSONObject();
|
||||||
|
a.put("value", "");
|
||||||
|
datas.put("a", a);
|
||||||
|
|
||||||
|
|
||||||
|
jsonObject2.put("data", datas);
|
||||||
|
|
||||||
|
|
||||||
|
String jsonString1 = jsonObject2.toJSONString();
|
||||||
|
log.info("我是更新参数 " + jsonString1);
|
||||||
|
V5utils.updatas(jsonString1);
|
||||||
|
lists.clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
JSONObject jsonObject2 = new JSONObject();
|
||||||
|
jsonObject2.put("app_id", "665ea38ef718f1edccf7b20d");
|
||||||
|
jsonObject2.put("entry_id", "696aed462b2ce8cf410b8b6f");
|
||||||
|
jsonObject2.put("data_ids", lists);
|
||||||
|
JSONObject datas = new JSONObject();
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304762 = new JSONObject();
|
||||||
|
_widget_1717666304762.put("value", "");
|
||||||
|
datas.put("_widget_1717666304762", _widget_1717666304762);
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304763 = new JSONObject();
|
||||||
|
_widget_1717666304763.put("value", "");
|
||||||
|
datas.put("_widget_1717666304763", _widget_1717666304763);
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304765 = new JSONObject();
|
||||||
|
_widget_1717666304765.put("value", "");
|
||||||
|
datas.put("_widget_1717666304765", _widget_1717666304765);
|
||||||
|
|
||||||
|
JSONObject _widget_1717666304764 = new JSONObject();
|
||||||
|
_widget_1717666304764.put("value", "");
|
||||||
|
datas.put("_widget_1717666304764", _widget_1717666304764);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086807 = new JSONObject();
|
||||||
|
_widget_1718086086807.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086807", _widget_1718086086807);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086808 = new JSONObject();
|
||||||
|
_widget_1718086086808.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086808", _widget_1718086086808);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086810 = new JSONObject();
|
||||||
|
_widget_1718086086810.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086810", _widget_1718086086810);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086811 = new JSONObject();
|
||||||
|
_widget_1718086086811.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086811", _widget_1718086086811);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086812 = new JSONObject();
|
||||||
|
_widget_1718086086812.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086812", _widget_1718086086812);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086813 = new JSONObject();
|
||||||
|
_widget_1718086086813.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086813", _widget_1718086086813);
|
||||||
|
|
||||||
|
JSONObject _widget_1718086086814 = new JSONObject();
|
||||||
|
_widget_1718086086814.put("value", 0);
|
||||||
|
datas.put("_widget_1718086086814", _widget_1718086086814);
|
||||||
|
|
||||||
|
JSONObject _widget_1718347956660 = new JSONObject();
|
||||||
|
_widget_1718347956660.put("value", "");
|
||||||
|
datas.put("_widget_1718347956660", _widget_1718347956660);
|
||||||
|
|
||||||
|
JSONObject _widget_1718157395046 = new JSONObject();
|
||||||
|
_widget_1718157395046.put("value", 0);
|
||||||
|
datas.put("_widget_1718157395046", _widget_1718157395046);
|
||||||
|
|
||||||
|
JSONObject _widget_1718098344621 = new JSONObject();
|
||||||
|
_widget_1718098344621.put("value", 0);
|
||||||
|
datas.put("_widget_1718098344621", _widget_1718098344621);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148701 = new JSONObject();
|
||||||
|
_widget_1724396148701.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148701", _widget_1724396148701);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148706 = new JSONObject();
|
||||||
|
_widget_1724396148706.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148706", _widget_1724396148706);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148707 = new JSONObject();
|
||||||
|
_widget_1724396148707.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148707", _widget_1724396148707);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148708 = new JSONObject();
|
||||||
|
_widget_1724396148708.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148708", _widget_1724396148708);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148709 = new JSONObject();
|
||||||
|
_widget_1724396148709.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148709", _widget_1724396148709);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148710 = new JSONObject();
|
||||||
|
_widget_1724396148710.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148710", _widget_1724396148710);
|
||||||
|
|
||||||
|
JSONObject _widget_1724396148711 = new JSONObject();
|
||||||
|
_widget_1724396148711.put("value", 0);
|
||||||
|
datas.put("_widget_1724396148711", _widget_1724396148711);
|
||||||
|
|
||||||
|
JSONObject _widget_1718097576151 = new JSONObject();
|
||||||
|
_widget_1718097576151.put("value", 0);
|
||||||
|
datas.put("_widget_1718097576151", _widget_1718097576151);
|
||||||
|
|
||||||
|
JSONObject _widget_1718097576152 = new JSONObject();
|
||||||
|
_widget_1718097576152.put("value", "");
|
||||||
|
datas.put("_widget_1718097576152", _widget_1718097576152);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879724 = new JSONObject();
|
||||||
|
_widget_1717727879724.put("value", "");
|
||||||
|
datas.put("_widget_1717727879724", _widget_1717727879724);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727879725 = new JSONObject();
|
||||||
|
_widget_1717727879725.put("value", "");
|
||||||
|
datas.put("_widget_1717727879725", _widget_1717727879725);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492391 = new JSONObject();
|
||||||
|
_widget_1717727492391.put("value", "是");
|
||||||
|
datas.put("_widget_1717727492391", _widget_1717727492391);
|
||||||
|
|
||||||
|
|
||||||
|
JSONObject _widget_1718157291962 = new JSONObject();
|
||||||
|
_widget_1718157291962.put("value", "");
|
||||||
|
datas.put("_widget_1718157291962", _widget_1718157291962);
|
||||||
|
|
||||||
|
JSONObject _widget_1717727492392 = new JSONObject();
|
||||||
|
_widget_1717727492392.put("value", qw);
|
||||||
|
datas.put("_widget_1717727492392", _widget_1717727492392);
|
||||||
|
|
||||||
|
JSONObject a = new JSONObject();
|
||||||
|
a.put("value", "");
|
||||||
|
datas.put("a", a);
|
||||||
|
|
||||||
|
jsonObject2.put("data", datas);
|
||||||
|
|
||||||
|
|
||||||
|
String jsonString1 = jsonObject2.toJSONString();
|
||||||
|
log.info("我是更新参数 " + jsonString1);
|
||||||
|
V5utils.updatas(jsonString1);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,82 +0,0 @@
|
|||||||
package com.example.sso.testbao;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.example.sso.dao.JiChuBiaoDao;
|
|
||||||
import com.example.sso.dao.KeChengWeiWanchengDao;
|
|
||||||
import com.example.sso.util.V5utils;
|
|
||||||
|
|
||||||
public class KeCheng {
|
|
||||||
public static void main1() throws InterruptedException {
|
|
||||||
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = KeChengWeiWanchengDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
String widget_1718085460707 = jsonObject.getString("_widget_1718085460707");
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718086369844");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718086369845");
|
|
||||||
Integer aDouble1 = jsonObject.getInteger("_widget_1718086369846");
|
|
||||||
Integer aDouble3 = jsonObject.getInteger("_widget_1718086369847");
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1717666304763 = new JSONObject();
|
|
||||||
_widget_1717666304763.put("value",widget_1718085460707);
|
|
||||||
jsonObject2.put("_widget_1717666304763",_widget_1717666304763);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086811 = new JSONObject();
|
|
||||||
_widget_1718086086811.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718086086811",_widget_1718086086811);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086812 = new JSONObject();
|
|
||||||
_widget_1718086086812.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718086086812",_widget_1718086086812);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086813 = new JSONObject();
|
|
||||||
_widget_1718086086813.put("value",aDouble1);
|
|
||||||
jsonObject2.put("_widget_1718086086813",_widget_1718086086813);
|
|
||||||
|
|
||||||
JSONObject _widget_1718086086814 = new JSONObject();
|
|
||||||
_widget_1718086086814.put("value",aDouble3);
|
|
||||||
jsonObject2.put("_widget_1718086086814",_widget_1718086086814);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,123 +0,0 @@
|
|||||||
package com.example.sso.testbao;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.example.sso.controller.QianFei;
|
|
||||||
import com.example.sso.dao.JiChuBiaoDao;
|
|
||||||
import com.example.sso.dao.JiaoTongWeiFaDao;
|
|
||||||
import com.example.sso.util.V5utils;
|
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
@Component
|
|
||||||
public class Run {
|
|
||||||
//@Scheduled(cron = "0 29 18 3 * ?")
|
|
||||||
public void main1() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644376");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongWeiFaDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
Integer aDouble = jsonObject.getInteger("_widget_1718082954436");
|
|
||||||
Double aDouble2 = jsonObject.getDouble("_widget_1718162597102");
|
|
||||||
String widget1725274360910 = jsonObject.getString("_widget_1725274360910");
|
|
||||||
Integer widget1724396193068 = jsonObject.getInteger("_widget_1724396193068");
|
|
||||||
Integer widget1724396193070 = jsonObject.getInteger("_widget_1724396193070");
|
|
||||||
Integer widget1724396193071 = jsonObject.getInteger("_widget_1724396193071");
|
|
||||||
Integer widget1724396193072 = jsonObject.getInteger("_widget_1724396193072");
|
|
||||||
Integer widget1724396193073 = jsonObject.getInteger("_widget_1724396193073");
|
|
||||||
Integer widget1724396193074 = jsonObject.getInteger("_widget_1724396193074");
|
|
||||||
Integer widget1724396193075 = jsonObject.getInteger("_widget_1724396193075");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718098344621 = new JSONObject();
|
|
||||||
_widget_1718098344621.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718098344621",_widget_1718098344621);
|
|
||||||
|
|
||||||
JSONObject _widget_1718157395046 = new JSONObject();
|
|
||||||
_widget_1718157395046.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718157395046",_widget_1718157395046);
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304765 = new JSONObject();
|
|
||||||
_widget_1717666304765.put("value",widget1725274360910);
|
|
||||||
jsonObject2.put("_widget_1717666304765",_widget_1717666304765);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_17176663047651 = new JSONObject();
|
|
||||||
_widget_17176663047651.put("value",widget1724396193068);
|
|
||||||
jsonObject2.put("_widget_1724396148701",_widget_17176663047651);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304765a = new JSONObject();
|
|
||||||
_widget_1717666304765a.put("value",widget1724396193070);
|
|
||||||
jsonObject2.put("_widget_1724396148706",_widget_1717666304765a);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304765b = new JSONObject();
|
|
||||||
_widget_1717666304765b.put("value",widget1724396193071);
|
|
||||||
jsonObject2.put("_widget_1724396148707",_widget_1717666304765b);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304765c = new JSONObject();
|
|
||||||
_widget_1717666304765c.put("value",widget1724396193072);
|
|
||||||
jsonObject2.put("_widget_1724396148708",_widget_1717666304765c);
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304765d = new JSONObject();
|
|
||||||
_widget_1717666304765d.put("value",widget1724396193073);
|
|
||||||
jsonObject2.put("_widget_1724396148709",_widget_1717666304765d);
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304765e = new JSONObject();
|
|
||||||
_widget_1717666304765e.put("value",widget1724396193074);
|
|
||||||
jsonObject2.put("_widget_1724396148710",_widget_1717666304765e);
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304765f = new JSONObject();
|
|
||||||
_widget_1717666304765f.put("value",widget1724396193075);
|
|
||||||
jsonObject2.put("_widget_1724396148711",_widget_1717666304765f);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
YuQi.main1();
|
|
||||||
QianFei.qianfei();
|
|
||||||
KeCheng.main1();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,77 +0,0 @@
|
|||||||
package com.example.sso.testbao;
|
|
||||||
|
|
||||||
import com.alibaba.fastjson.JSONArray;
|
|
||||||
import com.alibaba.fastjson.JSONObject;
|
|
||||||
import com.example.sso.dao.JiChuBiaoDao;
|
|
||||||
import com.example.sso.dao.JiaoTongYuQiDao;
|
|
||||||
import com.example.sso.util.V5utils;
|
|
||||||
|
|
||||||
public class YuQi {
|
|
||||||
public static void main1() throws InterruptedException {
|
|
||||||
JSONArray jsonArray = JiChuBiaoDao.jsonArray();
|
|
||||||
for (Object o : jsonArray){
|
|
||||||
Thread.sleep(1000);
|
|
||||||
JSONObject test = (JSONObject) o;
|
|
||||||
String idCard = test.getString("_widget_1717557644374");
|
|
||||||
String id = test.getString("_id");
|
|
||||||
JSONArray jsonArray1 = JiaoTongYuQiDao.jsonArray(idCard);
|
|
||||||
if (jsonArray1.size() != 0 && jsonArray1 != null){
|
|
||||||
for (Object object : jsonArray1){
|
|
||||||
JSONObject jsonObject = (JSONObject) object;
|
|
||||||
|
|
||||||
|
|
||||||
String aDouble = jsonObject.getString("_widget_1718184485291");
|
|
||||||
Integer aDouble2 = jsonObject.getInteger("_widget_1718184485293");
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject jsonObject1 = new JSONObject();
|
|
||||||
jsonObject1.put("app_id","665ea38ef718f1edccf7b20d");
|
|
||||||
jsonObject1.put("entry_id","665fd98bf718f1edcc00377c");
|
|
||||||
jsonObject1.put("data_id",id);
|
|
||||||
JSONObject jsonObject2 = new JSONObject();
|
|
||||||
JSONObject _widget_1718097576152 = new JSONObject();
|
|
||||||
_widget_1718097576152.put("value",aDouble);
|
|
||||||
jsonObject2.put("_widget_1718097576152",_widget_1718097576152);
|
|
||||||
|
|
||||||
JSONObject _widget_1718097576151 = new JSONObject();
|
|
||||||
_widget_1718097576151.put("value",aDouble2);
|
|
||||||
jsonObject2.put("_widget_1718097576151",_widget_1718097576151);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879724 = new JSONObject();
|
|
||||||
_widget_1717727879724.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717727879724",_widget_1717727879724);
|
|
||||||
|
|
||||||
JSONObject _widget_1717727879725 = new JSONObject();
|
|
||||||
_widget_1717727879725.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727879725",_widget_1717727879725);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717727492391 = new JSONObject();
|
|
||||||
_widget_1717727492391.put("value","否");
|
|
||||||
jsonObject2.put("_widget_1717727492391",_widget_1717727492391);
|
|
||||||
|
|
||||||
|
|
||||||
JSONObject _widget_1717666304764 = new JSONObject();
|
|
||||||
_widget_1717666304764.put("value","是");
|
|
||||||
jsonObject2.put("_widget_1717666304764",_widget_1717666304764);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jsonObject1.put("data",jsonObject2);
|
|
||||||
|
|
||||||
String jsonString = jsonObject1.toJSONString();
|
|
||||||
String updata = V5utils.updata(jsonString);
|
|
||||||
System.out.println(updata);
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user