|
@@ -68,11 +68,12 @@ public class ClinicalFacade {
|
|
|
if (null == response) {
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "量表没有返回结果");
|
|
|
}
|
|
|
+ String scaleName = searchData.getScaleName();
|
|
|
//加密
|
|
|
- if (cryptConfiguer.cryptFlag){
|
|
|
- CryptUtil.encrypt_char(searchData.getScaleName());
|
|
|
+ if (cryptConfiguer.cryptFlag) {
|
|
|
+ scaleName = CryptUtil.encrypt_char(searchData.getScaleName());
|
|
|
}
|
|
|
- List<ScaleContent> list = getContent(searchData.getScaleName(), JSON.toJSONString(response));
|
|
|
+ List<ScaleContent> list = getContent(scaleName, JSON.toJSONString(response));
|
|
|
return list;
|
|
|
}
|
|
|
|