2018-01-09 16:50:39 +08:00
|
|
|
package com.nis.web.dao.configuration;
|
|
|
|
|
|
2018-03-29 17:24:21 +08:00
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
import com.nis.domain.configuration.AppIdCfg;
|
|
|
|
|
import com.nis.domain.configuration.AppIdCfg.AppFeaturesIndex;
|
|
|
|
|
import com.nis.domain.configuration.BaseStringCfg;
|
|
|
|
|
import com.nis.domain.configuration.ComplexkeywordCfg;
|
|
|
|
|
import com.nis.web.dao.CrudDao;
|
|
|
|
|
import com.nis.web.dao.MyBatisDao;
|
|
|
|
|
|
2018-01-09 16:50:39 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 特定协议相关配置数据处理类
|
|
|
|
|
* @author dell
|
|
|
|
|
*
|
|
|
|
|
*/
|
2018-03-29 17:24:21 +08:00
|
|
|
@MyBatisDao
|
|
|
|
|
public interface AppCfgDao extends CrudDao<AppIdCfg> {
|
|
|
|
|
public AppIdCfg getById(@Param("cfgId")Long id) ;
|
|
|
|
|
public AppIdCfg get(AppIdCfg entity) ;
|
|
|
|
|
public List<AppIdCfg> findList(AppIdCfg entity) ;
|
|
|
|
|
public int insert(AppIdCfg entity) ;
|
|
|
|
|
public int updateByPrimaryKeySelective(AppIdCfg entity) ;
|
|
|
|
|
public int updateValid(AppIdCfg entity) ;
|
|
|
|
|
public int audit(AppIdCfg entity) ;
|
|
|
|
|
// public int getIsValid(@Param("tableName")String tableName,@Param("cfgId")Long id);
|
|
|
|
|
public int getIsValid(@Param("cfgId")Long id);
|
|
|
|
|
// public int getIsAudit(@Param("tableName")String tableName,@Param("cfgId")Long id);
|
|
|
|
|
public int getIsAudit(@Param("cfgId")Long id);
|
|
|
|
|
public List<ComplexkeywordCfg> getComplexkeywordCfgList();
|
|
|
|
|
public List<AppFeaturesIndex> getFeaturesTableListByAppCompileId(@Param("appCompileId")Integer appCompileId) ;
|
|
|
|
|
public List<ComplexkeywordCfg> getFeaturesCfgListByCompileId(@Param("compileId")Integer compileId) ;
|
|
|
|
|
public int insertFeatures(AppFeaturesIndex entity) ;
|
|
|
|
|
public int updateFeaturesByAppId(AppFeaturesIndex entity) ;
|
|
|
|
|
public int deleteFeaturesByAppId(AppFeaturesIndex entity) ;
|
|
|
|
|
public List<ComplexkeywordCfg> getComplexkeywordFeaturesCfgListByCompileId(@Param("featuresTable") String featuresTable,@Param("compileId")Integer compileId);
|
|
|
|
|
public List<BaseStringCfg> getStrFeaturesCfgListByCompileId(@Param("featuresTable") String featuresTable,@Param("compileId")Integer compileId);
|
2018-01-09 16:50:39 +08:00
|
|
|
}
|