fix: batch add missing service/mapper/entity/constant stubs for AI-generated code
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package com.openhis.application.constants;
|
||||
|
||||
public enum LabOrderStatus {
|
||||
PENDING, COMPLETED, CANCELLED
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.openhis.application.constants;
|
||||
|
||||
public enum RegistrationStatus {
|
||||
PENDING, CONFIRMED, CANCELLED, COMPLETED
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface AdmSchedulePoolMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface AdmScheduleSlotMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface CatalogItemMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface DiagnosisMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface DiseaseCatalogMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface DispensingDetailMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface DispensingSummaryMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface LabOrderDetailMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface LabOrderMainMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface LabRequestMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface OrderDetailMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface OrderVerificationMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface PatientMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface PatientVisitMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface RegistrationDetailMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface RegistrationMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface ReportCardMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.mapper;
|
||||
|
||||
public interface SurgeryApplyMapper {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface DiagnosisService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface DispensingService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface InfectiousDiseaseReportService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface LabOrderService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface LabRequestService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface MedicalRecordService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface OutpatientRegistrationService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface RegistrationService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface SurgeryApplyService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface SysConfigService {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package com.openhis.application.service;
|
||||
|
||||
public interface TriageQueueService {
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.openhis.application.util;
|
||||
|
||||
public class DispenseStatusMapper {
|
||||
public static String mapStatus(String status) { return status; }
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.openhis.application.util;
|
||||
|
||||
public class OrderStatusMapper {
|
||||
public static String mapStatus(String status) { return status; }
|
||||
}
|
||||
Reference in New Issue
Block a user