|
@ -101,7 +101,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
com.alibaba.fastjson.JSONObject article = null;
|
|
com.alibaba.fastjson.JSONObject article = null;
|
|
Doctor doctor = null;
|
|
Doctor doctor = null;
|
|
for (HealthEduArticlePatient one : esList) {
|
|
for (HealthEduArticlePatient one : esList) {
|
|
article = thirdJkEduArticleService.getArticalById(one.getArticleId());
|
|
|
|
|
|
article = thirdJkEduArticleService.getArticalById(one.getArticleId(),"");
|
|
if (result.get(one.getArticleId()) != null) {
|
|
if (result.get(one.getArticleId()) != null) {
|
|
heapm = result.get(one.getArticleId());
|
|
heapm = result.get(one.getArticleId());
|
|
|
|
|
|
@ -289,7 +289,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
|
|
|
|
|
|
|
|
//通过文章id 获取文章详情
|
|
//通过文章id 获取文章详情
|
|
JSONObject article = thirdJkEduArticleService.getArticalById(articleId);
|
|
|
|
|
|
JSONObject article = thirdJkEduArticleService.getArticalById(articleId,"");
|
|
|
|
|
|
healthEduArticlePatient.setArticleId(article.get("articleId") + "");
|
|
healthEduArticlePatient.setArticleId(article.get("articleId") + "");
|
|
healthEduArticlePatient.setAttachedTitle(article.get("articleTitle") + "");
|
|
healthEduArticlePatient.setAttachedTitle(article.get("articleTitle") + "");
|
|
@ -362,7 +362,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
// }
|
|
// }
|
|
|
|
|
|
public JSONObject pushArticleConfirm(String articleId, String labelUnit, String labelSex, String labelServe, String labelDisease, String labelHealth,String userCode) throws Exception {
|
|
public JSONObject pushArticleConfirm(String articleId, String labelUnit, String labelSex, String labelServe, String labelDisease, String labelHealth,String userCode) throws Exception {
|
|
JSONObject article = thirdJkEduArticleService.getArticalById(articleId);
|
|
|
|
|
|
JSONObject article = thirdJkEduArticleService.getArticalById(articleId,"");
|
|
Set<String> patientSet = new HashSet<>();
|
|
Set<String> patientSet = new HashSet<>();
|
|
initPatient(patientSet, labelUnit, labelSex, labelServe, labelDisease, labelHealth,userCode);
|
|
initPatient(patientSet, labelUnit, labelSex, labelServe, labelDisease, labelHealth,userCode);
|
|
long num = patientSet.size();
|
|
long num = patientSet.size();
|
|
@ -597,7 +597,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
}
|
|
}
|
|
|
|
|
|
public JSONObject pushArticleConfirm(String articleId,String labelType, String condition, String groupType,Long teamId,String doctorCode) throws Exception{
|
|
public JSONObject pushArticleConfirm(String articleId,String labelType, String condition, String groupType,Long teamId,String doctorCode) throws Exception{
|
|
JSONObject article = thirdJkEduArticleService.getArticalById(articleId);
|
|
|
|
|
|
JSONObject article = thirdJkEduArticleService.getArticalById(articleId,"");
|
|
Set<String> patientSet = new HashSet<>();
|
|
Set<String> patientSet = new HashSet<>();
|
|
initPatients(patientSet,labelType,condition,groupType,teamId,doctorCode);
|
|
initPatients(patientSet,labelType,condition,groupType,teamId,doctorCode);
|
|
long num = patientSet.size();
|
|
long num = patientSet.size();
|
|
@ -731,7 +731,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
List<HealthEduArticlePatientModel> result = new ArrayList<>();
|
|
List<HealthEduArticlePatientModel> result = new ArrayList<>();
|
|
Doctor doctor = null;
|
|
Doctor doctor = null;
|
|
for (HealthEduArticlePatient one : esList) {
|
|
for (HealthEduArticlePatient one : esList) {
|
|
article = thirdJkEduArticleService.getArticalById(one.getArticleId());
|
|
|
|
|
|
article = thirdJkEduArticleService.getArticalById(one.getArticleId(),"");
|
|
heapm = new HealthEduArticlePatientModel();
|
|
heapm = new HealthEduArticlePatientModel();
|
|
heapm.setSendName(one.getSendName());
|
|
heapm.setSendName(one.getSendName());
|
|
heapm.setSendCode(one.getDoctorCode());
|
|
heapm.setSendCode(one.getDoctorCode());
|