(1)策略分组修改,增加分租asn,id 为4

(2)策略分组删除时判断ASN分组是否已经下发过,如果已经下发过,则不能删除
(3)配置分组修改不能更新分组类型
This commit is contained in:
wangxin
2018-08-27 21:10:13 +08:00
parent 4259117e94
commit 18bfc299e4
12 changed files with 166 additions and 20 deletions

View File

@@ -43,6 +43,7 @@ public interface SpecificServiceCfgDao extends CrudDao<SpecificServiceCfg> {
List<SpecificServiceCfg> getChildrenById(Integer specServiceId);
ConfigGroupInfo getConfigGroupInfoByGroupId(Integer groupId);
Integer getIssuedConfigGroupInfoByGroupIds(String groupIds);
Integer insertConfigGroupInfo(ConfigGroupInfo entity);

View File

@@ -215,6 +215,9 @@
select id,group_id,group_name,is_issued,insert_time,update_time,group_type
from config_group_info c where c.group_id= #{groupId}
</select>
<select id="getIssuedConfigGroupInfoByGroupIds" resultType="java.lang.Integer" parameterType="java.lang.String">
select count(1) from config_group_info c where c.group_id in(#{groupIds}) and is_issued=1
</select>
<!-- 修改配置分组状态信息 -->
<update id="updateConfigGroupInfobyGroupId" parameterType="com.nis.domain.specific.ConfigGroupInfo">