|
@@ -1,20 +1,24 @@
|
|
|
package com.diagbot.facade;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.diagbot.dto.EvaluationDTO;
|
|
|
+import com.diagbot.service.EvaluationService;
|
|
|
import com.diagbot.service.impl.EvaluationServiceImpl;
|
|
|
import com.diagbot.vo.EvaluationDiseaseNameVO;
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
-
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
|
|
|
@Component
|
|
|
public class EvaluationFacade extends EvaluationServiceImpl {
|
|
|
|
|
|
@Autowired
|
|
|
PushFacade pushFacade;
|
|
|
+ @Autowired
|
|
|
+ EvaluationService evaluationService;
|
|
|
|
|
|
/**
|
|
|
* 获取管理与评估模板接口
|
|
@@ -24,7 +28,7 @@ public class EvaluationFacade extends EvaluationServiceImpl {
|
|
|
*/
|
|
|
public List<EvaluationDTO> getEvaluationModule(EvaluationDiseaseNameVO evaluationdiseaseNameVO) {
|
|
|
|
|
|
- List<EvaluationDTO> evaluationList = getEvaluationModule(evaluationdiseaseNameVO);
|
|
|
+ List<EvaluationDTO> evaluationList = evaluationService.getEvaluationModule(evaluationdiseaseNameVO);
|
|
|
|
|
|
Map<String, JSONObject> jsonobject = pushFacade.getManagementEvaluationContent(evaluationdiseaseNameVO);
|
|
|
for (String key : jsonobject.keySet()) {
|