(1)修复in() sql中 使用了#导致的bug,#修改为$

(2)asn 策略组删除时判断其下有没有新增的ip,如果有,则不允许删除
This commit is contained in:
wangxin
2018-09-03 11:23:10 +08:00
parent bcba4c785d
commit bf0d81421b
10 changed files with 54 additions and 8 deletions

View File

@@ -14,6 +14,7 @@ public interface AsnIpCfgDao extends CrudDao<AsnIpCfg>{
public void updateValid(@Param("isValid")Integer isValid,@Param("ids")String ids);
public void updateIssued(AsnIpCfg cfg);
public List<AsnIpCfg> getByIds(@Param("ids")String ids);
public List<Integer> hasGroupIds(@Param("ids")String ids);
public List<AsnIpCfg> findAllList(AsnIpCfg cfg);
public List<ConfigGroupInfo> findPolicyGroupInfosByType(@Param("groupId")Integer groupId);
public List<Integer> findOtherIps(@Param("groupId")Integer groupId,@Param("cfgId")Integer cfgId);