省中医病案报告采集,配置修改
parent
2c1f65a671
commit
1a8e0e78b0
@ -0,0 +1,24 @@
|
|||||||
|
package com.docus.server.collect;
|
||||||
|
|
||||||
|
import org.mybatis.spring.annotation.MapperScan;
|
||||||
|
import org.springframework.boot.SpringApplication;
|
||||||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
|
import java.util.Properties;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 病案报告采集
|
||||||
|
*
|
||||||
|
* @author wyb
|
||||||
|
*/
|
||||||
|
@SpringBootApplication(scanBasePackages = {"com.docus"})
|
||||||
|
@MapperScan("com.docus.server.**.mapper")
|
||||||
|
public class CollectApplication {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
Properties props = System.getProperties();
|
||||||
|
props.setProperty("org.apache.cxf.stax.allowInsecureParser", "1");
|
||||||
|
props.setProperty("UseSunHttpHandler", "true");
|
||||||
|
props.setProperty("javax.xml.parsers.DocumentBuilderFactory", "com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
|
||||||
|
SpringApplication.run(CollectApplication.class, args);
|
||||||
|
}
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
package com.docus.collect.util;
|
package com.docus.server.collect.util;
|
||||||
|
|
||||||
import com.docus.core.util.Func;
|
import com.docus.core.util.Func;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
@ -1,4 +1,4 @@
|
|||||||
package com.docus.collect.util;
|
package com.docus.server.collect.util;
|
||||||
|
|
||||||
import org.apache.cxf.endpoint.Client;
|
import org.apache.cxf.endpoint.Client;
|
||||||
import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
|
import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
|
Loading…
Reference in New Issue