ASN分组逻辑调整,配置使用ANS号对应组织的分组改为使用ANS号新增的唯一分组
This commit is contained in:
@@ -37,5 +37,5 @@ public interface AsnGroupInfoDao extends CrudDao<AsnGroupInfo> {
|
||||
void insertWithId(AsnGroupInfo asnGroupInfo);
|
||||
void insertWithoutId(AsnGroupInfo asnGroupInfo);
|
||||
void updateIpNum(@Param("v4Num")long v4Num,@Param("v6Num")long v6Num,@Param("groupId")Integer groupId);
|
||||
List<Object[]> getASNIPNum(@Param("asnNo")Integer asnNo);
|
||||
List<Object[]> getASNIPNum(@Param("asnNo")Long asnNo);
|
||||
}
|
||||
@@ -21,7 +21,7 @@
|
||||
</resultMap>
|
||||
<sql id="AsnGroupInfoColumns">
|
||||
r.id,r.group_id,r.compile_id,r.organization,r.country,r.detail,r.is_valid,r.create_time,r.edit_time,
|
||||
r.creator_id,r.editor_id,r.asn_id,r.issued_ips,r.is_used,r.region_id,r.org_group_id
|
||||
r.creator_id,r.editor_id,r.asn_id,r.issued_ips,r.is_used,r.region_id,r.org_group_id,r.only_group_id
|
||||
</sql>
|
||||
|
||||
<!-- 查出所有 有效数据-->
|
||||
@@ -107,7 +107,8 @@
|
||||
asn_id,
|
||||
is_used,
|
||||
region_id,
|
||||
org_group_id
|
||||
org_group_id,
|
||||
only_group_id
|
||||
)values (
|
||||
#{groupId,jdbcType=INTEGER},
|
||||
#{compileId,jdbcType=INTEGER},
|
||||
@@ -122,7 +123,8 @@
|
||||
#{asnId,jdbcType=INTEGER},
|
||||
#{isUsed,jdbcType=INTEGER},
|
||||
#{regionId,jdbcType=INTEGER},
|
||||
#{orgGroupId,jdbcType=INTEGER}
|
||||
#{orgGroupId,jdbcType=INTEGER},
|
||||
#{onlyGroupId,jdbcType=INTEGER}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertWithoutId" parameterType="com.nis.domain.basics.AsnGroupInfo" >
|
||||
@@ -174,7 +176,8 @@
|
||||
asn_id,
|
||||
is_used,
|
||||
region_id,
|
||||
org_group_id
|
||||
org_group_id,
|
||||
only_group_id
|
||||
)values (
|
||||
#{id,jdbcType=INTEGER},
|
||||
#{groupId,jdbcType=INTEGER},
|
||||
@@ -190,7 +193,8 @@
|
||||
#{asnId,jdbcType=INTEGER},
|
||||
#{isUsed,jdbcType=INTEGER},
|
||||
#{regionId,jdbcType=INTEGER},
|
||||
#{orgGroupId,jdbcType=INTEGER}
|
||||
#{orgGroupId,jdbcType=INTEGER},
|
||||
#{onlyGroupId,jdbcType=INTEGER}
|
||||
)
|
||||
</insert>
|
||||
<update id="update" parameterType="com.nis.domain.basics.AsnGroupInfo" >
|
||||
|
||||
Reference in New Issue
Block a user