| 
					
				 | 
			
			
				@@ -4,15 +4,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <resultMap id="BaseResultMap" type="com.koobietech.eas.mbg.model.EasSysPermission"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <id column="id" jdbcType="INTEGER" property="id" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="name" jdbcType="VARCHAR" property="name" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="description" jdbcType="VARCHAR" property="description" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="is_active" jdbcType="TINYINT" property="isActive" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="modify_time" jdbcType="TIMESTAMP" property="modifyTime" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="create_uid" jdbcType="INTEGER" property="createUid" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="disabled" jdbcType="CHAR" property="disabled" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.koobietech.eas.mbg.model.EasSysPermission"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <result column="description" jdbcType="LONGVARCHAR" property="description" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="Example_Where_Clause"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <foreach collection="oredCriteria" item="criteria" separator="or"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -72,27 +70,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="Base_Column_List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    id, name, is_active, create_time, modify_time, create_uid, disabled 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <sql id="Blob_Column_List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    description 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    id, name, description, is_active, create_time, modify_time, create_uid, disabled 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <select id="selectByExampleWithBLOBs" parameterType="com.koobietech.eas.mbg.model.EasSysPermissionExample" resultMap="ResultMapWithBLOBs"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <if test="distinct"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      distinct 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <include refid="Base_Column_List" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    , 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <include refid="Blob_Column_List" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    from eas_sys_permission 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <include refid="Example_Where_Clause" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <if test="orderByClause != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      order by ${orderByClause} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="selectByExample" parameterType="com.koobietech.eas.mbg.model.EasSysPermissionExample" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     select 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="distinct"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -107,11 +86,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       order by ${orderByClause} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     select  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <include refid="Base_Column_List" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    , 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <include refid="Blob_Column_List" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     from eas_sys_permission 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </select> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -129,12 +106,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       SELECT LAST_INSERT_ID() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </selectKey> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    insert into eas_sys_permission (name, is_active, create_time,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      modify_time, create_uid, disabled,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      description) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    values (#{name,jdbcType=VARCHAR}, #{isActive,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{modifyTime,jdbcType=TIMESTAMP}, #{createUid,jdbcType=INTEGER}, #{disabled,jdbcType=CHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{description,jdbcType=LONGVARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    insert into eas_sys_permission (name, description, is_active,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      create_time, modify_time, create_uid,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      disabled) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    values (#{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{isActive,jdbcType=TINYINT},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{createTime,jdbcType=TIMESTAMP}, #{modifyTime,jdbcType=TIMESTAMP}, #{createUid,jdbcType=INTEGER},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{disabled,jdbcType=CHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insertSelective" parameterType="com.koobietech.eas.mbg.model.EasSysPermission"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Integer"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -145,6 +122,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="name != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="description != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        description, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="isActive != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         is_active, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -160,14 +140,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="disabled != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         disabled, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="description != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        description, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="name != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="description != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{description,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="isActive != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{isActive,jdbcType=TINYINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -183,9 +163,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="disabled != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{disabled,jdbcType=CHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="description != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #{description,jdbcType=LONGVARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="countByExample" parameterType="com.koobietech.eas.mbg.model.EasSysPermissionExample" resultType="java.lang.Long"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -203,6 +180,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="record.name != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         name = #{record.name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.description != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        description = #{record.description,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="record.isActive != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         is_active = #{record.isActive,jdbcType=TINYINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -218,32 +198,16 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="record.disabled != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         disabled = #{record.disabled,jdbcType=CHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="record.description != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        description = #{record.description,jdbcType=LONGVARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <include refid="Update_By_Example_Where_Clause" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <update id="updateByExampleWithBLOBs" parameterType="map"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    update eas_sys_permission 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    set id = #{record.id,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      name = #{record.name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      is_active = #{record.isActive,jdbcType=TINYINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      create_time = #{record.createTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      create_uid = #{record.createUid,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      disabled = #{record.disabled,jdbcType=CHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      description = #{record.description,jdbcType=LONGVARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <if test="_parameter != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <include refid="Update_By_Example_Where_Clause" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByExample" parameterType="map"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update eas_sys_permission 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     set id = #{record.id,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       name = #{record.name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      description = #{record.description,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       is_active = #{record.isActive,jdbcType=TINYINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       create_time = #{record.createTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -259,6 +223,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="name != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         name = #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="description != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        description = #{description,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="isActive != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         is_active = #{isActive,jdbcType=TINYINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -274,26 +241,13 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="disabled != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         disabled = #{disabled,jdbcType=CHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <if test="description != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        description = #{description,jdbcType=LONGVARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.koobietech.eas.mbg.model.EasSysPermission"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    update eas_sys_permission 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    set name = #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      is_active = #{isActive,jdbcType=TINYINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      create_time = #{createTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      modify_time = #{modifyTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      create_uid = #{createUid,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      disabled = #{disabled,jdbcType=CHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      description = #{description,jdbcType=LONGVARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    where id = #{id,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByPrimaryKey" parameterType="com.koobietech.eas.mbg.model.EasSysPermission"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update eas_sys_permission 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     set name = #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      description = #{description,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       is_active = #{isActive,jdbcType=TINYINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       create_time = #{createTime,jdbcType=TIMESTAMP}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       modify_time = #{modifyTime,jdbcType=TIMESTAMP}, 
			 |