|
@@ -1569,7 +1569,7 @@ public class KnowledgeServiceImpl implements KnowledgeService {
|
|
|
Statement st = null;
|
|
|
ResultSet rs = null;
|
|
|
try {
|
|
|
- String tongName, type, isConcept,stand;
|
|
|
+ String tongName, type, isConcept,stand = "";
|
|
|
String sql = "SELECT name, type_id,is_concept,IF(is_concept=1,a.name,(select lib_name from kl_concept b where b.id = a.concept_id) ) lib_name \n" +
|
|
|
"from kl_library_info a where a.is_deleted = 'N'\n" +
|
|
|
"and type_id in (1,5,12,13,14,16,17,18,35,70)";
|
|
@@ -1581,7 +1581,10 @@ public class KnowledgeServiceImpl implements KnowledgeService {
|
|
|
tongName = CryptUtil.decrypt_char(tongName);
|
|
|
type = rs.getString(2);
|
|
|
isConcept = rs.getString(3);
|
|
|
- stand = CryptUtil.decrypt_char(rs.getString(4));
|
|
|
+ if(StringUtils.isNotEmpty(rs.getString(4))){
|
|
|
+ stand = CryptUtil.decrypt_char(rs.getString(4));
|
|
|
+ }
|
|
|
+
|
|
|
detail = new HashMap<>();
|
|
|
detail.put("isConcept",isConcept);
|
|
|
detail.put("stand",stand);
|