修改了资源路径-作者2
This commit is contained in:
parent
14856318d8
commit
ac19f19c47
@ -761,10 +761,12 @@ public class CaseClinicalVideoService {
|
|||||||
boolean exists = true;
|
boolean exists = true;
|
||||||
for (CaseClinicalVideoAuthorModel b : caseClinicalVideoAuthors){
|
for (CaseClinicalVideoAuthorModel b : caseClinicalVideoAuthors){
|
||||||
// 检测医生唯一标识
|
// 检测医生唯一标识
|
||||||
|
if (!Objects.equals(b.getCaseClinicalDoctor().getDoctorIden(), "") && b.getCaseClinicalDoctor().getDoctorIden() != null){
|
||||||
if (Objects.equals(a.getDoctorIden(), b.getCaseClinicalDoctor().getDoctorIden())){
|
if (Objects.equals(a.getDoctorIden(), b.getCaseClinicalDoctor().getDoctorIden())){
|
||||||
exists = false;
|
exists = false;
|
||||||
break; // 已存在,跳出内层循环
|
break; // 已存在,跳出内层循环
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 检测医生姓名+医院唯一标识
|
// 检测医生姓名+医院唯一标识
|
||||||
String akey = a.getDoctorName() + a.getHospitalIden();
|
String akey = a.getDoctorName() + a.getHospitalIden();
|
||||||
@ -785,10 +787,12 @@ public class CaseClinicalVideoService {
|
|||||||
// 默认本条为删除
|
// 默认本条为删除
|
||||||
boolean exists = true;
|
boolean exists = true;
|
||||||
for (addClinicalVideoApp.Author a : r.getAuthor()){
|
for (addClinicalVideoApp.Author a : r.getAuthor()){
|
||||||
|
if (!Objects.equals(b.getCaseClinicalDoctor().getDoctorIden(), "") && b.getCaseClinicalDoctor().getDoctorIden() != null){
|
||||||
if (Objects.equals(a.getDoctorIden(), b.getCaseClinicalDoctor().getDoctorIden())){
|
if (Objects.equals(a.getDoctorIden(), b.getCaseClinicalDoctor().getDoctorIden())){
|
||||||
exists = false;
|
exists = false;
|
||||||
break; // 已存在,跳出内层循环
|
break; // 已存在,跳出内层循环
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 检测医生姓名+医院唯一标识
|
// 检测医生姓名+医院唯一标识
|
||||||
String akey = a.getDoctorName() + a.getHospitalIden();
|
String akey = a.getDoctorName() + a.getHospitalIden();
|
||||||
@ -809,10 +813,12 @@ public class CaseClinicalVideoService {
|
|||||||
// 默认本条不添加
|
// 默认本条不添加
|
||||||
boolean exists = false;
|
boolean exists = false;
|
||||||
for (addClinicalVideoApp.Author a : r.getAuthor()){
|
for (addClinicalVideoApp.Author a : r.getAuthor()){
|
||||||
|
if (!Objects.equals(b.getCaseClinicalDoctor().getDoctorIden(), "") && b.getCaseClinicalDoctor().getDoctorIden() != null){
|
||||||
if (Objects.equals(a.getDoctorIden(), b.getCaseClinicalDoctor().getDoctorIden())){
|
if (Objects.equals(a.getDoctorIden(), b.getCaseClinicalDoctor().getDoctorIden())){
|
||||||
exists = true;
|
exists = true;
|
||||||
break; // 已存在,跳出内层循环
|
break; // 已存在,跳出内层循环
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// 检测医生姓名+医院唯一标识
|
// 检测医生姓名+医院唯一标识
|
||||||
String akey = a.getDoctorName() + a.getHospitalIden();
|
String akey = a.getDoctorName() + a.getHospitalIden();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user