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.TcoreDiscoverySensitivecolumnExport;
import org.springframework.stereotype.Repository;

@Repository
public class TcoreDiscoverySensitivecolumnExportDao extends BaseDao<TcoreDiscoverySensitivecolumnExport, String> {
   public int deleteDiscoverytaskByGroupid(String groupid) {
      String sql = "delete from t_core_discovery_sensitivecolumn_export where groupid = '" + groupid + "'";
      return this.getSession().createNativeQuery(sql).executeUpdate();
   }
}
