From 6b2be7de01939325955036777934b774c300c0f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=8E=E4=BD=97?= Date: Sat, 6 Jun 2026 11:02:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(phase3):=20=E5=A3=AE=E5=8C=BB=E4=B8=AD?= =?UTF-8?q?=E5=8C=BB=E7=89=B9=E8=89=B2+=E4=BC=A0=E6=9F=93=E7=97=85?= =?UTF-8?q?=E7=9B=B4=E6=8A=A5=20=E2=80=94=20Phase=203=20=E5=B9=BF=E8=A5=BF?= =?UTF-8?q?=E5=9C=B0=E6=96=B9=E7=89=B9=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 壮医中医特色模块 (TCM): - 后端: 2 Entity + 2 Mapper + 2 Service + AppService(5方法) + Controller(5接口) - 功能: 中医方剂管理(含壮药) + 体质辨识(九种体质) + 统计 传染病直报模块 (Epidemic): - 后端: 1 Entity + 1 Mapper + 1 Service + AppService(4方法) + Controller(4接口) - 功能: 传染病上报 + 疾控确认 + 列表查询 + 统计 编译验证: BUILD SUCCESS --- .../appservice/IEpidemicAppService.java | 10 ++++++ .../impl/EpidemicAppServiceImpl.java | 30 ++++++++++++++++ .../controller/EpidemicController.java | 20 +++++++++++ .../web/tcm/appservice/ITcmAppService.java | 11 ++++++ .../appservice/impl/TcmAppServiceImpl.java | 36 +++++++++++++++++++ .../his/web/tcm/controller/TcmController.java | 23 ++++++++++++ .../his/epidemic/domain/EpidemicReport.java | 16 +++++++++ .../epidemic/mapper/EpidemicReportMapper.java | 5 +++ .../service/IEpidemicReportService.java | 4 +++ .../impl/EpidemicReportServiceImpl.java | 7 ++++ .../tcm/domain/TcmConstitutionAssessment.java | 15 ++++++++ .../his/tcm/domain/TcmPrescription.java | 13 +++++++ .../TcmConstitutionAssessmentMapper.java | 5 +++ .../his/tcm/mapper/TcmPrescriptionMapper.java | 5 +++ .../ITcmConstitutionAssessmentService.java | 4 +++ .../tcm/service/ITcmPrescriptionService.java | 4 +++ .../TcmConstitutionAssessmentServiceImpl.java | 7 ++++ .../impl/TcmPrescriptionServiceImpl.java | 7 ++++ 18 files changed, 222 insertions(+) create mode 100644 healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/appservice/IEpidemicAppService.java create mode 100644 healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/appservice/impl/EpidemicAppServiceImpl.java create mode 100644 healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/controller/EpidemicController.java create mode 100644 healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/appservice/ITcmAppService.java create mode 100644 healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/appservice/impl/TcmAppServiceImpl.java create mode 100644 healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/controller/TcmController.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/domain/EpidemicReport.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/mapper/EpidemicReportMapper.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/service/IEpidemicReportService.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/service/impl/EpidemicReportServiceImpl.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/domain/TcmConstitutionAssessment.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/domain/TcmPrescription.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/mapper/TcmConstitutionAssessmentMapper.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/mapper/TcmPrescriptionMapper.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/ITcmConstitutionAssessmentService.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/ITcmPrescriptionService.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/impl/TcmConstitutionAssessmentServiceImpl.java create mode 100644 healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/impl/TcmPrescriptionServiceImpl.java diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/appservice/IEpidemicAppService.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/appservice/IEpidemicAppService.java new file mode 100644 index 000000000..73a38a627 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/appservice/IEpidemicAppService.java @@ -0,0 +1,10 @@ +package com.healthlink.his.web.epidemic.appservice; +import com.healthlink.his.epidemic.domain.EpidemicReport; +import java.util.List; +import java.util.Map; +public interface IEpidemicAppService { + EpidemicReport report(EpidemicReport r); + void confirmReport(Long id, String cdcNo); + List getReports(String status); + Map getStatistics(String startDate, String endDate); +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/appservice/impl/EpidemicAppServiceImpl.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/appservice/impl/EpidemicAppServiceImpl.java new file mode 100644 index 000000000..28eaf7a58 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/appservice/impl/EpidemicAppServiceImpl.java @@ -0,0 +1,30 @@ +package com.healthlink.his.web.epidemic.appservice.impl; +import com.healthlink.his.epidemic.domain.EpidemicReport; +import com.healthlink.his.epidemic.service.IEpidemicReportService; +import com.healthlink.his.web.epidemic.appservice.IEpidemicAppService; +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import java.util.*; +@Service +public class EpidemicAppServiceImpl implements IEpidemicAppService { + @Autowired private IEpidemicReportService reportService; + @Override + public EpidemicReport report(EpidemicReport r) { r.setStatus("PENDING"); r.setDelFlag("0"); r.setReportDate(new Date()); reportService.save(r); return r; } + @Override + public void confirmReport(Long id, String cdcNo) { + EpidemicReport r = reportService.getById(id); r.setStatus("CONFIRMED"); r.setCdcConfirmNo(cdcNo); reportService.updateById(r); + } + @Override + public List getReports(String status) { + return reportService.list(new LambdaQueryWrapper().eq(status != null, EpidemicReport::getStatus, status).eq(EpidemicReport::getDelFlag, "0")); + } + @Override + public Map getStatistics(String startDate, String endDate) { + Map r = new HashMap<>(); + r.put("total", reportService.count(new LambdaQueryWrapper().eq(EpidemicReport::getDelFlag, "0"))); + r.put("pending", reportService.count(new LambdaQueryWrapper().eq(EpidemicReport::getStatus, "PENDING"))); + r.put("confirmed", reportService.count(new LambdaQueryWrapper().eq(EpidemicReport::getStatus, "CONFIRMED"))); + return r; + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/controller/EpidemicController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/controller/EpidemicController.java new file mode 100644 index 000000000..535d0c5a4 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/epidemic/controller/EpidemicController.java @@ -0,0 +1,20 @@ +package com.healthlink.his.web.epidemic.controller; +import com.core.common.core.domain.AjaxResult; +import com.healthlink.his.epidemic.domain.EpidemicReport; +import com.healthlink.his.web.epidemic.appservice.IEpidemicAppService; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +@Tag(name = "传染病直报") @RestController @RequestMapping("/healthlink-his/api/v1/epidemic") +public class EpidemicController { + @Autowired private IEpidemicAppService epidemicAppService; + @Operation(summary = "上报") @PostMapping("/report") + public AjaxResult report(@RequestBody EpidemicReport r) { return AjaxResult.success(epidemicAppService.report(r)); } + @Operation(summary = "确认") @PutMapping("/confirm/{id}") + public AjaxResult confirm(@PathVariable Long id, @RequestParam String cdcNo) { epidemicAppService.confirmReport(id, cdcNo); return AjaxResult.success(); } + @Operation(summary = "列表") @GetMapping("/list") + public AjaxResult list(@RequestParam(required = false) String status) { return AjaxResult.success(epidemicAppService.getReports(status)); } + @Operation(summary = "统计") @GetMapping("/statistics") + public AjaxResult statistics(@RequestParam(required = false) String s, @RequestParam(required = false) String e) { return AjaxResult.success(epidemicAppService.getStatistics(s, e)); } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/appservice/ITcmAppService.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/appservice/ITcmAppService.java new file mode 100644 index 000000000..70cc78044 --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/appservice/ITcmAppService.java @@ -0,0 +1,11 @@ +package com.healthlink.his.web.tcm.appservice; +import com.healthlink.his.tcm.domain.*; +import java.util.List; +import java.util.Map; +public interface ITcmAppService { + List getPrescriptions(String type); + TcmPrescription savePrescription(TcmPrescription p); + TcmConstitutionAssessment assess(TcmConstitutionAssessment a); + List getAssessmentsByEncounter(Long encounterId); + Map getStatistics(); +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/appservice/impl/TcmAppServiceImpl.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/appservice/impl/TcmAppServiceImpl.java new file mode 100644 index 000000000..026b8aaac --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/appservice/impl/TcmAppServiceImpl.java @@ -0,0 +1,36 @@ +package com.healthlink.his.web.tcm.appservice.impl; +import com.healthlink.his.tcm.domain.*; +import com.healthlink.his.tcm.service.*; +import com.healthlink.his.web.tcm.appservice.ITcmAppService; +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import java.util.*; +@Service +public class TcmAppServiceImpl implements ITcmAppService { + @Autowired private ITcmPrescriptionService prescriptionService; + @Autowired private ITcmConstitutionAssessmentService assessmentService; + + @Override + public List getPrescriptions(String type) { + return prescriptionService.list(new LambdaQueryWrapper() + .eq(type != null, TcmPrescription::getPrescriptionType, type) + .eq(TcmPrescription::getEnabled, "1").eq(TcmPrescription::getDelFlag, "0")); + } + @Override + public TcmPrescription savePrescription(TcmPrescription p) { p.setDelFlag("0"); p.setEnabled("1"); prescriptionService.save(p); return p; } + @Override + public TcmConstitutionAssessment assess(TcmConstitutionAssessment a) { a.setDelFlag("0"); assessmentService.save(a); return a; } + @Override + public List getAssessmentsByEncounter(Long encounterId) { + return assessmentService.list(new LambdaQueryWrapper() + .eq(TcmConstitutionAssessment::getEncounterId, encounterId).eq(TcmConstitutionAssessment::getDelFlag, "0")); + } + @Override + public Map getStatistics() { + Map r = new HashMap<>(); + r.put("totalPrescriptions", prescriptionService.count(new LambdaQueryWrapper().eq(TcmPrescription::getDelFlag, "0"))); + r.put("totalAssessments", assessmentService.count(new LambdaQueryWrapper().eq(TcmConstitutionAssessment::getDelFlag, "0"))); + return r; + } +} diff --git a/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/controller/TcmController.java b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/controller/TcmController.java new file mode 100644 index 000000000..1bc389d8c --- /dev/null +++ b/healthlink-his-server/healthlink-his-application/src/main/java/com/healthlink/his/web/tcm/controller/TcmController.java @@ -0,0 +1,23 @@ +package com.healthlink.his.web.tcm.controller; +import com.core.common.core.domain.AjaxResult; +import com.healthlink.his.tcm.domain.*; +import com.healthlink.his.web.tcm.appservice.ITcmAppService; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.*; +import java.util.List; +@Tag(name = "壮医中医特色") @RestController @RequestMapping("/healthlink-his/api/v1/tcm") +public class TcmController { + @Autowired private ITcmAppService tcmAppService; + @Operation(summary = "中医方剂列表") @GetMapping("/prescriptions") + public AjaxResult prescriptions(@RequestParam(required = false) String type) { return AjaxResult.success(tcmAppService.getPrescriptions(type)); } + @Operation(summary = "新增方剂") @PostMapping("/prescription") + public AjaxResult savePrescription(@RequestBody TcmPrescription p) { return AjaxResult.success(tcmAppService.savePrescription(p)); } + @Operation(summary = "体质辨识") @PostMapping("/constitution") + public AjaxResult assess(@RequestBody TcmConstitutionAssessment a) { return AjaxResult.success(tcmAppService.assess(a)); } + @Operation(summary = "体质辨识记录") @GetMapping("/constitution/encounter/{encounterId}") + public AjaxResult getAssessments(@PathVariable Long encounterId) { return AjaxResult.success(tcmAppService.getAssessmentsByEncounter(encounterId)); } + @Operation(summary = "统计") @GetMapping("/statistics") + public AjaxResult statistics() { return AjaxResult.success(tcmAppService.getStatistics()); } +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/domain/EpidemicReport.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/domain/EpidemicReport.java new file mode 100644 index 000000000..656298cf9 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/domain/EpidemicReport.java @@ -0,0 +1,16 @@ +package com.healthlink.his.epidemic.domain; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.core.common.core.domain.HisBaseEntity; +import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; +import java.util.Date; +@Data @TableName("epidemic_report") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) +public class EpidemicReport extends HisBaseEntity { + @TableId(type = IdType.ASSIGN_ID) private Long id; + private Long encounterId; private Long patientId; private String patientName; + private String diseaseName; private String diseaseCode; private String reportType; + private String reporterId; private String reporterName; + private Date reportDate; private String status; + private String cdcConfirmNo; private String delFlag; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/mapper/EpidemicReportMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/mapper/EpidemicReportMapper.java new file mode 100644 index 000000000..e57df77bb --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/mapper/EpidemicReportMapper.java @@ -0,0 +1,5 @@ +package com.healthlink.his.epidemic.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.epidemic.domain.EpidemicReport; +import org.apache.ibatis.annotations.Mapper; +@Mapper public interface EpidemicReportMapper extends BaseMapper {} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/service/IEpidemicReportService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/service/IEpidemicReportService.java new file mode 100644 index 000000000..2b7f8c289 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/service/IEpidemicReportService.java @@ -0,0 +1,4 @@ +package com.healthlink.his.epidemic.service; +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.epidemic.domain.EpidemicReport; +public interface IEpidemicReportService extends IService {} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/service/impl/EpidemicReportServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/service/impl/EpidemicReportServiceImpl.java new file mode 100644 index 000000000..72872f22a --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/epidemic/service/impl/EpidemicReportServiceImpl.java @@ -0,0 +1,7 @@ +package com.healthlink.his.epidemic.service.impl; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.epidemic.domain.EpidemicReport; +import com.healthlink.his.epidemic.mapper.EpidemicReportMapper; +import com.healthlink.his.epidemic.service.IEpidemicReportService; +import org.springframework.stereotype.Service; +@Service public class EpidemicReportServiceImpl extends ServiceImpl implements IEpidemicReportService {} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/domain/TcmConstitutionAssessment.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/domain/TcmConstitutionAssessment.java new file mode 100644 index 000000000..346e7ec74 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/domain/TcmConstitutionAssessment.java @@ -0,0 +1,15 @@ +package com.healthlink.his.tcm.domain; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.core.common.core.domain.HisBaseEntity; +import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; +import java.util.Date; +@Data @TableName("tcm_constitution_assessment") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) +public class TcmConstitutionAssessment extends HisBaseEntity { + @TableId(type = IdType.ASSIGN_ID) private Long id; + private Long encounterId; private Long patientId; + private String constitutionType; private Integer score; + private String recommendation; private Long assessorId; + private Date assessmentTime; private String delFlag; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/domain/TcmPrescription.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/domain/TcmPrescription.java new file mode 100644 index 000000000..3ed051459 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/domain/TcmPrescription.java @@ -0,0 +1,13 @@ +package com.healthlink.his.tcm.domain; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.core.common.core.domain.HisBaseEntity; +import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; +@Data @TableName("tcm_prescription") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) +public class TcmPrescription extends HisBaseEntity { + @TableId(type = IdType.ASSIGN_ID) private Long id; + private String prescriptionName; private String prescriptionType; + private String herbs; private String dosage; private String usage; + private String indication; private String source; private String enabled; private String delFlag; +} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/mapper/TcmConstitutionAssessmentMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/mapper/TcmConstitutionAssessmentMapper.java new file mode 100644 index 000000000..7b6f83489 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/mapper/TcmConstitutionAssessmentMapper.java @@ -0,0 +1,5 @@ +package com.healthlink.his.tcm.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.tcm.domain.TcmConstitutionAssessment; +import org.apache.ibatis.annotations.Mapper; +@Mapper public interface TcmConstitutionAssessmentMapper extends BaseMapper {} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/mapper/TcmPrescriptionMapper.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/mapper/TcmPrescriptionMapper.java new file mode 100644 index 000000000..d55063824 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/mapper/TcmPrescriptionMapper.java @@ -0,0 +1,5 @@ +package com.healthlink.his.tcm.mapper; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.healthlink.his.tcm.domain.TcmPrescription; +import org.apache.ibatis.annotations.Mapper; +@Mapper public interface TcmPrescriptionMapper extends BaseMapper {} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/ITcmConstitutionAssessmentService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/ITcmConstitutionAssessmentService.java new file mode 100644 index 000000000..d2eaf623d --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/ITcmConstitutionAssessmentService.java @@ -0,0 +1,4 @@ +package com.healthlink.his.tcm.service; +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.tcm.domain.TcmConstitutionAssessment; +public interface ITcmConstitutionAssessmentService extends IService {} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/ITcmPrescriptionService.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/ITcmPrescriptionService.java new file mode 100644 index 000000000..e89f779fe --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/ITcmPrescriptionService.java @@ -0,0 +1,4 @@ +package com.healthlink.his.tcm.service; +import com.baomidou.mybatisplus.extension.service.IService; +import com.healthlink.his.tcm.domain.TcmPrescription; +public interface ITcmPrescriptionService extends IService {} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/impl/TcmConstitutionAssessmentServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/impl/TcmConstitutionAssessmentServiceImpl.java new file mode 100644 index 000000000..9888a1804 --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/impl/TcmConstitutionAssessmentServiceImpl.java @@ -0,0 +1,7 @@ +package com.healthlink.his.tcm.service.impl; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.tcm.domain.TcmConstitutionAssessment; +import com.healthlink.his.tcm.mapper.TcmConstitutionAssessmentMapper; +import com.healthlink.his.tcm.service.ITcmConstitutionAssessmentService; +import org.springframework.stereotype.Service; +@Service public class TcmConstitutionAssessmentServiceImpl extends ServiceImpl implements ITcmConstitutionAssessmentService {} diff --git a/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/impl/TcmPrescriptionServiceImpl.java b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/impl/TcmPrescriptionServiceImpl.java new file mode 100644 index 000000000..ecc6173bf --- /dev/null +++ b/healthlink-his-server/healthlink-his-domain/src/main/java/com/healthlink/his/tcm/service/impl/TcmPrescriptionServiceImpl.java @@ -0,0 +1,7 @@ +package com.healthlink.his.tcm.service.impl; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.healthlink.his.tcm.domain.TcmPrescription; +import com.healthlink.his.tcm.mapper.TcmPrescriptionMapper; +import com.healthlink.his.tcm.service.ITcmPrescriptionService; +import org.springframework.stereotype.Service; +@Service public class TcmPrescriptionServiceImpl extends ServiceImpl implements ITcmPrescriptionService {}