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5GWf#8Vd{~Grn@qgX#!EI`Y>++l%1A;eL
z{_7t6jMeEr@a+oxyCL^+_}9Qc;i0&Xd%LXp?to*R|26LKHG(m0)*QF4*h;5%YG5<9)c>
z1vq!7bIJSv1^27i-mcH!zX>ep3Iw0^{nx<1jOy)N_UoFD8v}x~2mEWapI3m~kMQkR
z#&@4FuEGBn`mgtSx6jeY7vUQNf=^}sTZErIEpH!cy|@7Z
zU4h_Oxxd2s=f{}$XXy4}%JqTSjRC
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..b310813
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,149 @@
+
+
+ 4.0.0
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.1.9.RELEASE
+
+
+ com.ann
+ demo
+ 0.0.1-SNAPSHOT
+ war
+ demo
+ Demo project for Spring Boot
+
+
+ 1.8
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+ org.apache.cxf
+ cxf-spring-boot-starter-jaxws
+ 3.2.5
+
+
+
+
+
+
+
+
+
+
+ org.projectlombok
+ lombok
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-jpa
+
+
+
+
+ mysql
+ mysql-connector-java
+ 5.1.30
+
+
+
+ com.alibaba
+ fastjson
+ 1.2.4
+
+
+
+
+ jaxen
+ jaxen
+ 1.1-beta-11
+
+
+ xerces
+ xercesImpl
+
+
+
+
+
+
+ com.microsoft.sqlserver
+ sqljdbc4
+ 4.0
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-quartz
+
+
+
+ org.springframework.boot
+ spring-boot-starter-thymeleaf
+
+
+
+ com.itextpdf
+ itextpdf
+ 5.5.11
+
+
+
+ commons-io
+ commons-io
+ 2.4
+
+
+ org.apache.commons
+ commons-lang3
+ 3.8
+
+
+
+
+ commons-net
+ commons-net
+ 3.6
+
+
+
+ commons-io
+ commons-io
+ 2.4
+
+
+ org.apache.commons
+ commons-lang3
+ 3.8
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+ ScanningFile
+
+
+
diff --git a/src/main/java/com/ann/demo/DemoApplication.java b/src/main/java/com/ann/demo/DemoApplication.java
new file mode 100644
index 0000000..1dd2134
--- /dev/null
+++ b/src/main/java/com/ann/demo/DemoApplication.java
@@ -0,0 +1,16 @@
+package com.ann.demo;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.boot.context.properties.EnableConfigurationProperties;
+import org.springframework.scheduling.annotation.EnableScheduling;
+
+@SpringBootApplication
+@EnableConfigurationProperties
+public class DemoApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(DemoApplication.class, args);
+ }
+
+}
diff --git a/src/main/java/com/ann/demo/ServletInitializer.java b/src/main/java/com/ann/demo/ServletInitializer.java
new file mode 100644
index 0000000..8bf4915
--- /dev/null
+++ b/src/main/java/com/ann/demo/ServletInitializer.java
@@ -0,0 +1,13 @@
+package com.ann.demo;
+
+import org.springframework.boot.builder.SpringApplicationBuilder;
+import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
+
+public class ServletInitializer extends SpringBootServletInitializer {
+
+ @Override
+ protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
+ return application.sources(DemoApplication.class);
+ }
+
+}
diff --git a/src/main/java/com/ann/demo/config/DataSourceConfig.java b/src/main/java/com/ann/demo/config/DataSourceConfig.java
new file mode 100644
index 0000000..9ca60b7
--- /dev/null
+++ b/src/main/java/com/ann/demo/config/DataSourceConfig.java
@@ -0,0 +1,32 @@
+package com.ann.demo.config;
+
+import org.springframework.beans.factory.annotation.Qualifier;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.boot.jdbc.DataSourceBuilder;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.Primary;
+
+import javax.sql.DataSource;
+
+
+@Configuration
+public class DataSourceConfig {
+
+ @Primary
+ @Bean(name = "primaryDataSource")
+ @Qualifier("primaryDataSource")
+ @ConfigurationProperties(prefix = "spring.datasource.primary")
+ public DataSource primaryDatasource() {
+ return DataSourceBuilder.create().build();
+ }
+
+ @Bean(name = "secondaryDataSource")
+ @Qualifier("secondaryDataSource")
+ @ConfigurationProperties(prefix = "spring.datasource.secondary")
+ public DataSource secondaryDataSource() {
+ return DataSourceBuilder.create().build();
+ }
+
+
+}
\ No newline at end of file
diff --git a/src/main/java/com/ann/demo/config/PrimaryConfig.java b/src/main/java/com/ann/demo/config/PrimaryConfig.java
new file mode 100644
index 0000000..11b0649
--- /dev/null
+++ b/src/main/java/com/ann/demo/config/PrimaryConfig.java
@@ -0,0 +1,75 @@
+package com.ann.demo.config;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Qualifier;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties;
+import org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.Primary;
+import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
+import org.springframework.orm.jpa.JpaTransactionManager;
+import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
+import org.springframework.transaction.PlatformTransactionManager;
+import org.springframework.transaction.annotation.EnableTransactionManagement;
+
+import javax.sql.DataSource;
+import java.util.HashMap;
+import java.util.Map;
+
+@Configuration
+@EnableTransactionManagement
+@EnableJpaRepositories(
+ entityManagerFactoryRef = "entityManagerFactoryPrimary",//配置连接工厂 entityManagerFactory
+ transactionManagerRef = "transactionManagerPrimary", //配置 事物管理器 transactionManager
+ basePackages = {"com.ann.demo.primaryRepository"}//设置持久层所在位置
+)
+public class PrimaryConfig {
+ @Autowired
+ private JpaProperties jpaProperties;
+ @Autowired
+ @Qualifier("primaryDataSource")
+ private DataSource primaryDataSource;// 自动注入配置好的数据源
+
+ @Value("${spring.jpa.primary.hibernate.dialect}")
+ private String primaryDialect;// 获取对应的数据库方言
+
+ @Bean(name = "entityManagerFactoryPrimary")
+ @Primary
+ public LocalContainerEntityManagerFactoryBean entityManagerFactoryPrimary(EntityManagerFactoryBuilder builder) {
+
+ return builder
+ //设置数据源
+ .dataSource(primaryDataSource)
+ //设置数据源属性
+ .properties(getVendorProperties(primaryDataSource))
+ //设置实体类所在位置.扫描所有带有 @Entity 注解的类
+ .packages("com.ann.demo.primaryEntity")
+ // Spring会将EntityManagerFactory注入到Repository之中.有了 EntityManagerFactory之后,
+ // Repository就能用它来创建 EntityManager 了,然后 EntityManager 就可以针对数据库执行操作
+ .persistenceUnit("primaryPersistenceUnit")
+ .build();
+
+ }
+
+ private Map getVendorProperties(DataSource dataSource) {
+ Map map = new HashMap<>();
+ map.put("hibernate.dialect",primaryDialect);// 设置对应的数据库方言
+ //jpaProperties.getHibernate().getNaming().setPhysicalStrategy("org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl");
+ jpaProperties.setProperties(map);
+ return jpaProperties.getProperties();
+ }
+
+ /**
+ * 配置事物管理器
+ *
+ * @param builder
+ * @return
+ */
+ @Bean(name = "transactionManagerPrimary")
+ @Primary
+ PlatformTransactionManager transactionManagerPrimary(EntityManagerFactoryBuilder builder) {
+ return new JpaTransactionManager(entityManagerFactoryPrimary(builder).getObject());
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/ann/demo/config/QuartzConfiguration.java b/src/main/java/com/ann/demo/config/QuartzConfiguration.java
new file mode 100644
index 0000000..10a6ad5
--- /dev/null
+++ b/src/main/java/com/ann/demo/config/QuartzConfiguration.java
@@ -0,0 +1,84 @@
+package com.ann.demo.config;
+
+import org.quartz.spi.JobFactory;
+import org.quartz.spi.TriggerFiredBundle;
+import org.springframework.beans.factory.config.AutowireCapableBeanFactory;
+import org.springframework.beans.factory.config.PropertiesFactoryBean;
+import org.springframework.context.ApplicationContext;
+import org.springframework.context.ApplicationContextAware;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.core.io.ClassPathResource;
+import org.springframework.scheduling.quartz.SchedulerFactoryBean;
+import org.springframework.scheduling.quartz.SpringBeanJobFactory;
+
+import javax.sql.DataSource;
+import java.io.IOException;
+import java.util.Properties;
+
+//@Configuration
+public class QuartzConfiguration {
+
+// @Bean
+// public SchedulerFactoryBean getSchedulerFactoryBean(){
+// SchedulerFactoryBean schedulerFactoryBean = new SchedulerFactoryBean();
+// schedulerFactoryBean.setQuartzProperties(getProperties());
+// return schedulerFactoryBean;
+// }
+//
+// @Bean
+// public Properties getProperties(){
+// Properties properties = new Properties();
+// properties.put("org.quartz.threadPool.threadCount",Integer.toString(1));
+// return properties;
+// }
+
+ @Bean
+ public JobFactory jobFactory(ApplicationContext applicationContext) {
+ AutowiringSpringBeanJobFactory jobFactory = new AutowiringSpringBeanJobFactory();
+ jobFactory.setApplicationContext(applicationContext);
+ return jobFactory;
+ }
+ /**
+ * SchedulerFactoryBean这个类的真正作用提供了对org.quartz.Scheduler的创建与配置,并且会管理它的生命周期与Spring同步。
+ * org.quartz.Scheduler: 调度器。所有的调度都是由它控制。
+ * @param dataSource 为SchedulerFactory配置数据源
+ * @param jobFactory 为SchedulerFactory配置JobFactory
+ */
+ @Bean
+ public SchedulerFactoryBean schedulerFactoryBean(DataSource dataSource, JobFactory jobFactory) throws IOException {
+ SchedulerFactoryBean factory = new SchedulerFactoryBean();
+ //可选,QuartzScheduler启动时更新己存在的Job,这样就不用每次修改targetObject后删除qrtz_job_details表对应记录
+ factory.setOverwriteExistingJobs(true);
+ factory.setAutoStartup(true); //设置自行启动
+ factory.setDataSource(dataSource);
+ factory.setJobFactory(jobFactory);
+ factory.setQuartzProperties(quartzProperties());
+ return factory;
+ }
+ //从quartz.properties文件中读取Quartz配置属性
+ @Bean
+ public Properties quartzProperties() throws IOException {
+ PropertiesFactoryBean propertiesFactoryBean = new PropertiesFactoryBean();
+ propertiesFactoryBean.setLocation(new ClassPathResource("/quartz.properties"));
+ propertiesFactoryBean.afterPropertiesSet();
+ return propertiesFactoryBean.getObject();
+ }
+ //配置JobFactory,为quartz作业添加自动连接支持
+ public final class AutowiringSpringBeanJobFactory extends SpringBeanJobFactory implements
+ ApplicationContextAware {
+ private transient AutowireCapableBeanFactory beanFactory;
+ @Override
+ public void setApplicationContext(final ApplicationContext context) {
+ beanFactory = context.getAutowireCapableBeanFactory();
+ }
+ @Override
+ protected Object createJobInstance(final TriggerFiredBundle bundle) throws Exception {
+ final Object job = super.createJobInstance(bundle);
+ beanFactory.autowireBean(job);
+ return job;
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/src/main/java/com/ann/demo/config/SecondaryConfig.java b/src/main/java/com/ann/demo/config/SecondaryConfig.java
new file mode 100644
index 0000000..c18e020
--- /dev/null
+++ b/src/main/java/com/ann/demo/config/SecondaryConfig.java
@@ -0,0 +1,69 @@
+package com.ann.demo.config;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Qualifier;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.boot.autoconfigure.orm.jpa.JpaProperties;
+import org.springframework.boot.orm.jpa.EntityManagerFactoryBuilder;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
+import org.springframework.orm.jpa.JpaTransactionManager;
+import org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean;
+import org.springframework.transaction.PlatformTransactionManager;
+import org.springframework.transaction.annotation.EnableTransactionManagement;
+
+import javax.persistence.EntityManager;
+import javax.sql.DataSource;
+import java.util.HashMap;
+import java.util.Map;
+
+@Configuration
+@EnableTransactionManagement
+@EnableJpaRepositories(
+ entityManagerFactoryRef="entityManagerFactorySecondary",
+ transactionManagerRef="transactionManagerSecondary",
+ basePackages= { "com.ann.demo.repository" })
+public class SecondaryConfig {
+
+ @Autowired
+ private JpaProperties jpaProperties;
+
+ @Autowired
+ @Qualifier("secondaryDataSource")
+ private DataSource secondaryDataSource;
+
+ @Value("${spring.jpa.secondary.hibernate.dialect}")
+ private String secondaryDialect;
+
+
+ @Bean(name = "entityManagerSecondary")
+ public EntityManager entityManager(EntityManagerFactoryBuilder builder) {
+ return entityManagerFactorySecondary(builder).getObject().createEntityManager();
+ }
+
+ @Bean(name = "entityManagerFactorySecondary")
+ public LocalContainerEntityManagerFactoryBean entityManagerFactorySecondary (EntityManagerFactoryBuilder builder) {
+ return builder
+ .dataSource(secondaryDataSource)
+ .properties(getVendorProperties(secondaryDataSource))
+ .packages("com.ann.demo.entity")
+ .persistenceUnit("secondaryPersistenceUnit")
+ .build();
+ }
+
+ private Map getVendorProperties(DataSource dataSource) {
+ Map map = new HashMap<>();
+ map.put("hibernate.dialect",secondaryDialect);
+ // jpaProperties.getHibernate().getNaming().setPhysicalStrategy("org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy");
+ //jpaProperties.getHibernate().getNaming().setImplicitStrategy("org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy");
+ jpaProperties.setProperties(map);
+ return jpaProperties.getProperties();
+ }
+
+ @Bean(name = "transactionManagerSecondary")
+ PlatformTransactionManager transactionManagerSecondary(EntityManagerFactoryBuilder builder) {
+ return new JpaTransactionManager(entityManagerFactorySecondary(builder).getObject());
+ }
+
+}
\ No newline at end of file
diff --git a/src/main/java/com/ann/demo/controller/InterfaceForm.java b/src/main/java/com/ann/demo/controller/InterfaceForm.java
new file mode 100644
index 0000000..8262c61
--- /dev/null
+++ b/src/main/java/com/ann/demo/controller/InterfaceForm.java
@@ -0,0 +1,22 @@
+package com.ann.demo.controller;
+
+import lombok.Data;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/8/1 9:57
+ */
+@Data
+public class InterfaceForm {
+ private String url;
+ private String content;
+ private String parameter;
+ private String interfaceName;
+
+ public InterfaceForm(String url, String content, String parameter, String interfaceName) {
+ this.url = url;
+ this.content = content;
+ this.parameter = parameter;
+ this.interfaceName = interfaceName;
+ }
+}
diff --git a/src/main/java/com/ann/demo/controller/TestController.java b/src/main/java/com/ann/demo/controller/TestController.java
new file mode 100644
index 0000000..56853e0
--- /dev/null
+++ b/src/main/java/com/ann/demo/controller/TestController.java
@@ -0,0 +1,65 @@
+package com.ann.demo.controller;
+
+import com.ann.demo.entity.constant.InterfaceName;
+import org.apache.cxf.endpoint.Client;
+import org.apache.cxf.jaxws.endpoint.dynamic.JaxWsDynamicClientFactory;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import java.util.Objects;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/7/11 18:47
+ */
+@Controller
+@RequestMapping("/")
+public class TestController {
+
+ @RequestMapping("/demo")
+ public String aa() {
+ return "demo";
+ }
+
+ /*@ResponseBody*/
+ @RequestMapping("/haha")
+ public String cc(InterfaceForm interfaceForm) {
+ JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
+ Client client = dcf.createClient(interfaceForm.getUrl());
+ Object[] objects = new Object[0];
+ try {
+ // invoke("方法名",参数1,参数2,参数3....);
+ if (Objects.equals(interfaceForm.getInterfaceName(), "ReceiveDict") ||
+ Objects.equals(interfaceForm.getInterfaceName(), "InpSummary") ||
+ Objects.equals(interfaceForm.getInterfaceName(), "handNumbnessReport") ||
+ Objects.equals(interfaceForm.getInterfaceName(), InterfaceName.ICU_REPORT) ||
+ Objects.equals(interfaceForm.getInterfaceName(), InterfaceName.BLOODAPPLY_REPORT) ||
+ Objects.equals(interfaceForm.getInterfaceName(), InterfaceName.DOCTOR_DATA) ||
+ Objects.equals(interfaceForm.getInterfaceName(), InterfaceName.NURSE_DATA) ||
+ Objects.equals(interfaceForm.getInterfaceName(), "ScanningFile")) {
+ objects = client.invoke(interfaceForm.getInterfaceName(), interfaceForm.getContent());
+ } else {
+ objects = client.invoke(interfaceForm.getInterfaceName(), interfaceForm.getParameter(), interfaceForm.getContent());
+ }
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return "redirect:/demo";
+ }
+
+ @RequestMapping("/bb")
+ public String cc() {
+ JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
+ Client client = dcf.createClient("http://localhost:8080/services/HomepageDictionary?wsdl");
+ Object[] objects = new Object[0];
+ try {
+ String outContent = "1.CDP2018102209193920180907112152";
+ objects = client.invoke("ScanningFile", outContent);
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ return "成功";
+ }
+
+
+}
diff --git a/src/main/java/com/ann/demo/controller/UsingStaticController.java b/src/main/java/com/ann/demo/controller/UsingStaticController.java
new file mode 100644
index 0000000..c5e7f42
--- /dev/null
+++ b/src/main/java/com/ann/demo/controller/UsingStaticController.java
@@ -0,0 +1,18 @@
+package com.ann.demo.controller;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
+import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/8/1 9:30
+ */
+
+@Configuration
+public class UsingStaticController extends WebMvcConfigurationSupport {
+
+ public void addResourceHandlers(ResourceHandlerRegistry registry) {
+ registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");
+ }
+}
\ No newline at end of file
diff --git a/src/main/java/com/ann/demo/entity/constant/AliasName.java b/src/main/java/com/ann/demo/entity/constant/AliasName.java
new file mode 100644
index 0000000..b8678af
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/constant/AliasName.java
@@ -0,0 +1,107 @@
+package com.ann.demo.entity.constant;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * @Description 类型
+ * @Date 2019/6/12
+ * @Created by ljx
+ */
+public class AliasName {
+
+ public static final String USER = "用户字典";
+
+ public static final String DEPARTMENT = "科室字典";
+
+ // 超声报告
+ public static final String ULTRASONIC_REPORT = "57";
+
+ // 病理检查报告单
+ public static final String PATHOLOGY_REPORT = "52";
+
+ // 放射诊断报告单 54
+ public static final String RADIATION_REPORT = "54";
+
+ // 心电图报告单 59
+ public static final String EKG_REPORT = "59";
+
+ // 入院记录
+ public static final String ADMISSION_RECORD = "9";
+
+ // 出院记录
+ public static final String DISCHARGE_RECORD = "113";
+
+ // 转科记录
+ public static final String TRANSFER_RECORD = "114";
+
+ // 取消入院
+ public static final String CANCELLATION_DISCHARGE = "115";
+
+ // 手麻
+ public static final String HANDNUMBNESS_REPORT = "117";
+
+ // ICU报告
+ public static final String ICU_REPORT = "121";
+
+ // 其他类型 目前来说 是手麻系统的其他三个
+ public static final String OTHER = "18";
+
+ // 检查申请单
+ public static final String PARAMETER_EXAMAPPLY = "119";
+
+ // 输血单
+ public static final String BLOODAPPLY_REPORT = "120";
+
+ // PET/CT报告单
+ public static final String PETCT_REPORT = "60";
+
+ // 检验申请单
+ //public static final String PARAMETER_EXAMAPPLY = "118";
+
+ // 检验报告
+ public static final String INSPECTION_REPORT = "10";
+
+ // 扫描文件
+ public static final String SCANNING_FILE = "30";
+
+ // 护理、医生
+ public static final Map DOCTOR_MAP;
+ public static final Map NURSE_MAP;
+
+ // 病案首页
+ public static final String MEDICAL_RECORD_HOMEPAGE = "3";
+
+
+ static {
+ DOCTOR_MAP = new HashMap();
+ DOCTOR_MAP.put("入院记录", "9");
+ DOCTOR_MAP.put("病程记录", "11");
+ DOCTOR_MAP.put("术前文书", "12");
+ DOCTOR_MAP.put("手术资料", "13");
+ DOCTOR_MAP.put("讨论记录", "14");
+ DOCTOR_MAP.put("会诊记录", "15");
+ DOCTOR_MAP.put("出院记录", "16");
+ DOCTOR_MAP.put("死亡记录", "17");
+ DOCTOR_MAP.put("VTE文书", "23");
+ DOCTOR_MAP.put("其他记录", "18");
+ DOCTOR_MAP.put("医护共用", "19");
+ DOCTOR_MAP.put("知情同意", "20");
+ DOCTOR_MAP.put("疾病危重", "21");
+ DOCTOR_MAP.put("VTE记录", "22");
+ DOCTOR_MAP.put("病案首页", "3");
+ DOCTOR_MAP.put("病历文书", "");
+
+ NURSE_MAP = new HashMap();
+ NURSE_MAP.put("首次护理记录", "7");
+ NURSE_MAP.put("护理文书", "6");
+ NURSE_MAP.put("专科单护理", "24");
+ NURSE_MAP.put("知情文件", "8");
+ NURSE_MAP.put("体温单", "5");
+ NURSE_MAP.put("护理记录", "2");
+ NURSE_MAP.put("评估单", "4");
+ NURSE_MAP.put("病历护理文书", "");
+ }
+
+
+}
diff --git a/src/main/java/com/ann/demo/entity/constant/Identification.java b/src/main/java/com/ann/demo/entity/constant/Identification.java
new file mode 100644
index 0000000..bf5c28c
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/constant/Identification.java
@@ -0,0 +1,15 @@
+package com.ann.demo.entity.constant;
+
+/**
+ * @Description 操作
+ * @Date 2019/6/13 16:39
+ * @Created by ljx
+ */
+public class Identification {
+
+ public static final String INSERT = "insert";
+
+ public static final String UPDATE = "update";
+
+ public static final String DELETE = "delete";
+}
diff --git a/src/main/java/com/ann/demo/entity/constant/InterfaceName.java b/src/main/java/com/ann/demo/entity/constant/InterfaceName.java
new file mode 100644
index 0000000..a17dbba
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/constant/InterfaceName.java
@@ -0,0 +1,111 @@
+package com.ann.demo.entity.constant;
+
+/**
+ * @Description 接口名称
+ * @Date 2019/7/10 9:46
+ * @Created by ljx
+ */
+public class InterfaceName {
+
+ /**
+ * 用户、科室接口 ReceiveDict
+ */
+ public static final String RECEIVE_DICT = "his系统";
+ /**
+ * V3接口
+ */
+ public static final String HIP_MESSAGE_SERVER = "HIPMessageServer";
+
+ /**
+ * 检查报告参数
+ */
+ public static final String PARAMETER_REPORT = "ExamReportBackRequest";
+ /**
+ * 超声
+ */
+ public static final String ULTRASOUND_REPORT = "超声系统";
+ /**
+ * 心电图
+ */
+ public static final String EKG_REPORT = "心电图系统";
+ /**
+ * 病理
+ */
+ public static final String PATHOLOGY_REPORT = "病理系统";
+ /**
+ * 放射
+ */
+ public static final String RADIATION_REPORT = "PACS系统";
+ /**
+ * petct
+ */
+ public static final String PET_REPORT = "核医学系统";
+ /**
+ * 入院参数
+ */
+ public static final String PARAMETER_ADMISSION = "InPatientAddRequest";
+ /**
+ * 出院参数
+ */
+ public static final String PARAMETER_DISCHARGE = "PatientOutRequest";
+
+ /**
+ * 转科参数
+ */
+ public static final String PARAMETER_TRANSFER = "InpatientTransferRequest";
+
+ /**
+ * 取消入院
+ */
+ public static final String PARAMETER_CANCELLATION_DISCHARGE = "CalPatientRequest";
+
+
+ /**
+ * 检查申请单
+ */
+ public static final String PARAMETER_EXAMAPPLY = "ExamApplyRequest";
+
+
+ /**
+ * 病案首页
+ */
+ public static final String INP_SUMMARY = "InpSummary";
+
+ /**
+ * 手麻报告
+ */
+ public static final String HANDNUMBNESS_REPORT = "手麻系统";
+
+ /**
+ * 重症ICU报告
+ */
+ public static final String ICU_REPORT = "重症监护归档";
+
+ /**
+ * 输血单
+ */
+ public static final String BLOODAPPLY_REPORT = "输血系统";
+
+ /**
+ * 医生资料 病案首页 病历文书
+ */
+ public static final String DOCTOR_DATA = "DoctorData";
+
+ /**
+ * 护士资料 评估单 体温单 护理单2
+ */
+ public static final String NURSE_DATA = "NurseData";
+
+ /**
+ * lis系统
+ */
+ public static final String INSPECTION_REPORT = "LIS系统";
+ public static final String INSPECTION_REPORT_NAME = "LisSendReportBack";
+
+ /**
+ * 扫描文件
+ * ScanningFile
+ */
+ public static final String SCANNING_FILE = "扫描系统";
+
+}
diff --git a/src/main/java/com/ann/demo/entity/constant/OutParaConstant.java b/src/main/java/com/ann/demo/entity/constant/OutParaConstant.java
new file mode 100644
index 0000000..5799d05
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/constant/OutParaConstant.java
@@ -0,0 +1,16 @@
+package com.ann.demo.entity.constant;
+
+/**
+ * @Description 除了HL7V3的xml 返回参数
+ * @Date 2019/6/13 21:50
+ * @Created by ljx
+ */
+public class OutParaConstant {
+
+ public static final boolean RESULT_CODE_SUCCESS = true;
+ public static final boolean RESULT_CODE_FILED = false;
+
+ public static final String RESULT_CONTENT_SUCCESS = "成功";
+ public static final String RESULT_CONTENT_FILED = "失败";
+
+}
diff --git a/src/main/java/com/ann/demo/entity/filing/ArchiveDetail.java b/src/main/java/com/ann/demo/entity/filing/ArchiveDetail.java
new file mode 100644
index 0000000..91ab28b
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/filing/ArchiveDetail.java
@@ -0,0 +1,70 @@
+package com.ann.demo.entity.filing;
+
+import lombok.Data;
+import org.hibernate.annotations.GenericGenerator;
+
+import javax.persistence.*;
+import java.util.Date;
+
+/**
+ * @Description 患者清单详情 是 ArchiveMaster患者清单 从属关系
+ * @Date 2019/7/9 10:07
+ * @Created by ljx
+ */
+@Data
+@Entity
+@Table(name = "archive_detail")
+public class ArchiveDetail {
+
+ @Id
+ @GenericGenerator(name = "system-uuid", strategy = "uuid2")
+ @GeneratedValue(generator = "system-uuid")
+ private String id;
+
+ @Column(name = "pdf_Path")
+ private String pdfPath;
+
+ // -----------------------绑定关系
+ @Column(name = "masterid")
+ private String masterID;
+
+ @Column(name = "uploaddatetime")
+ private Date upLoadDateTime;
+
+ @Column(name = "assortid")
+ private String assortID;
+
+ private String source;
+
+ @Column(name = "subassort")
+ private String subAssort;
+
+ private String title;
+
+ private String flag = "0";
+
+ private String sys;
+
+ /**
+ * 扩展字段: 用于进行更新状态、与报告进行匹配
+ * 2019-9-4
+ */
+ @Column(name = "apply_Id")
+ private String applyId;
+
+ @Column(name = "page_number")
+ private Integer number;
+
+ public ArchiveDetail() {
+ }
+
+ public ArchiveDetail(String masterID, Date upLoadDateTime, String assortID, String source, String applyId, String pdfPath,Integer number) {
+ this.masterID = masterID;
+ this.upLoadDateTime = upLoadDateTime;
+ this.assortID = assortID;
+ this.source = source;
+ this.applyId = applyId;
+ this.pdfPath = pdfPath;
+ this.number = number;
+ }
+}
diff --git a/src/main/java/com/ann/demo/entity/filing/EMRData.java b/src/main/java/com/ann/demo/entity/filing/EMRData.java
new file mode 100644
index 0000000..b7b721d
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/filing/EMRData.java
@@ -0,0 +1,38 @@
+package com.ann.demo.entity.filing;
+
+import lombok.Data;
+
+import java.util.Date;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/9/10 10:04
+ */
+@Data
+public class EMRData {
+ // 2019-9-28 新增id
+ private String applyId;
+
+ private Date xmlCreateTime;
+
+ private String inpNo;
+
+ private String visitId;
+
+ private String patientId;
+
+ // 病历文书
+ private String type;
+
+ private String reportAddress;
+
+ private String lastModifyTime;
+
+ private String commitTime;
+
+ // 知情同意
+ private String subType;
+
+ // 知情同意下面的类型
+ private String detailType;
+}
diff --git a/src/main/java/com/ann/demo/entity/filing/MessageSubordinate.java b/src/main/java/com/ann/demo/entity/filing/MessageSubordinate.java
new file mode 100644
index 0000000..1b58881
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/filing/MessageSubordinate.java
@@ -0,0 +1,69 @@
+package com.ann.demo.entity.filing;
+
+import lombok.Data;
+import org.hibernate.annotations.GenericGenerator;
+
+import javax.persistence.*;
+
+/**
+ * @Description 消息从属版本
+ * @Date 2019/7/9 16:33
+ * @Created by ljx
+ */
+@Data
+@Table
+@Entity
+public class MessageSubordinate {
+
+ /**
+ * 消息从属Id
+ */
+ @Id
+ @GenericGenerator(name = "system-uuid", strategy = "uuid2")
+ @GeneratedValue(generator = "system-uuid")
+ private String id;
+
+ /**
+ * 消息Id
+ */
+ private String messageId;
+
+ /**
+ * 患者清单的关键信息
+ */
+ private String patientMain;
+
+ /**
+ * 消息Json
+ */
+ @Lob
+ private String contentJson;
+
+ /**
+ * 2019-8-16
+ * 循环次数
+ */
+ private Integer runs = 0;
+
+ /**
+ * 是否解析 0 未解析 1 解析 2 错误
+ */
+ private Integer status = 0;
+
+ private String remark;
+
+ public MessageSubordinate(String messageId, String patientMain, String contentJson) {
+ this.messageId = messageId;
+ this.patientMain = patientMain;
+ this.contentJson = contentJson;
+ }
+
+ public MessageSubordinate(String messageId, String patientMain, Integer status) {
+ this.messageId = messageId;
+ this.patientMain = patientMain;
+ this.status = status;
+ }
+
+ public MessageSubordinate() {
+ }
+}
diff --git a/src/main/java/com/ann/demo/entity/filing/dto/MessageDto.java b/src/main/java/com/ann/demo/entity/filing/dto/MessageDto.java
new file mode 100644
index 0000000..e7e0935
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/filing/dto/MessageDto.java
@@ -0,0 +1,67 @@
+package com.ann.demo.entity.filing.dto;
+
+import lombok.Data;
+
+import java.util.Date;
+
+/**
+ * @Description
+ * @Date 2019/7/9 16:50
+ * @Created by ljx
+ */
+@Data
+public class MessageDto {
+
+ private String entity;
+
+ private T object;
+
+ private Date xmlCreateTime;
+
+ private String type;
+
+ private String inpNo;
+
+ private String visitId;
+
+ private String propertiesPath;
+
+ private String reportAddress;
+
+ // 2019-7-26 新增报告单号 考虑会传多次报告 但地址一样
+ private String checkReportId;
+
+ /**
+ * 如果是入院信息 那么就会有新增 修改
+ */
+ private String addFlag;
+
+ /**
+ * 扩展字段: 用于进行更新状态、与报告进行匹配
+ * 2019-9-4
+ */
+ private String applyId;
+
+ // 2019-9-16 新增来源
+ private String source;
+
+ // 2019-9-20 电子病历 新增子类 比如病历文书>知情同意
+ private String subType;
+
+ // 2020-7-15 新增姓名
+ private String name;
+
+ private String pageNum;
+
+
+ public MessageDto() {
+ }
+
+ public MessageDto(String entity, T object, String type, String propertiesPath, String source) {
+ this.entity = entity;
+ this.object = object;
+ this.type = type;
+ this.propertiesPath = propertiesPath;
+ this.source = source;
+ }
+}
diff --git a/src/main/java/com/ann/demo/entity/filing/dto/PatientMainDto.java b/src/main/java/com/ann/demo/entity/filing/dto/PatientMainDto.java
new file mode 100644
index 0000000..29e9a49
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/filing/dto/PatientMainDto.java
@@ -0,0 +1,42 @@
+package com.ann.demo.entity.filing.dto;
+
+import lombok.Data;
+
+/**
+ * @Description 患者清单的关键信息
+ * @Date 2019/7/9 16:36
+ * @Created by ljx
+ */
+@Data
+public class PatientMainDto {
+
+ /**
+ * 住院号
+ */
+ private String inpNo;
+
+ /**
+ * 就诊次数
+ */
+ private String visitId;
+
+ /**
+ * 拓展字段1
+ */
+ private String extendedField1;
+
+ /**
+ * 拓展字段2
+ */
+ private String extendedField2;
+
+ /**
+ * 拓展字段3
+ */
+ private String extendedField3;
+
+ public PatientMainDto(String inpNo, String visitId) {
+ this.inpNo = inpNo;
+ this.visitId = visitId;
+ }
+}
diff --git a/src/main/java/com/ann/demo/entity/interfaceEntity/11 b/src/main/java/com/ann/demo/entity/interfaceEntity/11
new file mode 100644
index 0000000..6cdef35
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/interfaceEntity/11
@@ -0,0 +1,59 @@
+ B.FISAUDIT, --审核状态
+ B.FMRDID AS FENCODE,--病案号
+ NVL(TRIM(B.FMRDID), B.FILEDIRNAME) AS FMRDID,--病案号
+ NVL(TRIM(B.FNAME), A.FNAME) AS FNAME,--姓名
+ A.FPADD,--地址
+ B.FBIHID,--住院号
+ B.FBINCU,--住院次数
+ B.FPATH,--路径
+ B.FMAINID,--主表id
+ B.FSHAREPATHID,--存储路径代码
+ A.FSEX,--性别代码
+ DECODE(A.FSEX, '1', '男', '2', '女', '') FSEX_D,--性别
+ A.FBDATE,--出生日期
+ A.FIHDAT,--入院日期
+ A.FODATE,--出院日期
+ A.FAGE,--年龄
+ A.FIDCD,--身份证号
+ A.FIOFFI,--入院科室
+ A.FOOFFI,--出院科室
+ A.FZZYS,--主治医师
+ A.FZYYS,--住院医师
+ B.FUSER,--录入人
+ B.CANPRINT,--打印标志
+ TO_CHAR(B.FDATE, 'yyyy-mm-dd') AS FDATE,--拍摄时间
+ B.FNUM,--页数
+ B.FREE3,--条码号
+ FUN_PARSE_PARAM(B.FSECRECYTYPE) FSECRECYTYPE,
+ FUN_PARSE_PARAM(B.FSECRECYGRADE) FSECRECYGRADE,
+ B.FSECRECYTYPE AS FSECRECYTYPECODE,
+ B.FSECRECYGRADE AS FSECRECYGRADECODE,
+ (SELECT FDESC FROM TOFFIM HH WHERE HH.FOFFN = A.FIOFFI) FIOFFI_D,--入院科室名称
+ (SELECT FDESC FROM TOFFIM II WHERE A.FOOFFI = II.FOFFN) FOOFFI_D,--出院科室名称
+ (SELECT BB.FICD10 || ' ' || BB.FDESC
+ FROM TMRDZD AA
+ LEFT JOIN TICD10 BB ON AA.FICD = BB.FICD10
+ WHERE AA.FMRDID = B.FMRDID
+ AND NVL(AA.FZDTYP, '1') = '1') FDESC_DOC_ZD,
+ (SELECT DD.FICD10 || ' ' || DD.FDESC
+ FROM TMRDZD CC
+ LEFT JOIN TICD10 DD ON CC.FICD = DD.FICD10
+ WHERE CC.FMRDID = B.FMRDID
+ AND NVL(CC.FZDTYP, '1') = '1') FDESC_DOC_ZD_Q,
+ (SELECT GG.FID || ' ' || GG.FDESC
+ FROM TOPSM GG
+ WHERE F.FOPID = GG.FID) FOPID_D,
+ (SELECT JJ.FID || ' ' || JJ.FDESC
+ FROM THOCUS JJ
+ WHERE F.FMZTH = JJ.FID) FMZID_D,
+ (SELECT KK.FID || ' ' || KK.FDESC
+ FROM TYHTYM KK
+ WHERE F.FMZTH = KK.FID) FQKID_D,
+ A.FOOFFI AS FOFFN,
+ F.FOPDAT,
+ T.FRECORDID,
+ T.FPATH FPATH1,
+ T.FILENAME,
+ T.FFILENAME,
+ T.FREMARK,
+ T.CREATETIME
\ No newline at end of file
diff --git a/src/main/java/com/ann/demo/entity/interfaceEntity/ArchiveMaster.java b/src/main/java/com/ann/demo/entity/interfaceEntity/ArchiveMaster.java
new file mode 100644
index 0000000..c4e2c01
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/interfaceEntity/ArchiveMaster.java
@@ -0,0 +1,141 @@
+package com.ann.demo.entity.interfaceEntity;
+
+import lombok.Data;
+import org.hibernate.annotations.GenericGenerator;
+
+import javax.persistence.*;
+import java.util.Date;
+
+/**
+ * @Description 患者清单
+ * @Date 2019/7/9 9:49
+ * @Created by ljx
+ */
+
+@Table(name = "Archive_Master_Scanningfile")
+@Entity
+@Data
+public class ArchiveMaster {
+ /**
+ * 主键
+ */
+ @Id
+ @GenericGenerator(name = "system-uuid", strategy = "uuid2")
+ @GeneratedValue(generator = "system-uuid")
+ private String id;
+
+ /**
+ * 患者id
+ */
+ private String patientId;
+
+ /**
+ * 住院号
+ */
+ private String inpNo;
+
+ /**
+ * 住院次数
+ */
+ private String visitId;
+
+ /**
+ * 姓名
+ */
+ private String name;
+
+ /**
+ * 性别
+ */
+ private String sex;
+
+ /**
+ * 出院科室
+ */
+ private String deptName;
+
+ /**
+ * 出院日期
+ */
+ private Date dischargeDateTime;
+
+ /**
+ * 归档状态 没出院的填在院,出院填未归档
+ */
+ @Column(name = "archivestate")
+ private String archiveState = "在院";
+
+ /**
+ * 入院日期
+ */
+ private Date admissionDateTime;
+
+ /**
+ * 入院科室
+ */
+ private String deptAdmissionTo;
+
+ /**
+ *
+ */
+ private String checkDoctor;
+
+ /**
+ *
+ */
+ private Date checkDatetime;
+
+
+ /**
+ *
+ */
+ private Date checkedDoctor;
+
+
+ /**
+ *
+ */
+ private Date checkedDatetime;
+
+ /**
+ *
+ */
+ @Column(name = "lockinfo")
+ private String LockInfo;
+
+ /**
+ * 主管医生
+ */
+ private String doctorInCharge;
+
+ /**
+ * 身份证号
+ */
+ private String idNo;
+
+ /**
+ * 离院方式
+ */
+ private String dischargeDisposition;
+
+ private String deptCodeLend;
+
+
+ /**
+ * 是否有效 默认0 为有效 1为作废
+ * 2019-7-30
+ */
+ private int isValid;
+
+ /**
+ * 转科
+ * 2019-7-30
+ */
+ private String transferDept;
+
+ public ArchiveMaster(String inpNo, String visitId,String name) {
+ this.inpNo = inpNo;
+ this.visitId = visitId;
+ this.name = name;
+ }
+}
diff --git a/src/main/java/com/ann/demo/entity/interfaceEntity/CommonTable.java b/src/main/java/com/ann/demo/entity/interfaceEntity/CommonTable.java
new file mode 100644
index 0000000..f4d868a
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/interfaceEntity/CommonTable.java
@@ -0,0 +1,114 @@
+package com.ann.demo.entity.interfaceEntity;
+
+import com.ann.demo.entity.interfaceEntity.ids.CommonTableIds;
+import lombok.Data;
+import org.hibernate.annotations.GenericGenerator;
+
+import javax.persistence.*;
+import java.util.Date;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/8/6 9:44
+ */
+@Data
+@Entity
+@Table(name = "commomtable")
+@IdClass(CommonTableIds.class)
+public class CommonTable {
+
+ /**
+ * masterId
+ */
+ @Id
+ @Column(name = "patient_id")
+// @GenericGenerator(name = "system-uuid", strategy = "uuid2")
+// @GeneratedValue(generator = "system-uuid")
+ private String masterId;
+
+ /**
+ * 3 患者ID 病案号
+ */
+ @Column(name = "admiss_id", length = 30)
+ private String patientId;
+
+ /**
+ * 年龄 (岁)
+ */
+ @Column(name = "age")
+ private Integer age;
+
+ /**
+ * 6 性别
+ */
+ @Column(name = "sex")
+ private String sex;
+
+
+ /**
+ * 14 住院次数
+ */
+ @Id
+ @Column(name = "admiss_times", length = 10)
+ private String visitId;
+
+ /**
+ * 16 姓名
+ */
+ @Id
+ @Column(name = "name", length = 20)
+ private String name;
+
+ /**
+ * 88 入院时间
+ */
+ @Column(name = "admiss_date")
+ private Date admissDate;
+
+ /**
+ * 89 出院时间
+ */
+ @Column(name = "dis_Date")
+ private Date disDate;
+
+
+ /**
+ * 90 出院科别
+ */
+ @Column(name = "dis_Dept")
+ private String disDept;
+ /**
+ * 103 主治医师
+ */
+ @Column(name = "attending")
+ private String attending;
+
+ /**
+ * 住院号
+ */
+ @Id
+ @Column(name = "inpatient_no", length = 30)
+ private String inpNo;
+
+ @Column(name = "remark")
+ private String remark;
+
+
+ public CommonTable(String masterId,String patientId, Integer age, String sex, String visitId, String name, Date admissDate, Date disDate, String disDept, String attending, String inpNo,String remark) {
+ this.masterId = masterId;
+ this.patientId = patientId;
+ this.age = age;
+ this.sex = sex;
+ this.visitId = visitId;
+ this.name = name;
+ this.admissDate = admissDate;
+ this.disDate = disDate;
+ this.disDept = disDept;
+ this.attending = attending;
+ this.inpNo = inpNo;
+ this.remark = remark;
+ }
+
+ public CommonTable() {
+ }
+}
diff --git a/src/main/java/com/ann/demo/entity/interfaceEntity/CommonTable1.java b/src/main/java/com/ann/demo/entity/interfaceEntity/CommonTable1.java
new file mode 100644
index 0000000..be1d350
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/interfaceEntity/CommonTable1.java
@@ -0,0 +1,59 @@
+package com.ann.demo.entity.interfaceEntity;
+
+import lombok.Data;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import java.util.Date;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/8/6 9:53
+ */
+@Data
+@Entity
+@Table(name = "commomtable1")
+public class CommonTable1 {
+
+ @Id
+ @Column(name = "patient_id")
+ private String masterId;
+
+ /**
+ * 5 出生日期
+ */
+ private Date birthday;
+
+ /**
+ * 13 身份证号
+ */
+ @Column(name = "id_Card")
+ private String idCard;
+
+ /**
+ * 94 入院科别
+ */
+ @Column(name = "admiss_Dept")
+ private String admissDept;
+
+ @Column(name = "is_medicine")
+ private Integer isMedicine = 0;
+ /**
+ * 104 住院医师
+ */
+ @Column(name = "admiss_Doctor")
+ private String admissDoctor;
+
+ public CommonTable1(String masterId, Date birthday, String idCard, String admissDept, String admissDoctor) {
+ this.masterId = masterId;
+ this.birthday = birthday;
+ this.idCard = idCard;
+ this.admissDept = admissDept;
+ this.admissDoctor = admissDoctor;
+ }
+
+ public CommonTable1() {
+ }
+}
diff --git a/src/main/java/com/ann/demo/entity/interfaceEntity/MessageLog.java b/src/main/java/com/ann/demo/entity/interfaceEntity/MessageLog.java
new file mode 100644
index 0000000..07c3698
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/interfaceEntity/MessageLog.java
@@ -0,0 +1,117 @@
+package com.ann.demo.entity.interfaceEntity;
+
+import lombok.Data;
+import org.hibernate.annotations.GenericGenerator;
+
+import javax.persistence.*;
+import java.util.Date;
+
+/**
+ * @Description 消息表
+ * @Date 2019/6/17 10:27
+ * @Created by ljx
+ */
+
+@Data
+@Table
+@Entity
+public class MessageLog {
+
+ @Id
+ @GenericGenerator(name = "system-uuid", strategy = "uuid2")
+ @GeneratedValue(generator = "system-uuid")
+ private String id;
+
+ @Lob
+ /**
+ * 输入内容
+ * */
+ private String inputContent;
+
+ /**
+ * 输出内容
+ */
+ @Lob
+ private String outContent;
+
+ /**
+ * 类型 与 字典表匹配
+ */
+ private String type;
+
+ /**
+ * 备注
+ */
+ private String remark;
+
+ /**
+ * 消息结果 0 未成功 1是成功
+ */
+ private Integer result;
+
+ /**
+ * 返回json
+ */
+ @Lob
+ private String outJson;
+
+ /**
+ * 接口名称
+ */
+ private String interfaceName;
+
+ /**
+ * xml创建时间
+ */
+ private Date xmlCreateTime;
+
+ /**
+ * 执行时间
+ */
+ private Long executionTime;
+
+ /**
+ * 结束时间
+ */
+ private Date endTime;
+
+ /**
+ * 创建时间
+ */
+ private Date createTime;
+
+ /**
+ * xml执行时间
+ */
+ private Long xmlExecutionTime;
+
+
+ // ---------------------------时间怎么变成了毫秒数
+ public MessageLog(String inputContent, String interfaceName, Date createTime) {
+ this.inputContent = inputContent;
+ this.interfaceName = interfaceName;
+ this.createTime = createTime;
+ }
+
+ public MessageLog() {
+
+ }
+
+ public void setValue(String outContent, Integer result, String outJson, Date xmlCreateTime, Long xmlExecutionTime, Long executionTime, Date endTime, String type) {
+ this.outContent = outContent;
+ this.result = result;
+ this.outJson = outJson;
+ //this.xmlExecutionTime = xmlExecutionTime;
+ this.xmlCreateTime = xmlCreateTime;
+ this.executionTime = executionTime;
+ this.endTime = endTime;
+ this.type = type;
+ }
+
+ public void setValue1(String outContent, Integer result, Long executionTime, Date endTime) {
+ this.outContent = outContent;
+ this.result = result;
+ this.executionTime = executionTime;
+ this.endTime = endTime;
+ }
+}
diff --git a/src/main/java/com/ann/demo/entity/interfaceEntity/ids/CommonTableIds.java b/src/main/java/com/ann/demo/entity/interfaceEntity/ids/CommonTableIds.java
new file mode 100644
index 0000000..d660e5f
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/interfaceEntity/ids/CommonTableIds.java
@@ -0,0 +1,35 @@
+package com.ann.demo.entity.interfaceEntity.ids;
+
+import lombok.Data;
+
+import javax.persistence.Column;
+import java.io.Serializable;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/8/6 16:16
+ */
+@Data
+public class CommonTableIds implements Serializable {
+
+ @Column(name = "patient_id")
+ private String masterId;
+
+ /**
+ * 住院次数
+ */
+ @Column(name = "admiss_times", length = 10)
+ private String visitId;
+
+ /**
+ * 病案号
+ */
+ @Column(name = "inpatient_no", length = 30)
+ private String inpNo;
+
+ /**
+ * 姓名
+ */
+ @Column(name = "name", length = 20)
+ private String name;
+}
diff --git a/src/main/java/com/ann/demo/entity/normalEntity/OutPara.java b/src/main/java/com/ann/demo/entity/normalEntity/OutPara.java
new file mode 100644
index 0000000..0f92aec
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/normalEntity/OutPara.java
@@ -0,0 +1,22 @@
+package com.ann.demo.entity.normalEntity;
+
+import lombok.Data;
+
+/**
+ * @Description 输出参数
+ * @Date 2019/6/12
+ * @Created by ljx
+ */
+
+@Data
+public class OutPara {
+ /*
+ * 结果编码 true/false
+ * */
+ private boolean RESULT_CODE;
+
+ /*
+ * 结果描述
+ * */
+ private String RESULT_CONTENT;
+}
diff --git a/src/main/java/com/ann/demo/entity/normalEntity/User.java b/src/main/java/com/ann/demo/entity/normalEntity/User.java
new file mode 100644
index 0000000..0609e26
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/normalEntity/User.java
@@ -0,0 +1,82 @@
+package com.ann.demo.entity.normalEntity;
+
+
+import lombok.Data;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import java.util.Date;
+
+/**
+ * @Description 用户
+ * @Date 2019/6/15 16:57
+ * @Created by ljx
+ */
+
+@Table(name = "users")
+@Entity
+@Data
+public class User {
+
+ /**
+ * 用户标识
+ */
+ @Id
+ @Column(name = "id")
+ private String USER_ID;
+
+ /**
+ * 用户姓名
+ */
+ @Column(name = "name")
+ private String USER_NAME;
+
+ /**
+ * 用户科室
+ */
+ @Column(name = "departmentid")
+ private String USER_DEPT;
+
+ /**
+ * 用户密码
+ */
+ @Column(name = "password")
+ private String USER_PWD;
+
+ /**
+ * 建立日期
+ */
+ @Column(name = "createdate")
+ private Date CREATE_DATE;
+
+ /**
+ * 拼音码
+ */
+ @Column(name = "initialism")
+ private String PYM;
+
+ /**
+ * 登陆名
+ */
+ @Column(name = "code")
+ private String USER_LOGIN_NAME;
+
+ /**
+ * 用户类型 用户角色 0 为医生,1 为护士;
+ */
+ @Column(name = "roleid")
+ private String USER_TYPE;
+
+
+ @Column(name = "isvalid")
+ private Integer isValid = 0;
+
+ /**
+ * 1 有资质 0 无资质;
+ */
+ @Column(name = "EDUCATION_FLAG")
+ private Integer EDUCATION_FLAG;
+
+}
diff --git a/src/main/java/com/ann/demo/entity/other/QuartzBean.java b/src/main/java/com/ann/demo/entity/other/QuartzBean.java
new file mode 100644
index 0000000..80009aa
--- /dev/null
+++ b/src/main/java/com/ann/demo/entity/other/QuartzBean.java
@@ -0,0 +1,36 @@
+package com.ann.demo.entity.other;
+
+import lombok.Data;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/7/13 16:53
+ */
+@Data
+public class QuartzBean {
+
+ /**
+ * 任务id
+ */
+ private String id;
+
+ /**
+ * 任务名称
+ */
+ private String jobName;
+
+ /**
+ * 任务执行类
+ */
+ private String jobClass;
+
+ /**
+ * 任务状态 启动还是暂停
+ */
+ private Integer status;
+
+ /**
+ * 任务运行时间表达式
+ */
+ private String cronExpression;
+}
diff --git a/src/main/java/com/ann/demo/interfaces/HomepageDictionary.java b/src/main/java/com/ann/demo/interfaces/HomepageDictionary.java
new file mode 100644
index 0000000..9b02d48
--- /dev/null
+++ b/src/main/java/com/ann/demo/interfaces/HomepageDictionary.java
@@ -0,0 +1,13 @@
+package com.ann.demo.interfaces;
+
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+
+@WebService
+public interface HomepageDictionary {
+
+ @WebMethod
+ String ScanningFile(@WebParam(name = "xmlStr") String xmlStr);
+
+}
diff --git a/src/main/java/com/ann/demo/interfaces/config/WebServiceConfig.java b/src/main/java/com/ann/demo/interfaces/config/WebServiceConfig.java
new file mode 100644
index 0000000..2dd59f1
--- /dev/null
+++ b/src/main/java/com/ann/demo/interfaces/config/WebServiceConfig.java
@@ -0,0 +1,46 @@
+package com.ann.demo.interfaces.config;
+
+import com.ann.demo.interfaces.HomepageDictionary;
+import com.ann.demo.interfaces.impl.HomepageDictionaryImpl;
+import org.apache.cxf.Bus;
+import org.apache.cxf.bus.spring.SpringBus;
+import org.apache.cxf.jaxws.EndpointImpl;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+import javax.xml.ws.Endpoint;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/6/11 17:13
+ */
+
+@Configuration
+public class WebServiceConfig {
+
+ /*//默认servlet路径/*,如果覆写则按照自己定义的来
+ @Bean
+ public ServletRegistrationBean dispatcherServlet() {
+ return new ServletRegistrationBean(new CXFServlet(), "/services/*");
+ }*/
+
+ @Bean(name = Bus.DEFAULT_BUS_ID)
+ public SpringBus springBus() {
+ return new SpringBus();
+ }
+
+ //把实现类交给spring管理
+ @Bean
+ public HomepageDictionary homepageDictionary() {
+ return new HomepageDictionaryImpl();
+ }
+
+ @Bean
+ public Endpoint endpoint() {
+ System.out.println("-----------------------已发布-------------------------");
+ EndpointImpl endpoint = new EndpointImpl(springBus(), homepageDictionary());
+ endpoint.publish("HomepageDictionary");
+ return endpoint;
+ }
+
+}
diff --git a/src/main/java/com/ann/demo/interfaces/impl/HomepageDictionaryImpl.java b/src/main/java/com/ann/demo/interfaces/impl/HomepageDictionaryImpl.java
new file mode 100644
index 0000000..5310442
--- /dev/null
+++ b/src/main/java/com/ann/demo/interfaces/impl/HomepageDictionaryImpl.java
@@ -0,0 +1,67 @@
+package com.ann.demo.interfaces.impl;
+
+import com.alibaba.fastjson.JSON;
+import com.alibaba.fastjson.serializer.SerializerFeature;
+import com.ann.demo.entity.constant.InterfaceName;
+import com.ann.demo.entity.filing.ArchiveDetail;
+import com.ann.demo.entity.filing.EMRData;
+import com.ann.demo.entity.filing.MessageSubordinate;
+import com.ann.demo.entity.filing.dto.MessageDto;
+import com.ann.demo.entity.filing.dto.PatientMainDto;
+import com.ann.demo.entity.interfaceEntity.*;
+import com.ann.demo.interfaces.HomepageDictionary;
+import com.ann.demo.primaryEntity.ScanningFile;
+import com.ann.demo.repository.CommonTableRepository;
+import com.ann.demo.service.*;
+import com.ann.demo.utils.FileUtils;
+import com.ann.demo.utils.PdfUtils;
+import com.ann.demo.utils.WebServiceUtils;
+import com.ann.demo.utils.XMLUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+
+import javax.jws.WebService;
+import java.io.File;
+import java.util.Date;
+import java.util.Objects;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/6/11 17:01
+ */
+
+@WebService(serviceName = "HomepageDictionary", // 与接口中指定的name一致
+ targetNamespace = "http://interfaces.demo.ann.com/", // 与接口中的命名空间一致,一般是接口的包名倒
+ endpointInterface = "com.ann.demo.interfaces.HomepageDictionary"// 接口地址
+)
+public class HomepageDictionaryImpl implements HomepageDictionary {
+
+ private static final Logger logger = LoggerFactory.getLogger(HomepageDictionaryImpl.class);
+
+ @Autowired
+ private AnalysisService analysisService;
+
+ public String ScanningFile(String xmlStr) {
+ String outContent = "失败";
+ try {
+ boolean flag = false;
+ String remark = null;
+ MessageDto messageDto = XMLUtils.xpathToBean(xmlStr, EMRData.class, InterfaceName.SCANNING_FILE);
+ if (messageDto != null) {
+ remark = analysisService.handlePdfFile1(messageDto);
+ if(remark == null){
+ flag = true;
+ }
+ } else {
+ remark = "传过来的消息无法解析。。";
+ }
+ System.out.println(remark);
+ outContent = AnalysisService.getReturnResult(flag, remark);
+ }catch (Exception e){
+ logger.error("出错咯!错误信息为{},以及错误行数为:{}" ,e,e.getStackTrace()[0]);
+ }
+ return outContent;
+ }
+
+}
diff --git a/src/main/java/com/ann/demo/job/Demo.java b/src/main/java/com/ann/demo/job/Demo.java
new file mode 100644
index 0000000..4814614
--- /dev/null
+++ b/src/main/java/com/ann/demo/job/Demo.java
@@ -0,0 +1,12 @@
+package com.ann.demo.job;
+
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+public class Demo implements Runnable{
+ @Override
+ public void run() {
+
+ }
+
+}
diff --git a/src/main/java/com/ann/demo/job/ScheduledJob.java b/src/main/java/com/ann/demo/job/ScheduledJob.java
new file mode 100644
index 0000000..5bf5ab9
--- /dev/null
+++ b/src/main/java/com/ann/demo/job/ScheduledJob.java
@@ -0,0 +1,59 @@
+package com.ann.demo.job;
+
+import com.ann.demo.primaryRepository.ScanningFileRepository;
+import com.ann.demo.primaryEntity.ScanningFile;
+import com.ann.demo.service.AnalysisService;
+import com.ann.demo.utils.QuartzUtils;
+import org.quartz.*;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.scheduling.Trigger;
+import org.springframework.scheduling.TriggerContext;
+import org.springframework.scheduling.annotation.Scheduled;
+import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
+import org.springframework.scheduling.support.CronTrigger;
+
+import java.text.SimpleDateFormat;
+import java.time.LocalDateTime;
+import java.util.Date;
+import java.util.List;
+import java.util.concurrent.ScheduledFuture;
+
+/**
+ * 取从属表未解析的数据
+ *
+ * @Author: LeiJiaXin
+ * @Date: 2019/8/16 10:11
+ */
+@DisallowConcurrentExecution
+public class ScheduledJob implements Job {
+
+ static final Logger logger = LoggerFactory.getLogger(ScheduledJob.class);
+
+ @Autowired
+ private ScanningFileRepository scanningFileRepository;
+
+ @Autowired
+ private AnalysisService analysisService;
+
+ @Autowired
+ private Scheduler scheduler;
+
+ @Override
+ public void execute(JobExecutionContext context) {
+ QuartzUtils.pauseScheduleJob(scheduler, "group1", "job1");
+ try {
+ List scanningFiles = scanningFileRepository.findScanningFiles();
+ analysisService.handleScanningFile(scanningFiles);
+ } catch (Exception e) {
+ // 如果报错-- 捕捉异常 继续执行
+ logger.error("执行定时任务出错:{}" ,e.getMessage());
+ }
+ QuartzUtils.resumeScheduleJob(scheduler, "group1", "job1");
+ logger.error("结束时间:{}" ,LocalDateTime.now());
+ }
+
+}
+
diff --git a/src/main/java/com/ann/demo/job/SchedulerAllJob.java b/src/main/java/com/ann/demo/job/SchedulerAllJob.java
new file mode 100644
index 0000000..8aab81e
--- /dev/null
+++ b/src/main/java/com/ann/demo/job/SchedulerAllJob.java
@@ -0,0 +1,70 @@
+package com.ann.demo.job;
+
+import org.quartz.*;
+import org.quartz.core.JobRunShell;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
+import org.springframework.context.annotation.Bean;
+import org.springframework.scheduling.quartz.SchedulerFactoryBean;
+import org.springframework.stereotype.Component;
+
+import javax.annotation.PostConstruct;
+import java.time.LocalDateTime;
+import java.util.Properties;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/8/16 10:08
+ */
+@Component
+public class SchedulerAllJob {
+
+// // 定时任务规则
+// public static String cron;
+//
+// @Value("${file.scanningFilePath}")
+// private String cronTemp;
+//
+// @PostConstruct
+// public void init() {
+// cron = cronTemp;
+// }
+
+
+ @Autowired
+ private SchedulerFactoryBean schedulerFactoryBean;
+
+
+ /**
+ * 该方法用来启动所有的定时任务
+ *
+ * @throws SchedulerException
+ */
+ public void scheduleJobs() throws SchedulerException {
+ Scheduler scheduler = schedulerFactoryBean.getScheduler();
+// scheduleJob1(scheduler);
+ }
+
+ /**
+ * 配置Job1
+ * 此处的任务可以配置可以放到properties或者是放到数据库中
+ * 如果此时需要做到动态的定时任务,请参考:http://blog.csdn.net/liuchuanhong1/article/details/60873295
+ * 博客中的ScheduleRefreshDatabase类
+ *
+ * @param scheduler
+ * @throws SchedulerException
+ */
+ private void scheduleJob1(Scheduler scheduler) throws SchedulerException {
+ /*
+ * 此处可以先通过任务名查询数据库,如果数据库中存在该任务,则按照ScheduleRefreshDatabase类中的方法,更新任务的配置以及触发器
+ * 如果此时数据库中没有查询到该任务,则按照下面的步骤新建一个任务,并配置初始化的参数,并将配置存到数据库中
+ */
+ JobDetail jobDetail = JobBuilder.newJob(ScheduledJob.class).withIdentity("job1", "group1").build();
+ // 凌晨1点-凌晨7点 每隔1分钟执行一次
+ CronScheduleBuilder scheduleBuilder = CronScheduleBuilder.cronSchedule("0 0/5 0,1,2,3,4,5,6,7 * * ? ");
+// CronScheduleBuilder scheduleBuilder = CronScheduleBuilder.cronSchedule("0/1 * 16,17,18,19 * * ? ");
+ CronTrigger cronTrigger = TriggerBuilder.newTrigger().withIdentity("job1", "group1").withSchedule(scheduleBuilder).build();
+ scheduler.scheduleJob(jobDetail, cronTrigger);
+ }
+
+}
diff --git a/src/main/java/com/ann/demo/job/obsolete/QuartzConfig.java b/src/main/java/com/ann/demo/job/obsolete/QuartzConfig.java
new file mode 100644
index 0000000..fe249ab
--- /dev/null
+++ b/src/main/java/com/ann/demo/job/obsolete/QuartzConfig.java
@@ -0,0 +1,25 @@
+package com.ann.demo.job.obsolete;
+
+import com.ann.demo.job.SchedulerAllJob;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.CommandLineRunner;
+import org.springframework.stereotype.Component;
+
+/**
+ * 定时任务
+ *
+ * @Author: LeiJiaXin
+ * @Date: 2019/7/13 17:03
+ */
+@Component
+public class QuartzConfig implements CommandLineRunner {
+
+ @Autowired
+ public SchedulerAllJob scheduleJobs;
+
+ @Override
+ public void run(String... args) throws Exception {
+ scheduleJobs.scheduleJobs();
+ System.out.println(">>>>>>>>>>>>>>>定时任务开始执行<<<<<<<<<<<<<");
+ }
+}
diff --git a/src/main/java/com/ann/demo/primaryEntity/ScanningFile.java b/src/main/java/com/ann/demo/primaryEntity/ScanningFile.java
new file mode 100644
index 0000000..ad82f34
--- /dev/null
+++ b/src/main/java/com/ann/demo/primaryEntity/ScanningFile.java
@@ -0,0 +1,103 @@
+package com.ann.demo.primaryEntity;
+
+import lombok.Data;
+
+import javax.persistence.*;
+import java.util.Date;
+
+
+@Data
+@Entity
+@Table(name = "Scanning_File")
+public class ScanningFile {
+ @Id
+ @GeneratedValue(strategy= GenerationType.IDENTITY)
+ @Column(name = "id")
+ private String id;
+
+ //住院号
+ @Column(name = "FBIHID")
+ private String inpNo;
+
+ //住院次数
+ @Column(name = "FBINCU")
+ private String visitId;
+
+ //患者ID
+ @Column(name = "FMRDID")
+ private String patientId;
+
+ //0代表 未处理,1代表已处理 2代表失败
+ @Column(name = "STATUS")
+ private String status;
+
+ //身份证
+ @Column(name = "FIDCD")
+ private String idCard;
+
+ //入院科室
+ @Column(name = "FIOFFI")
+ private String admissDept;
+
+ //住院医师
+ @Column(name = "FZYYS")
+ private String admissDoctor;
+
+ //出院科室
+ @Column(name = "FOOFFI")
+ private String disDept;
+
+ //主治医师
+ @Column(name = "FZZYS")
+ private String attending;
+
+ //出生日期
+ @Column(name = "FBDATE")
+ private Date birthday;
+
+ //出院日期
+ @Column(name = "FODATE")
+ private Date disDate;
+
+ //入院日期
+ @Column(name = "FIHDAT")
+ private Date admissDate;
+
+ //性别
+ @Column(name = "FSEX")
+ private String sex;
+
+ //年龄
+ @Column(name = "FAGE")
+ private Integer age;
+
+ //备注
+ @Column(name = "FREMARK")
+ private String remark;
+
+ //申请单号唯一值
+ @Column(name = "FRECORDID")
+ private String applyId;
+
+ //路径
+ @Column(name = "FPATH1")
+ private String path;
+
+ //姓名
+ @Column(name = "FNAME")
+ private String name;
+
+ //文件名称
+ @Column(name = "FILENAME")
+ private String fileName;
+
+ // 需要处理
+ @Column(name = "FFILENAME")
+ private String number;
+
+ //类型
+ @Column(name = "FLDM")
+ private String assortId;
+
+
+}
diff --git a/src/main/java/com/ann/demo/primaryRepository/ScanningFileRepository.java b/src/main/java/com/ann/demo/primaryRepository/ScanningFileRepository.java
new file mode 100644
index 0000000..96c4edb
--- /dev/null
+++ b/src/main/java/com/ann/demo/primaryRepository/ScanningFileRepository.java
@@ -0,0 +1,15 @@
+package com.ann.demo.primaryRepository;
+
+import com.ann.demo.primaryEntity.ScanningFile;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.Query;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+
+@Repository
+public interface ScanningFileRepository extends JpaRepository {
+ // and FBIHID = '370067' and FBINCU = '4'
+ @Query(nativeQuery= true,value = "select top 70 * from scanning_file where STATUS = 0 order by id")
+ public List findScanningFiles();
+}
diff --git a/src/main/java/com/ann/demo/repository/ArchiveDetailRepository.java b/src/main/java/com/ann/demo/repository/ArchiveDetailRepository.java
new file mode 100644
index 0000000..db18b41
--- /dev/null
+++ b/src/main/java/com/ann/demo/repository/ArchiveDetailRepository.java
@@ -0,0 +1,24 @@
+package com.ann.demo.repository;
+
+import com.ann.demo.entity.filing.ArchiveDetail;
+import com.ann.demo.entity.interfaceEntity.ArchiveMaster;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.data.jpa.repository.Query;
+import org.springframework.stereotype.Repository;
+
+import java.util.List;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/7/12 9:10
+ */
+@Repository
+public interface ArchiveDetailRepository extends JpaRepository {
+
+ @Query("select count (o) from ArchiveDetail o where o.masterID = ?1 and o.assortID = ?2 and o.source=?3 and (o.applyId = ?4 and o.applyId is not null) ")
+ Integer countByMasterIDAndAssortIDAndSourceAndApplyId(String masterId, String AssortID, String source, String applyId);
+
+ public ArchiveDetail findByMasterIDAndAssortIDAndSourceAndApplyId(String masterId, String AssortID, String source, String applyId);
+
+// public ArchiveMaster findByInpNoAndVisitIdAndIsValid(String inpNo, String visitId, Integer valid);
+}
diff --git a/src/main/java/com/ann/demo/repository/ArchiveMasterRepository.java b/src/main/java/com/ann/demo/repository/ArchiveMasterRepository.java
new file mode 100644
index 0000000..9914db6
--- /dev/null
+++ b/src/main/java/com/ann/demo/repository/ArchiveMasterRepository.java
@@ -0,0 +1,13 @@
+package com.ann.demo.repository;
+
+import com.ann.demo.entity.interfaceEntity.ArchiveMaster;
+import org.springframework.data.jpa.repository.JpaRepository;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/7/11 20:55
+ */
+public interface ArchiveMasterRepository extends JpaRepository {
+
+ public ArchiveMaster findByInpNoAndVisitIdAndIsValid(String inpNo, String visitId, Integer isValid);
+}
diff --git a/src/main/java/com/ann/demo/repository/CommonTable1Repository.java b/src/main/java/com/ann/demo/repository/CommonTable1Repository.java
new file mode 100644
index 0000000..0d8ea09
--- /dev/null
+++ b/src/main/java/com/ann/demo/repository/CommonTable1Repository.java
@@ -0,0 +1,14 @@
+package com.ann.demo.repository;
+
+import com.ann.demo.entity.interfaceEntity.CommonTable1;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2020/7/21 10:05
+ */
+@Repository
+public interface CommonTable1Repository extends JpaRepository {
+
+}
diff --git a/src/main/java/com/ann/demo/repository/CommonTableRepository.java b/src/main/java/com/ann/demo/repository/CommonTableRepository.java
new file mode 100644
index 0000000..fed6e46
--- /dev/null
+++ b/src/main/java/com/ann/demo/repository/CommonTableRepository.java
@@ -0,0 +1,15 @@
+package com.ann.demo.repository;
+
+import com.ann.demo.entity.interfaceEntity.CommonTable;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+/**
+ * @Author: LeiJiaXin
+ * @Date: 2019/8/6 15:49
+ */
+@Repository
+public interface CommonTableRepository extends JpaRepository {
+
+ public CommonTable findByInpNoAndVisitId(String inpNo,String visitId);
+}
diff --git a/src/main/java/com/ann/demo/repository/MessageRepository.java b/src/main/java/com/ann/demo/repository/MessageRepository.java
new file mode 100644
index 0000000..008be73
--- /dev/null
+++ b/src/main/java/com/ann/demo/repository/MessageRepository.java
@@ -0,0 +1,17 @@
+package com.ann.demo.repository;
+
+import com.ann.demo.entity.interfaceEntity.MessageLog;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+/**
+ * @Description
+ * @Date 2019/6/17 11:34
+ * @Created by ljx
+ */
+@Repository
+public interface MessageRepository extends JpaRepository {
+
+ public Integer countByInputContentAndInterfaceName(String inputContent, String interfaceName);
+
+}
diff --git a/src/main/java/com/ann/demo/repository/MessageSubordinateRepository.java b/src/main/java/com/ann/demo/repository/MessageSubordinateRepository.java
new file mode 100644
index 0000000..1c9bb0d
--- /dev/null
+++ b/src/main/java/com/ann/demo/repository/MessageSubordinateRepository.java
@@ -0,0 +1,16 @@
+package com.ann.demo.repository;
+
+import com.ann.demo.entity.filing.MessageSubordinate;
+import org.springframework.data.jpa.repository.JpaRepository;
+import org.springframework.stereotype.Repository;
+
+/**
+ * @Description
+ * @Date 2019/7/9 16:44
+ * @Created by ljx
+ */
+@Repository
+public interface MessageSubordinateRepository extends JpaRepository