Pārlūkot izejas kodu

安全控制bug

zhaops 5 gadi atpakaļ
vecāks
revīzija
4acb83b7de

+ 1 - 1
aipt-service/src/main/java/com/diagbot/facade/ConceptDetailFacade.java

@@ -234,7 +234,7 @@ public class ConceptDetailFacade extends ConceptDetailServiceImpl {
         List<ConceptIntroduceVO> retList = Lists.newLinkedList();
         List<String> nameList = Lists.newLinkedList();
         nameList.add(connectIntroduceVO.getName());
-        if (!connectIntroduceVO.getSysType().equals(SysTypeEnum.LTAPI_SERVICE.getKey())) {
+        if (connectIntroduceVO.getSysType() != null && !connectIntroduceVO.getSysType().equals(SysTypeEnum.LTAPI_SERVICE.getKey())) {
             ConceptIntroduceVO conceptIntroduceVO = new ConceptIntroduceVO();
             BeanUtil.copyProperties(connectIntroduceVO, conceptIntroduceVO);
             conceptIntroduceVO.setLibType(ParamConvertUtil.conceptConvert2Lib(conceptIntroduceVO.getType()));