|
@ -612,11 +612,18 @@ public class JMJkEduArticleService extends BaseService {
|
|
|
healthEduArticleES.setCurrentUserRoleLevel(currentUserRoleLevel);
|
|
|
// healthEduArticleES.setSendSource();
|
|
|
healthEduArticleES.setAllCount(patientSet.size());
|
|
|
healthEduArticleES.setUserType(1);
|
|
|
healthEduArticleESList.add(healthEduArticleES);
|
|
|
|
|
|
}
|
|
|
|
|
|
//保存到ES中
|
|
|
elastricSearchSave.save(healthEduArticleESList, esIndex, esType);
|
|
|
HealthEduArticleES e = healthEduArticleESList.get(0);
|
|
|
e.setUserType(2);
|
|
|
e.setPatientCode(null);
|
|
|
e.setPatientName(null);
|
|
|
elastricSearchSave.save(e, esIndex, esType);
|
|
|
return healthEduArticleESList;
|
|
|
}
|
|
|
public JSONObject pushArticleConfirm(String articleId, String labelUnit, String labelSex, String labelServe, String labelDisease, String labelHealth,String userCode,String currentUserRole, String currentUserRoleLevel) throws Exception {
|