|
@ -1120,6 +1120,10 @@ public class JMJkEduArticleService extends BaseService {
|
|
String secondLevelCategoryName,String firstLevelCategoryId,String firstLevelCategoryName,String content,String operatorRoleCode,
|
|
String secondLevelCategoryName,String firstLevelCategoryId,String firstLevelCategoryName,String content,String operatorRoleCode,
|
|
String opertorRoleLevel,Integer userScope,String articleId,Integer roleType) throws Exception {
|
|
String opertorRoleLevel,Integer userScope,String articleId,Integer roleType) throws Exception {
|
|
|
|
|
|
|
|
//避免前端上传图片失败还传递失败信息到后台
|
|
|
|
if(image.startsWith("{")&&image.endsWith("}")){
|
|
|
|
throw new Exception("上传图片失败!");
|
|
|
|
}
|
|
if(!StringUtils.isEmpty(articleId)){
|
|
if(!StringUtils.isEmpty(articleId)){
|
|
JSONObject obj = thirdJkEduArticleService.getArticalById(articleId,null,"");
|
|
JSONObject obj = thirdJkEduArticleService.getArticalById(articleId,null,"");
|
|
if(!StringUtils.isEmpty(image)&&!(obj.get("articleCover")+"").equals(image)){
|
|
if(!StringUtils.isEmpty(image)&&!(obj.get("articleCover")+"").equals(image)){
|
|
@ -1323,7 +1327,7 @@ public class JMJkEduArticleService extends BaseService {
|
|
heapm.setLeaveWords(one.getLeaveWords());//医生留言
|
|
heapm.setLeaveWords(one.getLeaveWords());//医生留言
|
|
doctor = doctorDao.findByCode(one.getDoctorCode());
|
|
doctor = doctorDao.findByCode(one.getDoctorCode());
|
|
heapm.setPhoto(doctor.getPhoto());
|
|
heapm.setPhoto(doctor.getPhoto());
|
|
heapm.setTotalData(total);
|
|
|
|
|
|
// heapm.setTotalData(total);
|
|
result.add(heapm);
|
|
result.add(heapm);
|
|
// heapm.setTime();//时间 xx小时前 2017-10-11
|
|
// heapm.setTime();//时间 xx小时前 2017-10-11
|
|
}
|
|
}
|