41 lines
1.1 KiB
Java
41 lines
1.1 KiB
Java
|
|
package com.nis.web.dao.basics;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
import org.apache.ibatis.annotations.Param;
|
||
|
|
|
||
|
|
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);
|
||
|
|
}
|