Compare commits
8 Commits
13779a763d
...
c439f7a573
Author | SHA1 | Date |
---|---|---|
|
c439f7a573 | |
|
d63616c133 | |
|
95219e8eec | |
|
b16905e43d | |
|
b5c248d6e5 | |
|
19e318b9e3 | |
|
4b0bd7b167 | |
|
4bf159ea48 |
|
@ -1,11 +1,20 @@
|
||||||
package doctor.system.api.domain;
|
package doctor.system.api.domain;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassName : User
|
||||||
|
* @Description : 用户表
|
||||||
|
* @Author : FJJ
|
||||||
|
* @Date: 2024-01-10 20:46
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
public class User {
|
public class User {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
private String phone;
|
private String phone;
|
||||||
|
@ -20,6 +29,7 @@ public class User {
|
||||||
private Integer weight;
|
private Integer weight;
|
||||||
private String invitationCode;
|
private String invitationCode;
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
private Date createTime;
|
private Long createTime;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,11 +15,11 @@ spring:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
@ -15,11 +15,11 @@ spring:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
@ -15,11 +15,11 @@ spring:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
@ -15,11 +15,11 @@ spring:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
@ -12,6 +12,11 @@
|
||||||
|
|
||||||
<artifactId>doctor-health</artifactId>
|
<artifactId>doctor-health</artifactId>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<lombok.version>1.18.12</lombok.version>
|
||||||
|
<mapstruct.version>1.4.2.Final</mapstruct.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<!-- Oss上传 -->
|
<!-- Oss上传 -->
|
||||||
|
@ -96,9 +101,26 @@
|
||||||
<artifactId>spring-boot-starter-mail</artifactId>
|
<artifactId>spring-boot-starter-mail</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mapstruct</groupId>
|
||||||
|
<artifactId>mapstruct</artifactId>
|
||||||
|
<version>${mapstruct.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mapstruct</groupId>
|
||||||
|
<artifactId>mapstruct-jdk8</artifactId>
|
||||||
|
<version>${mapstruct.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mapstruct</groupId>
|
||||||
|
<artifactId>mapstruct-processor</artifactId>
|
||||||
|
<version>${mapstruct.version}</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<finalName>${project.artifactId}</finalName>
|
<finalName>${project.artifactId}</finalName>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
@ -116,4 +138,5 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
package doctor.controller;
|
package doctor.controller;
|
||||||
|
|
||||||
|
|
||||||
import doctor.common.core.domain.HealthR;
|
import doctor.common.core.domain.HealthR;
|
||||||
|
import doctor.common.core.domain.R;
|
||||||
import doctor.domain.entity.*;
|
import doctor.domain.entity.*;
|
||||||
import doctor.service.DepartmentService;
|
|
||||||
import doctor.service.DiseaseCategoryService;
|
|
||||||
import doctor.service.DiseaseKnowledgeService;
|
import doctor.service.DiseaseKnowledgeService;
|
||||||
import doctor.service.HealthDepartmentService;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
@ -14,17 +13,17 @@ import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static com.github.pagehelper.page.PageMethod.startPage;
|
import static doctor.common.core.utils.PageUtils.startPage;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @BelongsProject: Medical_Treatment
|
||||||
|
* @BelongsPackage: doctor.controller
|
||||||
|
* @Author: jpz
|
||||||
|
* @CreateTime: 2024/1/10 20:56
|
||||||
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/knowledgeBase/v1")
|
@RequestMapping("/share/knowledgeBase/v1")
|
||||||
public class HealthDepartmentController {
|
public class DiseaseKnowledgeController {
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private HealthDepartmentService healthV1Service;
|
|
||||||
@Autowired
|
|
||||||
private DiseaseCategoryService diseaseCategoryService;
|
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private DiseaseKnowledgeService diseaseKnowledgeService;
|
private DiseaseKnowledgeService diseaseKnowledgeService;
|
||||||
//罕见病症详情
|
//罕见病症详情
|
||||||
|
@ -46,17 +45,23 @@ public class HealthDepartmentController {
|
||||||
List<DrugsCategory> list=diseaseKnowledgeService.findDrugsKnowledgeList(drugsCategoryId);
|
List<DrugsCategory> list=diseaseKnowledgeService.findDrugsKnowledgeList(drugsCategoryId);
|
||||||
return HealthR.ok(list);
|
return HealthR.ok(list);
|
||||||
}
|
}
|
||||||
|
@GetMapping("/findDrugsKnowledge")
|
||||||
|
public HealthR <DrugsKnowledge> findDrugsKnowledge(@RequestParam Integer id){
|
||||||
@GetMapping("/findDiseaseCategory")
|
DrugsKnowledge list=diseaseKnowledgeService.findDrugsKnowledge(id);
|
||||||
public HealthR<List<DiseaseCategory>> findDiseaseCategory(@RequestParam Integer departmentId){
|
return HealthR.ok(list);
|
||||||
List<DiseaseCategory> list=diseaseCategoryService.findDiseaseCategory(departmentId);
|
}
|
||||||
|
@GetMapping("/popularSearch")
|
||||||
|
public HealthR<List<PopularSearchEntity>> popularSeach(){
|
||||||
|
List<PopularSearchEntity> list=diseaseKnowledgeService.popularSeach();
|
||||||
return HealthR.ok(list);
|
return HealthR.ok(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/findDepartment")
|
|
||||||
public HealthR<List<DepartmentEntity>> findDepartment(){
|
|
||||||
List<DepartmentEntity> departmentEntities=healthV1Service.findDepartment();
|
|
||||||
return HealthR.ok(departmentEntities);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -0,0 +1,36 @@
|
||||||
|
package doctor.controller;
|
||||||
|
|
||||||
|
import doctor.common.core.domain.HealthR;
|
||||||
|
import doctor.domain.entity.DoctorEntity;
|
||||||
|
import doctor.service.DoctorService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import javax.print.Doc;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @BelongsProject: Medical_Treatment
|
||||||
|
* @BelongsPackage: doctor.controller
|
||||||
|
* @Author: jpz
|
||||||
|
* @CreateTime: 2024/1/15 11:30
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/user/inquiry/v1")
|
||||||
|
public class DoctorController {
|
||||||
|
@Autowired
|
||||||
|
private DoctorService doctorService;
|
||||||
|
@GetMapping("/findDoctorList")
|
||||||
|
public HealthR<List<DoctorEntity>> findDoctorList(@RequestParam Integer deptId,
|
||||||
|
@RequestParam Integer condition,
|
||||||
|
@RequestParam Integer sortBy,
|
||||||
|
@RequestParam(value = "page",defaultValue = "1") Integer page,
|
||||||
|
@RequestParam(value = "count",defaultValue = "5") Integer count
|
||||||
|
){
|
||||||
|
List<DoctorEntity> list=doctorService.findDoctorList(deptId);
|
||||||
|
return HealthR.ok(list);
|
||||||
|
}
|
||||||
|
}
|
|
@ -5,10 +5,7 @@ import doctor.domain.entity.Information;
|
||||||
import doctor.domain.entity.InformationPlate;
|
import doctor.domain.entity.InformationPlate;
|
||||||
import doctor.service.InformationService;
|
import doctor.service.InformationService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -21,7 +18,8 @@ import static com.github.pagehelper.page.PageMethod.startPage;
|
||||||
* @CreateTime: 2024/1/11 16:19
|
* @CreateTime: 2024/1/11 16:19
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/information/v1")
|
@RequestMapping("/share/information/v1")
|
||||||
|
|
||||||
public class InformationController {
|
public class InformationController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private InformationService informationService;
|
private InformationService informationService;
|
||||||
|
@ -38,4 +36,11 @@ public class InformationController {
|
||||||
List<InformationPlate> list=informationService.findInformationPlateList();
|
List<InformationPlate> list=informationService.findInformationPlateList();
|
||||||
return HealthR.ok(list);
|
return HealthR.ok(list);
|
||||||
}
|
}
|
||||||
|
@GetMapping("/findInformation")
|
||||||
|
public HealthR<Information> findInformation(@RequestParam Long infoId,
|
||||||
|
@RequestHeader(name="userId",required = false)Long userId,
|
||||||
|
@RequestHeader(name = "sessionId",required = false)String sessionId){
|
||||||
|
Information list=informationService.findInformation(infoId);
|
||||||
|
return HealthR.ok(list,"查询成功");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
package doctor.controller;
|
package doctor.controller;
|
||||||
|
|
||||||
import doctor.common.core.domain.HealthR;
|
import doctor.common.core.domain.HealthR;
|
||||||
|
import doctor.domain.vo.DoctorVo;
|
||||||
import doctor.domain.vo.InquiryDetailsRecordVo;
|
import doctor.domain.vo.InquiryDetailsRecordVo;
|
||||||
import doctor.service.InquiryService;
|
import doctor.service.InquiryService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -20,16 +18,23 @@ import static com.github.pagehelper.page.PageMethod.startPage;
|
||||||
* @Date: 2024-01-12 19:09
|
* @Date: 2024-01-12 19:09
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/user/inquiry/verify/v1")
|
@RequestMapping("/user/inquiry")
|
||||||
public class InquiryController {
|
public class InquiryController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private InquiryService inquiryService;
|
private InquiryService inquiryService;
|
||||||
//历史问诊记录列表
|
//历史问诊记录列表
|
||||||
@GetMapping("/findHistoryInquiryRecord")
|
@GetMapping("/verify/v1/findHistoryInquiryRecord")
|
||||||
public HealthR<List<InquiryDetailsRecordVo>> findHistoryInquiryRecord(@RequestParam Integer page,@RequestParam Integer count){
|
public HealthR<List<InquiryDetailsRecordVo>> findHistoryInquiryRecord(@RequestParam Integer page,@RequestParam Integer count){
|
||||||
startPage(page,count);
|
startPage(page,count);
|
||||||
List<InquiryDetailsRecordVo> inquiryDetailsRecordVoList = inquiryService.findHistoryInquiryRecord();
|
List<InquiryDetailsRecordVo> inquiryDetailsRecordVoList = inquiryService.findHistoryInquiryRecord();
|
||||||
return HealthR.ok(inquiryDetailsRecordVoList);
|
return HealthR.ok(inquiryDetailsRecordVoList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GetMapping("/v1/findDoctorInfo")
|
||||||
|
public HealthR<DoctorVo> findDoctorInfo(@RequestHeader Integer userId,
|
||||||
|
@RequestHeader String sessionId,
|
||||||
|
@RequestParam Integer doctorId) {
|
||||||
|
DoctorVo doctorVo = inquiryService.findDoctorInfo(doctorId);
|
||||||
|
return HealthR.ok(doctorVo);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
package doctor.controller;
|
package doctor.controller;
|
||||||
|
|
||||||
import doctor.common.core.domain.HealthR;
|
import doctor.common.core.domain.HealthR;
|
||||||
|
import doctor.domain.dto.UserArchivesDto;
|
||||||
|
import doctor.domain.entity.UserAdoptCommentEntity;
|
||||||
|
import doctor.domain.entity.UserEntity;
|
||||||
|
import doctor.domain.entity.UserInfoCollectionEntity;
|
||||||
import doctor.domain.entity.UserWalletEntity;
|
import doctor.domain.entity.UserWalletEntity;
|
||||||
import doctor.domain.vo.UserConsumptionRecordVo;
|
import doctor.domain.vo.*;
|
||||||
import doctor.domain.vo.UserVideoBuyVo;
|
|
||||||
import doctor.domain.vo.UserVideoCollectionVo;
|
|
||||||
import doctor.service.UserVideoService;
|
import doctor.service.UserVideoService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
@ -28,9 +30,9 @@ public class UserVideoController {
|
||||||
|
|
||||||
//用户视频收藏列表
|
//用户视频收藏列表
|
||||||
@GetMapping("/findVideoCollectionList")
|
@GetMapping("/findVideoCollectionList")
|
||||||
public HealthR<List<UserVideoCollectionVo>> findVideoCollectionList(@RequestParam Integer page, @RequestParam Integer count){
|
public HealthR<List<UserVideoCollectionVo>> findVideoCollectionList(@RequestParam Integer page, @RequestParam Integer count,@RequestHeader Integer userId){
|
||||||
startPage(page,count);
|
startPage(page,count);
|
||||||
List<UserVideoCollectionVo> userVideoCollectionVos=userVideoService.findVideoCollectionList();
|
List<UserVideoCollectionVo> userVideoCollectionVos=userVideoService.findVideoCollectionList(userId);
|
||||||
return HealthR.ok(userVideoCollectionVos);
|
return HealthR.ok(userVideoCollectionVos);
|
||||||
}
|
}
|
||||||
//用户取消视频收藏
|
//用户取消视频收藏
|
||||||
|
@ -47,8 +49,8 @@ public class UserVideoController {
|
||||||
return HealthR.ok(userVideoCollectionVos);
|
return HealthR.ok(userVideoCollectionVos);
|
||||||
}
|
}
|
||||||
//用户删除购买的视频
|
//用户删除购买的视频
|
||||||
@DeleteMapping("/deleteVideoBuy/{videoId}")
|
@DeleteMapping("/deleteVideoBuy}")
|
||||||
public HealthR deleteVideoBuy(@PathVariable Integer videoId){
|
public HealthR deleteVideoBuy(@RequestParam Integer videoId){
|
||||||
userVideoService.deleteVideoBuy(videoId);
|
userVideoService.deleteVideoBuy(videoId);
|
||||||
return HealthR.ok();
|
return HealthR.ok();
|
||||||
}
|
}
|
||||||
|
@ -67,5 +69,36 @@ public class UserVideoController {
|
||||||
return HealthR.ok(userConsumptionRecordVos);
|
return HealthR.ok(userConsumptionRecordVos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//用户详情页面
|
||||||
|
@GetMapping("/whetherSignToday")
|
||||||
|
public HealthR<List<UserEntity>> whetherSignToday(@RequestHeader Integer userId){
|
||||||
|
List<UserEntity> userEntities = userVideoService.whetherSignToday(userId);
|
||||||
|
return HealthR.ok(userEntities);
|
||||||
|
}
|
||||||
|
// 用户资讯收藏列表
|
||||||
|
@GetMapping("/findUserInfoCollectionList")
|
||||||
|
public HealthR<List<UserInfoCollectionVo>> findUserInfoCollectionList(){
|
||||||
|
List<UserInfoCollectionVo> userInfoCollections = userVideoService.findUserInfoCollectionList();
|
||||||
|
return HealthR.ok(userInfoCollections);
|
||||||
|
}
|
||||||
|
//用户被采纳意见列表
|
||||||
|
@GetMapping("/findMyAdoptedCommentList")
|
||||||
|
public HealthR<List<UserAdoptCommentVo>> findMyAdoptedCommentList(@RequestParam Integer page,@RequestParam Integer count){
|
||||||
|
startPage(page,count);
|
||||||
|
List<UserAdoptCommentVo> userAdoptCommentEntities = userVideoService.findMyAdoptedCommentList();
|
||||||
|
return HealthR.ok(userAdoptCommentEntities);
|
||||||
|
}
|
||||||
|
//用户查看自己的档案
|
||||||
|
@GetMapping("/findUserArchives")
|
||||||
|
public HealthR<List<UserArchivesVo>> findUserArchives(@RequestHeader Integer userId){
|
||||||
|
List<UserArchivesVo> userArchivesVos = userVideoService.findUserArchives(userId);
|
||||||
|
return HealthR.ok(userArchivesVos);
|
||||||
|
}
|
||||||
|
//添加用户档案
|
||||||
|
@PostMapping("/addUserArchives")
|
||||||
|
public HealthR addUserArchives(@RequestBody UserArchivesDto userArchivesDto){
|
||||||
|
userVideoService.addUserArchives(userArchivesDto);
|
||||||
|
return HealthR.ok();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,9 +22,9 @@ public class VideoController {
|
||||||
@Autowired
|
@Autowired
|
||||||
private VideoService videoService;
|
private VideoService videoService;
|
||||||
//收藏健康讲堂视频列表
|
//收藏健康讲堂视频列表
|
||||||
@PostMapping("/verify/v1/addUserVideoCollection/{videoId}")
|
@PostMapping("/verify/v1/addUserVideoCollection")
|
||||||
public HealthR addUserVideoCollection(@PathVariable Integer videoId){
|
public HealthR addUserVideoCollection(@RequestParam Integer videoId,@RequestHeader Integer userId){
|
||||||
videoService.addUserVideoCollection(videoId);
|
videoService.addUserVideoCollection(videoId,userId);
|
||||||
return HealthR.ok();
|
return HealthR.ok();
|
||||||
}
|
}
|
||||||
//购买健康讲堂视频
|
//购买健康讲堂视频
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
package doctor.convert;
|
||||||
|
|
||||||
|
import doctor.domain.entity.VideoEntity;
|
||||||
|
import doctor.domain.vo.VideoVo;
|
||||||
|
import org.mapstruct.Mapper;
|
||||||
|
import org.mapstruct.factory.Mappers;
|
||||||
|
import org.w3c.dom.stylesheets.LinkStyle;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Mapper
|
||||||
|
public interface VideoConvert {
|
||||||
|
VideoConvert INSTANCE = Mappers.getMapper(VideoConvert.class);
|
||||||
|
|
||||||
|
VideoVo videoEntityToVideoVo(VideoEntity videoEntity);
|
||||||
|
|
||||||
|
VideoEntity videoVoToVideoEntity(VideoVo videoVo);
|
||||||
|
|
||||||
|
List<VideoEntity> videoVoListToVideoEntityList(List<VideoVo> videoVoList);
|
||||||
|
|
||||||
|
List<VideoVo> videoEntityListToVideoVoList(List<VideoEntity> videoEntityList);
|
||||||
|
}
|
|
@ -0,0 +1,82 @@
|
||||||
|
package doctor.domain.dto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassName : UserArchivesDto
|
||||||
|
* @Description : 添加用户档案
|
||||||
|
* @Author : FJJ
|
||||||
|
* @Date: 2024-01-15 21:51
|
||||||
|
*/
|
||||||
|
public class UserArchivesDto {
|
||||||
|
private Integer userId;
|
||||||
|
private String diseaseMain;
|
||||||
|
private String diseaseNow;
|
||||||
|
private String diseaseBefore;
|
||||||
|
private String treatmentHospitalRecent;
|
||||||
|
private String treatmentProcess;
|
||||||
|
private String treatmentStartTime;
|
||||||
|
private String treatmentEndTime;
|
||||||
|
|
||||||
|
public Integer getUserId() {
|
||||||
|
return userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserId(Integer userId) {
|
||||||
|
this.userId = userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDiseaseMain() {
|
||||||
|
return diseaseMain;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDiseaseMain(String diseaseMain) {
|
||||||
|
this.diseaseMain = diseaseMain;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDiseaseNow() {
|
||||||
|
return diseaseNow;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDiseaseNow(String diseaseNow) {
|
||||||
|
this.diseaseNow = diseaseNow;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDiseaseBefore() {
|
||||||
|
return diseaseBefore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDiseaseBefore(String diseaseBefore) {
|
||||||
|
this.diseaseBefore = diseaseBefore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTreatmentHospitalRecent() {
|
||||||
|
return treatmentHospitalRecent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTreatmentHospitalRecent(String treatmentHospitalRecent) {
|
||||||
|
this.treatmentHospitalRecent = treatmentHospitalRecent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTreatmentProcess() {
|
||||||
|
return treatmentProcess;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTreatmentProcess(String treatmentProcess) {
|
||||||
|
this.treatmentProcess = treatmentProcess;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTreatmentStartTime() {
|
||||||
|
return treatmentStartTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTreatmentStartTime(String treatmentStartTime) {
|
||||||
|
this.treatmentStartTime = treatmentStartTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTreatmentEndTime() {
|
||||||
|
return treatmentEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTreatmentEndTime(String treatmentEndTime) {
|
||||||
|
this.treatmentEndTime = treatmentEndTime;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,32 @@
|
||||||
|
package doctor.domain.entity;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @BelongsProject: Medical_Treatment
|
||||||
|
* @BelongsPackage: doctor.domain.entity
|
||||||
|
* @Author: jpz
|
||||||
|
* @CreateTime: 2024/1/15 11:32
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class DoctorEntity {
|
||||||
|
private Integer id;
|
||||||
|
private Integer departmentId;
|
||||||
|
private String email;
|
||||||
|
private String userName;
|
||||||
|
private Integer reviewStatus;
|
||||||
|
private String phone;
|
||||||
|
private String pwd;
|
||||||
|
private String name;
|
||||||
|
private String imagePic;
|
||||||
|
private String inauguralHospital;
|
||||||
|
private String personalProfile;
|
||||||
|
private String goodFieId;
|
||||||
|
private Date createTime;
|
||||||
|
}
|
|
@ -1,5 +1,8 @@
|
||||||
package doctor.domain.entity;
|
package doctor.domain.entity;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
import org.w3c.dom.Text;
|
import org.w3c.dom.Text;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
@ -10,6 +13,9 @@ import java.util.Date;
|
||||||
* @Author: jpz
|
* @Author: jpz
|
||||||
* @CreateTime: 2024/1/10 22:00
|
* @CreateTime: 2024/1/10 22:00
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
public class DrugsKnowledge {
|
public class DrugsKnowledge {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
private Integer drugsCategoryId;
|
private Integer drugsCategoryId;
|
||||||
|
@ -27,123 +33,5 @@ public class DrugsKnowledge {
|
||||||
private String approvalNumber;
|
private String approvalNumber;
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
public Integer getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(Integer id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getDrugsCategoryId() {
|
|
||||||
return drugsCategoryId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDrugsCategoryId(Integer drugsCategoryId) {
|
|
||||||
this.drugsCategoryId = drugsCategoryId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getName() {
|
|
||||||
return name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setName(String name) {
|
|
||||||
this.name = name;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Text getPicture() {
|
|
||||||
return picture;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPicture(Text picture) {
|
|
||||||
this.picture = picture;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getEffect() {
|
|
||||||
return effect;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setEffect(String effect) {
|
|
||||||
this.effect = effect;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Text getTaboo() {
|
|
||||||
return taboo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTaboo(Text taboo) {
|
|
||||||
this.taboo = taboo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getShape() {
|
|
||||||
return shape;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setShape(String shape) {
|
|
||||||
this.shape = shape;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getPacking() {
|
|
||||||
return packing;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPacking(String packing) {
|
|
||||||
this.packing = packing;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Text getComponent() {
|
|
||||||
return component;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setComponent(Text component) {
|
|
||||||
this.component = component;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Text getUsage() {
|
|
||||||
return usage;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUsage(Text usage) {
|
|
||||||
this.usage = usage;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Text getSideEffects() {
|
|
||||||
return sideEffects;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSideEffects(Text sideEffects) {
|
|
||||||
this.sideEffects = sideEffects;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getStorage() {
|
|
||||||
return storage;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setStorage(String storage) {
|
|
||||||
this.storage = storage;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Text getMindMatter() {
|
|
||||||
return mindMatter;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setMindMatter(Text mindMatter) {
|
|
||||||
this.mindMatter = mindMatter;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getApprovalNumber() {
|
|
||||||
return approvalNumber;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setApprovalNumber(String approvalNumber) {
|
|
||||||
this.approvalNumber = approvalNumber;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getCreateTime() {
|
|
||||||
return createTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCreateTime(Date createTime) {
|
|
||||||
this.createTime = createTime;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,106 +1,54 @@
|
||||||
package doctor.domain.entity;
|
package doctor.domain.entity;
|
||||||
|
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ClassName : InquiryDetailsRecordEntity
|
* @BelongsProject: Medical_Treatment
|
||||||
* @Description : 查询详情记录表
|
* @BelongsPackage: doctor.domain.entity
|
||||||
* @Author : FJJ
|
* @Author: jpz
|
||||||
* @Date: 2024-01-12 17:26
|
* @CreateTime: 2024/1/12 21:46
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
public class InquiryDetailsRecordEntity {
|
public class InquiryDetailsRecordEntity {
|
||||||
|
//主键id
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
//问诊记录
|
||||||
private Integer inquiryId;
|
private Integer inquiryId;
|
||||||
|
//用户id
|
||||||
private Integer userId;
|
private Integer userId;
|
||||||
|
//好友id
|
||||||
private Integer friendId;
|
private Integer friendId;
|
||||||
|
//问诊内容
|
||||||
private String askContent;
|
private String askContent;
|
||||||
|
//问诊图片
|
||||||
private String askImage;
|
private String askImage;
|
||||||
|
//语音聊天
|
||||||
private String voiceChat;
|
private String voiceChat;
|
||||||
|
//方向1=发送 2=接收
|
||||||
private Integer direction;
|
private Integer direction;
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//问诊时间
|
||||||
private Date askTime;
|
private Date askTime;
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
//创建时间
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
public Integer getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(Integer id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getInquiryId() {
|
|
||||||
return inquiryId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setInquiryId(Integer inquiryId) {
|
|
||||||
this.inquiryId = inquiryId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getUserId() {
|
|
||||||
return userId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUserId(Integer userId) {
|
|
||||||
this.userId = userId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getFriendId() {
|
|
||||||
return friendId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFriendId(Integer friendId) {
|
|
||||||
this.friendId = friendId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getAskContent() {
|
|
||||||
return askContent;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAskContent(String askContent) {
|
|
||||||
this.askContent = askContent;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getAskImage() {
|
|
||||||
return askImage;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAskImage(String askImage) {
|
|
||||||
this.askImage = askImage;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getVoiceChat() {
|
|
||||||
return voiceChat;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setVoiceChat(String voiceChat) {
|
|
||||||
this.voiceChat = voiceChat;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getDirection() {
|
|
||||||
return direction;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDirection(Integer direction) {
|
|
||||||
this.direction = direction;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getAskTime() {
|
|
||||||
return askTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAskTime(Date askTime) {
|
|
||||||
this.askTime = askTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getCreateTime() {
|
|
||||||
return createTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCreateTime(Date createTime) {
|
|
||||||
this.createTime = createTime;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
package doctor.domain.entity;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @BelongsProject: Medical_Treatment
|
||||||
|
* @BelongsPackage: doctor.domain.entity
|
||||||
|
* @Author: jpz
|
||||||
|
* @CreateTime: 2024/1/12 21:52
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class InquiryRecordEntity {
|
||||||
|
private Integer id;
|
||||||
|
private Integer userId;
|
||||||
|
private Integer doctorId;
|
||||||
|
private Integer status;
|
||||||
|
private Integer showStatus;
|
||||||
|
private Date inquiryTime;
|
||||||
|
private Date createTime;
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
package doctor.domain.entity;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @BelongsProject: Medical_Treatment
|
||||||
|
* @BelongsPackage: doctor.domain.entity
|
||||||
|
* @Author: jpz
|
||||||
|
* @CreateTime: 2024/1/14 16:00
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class PopularSearchEntity {
|
||||||
|
private Integer id;
|
||||||
|
private String name;
|
||||||
|
private Date createTime;
|
||||||
|
}
|
|
@ -14,9 +14,14 @@ import java.util.Date;
|
||||||
public class UserArchivesEntity {
|
public class UserArchivesEntity {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
private Integer userId;
|
private Integer userId;
|
||||||
private String bankCardNumber;
|
private String diseaseMain;
|
||||||
private String bankName;
|
private String diseaseNow;
|
||||||
private Integer bankCardType;
|
private String diseaseBefore;
|
||||||
|
private String treatmentHospitalRecent;
|
||||||
|
private String treatmentProcess;
|
||||||
|
private Date treatmentStartTime;
|
||||||
|
private Date treatmentEndTime;
|
||||||
|
private String picture;
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
|
||||||
|
@ -36,28 +41,68 @@ public class UserArchivesEntity {
|
||||||
this.userId = userId;
|
this.userId = userId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getBankCardNumber() {
|
public String getDiseaseMain() {
|
||||||
return bankCardNumber;
|
return diseaseMain;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBankCardNumber(String bankCardNumber) {
|
public void setDiseaseMain(String diseaseMain) {
|
||||||
this.bankCardNumber = bankCardNumber;
|
this.diseaseMain = diseaseMain;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getBankName() {
|
public String getDiseaseNow() {
|
||||||
return bankName;
|
return diseaseNow;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBankName(String bankName) {
|
public void setDiseaseNow(String diseaseNow) {
|
||||||
this.bankName = bankName;
|
this.diseaseNow = diseaseNow;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Integer getBankCardType() {
|
public String getDiseaseBefore() {
|
||||||
return bankCardType;
|
return diseaseBefore;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setBankCardType(Integer bankCardType) {
|
public void setDiseaseBefore(String diseaseBefore) {
|
||||||
this.bankCardType = bankCardType;
|
this.diseaseBefore = diseaseBefore;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTreatmentHospitalRecent() {
|
||||||
|
return treatmentHospitalRecent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTreatmentHospitalRecent(String treatmentHospitalRecent) {
|
||||||
|
this.treatmentHospitalRecent = treatmentHospitalRecent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTreatmentProcess() {
|
||||||
|
return treatmentProcess;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTreatmentProcess(String treatmentProcess) {
|
||||||
|
this.treatmentProcess = treatmentProcess;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getTreatmentStartTime() {
|
||||||
|
return treatmentStartTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTreatmentStartTime(Date treatmentStartTime) {
|
||||||
|
this.treatmentStartTime = treatmentStartTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getTreatmentEndTime() {
|
||||||
|
return treatmentEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTreatmentEndTime(Date treatmentEndTime) {
|
||||||
|
this.treatmentEndTime = treatmentEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPicture() {
|
||||||
|
return picture;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPicture(String picture) {
|
||||||
|
this.picture = picture;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Date getUpdateTime() {
|
public Date getUpdateTime() {
|
||||||
|
|
|
@ -16,6 +16,8 @@ public class UserVideoCollectionEntity {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
private Integer userId;
|
private Integer userId;
|
||||||
private Integer videoId;
|
private Integer videoId;
|
||||||
|
|
||||||
|
private String original;
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
|
@ -52,5 +54,11 @@ public class UserVideoCollectionEntity {
|
||||||
this.createTime = createTime;
|
this.createTime = createTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getOriginal() {
|
||||||
|
return original;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOriginal(String original) {
|
||||||
|
this.original = original;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
package doctor.domain.vo;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class Comment {
|
||||||
|
private String nickName;
|
||||||
|
private String headPic;
|
||||||
|
private String content;
|
||||||
|
private Long commentTime;
|
||||||
|
}
|
|
@ -0,0 +1,16 @@
|
||||||
|
package doctor.domain.vo;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
|
public class DoctorReceiveGift {
|
||||||
|
private Integer worth;
|
||||||
|
private Integer receiveNum;
|
||||||
|
private String giftPic;
|
||||||
|
private String giftName;
|
||||||
|
private String meaning;
|
||||||
|
}
|
|
@ -1,16 +1,35 @@
|
||||||
package doctor.domain.vo;
|
package doctor.domain.vo;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @BelongsProject: Medical_Treatment
|
||||||
|
* @BelongsPackage: doctor.domain.vo
|
||||||
|
* @Author: jpz
|
||||||
|
* @CreateTime: 2024/1/15 11:38
|
||||||
|
*/
|
||||||
@Data
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
public class DoctorVo {
|
public class DoctorVo {
|
||||||
private Integer departmentId;
|
private Integer doctorId;
|
||||||
private String departmentName;
|
private String doctorName;
|
||||||
private String goodField;
|
|
||||||
private Integer id;
|
|
||||||
private String imagePic;
|
private String imagePic;
|
||||||
private String inauguralHospital;
|
|
||||||
private String jobTitle;
|
private String jobTitle;
|
||||||
private String name;
|
private String inauguralHospital;
|
||||||
|
private double praise;
|
||||||
|
private Integer serverNum;
|
||||||
|
private Integer servicePrice;
|
||||||
|
private Integer followFlag;
|
||||||
private String personalProfile;
|
private String personalProfile;
|
||||||
|
private String goodField;
|
||||||
|
private Integer commentNum;
|
||||||
|
private Integer praiseNum;
|
||||||
|
private Integer badNum;
|
||||||
|
private List<DoctorReceiveGift> doctorReceiveGiftList;
|
||||||
|
private List<Comment> commentVoList;
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,5 +18,16 @@ public class DrugsKnowledgeVo {
|
||||||
private Integer drugsCategoryId;
|
private Integer drugsCategoryId;
|
||||||
private String name;
|
private String name;
|
||||||
private String picture;
|
private String picture;
|
||||||
|
private String effect;
|
||||||
|
private String taboo;
|
||||||
|
private String shape;
|
||||||
|
private String packing;
|
||||||
|
private String component;
|
||||||
|
private String usage;
|
||||||
|
private String sideEffects;
|
||||||
|
private String storage;
|
||||||
|
private String mindMatter;
|
||||||
|
private String approvalNumber;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,5 +19,6 @@ public class InformationVo {
|
||||||
private String thumbnail;
|
private String thumbnail;
|
||||||
private String source;
|
private String source;
|
||||||
private long releaseTime;
|
private long releaseTime;
|
||||||
|
private Integer whetherCollection;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,73 @@
|
||||||
|
package doctor.domain.vo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassName : UserAdoptCommentVo
|
||||||
|
* @Description : 用户被采纳的建议
|
||||||
|
* @Author : FJJ
|
||||||
|
* @Date: 2024-01-15 19:46
|
||||||
|
*/
|
||||||
|
public class UserAdoptCommentVo {
|
||||||
|
private Integer releaseUserId;
|
||||||
|
private String releaseUserNickName;
|
||||||
|
private String releaseUserHeadPic;
|
||||||
|
private String title;
|
||||||
|
private String disease;
|
||||||
|
private long adoptTime;
|
||||||
|
private String content;
|
||||||
|
|
||||||
|
public Integer getReleaseUserId() {
|
||||||
|
return releaseUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setReleaseUserId(Integer releaseUserId) {
|
||||||
|
this.releaseUserId = releaseUserId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getReleaseUserNickName() {
|
||||||
|
return releaseUserNickName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setReleaseUserNickName(String releaseUserNickName) {
|
||||||
|
this.releaseUserNickName = releaseUserNickName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getReleaseUserHeadPic() {
|
||||||
|
return releaseUserHeadPic;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setReleaseUserHeadPic(String releaseUserHeadPic) {
|
||||||
|
this.releaseUserHeadPic = releaseUserHeadPic;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTitle() {
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getDisease() {
|
||||||
|
return disease;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDisease(String disease) {
|
||||||
|
this.disease = disease;
|
||||||
|
}
|
||||||
|
|
||||||
|
public long getAdoptTime() {
|
||||||
|
return adoptTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAdoptTime(long adoptTime) {
|
||||||
|
this.adoptTime = adoptTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getContent() {
|
||||||
|
return content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContent(String content) {
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
}
|
|
@ -7,5 +7,14 @@ package doctor.domain.vo;
|
||||||
* @Date: 2024-01-12 18:52
|
* @Date: 2024-01-12 18:52
|
||||||
*/
|
*/
|
||||||
public class UserArchivesVo {
|
public class UserArchivesVo {
|
||||||
private Integer recordId;
|
private Integer userId;
|
||||||
|
private Integer archivesId;
|
||||||
|
private String diseaseMain;
|
||||||
|
private String diseaseNow;
|
||||||
|
private String diseaseBefore;
|
||||||
|
private String treatmentHospitalRecent;
|
||||||
|
private String treatmentProcess;
|
||||||
|
private long treatmentStartTime;
|
||||||
|
private long treatmentEndTime;
|
||||||
|
private String picture;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,57 @@
|
||||||
|
package doctor.domain.vo;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @ClassName : UserInfoCollectionVo
|
||||||
|
* @Description : 用户资讯列表
|
||||||
|
* @Author : FJJ
|
||||||
|
* @Date: 2024-01-15 11:52
|
||||||
|
*/
|
||||||
|
public class UserInfoCollectionVo {
|
||||||
|
private Integer id;
|
||||||
|
private Integer infoId;
|
||||||
|
private String title;
|
||||||
|
private String thumbnail;
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getInfoId() {
|
||||||
|
return infoId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setInfoId(Integer infoId) {
|
||||||
|
this.infoId = infoId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTitle() {
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getThumbnail() {
|
||||||
|
return thumbnail;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setThumbnail(String thumbnail) {
|
||||||
|
this.thumbnail = thumbnail;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(Date createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,13 +1,21 @@
|
||||||
package doctor.domain.vo;
|
package doctor.domain.vo;
|
||||||
|
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ClassName : UserVideoCollectionVo
|
* @ClassName : UserVideoCollectionVo
|
||||||
* @Description : 用户视频收藏表
|
* @Description : 用户视频收藏表
|
||||||
* @Author : FJJ
|
* @Author : FJJ
|
||||||
* @Date: 2024-01-12 16:11
|
* @Date: 2024-01-12 16:11
|
||||||
*/
|
*/
|
||||||
|
@Data
|
||||||
|
@AllArgsConstructor
|
||||||
|
@NoArgsConstructor
|
||||||
public class UserVideoCollectionVo {
|
public class UserVideoCollectionVo {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
private Integer videoId;
|
||||||
private String title;
|
private String title;
|
||||||
private String shearUrl;
|
private String shearUrl;
|
||||||
private String original;
|
private String original;
|
||||||
|
@ -16,76 +24,4 @@ public class UserVideoCollectionVo {
|
||||||
private Integer whetherBuy;
|
private Integer whetherBuy;
|
||||||
private Integer buyNum;
|
private Integer buyNum;
|
||||||
private Long createTime;
|
private Long createTime;
|
||||||
|
|
||||||
public Integer getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setId(Integer id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTitle() {
|
|
||||||
return title;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTitle(String title) {
|
|
||||||
this.title = title;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getShearUrl() {
|
|
||||||
return shearUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setShearUrl(String shearUrl) {
|
|
||||||
this.shearUrl = shearUrl;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getOriginal() {
|
|
||||||
return original;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setOriginal(String original) {
|
|
||||||
this.original = original;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getPrice() {
|
|
||||||
return price;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPrice(Integer price) {
|
|
||||||
this.price = price;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getDuration() {
|
|
||||||
return duration;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDuration(Integer duration) {
|
|
||||||
this.duration = duration;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getWhetherBuy() {
|
|
||||||
return whetherBuy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setWhetherBuy(Integer whetherBuy) {
|
|
||||||
this.whetherBuy = whetherBuy;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Integer getBuyNum() {
|
|
||||||
return buyNum;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setBuyNum(Integer buyNum) {
|
|
||||||
this.buyNum = buyNum;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getCreateTime() {
|
|
||||||
return createTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCreateTime(Long createTime) {
|
|
||||||
this.createTime = createTime;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
package doctor.mapper;
|
package doctor.mapper;
|
||||||
|
|
||||||
import doctor.domain.entity.DiseaseKnowledge;
|
import doctor.domain.entity.*;
|
||||||
import doctor.domain.entity.DrugsCategory;
|
|
||||||
import doctor.domain.entity.Information;
|
|
||||||
import doctor.domain.entity.InformationPlate;
|
|
||||||
import org.mybatis.spring.annotation.MapperScan;
|
import org.mybatis.spring.annotation.MapperScan;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -23,4 +20,8 @@ public interface DiseaseKnowledgeMapper {
|
||||||
List<DrugsCategory> findDrugsKnowledgeList(Integer drugsCategoryId);
|
List<DrugsCategory> findDrugsKnowledgeList(Integer drugsCategoryId);
|
||||||
|
|
||||||
|
|
||||||
|
DrugsKnowledge findDrugsKnowledge(Integer id);
|
||||||
|
|
||||||
|
List<PopularSearchEntity> popularSeach();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
package doctor.mapper;
|
||||||
|
|
||||||
|
import doctor.domain.entity.DoctorEntity;
|
||||||
|
import org.mybatis.spring.annotation.MapperScan;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @BelongsProject: Medical_Treatment
|
||||||
|
* @BelongsPackage: doctor.mapper
|
||||||
|
* @Author: jpz
|
||||||
|
* @CreateTime: 2024/1/15 11:54
|
||||||
|
*/
|
||||||
|
@MapperScan
|
||||||
|
public interface DoctorMapper {
|
||||||
|
List<DoctorEntity> findDoctorList(Integer deptId);
|
||||||
|
}
|
|
@ -18,4 +18,6 @@ public interface InformationMapper {
|
||||||
|
|
||||||
List<InformationPlate> findInformationPlateList();
|
List<InformationPlate> findInformationPlateList();
|
||||||
|
|
||||||
|
|
||||||
|
Information findInformation(Long infoId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
package doctor.mapper;
|
package doctor.mapper;
|
||||||
|
|
||||||
import doctor.domain.entity.UserConsumptionRecordEntity;
|
import doctor.domain.dto.UserArchivesDto;
|
||||||
import doctor.domain.entity.UserVideoBuyEntity;
|
import doctor.domain.entity.*;
|
||||||
import doctor.domain.entity.UserVideoCollectionEntity;
|
|
||||||
import doctor.domain.entity.UserWalletEntity;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
||||||
|
@ -17,7 +15,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface UserVideoMapper {
|
public interface UserVideoMapper {
|
||||||
List<UserVideoCollectionEntity> findVideoCollectionList();
|
List<UserVideoCollectionEntity> findVideoCollectionList(@Param("userId") Integer userId);
|
||||||
|
|
||||||
void cancelVideoCollection(@Param("videoId") Integer videoId);
|
void cancelVideoCollection(@Param("videoId") Integer videoId);
|
||||||
|
|
||||||
|
@ -28,4 +26,14 @@ public interface UserVideoMapper {
|
||||||
List<UserWalletEntity> findUserWallet();
|
List<UserWalletEntity> findUserWallet();
|
||||||
|
|
||||||
List<UserConsumptionRecordEntity> findUserConsumptionRecordList();
|
List<UserConsumptionRecordEntity> findUserConsumptionRecordList();
|
||||||
|
|
||||||
|
List<UserEntity> findUserEntityList(@Param("userId") Integer userId);
|
||||||
|
|
||||||
|
List<UserInfoCollectionEntity> findUserInfoCollectionList();
|
||||||
|
|
||||||
|
List<UserAdoptCommentEntity> findMyAdoptedCommentList();
|
||||||
|
|
||||||
|
List<UserArchivesEntity> findUserArchives(@Param("userId") Integer userId);
|
||||||
|
|
||||||
|
void addUserArchives(UserArchivesDto userArchivesDto);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
package doctor.service;
|
package doctor.service;
|
||||||
|
|
||||||
import doctor.domain.entity.DiseaseKnowledge;
|
import doctor.domain.entity.*;
|
||||||
import doctor.domain.entity.DrugsCategory;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -19,4 +18,8 @@ public interface DiseaseKnowledgeService {
|
||||||
List<DrugsCategory> findDrugsKnowledgeList(Integer drugsCategoryId);
|
List<DrugsCategory> findDrugsKnowledgeList(Integer drugsCategoryId);
|
||||||
|
|
||||||
|
|
||||||
|
DrugsKnowledge findDrugsKnowledge(Integer id);
|
||||||
|
|
||||||
|
List<PopularSearchEntity> popularSeach();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
package doctor.service;
|
||||||
|
|
||||||
|
import doctor.domain.entity.DoctorEntity;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @BelongsProject: Medical_Treatment
|
||||||
|
* @BelongsPackage: doctor.service
|
||||||
|
* @Author: jpz
|
||||||
|
* @CreateTime: 2024/1/15 11:32
|
||||||
|
*/
|
||||||
|
public interface DoctorService {
|
||||||
|
List<DoctorEntity> findDoctorList(Integer deptId);
|
||||||
|
}
|
|
@ -16,4 +16,7 @@ public interface InformationService {
|
||||||
List<Information> findInformationList(Integer plateId);
|
List<Information> findInformationList(Integer plateId);
|
||||||
|
|
||||||
List<InformationPlate> findInformationPlateList();
|
List<InformationPlate> findInformationPlateList();
|
||||||
|
|
||||||
|
|
||||||
|
Information findInformation(Long infoId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package doctor.service;
|
package doctor.service;
|
||||||
|
|
||||||
|
import doctor.domain.vo.DoctorVo;
|
||||||
import doctor.domain.vo.InquiryDetailsRecordVo;
|
import doctor.domain.vo.InquiryDetailsRecordVo;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -12,4 +13,6 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public interface InquiryService {
|
public interface InquiryService {
|
||||||
List<InquiryDetailsRecordVo> findHistoryInquiryRecord();
|
List<InquiryDetailsRecordVo> findHistoryInquiryRecord();
|
||||||
|
|
||||||
|
DoctorVo findDoctorInfo(Integer doctorId);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
package doctor.service;
|
package doctor.service;
|
||||||
|
|
||||||
import doctor.domain.entity.UserVideoBuyEntity;
|
import doctor.domain.dto.UserArchivesDto;
|
||||||
import doctor.domain.entity.UserVideoCollectionEntity;
|
import doctor.domain.entity.UserAdoptCommentEntity;
|
||||||
|
import doctor.domain.entity.UserEntity;
|
||||||
import doctor.domain.entity.UserWalletEntity;
|
import doctor.domain.entity.UserWalletEntity;
|
||||||
import doctor.domain.vo.UserConsumptionRecordVo;
|
import doctor.domain.vo.*;
|
||||||
import doctor.domain.vo.UserVideoBuyVo;
|
|
||||||
import doctor.domain.vo.UserVideoCollectionVo;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -26,9 +25,19 @@ public interface UserVideoService {
|
||||||
|
|
||||||
List<UserWalletEntity> findUserWallet();
|
List<UserWalletEntity> findUserWallet();
|
||||||
|
|
||||||
List<UserVideoCollectionVo> findVideoCollectionList();
|
List<UserVideoCollectionVo> findVideoCollectionList(Integer userId);
|
||||||
|
|
||||||
void cancelVideoCollection(Integer userId, String sessionId, Integer videoId);
|
void cancelVideoCollection(Integer userId, String sessionId, Integer videoId);
|
||||||
|
|
||||||
List<UserConsumptionRecordVo> findUserConsumptionRecordList();
|
List<UserConsumptionRecordVo> findUserConsumptionRecordList();
|
||||||
|
|
||||||
|
List<UserEntity> whetherSignToday(Integer userId);
|
||||||
|
|
||||||
|
List<UserInfoCollectionVo> findUserInfoCollectionList();
|
||||||
|
|
||||||
|
List<UserAdoptCommentVo> findMyAdoptedCommentList();
|
||||||
|
|
||||||
|
List<UserArchivesVo> findUserArchives(Integer userId);
|
||||||
|
|
||||||
|
void addUserArchives(UserArchivesDto userArchivesDto);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public interface VideoService {
|
public interface VideoService {
|
||||||
|
|
||||||
void addUserVideoCollection(Integer videoId);
|
void addUserVideoCollection(Integer videoId,Integer userId);
|
||||||
|
|
||||||
|
|
||||||
void videoBuy(Integer videoId,Integer price);
|
void videoBuy(Integer videoId,Integer price);
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
package doctor.service.impl;
|
package doctor.service.impl;
|
||||||
|
|
||||||
import doctor.domain.entity.DiseaseKnowledge;
|
import doctor.domain.entity.*;
|
||||||
import doctor.domain.entity.DrugsCategory;
|
|
||||||
import doctor.mapper.DiseaseKnowledgeMapper;
|
import doctor.mapper.DiseaseKnowledgeMapper;
|
||||||
import doctor.service.DiseaseKnowledgeService;
|
import doctor.service.DiseaseKnowledgeService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
@ -34,5 +33,17 @@ public class DiseaseKnowledgeServiceimpl implements DiseaseKnowledgeService {
|
||||||
return diseaseKnowledgeMapper.findDrugsKnowledgeList(drugsCategoryId);
|
return diseaseKnowledgeMapper.findDrugsKnowledgeList(drugsCategoryId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DrugsKnowledge findDrugsKnowledge(Integer id) {
|
||||||
|
return diseaseKnowledgeMapper.findDrugsKnowledge(id);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<PopularSearchEntity> popularSeach() {
|
||||||
|
return diseaseKnowledgeMapper.popularSeach();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
package doctor.service.impl;
|
||||||
|
|
||||||
|
import doctor.domain.entity.DoctorEntity;
|
||||||
|
import doctor.mapper.DoctorMapper;
|
||||||
|
import doctor.service.DoctorService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @BelongsProject: Medical_Treatment
|
||||||
|
* @BelongsPackage: doctor.service.impl
|
||||||
|
* @Author: jpz
|
||||||
|
* @CreateTime: 2024/1/15 11:45
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class DoctorServiceimpl implements DoctorService {
|
||||||
|
@Autowired
|
||||||
|
private DoctorMapper doctorMapper;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<DoctorEntity> findDoctorList(Integer deptId) {
|
||||||
|
return doctorMapper.findDoctorList(deptId);
|
||||||
|
}
|
||||||
|
}
|
|
@ -3,6 +3,7 @@ package doctor.service.impl;
|
||||||
|
|
||||||
import doctor.common.security.service.TokenService;
|
import doctor.common.security.service.TokenService;
|
||||||
import doctor.common.security.utils.SecurityUtils;
|
import doctor.common.security.utils.SecurityUtils;
|
||||||
|
import doctor.convert.VideoConvert;
|
||||||
import doctor.domain.entity.UserVideoBuyEntity;
|
import doctor.domain.entity.UserVideoBuyEntity;
|
||||||
import doctor.domain.entity.UserVideoCollectionEntity;
|
import doctor.domain.entity.UserVideoCollectionEntity;
|
||||||
import doctor.domain.entity.VideoCategoryEntity;
|
import doctor.domain.entity.VideoCategoryEntity;
|
||||||
|
@ -37,7 +38,7 @@ public class HealthUserVideoServiceImpl implements HealthUserVideoService {
|
||||||
@Override
|
@Override
|
||||||
public List<VideoVo> findVideoVoList(Integer categoryId, Integer userId) {
|
public List<VideoVo> findVideoVoList(Integer categoryId, Integer userId) {
|
||||||
List<VideoEntity> videoVoList = healthUserVideoMapper.findVideoVoList(categoryId);
|
List<VideoEntity> videoVoList = healthUserVideoMapper.findVideoVoList(categoryId);
|
||||||
List<VideoVo> videoVos = ConvertUtil.entityToVoList(videoVoList, VideoVo.class);
|
List<VideoVo> videoVos = VideoConvert.INSTANCE.videoEntityListToVideoVoList(videoVoList);
|
||||||
videoVos.forEach(video -> {
|
videoVos.forEach(video -> {
|
||||||
UserVideoCollectionEntity userVideoCollection = healthUserVideoMapper.selectWhetherCollectionByUserIdAndVideoId(userId,video.getId());
|
UserVideoCollectionEntity userVideoCollection = healthUserVideoMapper.selectWhetherCollectionByUserIdAndVideoId(userId,video.getId());
|
||||||
if(userVideoCollection!=null){
|
if(userVideoCollection!=null){
|
||||||
|
|
|
@ -29,4 +29,11 @@ public class InformationServiceimpl implements InformationService {
|
||||||
public List<InformationPlate> findInformationPlateList() {
|
public List<InformationPlate> findInformationPlateList() {
|
||||||
return informationMapper.findInformationPlateList();
|
return informationMapper.findInformationPlateList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Information findInformation(Long infoId) {
|
||||||
|
return informationMapper.findInformation(infoId);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
package doctor.service.impl;
|
package doctor.service.impl;
|
||||||
|
|
||||||
import doctor.domain.entity.InquiryDetailsRecordEntity;
|
import doctor.domain.entity.InquiryDetailsRecordEntity;
|
||||||
|
import doctor.domain.vo.DoctorVo;
|
||||||
import doctor.domain.vo.InquiryDetailsRecordVo;
|
import doctor.domain.vo.InquiryDetailsRecordVo;
|
||||||
import doctor.mapper.InquiryMapper;
|
import doctor.mapper.InquiryMapper;
|
||||||
import doctor.service.InquiryService;
|
import doctor.service.InquiryService;
|
||||||
|
@ -26,4 +27,10 @@ public class InquiryServiceImpl implements InquiryService {
|
||||||
List<InquiryDetailsRecordVo> inquiryDetailsRecordVos = ConvertUtil.entityToVoList(inquiryDetailsRecordEntity, InquiryDetailsRecordVo.class);
|
List<InquiryDetailsRecordVo> inquiryDetailsRecordVos = ConvertUtil.entityToVoList(inquiryDetailsRecordEntity, InquiryDetailsRecordVo.class);
|
||||||
return inquiryDetailsRecordVos;
|
return inquiryDetailsRecordVos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public DoctorVo findDoctorInfo(Integer doctorId) {
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
package doctor.service.impl;
|
package doctor.service.impl;
|
||||||
|
|
||||||
import doctor.domain.entity.UserConsumptionRecordEntity;
|
import doctor.domain.dto.UserArchivesDto;
|
||||||
import doctor.domain.entity.UserVideoBuyEntity;
|
import doctor.domain.entity.*;
|
||||||
import doctor.domain.entity.UserVideoCollectionEntity;
|
import doctor.domain.vo.*;
|
||||||
import doctor.domain.entity.UserWalletEntity;
|
|
||||||
import doctor.domain.vo.UserConsumptionRecordVo;
|
|
||||||
import doctor.domain.vo.UserVideoBuyVo;
|
|
||||||
import doctor.domain.vo.UserVideoCollectionVo;
|
|
||||||
import doctor.mapper.UserVideoMapper;
|
import doctor.mapper.UserVideoMapper;
|
||||||
import doctor.service.UserVideoService;
|
import doctor.service.UserVideoService;
|
||||||
import doctor.util.ConvertUtil;
|
import doctor.util.ConvertUtil;
|
||||||
|
@ -28,8 +24,8 @@ public class UserVideoServiceImpl implements UserVideoService {
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<UserVideoCollectionVo> findVideoCollectionList() {
|
public List<UserVideoCollectionVo> findVideoCollectionList(Integer userId) {
|
||||||
List<UserVideoCollectionEntity> userVideoCollectionEntityList=userVideoMapper.findVideoCollectionList();
|
List<UserVideoCollectionEntity> userVideoCollectionEntityList=userVideoMapper.findVideoCollectionList(userId);
|
||||||
List<UserVideoCollectionVo> userVideoCollectionVoList = ConvertUtil.entityToVoList(userVideoCollectionEntityList, UserVideoCollectionVo.class);
|
List<UserVideoCollectionVo> userVideoCollectionVoList = ConvertUtil.entityToVoList(userVideoCollectionEntityList, UserVideoCollectionVo.class);
|
||||||
return userVideoCollectionVoList;
|
return userVideoCollectionVoList;
|
||||||
}
|
}
|
||||||
|
@ -46,6 +42,38 @@ public class UserVideoServiceImpl implements UserVideoService {
|
||||||
return userConsumptionRecordVoList;
|
return userConsumptionRecordVoList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UserEntity> whetherSignToday(Integer userId) {
|
||||||
|
List<UserEntity> userEntityList=userVideoMapper.findUserEntityList(userId);
|
||||||
|
return userEntityList;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UserInfoCollectionVo> findUserInfoCollectionList() {
|
||||||
|
List<UserInfoCollectionEntity> userVideoCollectionEntityList=userVideoMapper.findUserInfoCollectionList();
|
||||||
|
List<UserInfoCollectionVo> userVideoCollectionVoList = ConvertUtil.entityToVoList(userVideoCollectionEntityList, UserInfoCollectionVo.class);
|
||||||
|
return userVideoCollectionVoList;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UserAdoptCommentVo> findMyAdoptedCommentList() {
|
||||||
|
List<UserAdoptCommentEntity> userAdoptCommentEntityList=userVideoMapper.findMyAdoptedCommentList();
|
||||||
|
List<UserAdoptCommentVo> userAdoptCommentVoList = ConvertUtil.entityToVoList(userAdoptCommentEntityList, UserAdoptCommentVo.class);
|
||||||
|
return userAdoptCommentVoList;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<UserArchivesVo> findUserArchives(Integer userId) {
|
||||||
|
List<UserArchivesEntity> userArchivesEntityList=userVideoMapper.findUserArchives(userId);
|
||||||
|
List<UserArchivesVo> userArchivesVoList = ConvertUtil.entityToVoList(userArchivesEntityList, UserArchivesVo.class);
|
||||||
|
return userArchivesVoList;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void addUserArchives(UserArchivesDto userArchivesDto) {
|
||||||
|
userVideoMapper.addUserArchives(userArchivesDto);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<UserVideoBuyVo> findUserVideoBuyList() {
|
public List<UserVideoBuyVo> findUserVideoBuyList() {
|
||||||
|
|
|
@ -25,10 +25,7 @@ public class VideoServiceImpl implements VideoService {
|
||||||
@Autowired
|
@Autowired
|
||||||
private HttpServletRequest request;
|
private HttpServletRequest request;
|
||||||
@Override
|
@Override
|
||||||
public void addUserVideoCollection(Integer videoId) {
|
public void addUserVideoCollection(Integer videoId,Integer userId) {
|
||||||
//获取用户id
|
|
||||||
String token = request.getHeader("token");
|
|
||||||
Integer userId = Integer.valueOf(JwtUtils.getUserId(token));
|
|
||||||
// 添加收藏
|
// 添加收藏
|
||||||
videoMapper.addUserVideoCollection(userId,videoId);
|
videoMapper.addUserVideoCollection(userId,videoId);
|
||||||
// 更新视频收藏数
|
// 更新视频收藏数
|
||||||
|
|
|
@ -0,0 +1,38 @@
|
||||||
|
# Tomcat
|
||||||
|
server:
|
||||||
|
port: 9204
|
||||||
|
|
||||||
|
# Spring
|
||||||
|
spring:
|
||||||
|
application:
|
||||||
|
# 应用名称
|
||||||
|
name: doctor-health
|
||||||
|
profiles:
|
||||||
|
# 环境配置
|
||||||
|
active: dev
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
# 服务注册地址
|
||||||
|
server-addr: 101.34.77.101:8848
|
||||||
|
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
||||||
|
config:
|
||||||
|
# 配置中心地址
|
||||||
|
server-addr: 101.34.77.101:8848
|
||||||
|
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
||||||
|
# 配置文件格式
|
||||||
|
file-extension: yml
|
||||||
|
# 共享配置
|
||||||
|
shared-configs:
|
||||||
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
mail:
|
||||||
|
host: smtp.qq.com
|
||||||
|
port: 587
|
||||||
|
username: 3581044601@qq.com
|
||||||
|
password: bwscqgqpkagjciih
|
||||||
|
default-encoding: UTF8
|
||||||
|
properties:
|
||||||
|
mail:
|
||||||
|
smtp:
|
||||||
|
socketFactoryClass: javax.net.ssl.SSLSocketFactory
|
||||||
|
debug: true
|
|
@ -16,5 +16,12 @@
|
||||||
select *
|
select *
|
||||||
from drugs_knowledge where drugs_category_id = #{drugsCategoryId}
|
from drugs_knowledge where drugs_category_id = #{drugsCategoryId}
|
||||||
</select>
|
</select>
|
||||||
|
<select id="findDrugsKnowledge" resultType="doctor.domain.entity.DrugsKnowledge">
|
||||||
|
select *from drugs_knowledge where id=#{id}
|
||||||
|
</select>
|
||||||
|
<select id="popularSeach" resultType="doctor.domain.entity.PopularSearchEntity">
|
||||||
|
select *from popular_search
|
||||||
|
</select>
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
<?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="doctor.mapper.DoctorMapper">
|
||||||
|
|
||||||
|
|
||||||
|
<select id="findDoctorList" resultType="doctor.domain.entity.DoctorEntity">
|
||||||
|
select *
|
||||||
|
from doctor where department_id = #{deptId}
|
||||||
|
</select>
|
||||||
|
</mapper>
|
||||||
|
2
|
|
@ -14,4 +14,9 @@
|
||||||
select *
|
select *
|
||||||
from information where plate_id = #{plateId}
|
from information where plate_id = #{plateId}
|
||||||
</select>
|
</select>
|
||||||
|
<select id="findInformation" resultType="doctor.domain.entity.Information">
|
||||||
|
select *
|
||||||
|
from information where plate_id=#{infoId}
|
||||||
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -3,6 +3,33 @@
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="doctor.mapper.UserVideoMapper">
|
<mapper namespace="doctor.mapper.UserVideoMapper">
|
||||||
|
<insert id="addUserArchives">
|
||||||
|
insert into user_archives (
|
||||||
|
user_id,
|
||||||
|
disease_main,
|
||||||
|
disease_now,
|
||||||
|
disease_before,
|
||||||
|
treatment_hospital_recent,
|
||||||
|
treatment_process,
|
||||||
|
treatment_start_time,
|
||||||
|
treatment_end_time,
|
||||||
|
picture,
|
||||||
|
create_time
|
||||||
|
|
||||||
|
)
|
||||||
|
values (
|
||||||
|
#{userId},
|
||||||
|
#{diseaseMain},
|
||||||
|
#{diseaseNow},
|
||||||
|
#{diseaseBefore},
|
||||||
|
#{treatmentHospitalRecent},
|
||||||
|
#{treatmentProcess},
|
||||||
|
#{treatmentStartTime},
|
||||||
|
#{treatmentEndTime},
|
||||||
|
#{picture},
|
||||||
|
now()
|
||||||
|
);
|
||||||
|
</insert>
|
||||||
<delete id="cancelVideoCollection">
|
<delete id="cancelVideoCollection">
|
||||||
delete
|
delete
|
||||||
from user_video_collection
|
from user_video_collection
|
||||||
|
@ -14,8 +41,7 @@
|
||||||
where video_id = #{videoId}
|
where video_id = #{videoId}
|
||||||
</delete>
|
</delete>
|
||||||
<select id="findVideoCollectionList" resultType="doctor.domain.entity.UserVideoCollectionEntity">
|
<select id="findVideoCollectionList" resultType="doctor.domain.entity.UserVideoCollectionEntity">
|
||||||
select *
|
SELECT user_video_collection.*,video.original_url original FROM user_video_collection LEFT JOIN video ON video.id=user_video_collection.video_id where user_id=#{userId}
|
||||||
from user_video_collection
|
|
||||||
</select>
|
</select>
|
||||||
<select id="findUserVideoBuyList" resultType="doctor.domain.entity.UserVideoBuyEntity">
|
<select id="findUserVideoBuyList" resultType="doctor.domain.entity.UserVideoBuyEntity">
|
||||||
select *
|
select *
|
||||||
|
@ -29,4 +55,19 @@
|
||||||
select *
|
select *
|
||||||
from user_consumption_record
|
from user_consumption_record
|
||||||
</select>
|
</select>
|
||||||
|
<select id="findUserEntityList" resultType="doctor.domain.entity.UserEntity">
|
||||||
|
select *
|
||||||
|
from user where id=#{userId}
|
||||||
|
</select>
|
||||||
|
<select id="findUserInfoCollectionList" resultType="doctor.domain.entity.UserInfoCollectionEntity">
|
||||||
|
SELECT user_info_collection.*,information.title,information.content,information.source FROM user_info_collection LEFT JOIN information ON user_info_collection.info_id =information.id
|
||||||
|
</select>
|
||||||
|
<select id="findMyAdoptedCommentList" resultType="doctor.domain.entity.UserAdoptCommentEntity">
|
||||||
|
select *
|
||||||
|
from user_adopt_comment
|
||||||
|
</select>
|
||||||
|
<select id="findUserArchives" resultType="doctor.domain.entity.UserArchivesEntity">
|
||||||
|
select *
|
||||||
|
from user_archives where user_id=#{userId}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
|
@ -15,11 +15,11 @@ spring:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
@ -15,11 +15,11 @@ spring:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
|
@ -15,11 +15,11 @@ spring:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 101.34.77.101:8848
|
server-addr: 101.34.77.101:8848
|
||||||
namespace: 7e34f104-f333-4828-b36a-02146e521c9a
|
namespace: 09dff3e2-9790-4d4f-beb6-9baeb01ae040
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
|
|
17
pom.xml
17
pom.xml
|
@ -35,6 +35,7 @@
|
||||||
<minio.version>8.2.2</minio.version>
|
<minio.version>8.2.2</minio.version>
|
||||||
<poi.version>4.1.2</poi.version>
|
<poi.version>4.1.2</poi.version>
|
||||||
<transmittable-thread-local.version>2.14.4</transmittable-thread-local.version>
|
<transmittable-thread-local.version>2.14.4</transmittable-thread-local.version>
|
||||||
|
<mapstruct.version>1.4.2.Final</mapstruct.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- 依赖声明 -->
|
<!-- 依赖声明 -->
|
||||||
|
@ -206,6 +207,22 @@
|
||||||
<version>${doctor.version}</version>
|
<version>${doctor.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mapstruct</groupId>
|
||||||
|
<artifactId>mapstruct</artifactId>
|
||||||
|
<version>${mapstruct.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mapstruct</groupId>
|
||||||
|
<artifactId>mapstruct-jdk8</artifactId>
|
||||||
|
<version>${mapstruct.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.mapstruct</groupId>
|
||||||
|
<artifactId>mapstruct-processor</artifactId>
|
||||||
|
<version>${mapstruct.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue