2018-02-27 15:31:30 +08:00
|
|
|
|
package com.nis.web.dao.configuration;
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
|
|
import com.nis.domain.configuration.BaseStringCfg;
|
2018-08-23 10:01:28 +08:00
|
|
|
|
import com.nis.domain.configuration.CfgIndexInfo;
|
2018-11-17 23:59:50 +08:00
|
|
|
|
import com.nis.domain.configuration.ComplexkeywordCfg;
|
2018-08-21 16:49:52 +08:00
|
|
|
|
import com.nis.domain.configuration.NtcSubscribeIdCfg;
|
2018-02-27 15:31:30 +08:00
|
|
|
|
import com.nis.web.dao.CrudDao;
|
|
|
|
|
|
import com.nis.web.dao.MyBatisDao;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
2018-06-29 12:44:33 +08:00
|
|
|
|
* 字符串相关配置数据处理类
|
2018-02-27 15:31:30 +08:00
|
|
|
|
* @author dell
|
|
|
|
|
|
*
|
|
|
|
|
|
*/
|
|
|
|
|
|
@MyBatisDao
|
|
|
|
|
|
public interface StringCfgDao extends CrudDao<BaseStringCfg>{
|
|
|
|
|
|
public BaseStringCfg getById(@Param("tableName")String tableName,@Param("cfgId")Long id) ;
|
|
|
|
|
|
public BaseStringCfg get(BaseStringCfg entity) ;
|
|
|
|
|
|
public List<BaseStringCfg> findList(BaseStringCfg entity) ;
|
|
|
|
|
|
public int insert(BaseStringCfg entity) ;
|
2018-04-13 13:50:29 +08:00
|
|
|
|
public int update(BaseStringCfg entity) ;
|
2018-02-27 15:31:30 +08:00
|
|
|
|
public int updateValid(BaseStringCfg entity) ;
|
|
|
|
|
|
public int audit(BaseStringCfg entity) ;
|
|
|
|
|
|
public int getIsValid(@Param("tableName")String tableName,@Param("cfgId")Long id);
|
|
|
|
|
|
public int getIsValid(BaseStringCfg entity);
|
|
|
|
|
|
public int getIsAudit(@Param("tableName")String tableName,@Param("cfgId")Long id);
|
|
|
|
|
|
public int getIsAudit(BaseStringCfg entity);
|
2018-03-26 14:43:58 +08:00
|
|
|
|
public int deleteByCompileId(BaseStringCfg entity);
|
2018-05-24 19:33:59 +08:00
|
|
|
|
public List<BaseStringCfg> getListByCfgId(@Param("tableName")String tableName, @Param("ids")String ids);
|
|
|
|
|
|
public List<BaseStringCfg> getListByCompileId(@Param("tableName")String tableName, @Param("ids")String ids);
|
2018-06-22 16:30:59 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* deleteByCompileIds(这里用一句话描述这个方法的作用)
|
|
|
|
|
|
* (这里描述这个方法适用条件 – 可选)
|
|
|
|
|
|
* @param id
|
|
|
|
|
|
* @param tablename
|
|
|
|
|
|
* @param compileIds
|
|
|
|
|
|
*void
|
|
|
|
|
|
* @exception
|
|
|
|
|
|
* @since 1.0.0
|
|
|
|
|
|
*/
|
|
|
|
|
|
public void deleteByCompileIds(@Param("user")long user,@Param("tableName")String tableName,@Param("compileIds")String compileIds);
|
2018-08-23 10:01:28 +08:00
|
|
|
|
public List<NtcSubscribeIdCfg> findSubscribeIdCfgListByCfgIndexInfo(CfgIndexInfo entity);
|
|
|
|
|
|
public void deleteSubscribeIdCfgByCfgIndexInfo(CfgIndexInfo entity);
|
2018-08-21 16:49:52 +08:00
|
|
|
|
public List<NtcSubscribeIdCfg> findSubscribeIdCfgList(NtcSubscribeIdCfg ntcSubscribeIdCfg);
|
|
|
|
|
|
public void saveSubscribeIdCfg(NtcSubscribeIdCfg ntcSubscribeIdCfg);
|
|
|
|
|
|
public void updateSubscribeIdCfg(NtcSubscribeIdCfg ntcSubscribeIdCfg);
|
|
|
|
|
|
public void deleteSubscribeIdCfg(NtcSubscribeIdCfg ntcSubscribeIdCfg);
|
2018-11-17 23:59:50 +08:00
|
|
|
|
|
|
|
|
|
|
// 导入配置时数据批量入库使用
|
|
|
|
|
|
public void saveStringCfgBatch(BaseStringCfg cfg);
|
|
|
|
|
|
public void saveComplexkeywordCfgBatch(ComplexkeywordCfg cfg);
|
2018-02-27 15:31:30 +08:00
|
|
|
|
}
|