ÎļþÃû´Ó Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/util/OsScanAnnotationTool.java ÐÞ¸Ä |
| | |
| | | package com.vci.web.util; |
| | | |
| | | import com.vci.bo.BtmOrLinkProcessAttributeInfo; |
| | | import com.vci.constant.FieldConstant; |
| | | import com.vci.dto.*; |
| | | import com.vci.starter.web.annotation.*; |
| | | import com.vci.starter.web.enumpck.BaseEnum; |
| | |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | | import com.vci.starter.web.util.ApplicationContextProvider; |
| | | import com.vci.starter.web.util.VciBaseUtil; |
| | | import com.vci.bo.BtmOrLinkProcessAttributeInfo; |
| | | import com.vci.constant.FieldConstant; |
| | | import com.vci.web.service.WebBtmIOServiceI; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.reflections.Reflections; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | |
| | | */ |
| | | @Component |
| | | public class OsScanAnnotationTool { |
| | | |
| | | |
| | | /** |
| | | * 导å
¥çæå¡ |
| | | */ |
| | | @Autowired |
| | | private WebBtmIOServiceI btmIOService; |
| | | |
| | | /** |
| | | * æ¥å¿ |
| | |
| | | //龿¥ç±»å |
| | | btmTypeExportDTO.setLinkTypeDTOList(linkTypeDTOMap.values()); |
| | | //æ§è¡å¯¼å
¥ç |
| | | btmIOService.importBtmTypes(btmTypeExportDTO); |
| | | //å
ææ¶ç»æ³¨éæï¼çéè¦æ¶ï¼åæ¾å¼ |
| | | //btmIOService.importBtmTypes(btmTypeExportDTO); |
| | | } |
| | | |
| | | /** |