浏览代码

公共咨询图文:居民咨询内容

wujunjie 8 年之前
父节点
当前提交
282cd8f695

+ 2 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/web/doctor/consult/DoctorConsultPublicController.java

@ -237,7 +237,8 @@ public class DoctorConsultPublicController extends BaseController {
				json.put("first", p.getName() + ",您好!\n您的公共咨询有新的回复");
				json.put("toUser", p.getCode());
				String symp = cp.getContent();
				json.put("consultcontent", StringUtils.isNotEmpty(symp) && symp.length() > 50 ? (symp.substring(0, 50) + "...")  : content);
//				json.put("consultcontent", StringUtils.isNotEmpty(symp) && symp.length() > 50 ? (symp.substring(0, 50) + "...")  : content);
				json.put("consultcontent", StringUtils.isNotEmpty(symp) && symp.length() > 50 ? (symp.substring(0, 50) + "...")  : symp);
				String replycontent = content.length() > 50 ? content.substring(0, 50) + "..." : content;
				json.put("consult", consult);
				json.put("replycontent", replycontent);