Browse Source

Merge branch 'master' of http://git.ningdatech.com/liushuai/project-management into 20230913_project_declared_new

tags/24080901
PoffyZhang 1 year ago
parent
commit
1ee27a80b8
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/SynProjectCoreBizTask.java

+ 5
- 0
pmapi/src/main/java/com/ningdatech/pmapi/scheduler/task/SynProjectCoreBizTask.java View File

@@ -167,6 +167,11 @@ public class SynProjectCoreBizTask {
JSONObject jsonObject = projectIrsManage.searchCoreBiz(null, null, MAX_PAGE_SIZE, page); JSONObject jsonObject = projectIrsManage.searchCoreBiz(null, null, MAX_PAGE_SIZE, page);


JSONArray jsonArray = jsonObject.getJSONArray(BizConst.RESPONSE_KEY_DATA); JSONArray jsonArray = jsonObject.getJSONArray(BizConst.RESPONSE_KEY_DATA);

if(Objects.isNull(jsonArray)){
return;
}

currentSize = jsonArray.size(); currentSize = jsonArray.size();
if (CollUtil.isNotEmpty(jsonArray)) { if (CollUtil.isNotEmpty(jsonArray)) {
if (currentSize.equals(MAX_PAGE_SIZE)) { if (currentSize.equals(MAX_PAGE_SIZE)) {


Loading…
Cancel
Save