|
@@ -342,7 +342,7 @@ public class MedAppealInfoManagementFacade {
|
|
//通过缺陷id获取缺陷
|
|
//通过缺陷id获取缺陷
|
|
QcresultDetail qcresultDetail = qcresultDetailFacade.getById(getAppealOperationTypeVO.getQcresultDetailId());
|
|
QcresultDetail qcresultDetail = qcresultDetailFacade.getById(getAppealOperationTypeVO.getQcresultDetailId());
|
|
QcresultDetail nowQcresultDetail = null;
|
|
QcresultDetail nowQcresultDetail = null;
|
|
- if (qcresultDetail == null) {
|
|
|
|
|
|
+ if (qcresultDetail != null) {
|
|
//获取最新的缺陷
|
|
//获取最新的缺陷
|
|
List<QcresultDetail> qcresultDetails = qcresultDetailFacade.list(new QueryWrapper<QcresultDetail>()
|
|
List<QcresultDetail> qcresultDetails = qcresultDetailFacade.list(new QueryWrapper<QcresultDetail>()
|
|
.eq("hospital_id",qcresultDetail.getHospitalId())
|
|
.eq("hospital_id",qcresultDetail.getHospitalId())
|