需求-78-增加门诊医生开立检验申请单的开立与删除功能以及页面的调整。
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
package com.openhis.lab.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 条码/标本流转表
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-27
|
||||
*/
|
||||
@Data
|
||||
@TableName("lab_barcode")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class BarCode extends HisBaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
* 条码号
|
||||
*/
|
||||
@TableId(type = IdType.NONE)
|
||||
private String barcode;
|
||||
/**
|
||||
* 检验申请单号
|
||||
*/
|
||||
private String applyNo;
|
||||
/**
|
||||
* 明细ID
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long itemId;
|
||||
/**
|
||||
* 患者id
|
||||
*/
|
||||
private String patientId;
|
||||
/**
|
||||
* 采样时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private Date collectTime;
|
||||
/**
|
||||
* 采样人
|
||||
*/
|
||||
private String collectionEmp;
|
||||
/**
|
||||
* 送检时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private Date sendTime;
|
||||
/**
|
||||
* 签收时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private Date receiveTime;
|
||||
/**
|
||||
* 退检时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private Date backFlag;
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
package com.openhis.lab.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.core.common.core.domain.HisBaseEntity;
|
||||
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 检验申请单定义Entity实体
|
||||
*
|
||||
* @author system
|
||||
* @Date 2026-01-27
|
||||
*/
|
||||
@Data
|
||||
@TableName("lab_apply")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class InspectionLabApply extends HisBaseEntity {
|
||||
|
||||
/**
|
||||
* 主键ID,申请单编号
|
||||
*/
|
||||
@TableId(type = IdType.NONE)
|
||||
private String applyNo;
|
||||
/**
|
||||
* 患者主索引
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long patientId;
|
||||
/**
|
||||
* 患者姓名
|
||||
*/
|
||||
private String patientName;
|
||||
/**
|
||||
* 就诊卡号
|
||||
*/
|
||||
private String medicalrecordNumber;
|
||||
/*
|
||||
* 费用性质
|
||||
*/
|
||||
private String natureofCost;
|
||||
/**
|
||||
* 门诊就诊流水号
|
||||
*/
|
||||
private String visitNo;
|
||||
/**
|
||||
* 开单科室编码
|
||||
*/
|
||||
private String applyDeptCode;
|
||||
/**
|
||||
* 申请科室名称
|
||||
*/
|
||||
private String applyDepartment;
|
||||
/**
|
||||
* 开单医生工号
|
||||
*/
|
||||
private String applyDocCode;
|
||||
/**
|
||||
* 申请医生名称
|
||||
*/
|
||||
private String applyDocName;
|
||||
/**
|
||||
* 申请时间
|
||||
*/
|
||||
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
||||
private Date applyTime;
|
||||
/**
|
||||
* 临床诊断
|
||||
*/
|
||||
private String clinicDiag;
|
||||
/**
|
||||
* 临床印象
|
||||
*/
|
||||
private String clinicDesc;
|
||||
/**
|
||||
* 禁忌症
|
||||
*/
|
||||
private String contraindication;
|
||||
/**
|
||||
* 病史摘要
|
||||
*/
|
||||
private String medicalHistorySummary;
|
||||
/**
|
||||
* 检验目的
|
||||
*/
|
||||
private String purposeofInspection;
|
||||
/**
|
||||
* 体格检查
|
||||
*/
|
||||
private String physicalExamination;
|
||||
/**
|
||||
* 检验项目
|
||||
*/
|
||||
private String inspectionItem;
|
||||
/**
|
||||
* 标本类型代码
|
||||
*/
|
||||
private String specimenTypeCode;
|
||||
/**
|
||||
* 标本名称
|
||||
*/
|
||||
private String specimenName;
|
||||
/**
|
||||
* 申请单优先级代码
|
||||
*/
|
||||
private String priorityCode;
|
||||
/**
|
||||
* 申请单状态
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long applyStatus;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String applyRemark;
|
||||
/**
|
||||
* 操作员工号
|
||||
*/
|
||||
private String operatorId;
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
package com.openhis.lab.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 com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
||||
/**
|
||||
* 检验申请单明细表
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-27
|
||||
*/
|
||||
@Data
|
||||
@TableName("lab_apply_item")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class InspectionLabApplyItem extends HisBaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long itemId;
|
||||
/**
|
||||
* 申请单号
|
||||
*/
|
||||
private String applyNo;
|
||||
/**
|
||||
* 项目序号
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long itemSeq;
|
||||
/**
|
||||
* 项目代码
|
||||
*/
|
||||
private String itemCode;
|
||||
/**
|
||||
* 项目名称
|
||||
*/
|
||||
private String itemName;
|
||||
/**
|
||||
* 国家平台项目代码
|
||||
*/
|
||||
private String nationalItemCode;
|
||||
/**
|
||||
* 执行科室代码
|
||||
*/
|
||||
private String performDeptCode;
|
||||
/**
|
||||
* 单价
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private BigDecimal itemPrice;
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private BigDecimal itemQty;
|
||||
/**
|
||||
* 金额
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private BigDecimal itemAmount;
|
||||
/**
|
||||
* 行状态
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long itemStatus;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.openhis.lab.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.lab.domain.InspectionLabApplyItem;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface InspectionLabApplyItemMapper extends BaseMapper<InspectionLabApplyItem> {
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.openhis.lab.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.lab.domain.InspectionLabApply;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 检验申请单Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-27
|
||||
*/
|
||||
@Repository
|
||||
public interface InspectionLabApplyMapper extends BaseMapper<InspectionLabApply> {
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package com.openhis.lab.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.openhis.lab.domain.BarCode;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* 条码Mapper接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-27
|
||||
*/
|
||||
@Repository
|
||||
public interface InspectionLabBarCodeMapper extends BaseMapper<BarCode> {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.openhis.lab.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.openhis.lab.domain.InspectionLabApplyItem;
|
||||
|
||||
/**
|
||||
* 检验申请单明细表
|
||||
* @author system
|
||||
* @date 2026-01-27
|
||||
*/
|
||||
public interface IInspectionLabApplyItemService extends IService<InspectionLabApplyItem> {
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.openhis.lab.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.openhis.lab.domain.InspectionLabApply;
|
||||
|
||||
/**
|
||||
* 检验申请单Service接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-27
|
||||
*/
|
||||
public interface IInspectionLabApplyService extends IService<InspectionLabApply> {
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.openhis.lab.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.openhis.lab.domain.BarCode;
|
||||
|
||||
/**
|
||||
* 检验申请单条码Service接口
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-27
|
||||
*/
|
||||
public interface IInspectionLabBarCodeService extends IService<BarCode> {
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.openhis.lab.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.openhis.lab.domain.InspectionLabApplyItem;
|
||||
import com.openhis.lab.mapper.InspectionLabApplyItemMapper;
|
||||
import com.openhis.lab.service.IInspectionLabApplyItemService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class InspectionLabApplyItemServiceImpl extends ServiceImpl<InspectionLabApplyItemMapper, InspectionLabApplyItem>
|
||||
implements IInspectionLabApplyItemService
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.openhis.lab.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.openhis.lab.domain.InspectionLabApply;
|
||||
import com.openhis.lab.mapper.InspectionLabApplyMapper;
|
||||
import com.openhis.lab.service.IInspectionLabApplyService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class InspectionLabApplyServiceImpl extends ServiceImpl<InspectionLabApplyMapper, InspectionLabApply>
|
||||
implements IInspectionLabApplyService{
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.openhis.lab.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.openhis.lab.domain.BarCode;
|
||||
import com.openhis.lab.mapper.InspectionLabBarCodeMapper;
|
||||
import com.openhis.lab.service.IInspectionLabBarCodeService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* 检验申请单条码Service业务层处理
|
||||
*
|
||||
* @author system
|
||||
* @date 2026-01-27
|
||||
*/
|
||||
@Service
|
||||
public class InspectionLabBarCodeServiceImpl extends ServiceImpl<InspectionLabBarCodeMapper, BarCode>
|
||||
implements IInspectionLabBarCodeService {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user