策略分组删除操作增加提示.
This commit is contained in:
@@ -25,4 +25,5 @@ public interface AsnIpCfgDao extends CrudDao<AsnIpCfg>{
|
||||
public int deleteByAsnGroup(@Param("asnId")String asnNo);
|
||||
public int insertBatch(List<AsnIpCfg> list);
|
||||
public Varibles getVaribles(@Param("name")String name);
|
||||
public void ajaxDeleteAsnIp(@Param("ids")String ids);
|
||||
}
|
||||
|
||||
@@ -407,6 +407,9 @@
|
||||
</delete>
|
||||
<update id="delete" parameterType="java.lang.String" >
|
||||
delete from asn_ip_cfg where cfg_id in (${ids})
|
||||
</update>
|
||||
<update id="ajaxDeleteAsnIp" parameterType="java.lang.String" >
|
||||
delete from asn_ip_cfg where asn_ip_group in (${ids})
|
||||
</update>
|
||||
<select id="findOtherIps" resultType="java.lang.Integer" parameterType="java.lang.Integer">
|
||||
select 1 from asn_ip_cfg where is_valid=1 and asn_ip_group=#{groupId} and cfg_id !=#{cfgId} limit 1
|
||||
|
||||
Reference in New Issue
Block a user