提交 2e91512f authored 作者: luzhangjian's avatar luzhangjian

feat:添加orderId出参

上级 8980883d
......@@ -2,7 +2,6 @@ package com.ebaiyihui.family.doctor.common.vo;
import lombok.Data;
import java.util.Date;
@Data
public class BaseInfoByAdmIdVO {
......@@ -67,4 +66,9 @@ public class BaseInfoByAdmIdVO {
*/
private String deptName;
/**
* 订单id
*/
private String orderId;
}
......@@ -45,4 +45,7 @@ public class ImInfoDetailDocResVo {
private String deptName;
private Date signEndTime;
@ApiModelProperty("订单id")
private String orderId;
}
......@@ -132,6 +132,7 @@ public class PatientMedicalRecordServiceImpl implements PatientMedicalRecordServ
BeanUtils.copyProperties(patientSignEntity, baseInfoByAdmIdVO);
baseInfoByAdmIdVO.setDoctorId(String.valueOf(patientSignEntity.getDoctorId()));
baseInfoByAdmIdVO.setDeptId(String.valueOf(patientSignEntity.getDeptId()));
baseInfoByAdmIdVO.setOrderId(String.valueOf(patientSignEntity.getId()));
PatientEntity patientEntity = patientMapper.selectById(patientSignEntity.getPatientId());
if(patientEntity != null){
BeanUtils.copyProperties(patientEntity, baseInfoByAdmIdVO);
......
......@@ -235,6 +235,7 @@ public class PatientSignServiceImpl implements PatientSignService {
// 格式化日期 date格式化
String signEndTime = DateUtil.format(patientSignEntity.getSignEndTime(), "yyyy-MM-dd");
resVo.setAdmTime(signEndTime);
resVo.setOrderId(String.valueOf(patientSignEntity.getId()));
//患者信息
PatientEntity patientEntity = patientMapper.selectById(patientSignEntity.getPatientId());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论