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

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

@Repository
public class TCoreAssetRuleDao extends BaseDao<TCoreAssetRule, String> {
   public void remove(String ruleid) {
      String sql = "delete from T_CORE_CONTROLLED_ASSET_RULE  where ruleid = :ruleid";
      this.getSession().createNativeQuery(sql).executeUpdate();
   }
}
