fix: batch add missing service/mapper/entity/constant stubs for AI-generated code

This commit is contained in:
2026-05-27 09:42:34 +08:00
parent ad7beaf349
commit 2661ef48c0
42 changed files with 279 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
package com.openhis.application.constants;
public enum LabOrderStatus {
PENDING, COMPLETED, CANCELLED
}

View File

@@ -0,0 +1,5 @@
package com.openhis.application.constants;
public enum RegistrationStatus {
PENDING, CONFIRMED, CANCELLED, COMPLETED
}

View File

@@ -0,0 +1,19 @@
package com.openhis.application.domain.dto;
import java.util.Date;
public class InfectiousDiseaseReportDto {
private Long id;
private Long patientId;
private String diseaseCode;
private Date reportTime;
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public Long getPatientId() { return patientId; }
public void setPatientId(Long patientId) { this.patientId = patientId; }
public String getDiseaseCode() { return diseaseCode; }
public void setDiseaseCode(String diseaseCode) { this.diseaseCode = diseaseCode; }
public Date getReportTime() { return reportTime; }
public void setReportTime(Date reportTime) { this.reportTime = reportTime; }
}

View File

@@ -0,0 +1,10 @@
package com.openhis.application.domain.dto;
public class LabOrderDto {
private Long id;
private String orderNo;
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public String getOrderNo() { return orderNo; }
public void setOrderNo(String orderNo) { this.orderNo = orderNo; }
}

View File

@@ -0,0 +1,13 @@
package com.openhis.application.domain.entity;
public class CatalogItem {
private Long id;
private String itemCode;
private String itemName;
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public String getItemCode() { return itemCode; }
public void setItemCode(String itemCode) { this.itemCode = itemCode; }
public String getItemName() { return itemName; }
public void setItemName(String itemName) { this.itemName = itemName; }
}

View File

@@ -0,0 +1,16 @@
package com.openhis.application.domain.entity;
public class LabRequestItem {
private Long id;
private Long labRequestId;
private String itemCode;
private String itemName;
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public Long getLabRequestId() { return labRequestId; }
public void setLabRequestId(Long labRequestId) { this.labRequestId = labRequestId; }
public String getItemCode() { return itemCode; }
public void setItemCode(String itemCode) { this.itemCode = itemCode; }
public String getItemName() { return itemName; }
public void setItemName(String itemName) { this.itemName = itemName; }
}

View File

@@ -0,0 +1,24 @@
package com.openhis.application.domain.entity;
import java.util.Date;
public class Patient {
private Long id;
private String name;
private String gender;
private Date birthDate;
private String phone;
private String idCard;
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public String getName() { return name; }
public void setName(String name) { this.name = name; }
public String getGender() { return gender; }
public void setGender(String gender) { this.gender = gender; }
public Date getBirthDate() { return birthDate; }
public void setBirthDate(Date birthDate) { this.birthDate = birthDate; }
public String getPhone() { return phone; }
public void setPhone(String phone) { this.phone = phone; }
public String getIdCard() { return idCard; }
public void setIdCard(String idCard) { this.idCard = idCard; }
}

View File

@@ -0,0 +1,21 @@
package com.openhis.application.domain.entity;
import java.util.Date;
public class QueueRecord {
private Long id;
private Long patientId;
private String queueNumber;
private String status;
private Date createTime;
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public Long getPatientId() { return patientId; }
public void setPatientId(Long patientId) { this.patientId = patientId; }
public String getQueueNumber() { return queueNumber; }
public void setQueueNumber(String queueNumber) { this.queueNumber = queueNumber; }
public String getStatus() { return status; }
public void setStatus(String status) { this.status = status; }
public Date getCreateTime() { return createTime; }
public void setCreateTime(Date createTime) { this.createTime = createTime; }
}

View File

@@ -0,0 +1,21 @@
package com.openhis.application.domain.entity;
import java.util.Date;
public class Registration {
private Long id;
private Long patientId;
private Long doctorId;
private Date registrationDate;
private String status;
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public Long getPatientId() { return patientId; }
public void setPatientId(Long patientId) { this.patientId = patientId; }
public Long getDoctorId() { return doctorId; }
public void setDoctorId(Long doctorId) { this.doctorId = doctorId; }
public Date getRegistrationDate() { return registrationDate; }
public void setRegistrationDate(Date registrationDate) { this.registrationDate = registrationDate; }
public String getStatus() { return status; }
public void setStatus(String status) { this.status = status; }
}

View File

@@ -0,0 +1,18 @@
package com.openhis.application.domain.entity;
import java.math.BigDecimal;
public class RegistrationDetail {
private Long id;
private Long registrationId;
private String feeType;
private BigDecimal amount;
public Long getId() { return id; }
public void setId(Long id) { this.id = id; }
public Long getRegistrationId() { return registrationId; }
public void setRegistrationId(Long registrationId) { this.registrationId = registrationId; }
public String getFeeType() { return feeType; }
public void setFeeType(String feeType) { this.feeType = feeType; }
public BigDecimal getAmount() { return amount; }
public void setAmount(BigDecimal amount) { this.amount = amount; }
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface AdmSchedulePoolMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface AdmScheduleSlotMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface CatalogItemMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface DiagnosisMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface DiseaseCatalogMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface DispensingDetailMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface DispensingSummaryMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface LabOrderDetailMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface LabOrderMainMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface LabRequestMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface OrderDetailMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface OrderVerificationMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface PatientMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface PatientVisitMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface RegistrationDetailMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface RegistrationMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface ReportCardMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.mapper;
public interface SurgeryApplyMapper {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface DiagnosisService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface DispensingService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface InfectiousDiseaseReportService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface LabOrderService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface LabRequestService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface MedicalRecordService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface OutpatientRegistrationService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface RegistrationService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface SurgeryApplyService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface SysConfigService {
}

View File

@@ -0,0 +1,4 @@
package com.openhis.application.service;
public interface TriageQueueService {
}

View File

@@ -4,7 +4,7 @@ import com.openhis.application.mapper.OrderDetailMapper;
import com.openhis.application.mapper.OrderMainMapper;
import com.openhis.application.domain.entity.OrderMain;
import com.openhis.application.exception.BusinessException;
import com.openhis.application.dto.OrderVerificationDTO;
import com.openhis.application.domain.dto.OrderVerificationDTO;
import com.openhis.application.mapper.OrderVerificationMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

View File

@@ -0,0 +1,5 @@
package com.openhis.application.util;
public class DispenseStatusMapper {
public static String mapStatus(String status) { return status; }
}

View File

@@ -0,0 +1,5 @@
package com.openhis.application.util;
public class OrderStatusMapper {
public static String mapStatus(String status) { return status; }
}