| 
					
				 | 
			
			
				@@ -3,6 +3,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <mapper namespace="com.hwrj.cloud.admin.mapper.PmsBrandMapper"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <resultMap id="BaseResultMap" type="com.hwrj.cloud.admin.model.PmsBrand"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <id column="id" jdbcType="BIGINT" property="id" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="comp_id" jdbcType="BIGINT" property="compId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="comp_name" jdbcType="VARCHAR" property="compName" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="name" jdbcType="VARCHAR" property="name" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="first_letter" jdbcType="VARCHAR" property="firstLetter" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="sort" jdbcType="INTEGER" property="sort" /> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -79,8 +81,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="Base_Column_List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    logo, big_pic, create_id, create_time, update_id, update_time 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    id, comp_id, comp_name, name, first_letter, sort, factory_status, show_status, product_count,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    product_comment_count, logo, big_pic, create_id, create_time, update_id, update_time 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="Blob_Column_List"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     brand_story 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -137,16 +139,18 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       SELECT LAST_INSERT_ID() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </selectKey> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    insert into pms_brand (name, first_letter, sort,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      factory_status, show_status, product_count,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      product_comment_count, logo, big_pic,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      create_id, create_time, update_id,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      update_time, brand_story) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{createId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{updateId,jdbcType=BIGINT},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{updateTime,jdbcType=TIMESTAMP}, #{brandStory,jdbcType=LONGVARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    insert into pms_brand (comp_id, comp_name, name,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      first_letter, sort, factory_status,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      show_status, product_count, product_comment_count,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      logo, big_pic, create_id,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      create_time, update_id, update_time,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      brand_story) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    values (#{compId,jdbcType=BIGINT}, #{compName,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{factoryStatus,jdbcType=INTEGER},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, #{productCommentCount,jdbcType=INTEGER},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR}, #{createId,jdbcType=BIGINT},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{createTime,jdbcType=TIMESTAMP}, #{updateId,jdbcType=BIGINT}, #{updateTime,jdbcType=TIMESTAMP},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{brandStory,jdbcType=LONGVARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insertSelective" parameterType="com.hwrj.cloud.admin.model.PmsBrand"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -154,6 +158,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </selectKey> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     insert into pms_brand 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <trim prefix="(" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="compId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        comp_id, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="compName != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        comp_name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="name != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -198,6 +208,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <trim prefix="values (" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="compId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{compId,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="compName != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{compName,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="name != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -254,6 +270,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="record.id != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         id = #{record.id,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.compId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        comp_id = #{record.compId,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="record.compName != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        comp_name = #{record.compName,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="record.name != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         name = #{record.name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -304,6 +326,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByExampleWithBLOBs" parameterType="map"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update pms_brand 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     set id = #{record.id,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      comp_id = #{record.compId,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      comp_name = #{record.compName,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       name = #{record.name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       first_letter = #{record.firstLetter,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       sort = #{record.sort,jdbcType=INTEGER}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -325,6 +349,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByExample" parameterType="map"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update pms_brand 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     set id = #{record.id,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      comp_id = #{record.compId,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      comp_name = #{record.compName,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       name = #{record.name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       first_letter = #{record.firstLetter,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       sort = #{record.sort,jdbcType=INTEGER}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -345,6 +371,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByPrimaryKeySelective" parameterType="com.hwrj.cloud.admin.model.PmsBrand"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update pms_brand 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="compId != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        comp_id = #{compId,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="compName != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        comp_name = #{compName,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="name != null"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         name = #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -392,7 +424,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.hwrj.cloud.admin.model.PmsBrand"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update pms_brand 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    set name = #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    set comp_id = #{compId,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      comp_name = #{compName,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      name = #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       first_letter = #{firstLetter,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       sort = #{sort,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       factory_status = #{factoryStatus,jdbcType=INTEGER}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -410,7 +444,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByPrimaryKey" parameterType="com.hwrj.cloud.admin.model.PmsBrand"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     update pms_brand 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    set name = #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    set comp_id = #{compId,jdbcType=BIGINT}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      comp_name = #{compName,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      name = #{name,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       first_letter = #{firstLetter,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       sort = #{sort,jdbcType=INTEGER}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       factory_status = #{factoryStatus,jdbcType=INTEGER}, 
			 |