新增业务PC端和移动端模块

This commit is contained in:
纪寒 2024-02-18 17:08:31 +08:00
parent 2cb6b6df49
commit b5efd23faf
20 changed files with 299 additions and 0 deletions

14
pom.xml
View File

@ -171,6 +171,18 @@
<artifactId>postdischarge-common</artifactId> <artifactId>postdischarge-common</artifactId>
<version>${xinelu.version}</version> <version>${xinelu.version}</version>
</dependency> </dependency>
<!-- 院后患者管理平台PC端模块 -->
<dependency>
<groupId>com.xinelu</groupId>
<artifactId>postdischarge-manage</artifactId>
<version>${xinelu.version}</version>
</dependency>
<!-- 院后患者管理平台移动端模块 -->
<dependency>
<groupId>com.xinelu</groupId>
<artifactId>postdischarge-mobile</artifactId>
<version>${xinelu.version}</version>
</dependency>
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
@ -181,6 +193,8 @@
<module>postdischarge-quartz</module> <module>postdischarge-quartz</module>
<module>postdischarge-generator</module> <module>postdischarge-generator</module>
<module>postdischarge-common</module> <module>postdischarge-common</module>
<module>postdischarge-manage</module>
<module>postdischarge-mobile</module>
</modules> </modules>
<packaging>pom</packaging> <packaging>pom</packaging>

View File

@ -53,6 +53,16 @@
<groupId>com.xinelu</groupId> <groupId>com.xinelu</groupId>
<artifactId>postdischarge-generator</artifactId> <artifactId>postdischarge-generator</artifactId>
</dependency> </dependency>
<!-- 院后患者管理PC模块 -->
<dependency>
<groupId>com.xinelu</groupId>
<artifactId>postdischarge-manage</artifactId>
</dependency>
<!-- 院后患者管理移动端模块 -->
<dependency>
<groupId>com.xinelu</groupId>
<artifactId>postdischarge-mobile</artifactId>
</dependency>
</dependencies> </dependencies>
<build> <build>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>postdischarge</artifactId>
<groupId>com.xinelu</groupId>
<version>0.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>postdischarge-manage</artifactId>
<description>院后患者管理平台PC端模块</description>
<dependencies>
<!-- lombok 依赖-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!-- 防止进入swagger页面报类型转换错误排除3.0.0中的引用手动增加1.6.2版本 -->
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
<version>1.6.2</version>
</dependency>
<!-- 系统公共模块 -->
<dependency>
<groupId>com.xinelu</groupId>
<artifactId>postdischarge-common</artifactId>
</dependency>
<!-- 系统模块 -->
<dependency>
<groupId>com.xinelu</groupId>
<artifactId>postdischarge-system</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,15 @@
package com.xinelu.manage.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @Description 管理端测试类
* @Author 纪寒
* @Date 2024-02-18 16:28:56
* @Version 1.0
*/
@RestController
@RequestMapping("/testManage")
public class ManageTestController {
}

View File

@ -0,0 +1,16 @@
package com.xinelu.manage.domain;
import lombok.Data;
/**
* @Description 测试类
* @Author 纪寒
* @Date 2024-02-18 16:30:07
* @Version 1.0
*/
@Data
public class ManageTest {
private Long id;
private String name;
}

View File

@ -0,0 +1,14 @@
package com.xinelu.manage.dto;
import lombok.Data;
/**
* @Description 测试
* @Author 纪寒
* @Date 2024-02-18 16:31:10
* @Version 1.0
*/
@Data
public class ManageTestDTO {
private Long id;
}

View File

@ -0,0 +1,10 @@
package com.xinelu.manage.mapper;
/**
* @Description 测试mapper
* @Author 纪寒
* @Date 2024-02-18 16:31:10
* @Version 1.0
*/
public interface ManageTestMapper {
}

View File

