瀏覽代碼

去除Test注解

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