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

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

@Repository
public class TBaseUserroleDao extends BaseDao<TBaseUserrole, String> {
   public void removeUserrole(String userId) {
      String sql = "delete from T_BASE_USERROLE  where userid = :userId";
      this.getSession().createNativeQuery(sql).executeUpdate();
   }
}
