|
@@ -681,9 +681,12 @@ public class JianYanJianChaShenQingService {
|
|
|
.eq("patient_from", param.getPatientFrom());
|
|
|
|
|
|
boolean exist = checkTheCallbackDao.selectCount(queryWrapper) > 0;
|
|
|
-
|
|
|
- for (Integer reqNo : param.getReqNo()) {
|
|
|
- dao.setCheckPatientUid(param.getPatientUid(), reqNo);
|
|
|
+ List<Integer> reqNos = param.getReqNo();
|
|
|
+ if (null != reqNos && !reqNos.isEmpty()) {
|
|
|
+ param.setTopReqNo(reqNos.get(0));
|
|
|
+ for (Integer reqNo : reqNos) {
|
|
|
+ dao.setCheckPatientUid(param.getPatientUid(), reqNo);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
try {
|
|
@@ -700,7 +703,7 @@ public class JianYanJianChaShenQingService {
|
|
|
final CheckTheCallbacks temp = new CheckTheCallbacks() {{
|
|
|
setPatientName(param.getPatientName());
|
|
|
setReportTime(param.getReportTime());
|
|
|
- setReqNo(param.getReqNo());
|
|
|
+ setReqNo(reqNos);
|
|
|
setReqName(param.getReqName());
|
|
|
setCheckDoctorName(param.getCheckDoctorName());
|
|
|
}};
|