<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hotent.uc.dao.TenantIgnoreMenuDao">
	<resultMap id="TenantIgnoreMenu" type="com.hotent.uc.model.TenantIgnoreMenu">
		<id property="id" column="ID_" jdbcType="VARCHAR"/>
		<result property="tenantId" column="TENANT_ID_" jdbcType="VARCHAR"/>
		<result property="menuCode" column="MENU_CODE_" jdbcType="VARCHAR"/>
		<result property="createTime" column="CREATE_TIME_" jdbcType="TIMESTAMP"/>
		<result property="createBy" column="CREATE_BY_" jdbcType="VARCHAR"/>
		<result property="createOrgId" column="CREATE_ORG_ID_" jdbcType="VARCHAR"/>
		<result property="updateTime" column="UPDATE_TIME_" jdbcType="TIMESTAMP"/>
		<result property="updateBy" column="UPDATE_BY_" jdbcType="VARCHAR"/>
	</resultMap>
	
	<select id="getByTenantId"   parameterType="java.lang.String" resultMap="TenantIgnoreMenu">
		SELECT * FROM UC_TENANT_IGNORE_MENU 
		WHERE 
		TENANT_ID_=#{tenantId}
	</select>
	
	<delete id="deleteByTenantId" parameterType="java.lang.String">
		DELETE FROM UC_TENANT_IGNORE_MENU 
		WHERE
		TENANT_ID_=#{tenantId}
	</delete>
	
	
</mapper>