|
@ -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);
|
|
|
}
|
|
|
}
|