@ -0,0 +1,10 @@
package com.xinelu.manage.service;
/**
* @Description 测试service接口
* @Author 纪寒
* @Date 2024-02-18 16:37:41
* @Version 1.0
*/
public interface ManageTestService {
}

View File

@ -0,0 +1,14 @@
package com.xinelu.manage.service.impl;
import com.xinelu.manage.service.ManageTestService;
import org.springframework.stereotype.Service;
/**
* @Description 测试service实现类
* @Author 纪寒
* @Date 2024-02-18 16:37:41
* @Version 1.0
*/
@Service
public class ManageTestServiceImpl implements ManageTestService {
}

View File

@ -0,0 +1,14 @@
package com.xinelu.manage.vo;
import lombok.Data;
/**
* @Description 测试VO类
* @Author 纪寒
* @Date 2024-02-18 16:33:23
* @Version 1.0
*/
@Data
public class ManageTestVO {
private Long id;
}

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xinelu.manage.mapper.ManageTestMapper">
</mapper>

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>postdischarge</artifactId>
<groupId>com.xinelu</groupId>
<version>0.0.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>postdischarge-mobile</artifactId>
<description>院后患者管理平台移动端模块</description>
<dependencies>
<!-- lombok 依赖-->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!-- 防止进入swagger页面报类型转换错误排除3.0.0中的引用手动增加1.6.2版本 -->
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
<version>1.6.2</version>
</dependency>
<!-- 通用工具-->
<dependency>
<groupId>com.xinelu</groupId>
<artifactId>postdischarge-common</artifactId>
</dependency>
<!-- 院后患者管理PC端模块 -->
<dependency>
<groupId>com.xinelu</groupId>
<artifactId>postdischarge-manage</artifactId>
</dependency>
</dependencies>
</project>

View File

@ -0,0 +1,16 @@
package com.xinelu.mobile.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @Description 测试controller
* @Author 纪寒
* @Date 2024-02-18 16:39:49
* @Version 1.0
*/
@RestController
@RequestMapping("/testMobile")
public class MobileTestController {
}

View File

@ -0,0 +1,16 @@
package com.xinelu.mobile.domain;
import lombok.Data;
/**
* @Description 测试实体类
* @Author 纪寒
* @Date 2024-02-18 16:58:39
* @Version 1.0
*/
@Data
public class MobileTest {
private Long id;
private String name;
}

View File

@ -0,0 +1,14 @@
package com.xinelu.mobile.dto;
import lombok.Data;
/**
* @Description 测试DTO
* @Author 纪寒
* @Date 2024-02-18 16:40:55
* @Version 1.0
*/
@Data
public class MobileTestDTO {
private Long id;
}

View File

@ -0,0 +1,10 @@
package com.xinelu.mobile.mapper;
/**
* @Description 测试 Mapper
* @Author 纪寒
* @Date 2024-02-18 16:59:30
* @Version 1.0
*/
public interface MobileTestMapper {
}

View File

@ -0,0 +1,10 @@
package com.xinelu.mobile.service;
/**
* @Description 测试service接口
* @Author 纪寒
* @Date 2024-02-18 17:00:31
* @Version 1.0
*/
public interface MobileTestService {
}

View File

@ -0,0 +1,14 @@
package com.xinelu.mobile.service.impl;
import com.xinelu.mobile.service.MobileTestService;
import org.springframework.stereotype.Service;
/**
* @Description 测试service实现类
* @Author 纪寒
* @Date 2024-02-18 17:00:54
* @Version 1.0
*/
@Service
public class MobileTestServiceImpl implements MobileTestService {
}

View File

@ -0,0 +1,14 @@
package com.xinelu.mobile.vo;
import lombok.Data;
/**
* @Description 测试VO类
* @Author 纪寒
* @Date 2024-02-18 16:59:53
* @Version 1.0
*/
@Data
public class MobileTestVO {
private Long id;
}

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xinelu.mobile.mapper.MobileTestMapper">
</mapper>