package com.chenyang.nse.bussiness.dao.table.core;

import com.chenyang.nse.bussiness.dao.BaseDao;
import com.chenyang.nse.bussiness.entity.orm.table.core.discovery.TcoreDiscoveryCondition;
import org.springframework.stereotype.Repository;

@Repository
public class TcoreDiscoveryConditionDao extends BaseDao<TcoreDiscoveryCondition, String> {
   public int deletetablelog(String groupid) {
      String sql = "delete from t_core_discovery_condition where groupid = '" + groupid + "'";
      return this.getSession().createNativeQuery(sql).executeUpdate();
   }
}
