|
@@ -12,6 +12,7 @@ import com.management.platform.entity.*;
|
|
|
import com.management.platform.mapper.*;
|
|
|
import com.management.platform.service.WxCorpInfoService;
|
|
|
import com.management.platform.util.*;
|
|
|
+import javafx.scene.effect.Light;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.apache.http.client.utils.HttpClientUtils;
|
|
@@ -1235,6 +1236,7 @@ public class WxCorpInfoServiceImpl extends ServiceImpl<WxCorpInfoMapper, WxCorpI
|
|
|
ResponseEntity<String> ResponseEntity = restTemplate.postForEntity(url, entity, String.class);
|
|
|
if (ResponseEntity.getStatusCode() == HttpStatus.OK) {
|
|
|
String resp = ResponseEntity.getBody();
|
|
|
+ System.err.println("++++++++++++" + resp + "++++++++++++");
|
|
|
JSONObject json = JSONObject.parseObject(resp);
|
|
|
Object[] sp_no_lists = json.getJSONArray("sp_no_list").toArray();
|
|
|
//查询每个审批号审批详情
|
|
@@ -1392,7 +1394,6 @@ public class WxCorpInfoServiceImpl extends ServiceImpl<WxCorpInfoMapper, WxCorpI
|
|
|
}
|
|
|
//判断是否需要多次拉取
|
|
|
int nextCur = json.getIntValue("next_cursor");
|
|
|
- System.err.println(nextCur);
|
|
|
if (nextCur==0){
|
|
|
break;
|
|
|
}else {
|