Browse Source

pom修改

huangzhiyong 6 năm trước cách đây
mục cha
commit
b9a2297923

+ 10 - 20
pom.xml

@ -21,10 +21,6 @@
	</properties>
	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
@ -42,20 +38,25 @@
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-eureka</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-actuator</artifactId>
		</dependency>
		<dependency>
			<groupId>javax.servlet</groupId>
			<artifactId>javax.servlet-api</artifactId>
		</dependency>
		<!-- 医疗云私有包 -->
		<dependency>
			<groupId>com.yihu.ehr</groupId>
			<artifactId>commons-ui-swagger</artifactId>
			<scope>compile</scope>
		</dependency>
		<dependency>
			<groupId>com.yihu.ehr</groupId>
			<artifactId>commons-web</artifactId>
		</dependency>
		<dependency>
			<groupId>com.yihu.ehr</groupId>
			<artifactId>commons-data-fastdfs</artifactId>
		</dependency>
		<dependency>
			<groupId>com.yihu.ehr</groupId>
			<artifactId>commons-data-mysql</artifactId>
@ -81,15 +82,4 @@
		</plugins>
	</build>
	<repositories>
		<repository>
			<id>spring-milestones</id>
			<name>Spring Milestones</name>
			<url>https://repo.spring.io/milestone</url>
			<snapshots>
				<enabled>false</enabled>
			</snapshots>
		</repository>
	</repositories>
</project>

+ 24 - 0
src/main/java/com/yihu/ehr/SvrInspectionApplication.java

@ -0,0 +1,24 @@
package com.yihu.ehr;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.data.web.config.EnableSpringDataWebSupport;
@EnableDiscoveryClient
@SpringBootApplication
public class SvrInspectionApplication extends SpringBootServletInitializer {
	public static void main(String[] args) {
		SpringApplication.run(SvrInspectionApplication.class, args);
	}
	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
		return application.sources(SvrInspectionApplication.class);
	}
}

+ 0 - 16
src/main/java/com/yihu/ehr/svrinspection/SvrInspectionApplication.java

@ -1,16 +0,0 @@
package com.yihu.ehr.svrinspection;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
@EnableDiscoveryClient
@EnableFeignClients
@SpringBootApplication
public class SvrInspectionApplication {
	public static void main(String[] args) {
		SpringApplication.run(SvrInspectionApplication.class, args);
	}
}

+ 15 - 0
src/main/java/com/yihu/ehr/svrinspection/dao/AssistanceApplyDao.java

@ -0,0 +1,15 @@
package com.yihu.ehr.svrinspection.dao;
import com.yihu.ehr.svrinspection.model.AssistanceApplyModel;
import org.springframework.data.domain.Page;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
 * @author HZY
 * @created 2018/11/14 15:34
 */
public interface AssistanceApplyDao extends PagingAndSortingRepository<AssistanceApplyModel,Integer> {
//    Page<AssistanceApplyModel> queryAllBy
}

+ 1 - 1
src/main/java/com/yihu/ehr/svrinspection/model/OrgAssistanceApplyModel.java

@ -9,7 +9,7 @@ import java.sql.Timestamp;
 */
@Entity
@Table(name = "org_assistance_apply", schema = "", catalog = "healtharchive")
public class OrgAssistanceApplyModel {
public class AssistanceApplyModel {
    private String applyOrg;
    private String applyUserId;
    private Timestamp applyDate;

+ 2 - 2
src/main/java/com/yihu/ehr/svrinspection/service/ProfileService.java

@ -3,12 +3,12 @@ package com.yihu.ehr.svrinspection.service;
import org.springframework.stereotype.Service;
/**
 *  检验申请 业务类
 * @author HZY
 * @created 2018/11/14 9:21
 */
@Service
public class ProfileService {
public class AssistanceApplyService {
}