Explorar el Código

采集bug修改

hzp hace 9 años
padre
commit
80c68cd7ca

+ 2 - 2
Hos-resource/src/main/java/com/yihu/ehr/datacollect/service/DatacollectService.java

@ -368,7 +368,7 @@ public class DatacollectService implements IDatacollectService {
                    }
                }
                else{
                    int count = obj.getInt("count");
                    int count = obj.getInt("COUNT");
                    if(count==0) //0条记录,无需采集
                    {
@ -377,7 +377,7 @@ public class DatacollectService implements IDatacollectService {
                    else
                    {
                        int successCount = 0;
                        String maxKeyvalue = obj.optString("maxKeyvalue");
                        String maxKeyvalue = obj.optString("MAX_KEYVALUE");
                        int countPage = 1;
                        if(count > maxNum) //分页采集
                        {