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