|
|
|
@ -131,7 +131,10 @@ public class CaseContentServiceImpl extends BaseServiceImpl<CaseContentMapper, C
|
|
|
|
|
CaseContent caseContent = caseContentMapper.selectByPrimaryKey(contentId);
|
|
|
|
|
CaseContentDetailVo caseContentDetailVo = new CaseContentDetailVo();
|
|
|
|
|
caseContentDetailVo.setId(contentId);
|
|
|
|
|
String content = new String(caseContent.getContent(), "utf8");
|
|
|
|
|
String content = null;
|
|
|
|
|
if (null != caseContent.getContent()){
|
|
|
|
|
content = new String(caseContent.getContent(), "utf8");
|
|
|
|
|
}
|
|
|
|
|
caseContentDetailVo.setContent(content);
|
|
|
|
|
caseContentDetailVo.setCategoryId(caseContent.getCategoryId());
|
|
|
|
|
CaseCategory caseCategory = caseCategoryMapper.selectByPrimaryKey(caseContent.getCategoryId());
|
|
|
|
|