lingfeng преди 9 години
родител
ревизия
837ec13ef0
променени са 1 файла, в които са добавени 0 реда и са изтрити 11 реда
  1. 0 11
      Hos-resource/src/main/java/com/yihu/ehr/crawler/controller/CrawlerController.java

+ 0 - 11
Hos-resource/src/main/java/com/yihu/ehr/crawler/controller/CrawlerController.java

@ -8,7 +8,6 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import net.sf.json.JSONObject;
import org.junit.Test;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
@ -43,14 +42,4 @@ public class CrawlerController {
            return Result.error("参数转换病人实体失败");
        }
    }
    @Test
    public void crawlerTest() {
        Patient patient = new Patient();
        patient.setPatientId("1004192");
        patient.setEventNo("999999");
        patient.setOrgCode("1");
        JSONObject jsonObject = JSONObject.fromObject(patient);
        CrawlerManager.getInstance().collectProcess(patient);
    }
}