|
@ -49,7 +49,7 @@ public class GcEduArticleService {
|
|
|
" wlyy_sign_family w " +
|
|
|
" WHERE " +
|
|
|
" w.`status` > 0 " +
|
|
|
" AND w.code in (select sign_code from " +
|
|
|
" AND w.code in ( select sign_code from " +
|
|
|
" wlyy_sign_family_server where server_type=? ) ");
|
|
|
params.add(labelCode);
|
|
|
|
|
@ -84,7 +84,9 @@ public class GcEduArticleService {
|
|
|
}
|
|
|
if (unPatients != null && unPatients.length > 0) {
|
|
|
for (String unPatient : unPatients) {
|
|
|
patientSet.remove(unPatient);
|
|
|
if(patientSet.contains(unPatient)){
|
|
|
patientSet.remove(unPatient);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@ -109,6 +111,9 @@ public class GcEduArticleService {
|
|
|
Date createTime = new Date();
|
|
|
for (String patient : patientSet) {
|
|
|
SignFamily signFamily = signFamilyDao.findByjiatingPatient(patient);
|
|
|
if(signFamily==null){
|
|
|
continue;
|
|
|
}
|
|
|
for (int i = 0; i < articleIds.length; i++) {
|
|
|
HealthEduArticlePatient healthEduArticlePatient = new HealthEduArticlePatient();
|
|
|
// 设置文章标识
|