ASN定时计算v4和v6的IP个数;
界面展示ASNIPv4和v6数 Conflicts: src/main/java/com/nis/web/dao/basics/AsnGroupInfoDao.java src/main/java/com/nis/web/dao/basics/AsnGroupInfoDao.xml src/main/java/com/nis/web/dao/basics/AsnIpCfgDao.java src/main/java/com/nis/web/dao/basics/AsnIpCfgDao.xml src/main/resources/messages/message_en.properties src/main/resources/messages/message_ru.properties src/main/webapp/WEB-INF/views/basics/asnGroupList.jsp
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context.xsd
|
||||
http://www.springframework.org/schema/cache
|
||||
http://www.springframework.org/schema/cache/spring-cache.xsd">
|
||||
http://www.springframework.org/schema/cache/spring-cache.xsd
|
||||
http://www.springframework.org/schema/task
|
||||
http://www.springframework.org/schema/task/spring-task.xsd">
|
||||
|
||||
|
||||
|
||||
@@ -49,6 +51,9 @@
|
||||
|
||||
<!-- 默认注解映射支持 -->
|
||||
<mvc:annotation-driven />
|
||||
|
||||
<!-- 定时注解支持 -->
|
||||
<!-- <task:annotation-driven /> -->
|
||||
|
||||
<!-- <bean class="com.nis.restful.SwaggerConfig" /> -->
|
||||
<!-- redis 工具类-->
|
||||
@@ -95,10 +100,15 @@
|
||||
<!--事务控制驱动注解,发现注解@Transactional 时,找transactionManager事务管理器 -->
|
||||
<tx:annotation-driven transaction-manager="transactionManager" />
|
||||
|
||||
|
||||
<!-- autodetection of such annotated controllers -->
|
||||
<context:component-scan base-package="com.nis.web"></context:component-scan>
|
||||
<context:component-scan base-package="com.nis.restful"></context:component-scan>
|
||||
|
||||
<bean id="asnIpIask" class="com.nis.web.task.StatisticASNIpNumer"></bean>
|
||||
<task:scheduled-tasks>
|
||||
<task:scheduled ref="asnIpIask" method="calculateASNIp" cron=" 0 0 0 * * ?" />
|
||||
</task:scheduled-tasks>
|
||||
<!-- 定时任务配置 end -->
|
||||
|
||||
<!-- 默认的注解映射的支持,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping -->
|
||||
<mvc:annotation-driven
|
||||
|
||||
Reference in New Issue
Block a user