|
@@ -20,6 +20,9 @@ import com.diagbot.vo.ChangeStatusVO;
|
|
|
import com.diagbot.vo.IdVO;
|
|
|
import com.diagbot.vo.KlConceptStaticPageVO;
|
|
|
import com.diagbot.vo.KlConceptStaticVO;
|
|
|
+import com.diagbot.vo.PushJoinVO;
|
|
|
+import com.diagbot.vo.ScaleStaticAllVO;
|
|
|
+import com.diagbot.vo.ScaleVO;
|
|
|
import com.diagbot.vo.StaticKnowledgeHISVO;
|
|
|
import com.diagbot.vo.StaticKnowledgeIndexPageVO;
|
|
|
import com.diagbot.vo.StaticKnowledgeIndexVO;
|
|
@@ -46,6 +49,8 @@ public class KlConceptStaticFacade {
|
|
|
private ConceptInfoFacade conceptInfoFacade;
|
|
|
@Autowired
|
|
|
private SysUserFacade sysUserFacade;
|
|
|
+ @Autowired
|
|
|
+ MrFacade mrFacade;
|
|
|
|
|
|
|
|
|
/**
|
|
@@ -76,7 +81,15 @@ public class KlConceptStaticFacade {
|
|
|
* @return
|
|
|
*/
|
|
|
public StaticKnowledgeDTO getStaticKnowledge(StaticKnowledgeVO staticKnowledgeVO) {
|
|
|
- RespDTO<StaticKnowledgeDTO> respDTO = cdssCoreClient.getStaticKnowledge(staticKnowledgeVO);
|
|
|
+ ScaleStaticAllVO scaleStaticAllVO = new ScaleStaticAllVO();
|
|
|
+ if (staticKnowledgeVO.getType() == 8) {
|
|
|
+ PushJoinVO mr = mrFacade.getMr(staticKnowledgeVO.getMrId());
|
|
|
+ if (null != mr) {
|
|
|
+ BeanUtil.copyProperties(mr, scaleStaticAllVO);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ BeanUtil.copyProperties(staticKnowledgeVO, scaleStaticAllVO);
|
|
|
+ RespDTO<StaticKnowledgeDTO> respDTO = cdssCoreClient.getStaticKnowledge(scaleStaticAllVO);
|
|
|
if (RespDTOUtil.respIsOK(respDTO)) {
|
|
|
StaticKnowledgeDTO staticKnowledgeDTO = respDTO.data;
|
|
|
return staticKnowledgeDTO;
|