URL公共组配置部分功能及相应sql提交
This commit is contained in:
41
src/main/java/com/nis/web/dao/basics/UrlCommGroupDao.java
Normal file
41
src/main/java/com/nis/web/dao/basics/UrlCommGroupDao.java
Normal file
@@ -0,0 +1,41 @@
|
||||
package com.nis.web.dao.basics;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import com.nis.domain.basics.IpCommCfg;
|
||||
import com.nis.domain.basics.UrlCommCfg;
|
||||
import com.nis.web.dao.CrudDao;
|
||||
import com.nis.web.dao.MyBatisDao;
|
||||
|
||||
@MyBatisDao
|
||||
public interface UrlCommGroupDao extends CrudDao<UrlCommCfg>{
|
||||
|
||||
// 查询列表
|
||||
public List<UrlCommCfg> findAllPageList(UrlCommCfg entity);
|
||||
|
||||
public List<UrlCommCfg> findByPage(@Param("ids")String ids);
|
||||
|
||||
public List<UrlCommCfg> findInfoByCfgId(@Param("cfgId")Long cfgId);
|
||||
//新增
|
||||
public int insertUrlCommGroupCfg(UrlCommCfg entity);
|
||||
|
||||
public Integer findUrlUdFlag(@Param("groupId")Integer groupId);
|
||||
|
||||
public int updateUrlUdFlag(@Param("groupId")Integer groupId,@Param("udFlag")Integer udFlag);
|
||||
|
||||
//修改
|
||||
public int update(UrlCommCfg entity);
|
||||
|
||||
//删除
|
||||
public int delete(@Param("ids")String ids);
|
||||
|
||||
public List<UrlCommCfg> getByIds(@Param("ids")String ids);
|
||||
|
||||
|
||||
public Integer getGroupIdCount(@Param("groupId")String groupId);
|
||||
|
||||
// 校验分组是否被引用
|
||||
public List<UrlCommCfg> getCfgInfoByGroupIds(@Param("ids")String ids);
|
||||
}
|
||||
Reference in New Issue
Block a user