@ -33,6 +33,12 @@
<result column= "rebate_amount" property= "rebateAmount" jdbcType= "VARCHAR" />
<result column= "attr_id" property= "attrId" jdbcType= "VARCHAR" />
<result column= "printing_method" property= "printingMethod" jdbcType= "VARCHAR" />
<result column= "shop_images" property= "shopImages" jdbcType= "VARCHAR" />
<result column= "shop_lename" property= "shopLename" jdbcType= "VARCHAR" />
<result column= "shop_lecard" property= "shopLecard" jdbcType= "VARCHAR" />
<result column= "shop_score" property= "shopScore" jdbcType= "VARCHAR" />
<result column= "isbrandflag" property= "isbrandflag" jdbcType= "INTEGER" />
<result column= "subtitle" property= "subtitle" jdbcType= "VARCHAR" />
</resultMap>
<resultMap id= "ResultMapWithBLOBs" type= "cc.hiver.mall.entity.Shop" extends= "BaseResultMap" >
<result column= "remark" property= "remark" jdbcType= "LONGVARCHAR" />
@ -41,7 +47,7 @@
id, create_by, create_time, del_flag, update_by, update_time, shop_name, shop_owner_id, shop_manger_id, region,
region_id, shop_area, shop_area_title, shop_type, shop_type_title, shop_address, year_fee, charge_time, start_time,
end_time, status, remark, business_district_level, contact_phone, shop_icon, defaulted, ali_account, ali_name,
rebate_amount, attr_id, printing_method
rebate_amount, attr_id, printing_method,shop_images,shop_lename,shop_lecard,shop_score,isbrandflag,subtitle
</sql>
<sql id= "Blob_Column_List" >
remark
@ -62,11 +68,11 @@ rebate_amount, attr_id, printing_method
insert into t_shop (id, create_by, create_time, del_flag, update_by, update_time, shop_name, shop_owner_id, shop_manger_id, region,
region_id, shop_area, shop_area_title, shop_type, shop_type_title, shop_address, year_fee, charge_time, start_time,
end_time, status, remark, business_district_level, contact_phone, shop_icon, defaulted, ali_account, ali_name,
rebate_amount, attr_id, printing_method)
rebate_amount, attr_id, printing_method, shop_images, shop_lename, shop_lecard, shop_score, isbrandflag, subtitle )
values (#{id,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{delFlag,jdbcType=INTEGER}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{shopName,jdbcType=VARCHAR}, #{shopOwnerId,jdbcType=VARCHAR}, #{shopMangerId,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR},
#{regionId,jdbcType=VARCHAR}, #{shopArea,jdbcType=VARCHAR}, #{shopAreaTitle,jdbcType=VARCHAR}, #{shopType,jdbcType=VARCHAR}, #{shopTypeTitle,jdbcType=VARCHAR}, #{shopAddress,jdbcType=VARCHAR}, #{yearFee,jdbcType=VARCHAR}, #{chargeTime,jdbcType=VARCHAR}, #{startTime,jdbcType=VARCHAR},
#{endTime,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{remark,jdbcType=LONGVARCHAR}, #{businessDistrictLevel,jdbcType=VARCHAR}, #{contactPhone,jdbcType=VARCHAR}, #{shopIcon,jdbcType=VARCHAR}, #{defaulted,jdbcType=INTEGER}, #{aliAccount,jdbcType=VARCHAR}, #{aliName,jdbcType=VARCHAR},
#{rebateAmount,jdbcType=VARCHAR}, #{attrId,jdbcType=VARCHAR}, #{printingMethod,jdbcType=VARCHAR})
#{rebateAmount,jdbcType=VARCHAR}, #{attrId,jdbcType=VARCHAR}, #{printingMethod,jdbcType=VARCHAR}, #{shopImages,jdbcType=VARCHAR}, #{shopLename,jdbcType=VARCHAR}, #{shopLecard,jdbcType=VARCHAR}, #{shopScore,jdbcType=VARCHAR}, #{isbrandflag,jdbcType=INTEGER}, #{subtitle,jdbcType=VARCHAR} )
</insert>
<insert id= "insertSelective" parameterType= "cc.hiver.mall.entity.Shop" >
insert into t_shop
@ -140,6 +146,24 @@ rebate_amount, attr_id, printing_method
<if test= "remark != null" >
remark,
</if>
<if test= "shopImages != null" >
shop_images,
</if>
<if test= "shopLename != null" >
shop_lename,
</if>
<if test= "shopLecard != null" >
shop_lecard,
</if>
<if test= "shopScore != null" >
shop_score,
</if>
<if test= "isbrandflag != null" >
isbrandflag,
</if>
<if test= "subtitle != null" >
subtitle,
</if>
</trim>
<trim prefix= "values (" suffix= ")" suffixOverrides= "," >
<if test= "id != null" >
@ -211,6 +235,24 @@ rebate_amount, attr_id, printing_method
<if test= "remark != null" >
#{remark,jdbcType=LONGVARCHAR},
</if>
<if test= "shopImages != null" >
#{shopImages,jdbcType=VARCHAR},
</if>
<if test= "shopLename != null" >
#{shopLename,jdbcType=VARCHAR},
</if>
<if test= "shopLecard != null" >
#{shopLecard,jdbcType=VARCHAR},
</if>
<if test= "shopScore != null" >
#{shopScore,jdbcType=VARCHAR},
</if>
<if test= "isbrandflag != null" >
#{isbrandflag,jdbcType=INTEGER},
</if>
<if test= "subtitle != null" >
#{subtitle,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<update id= "updateByPrimaryKeySelective" parameterType= "cc.hiver.mall.entity.Shop" >
@ -282,6 +324,24 @@ rebate_amount, attr_id, printing_method
<if test= "remark != null" >
remark = #{remark,jdbcType=LONGVARCHAR},
</if>
<if test= "shopImages != null" >
shop_images = #{shopImages,jdbcType=VARCHAR},
</if>
<if test= "shopLename != null" >
shop_lename = #{shopLename,jdbcType=VARCHAR},
</if>
<if test= "shopLecard != null" >
shop_lecard = #{shopLecard,jdbcType=VARCHAR},
</if>
<if test= "shopScore != null" >
shop_score = #{shopScore,jdbcType=VARCHAR},
</if>
<if test= "isbrandflag != null" >
isbrandflag = #{isbrandflag,jdbcType=INTEGER},
</if>
<if test= "subtitle != null" >
subtitle = #{subtitle,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
</update>
@ -308,7 +368,13 @@ rebate_amount, attr_id, printing_method
defaulted = #{defaulted,jdbcType=INTEGER},
region = #{region,jdbcType=VARCHAR},
shop_area_title = #{shopAreaTitle,jdbcType=VARCHAR},
remark = #{remark,jdbcType=LONGVARCHAR}
remark = #{remark,jdbcType=LONGVARCHAR},
shop_images = #{shopImages,jdbcType=VARCHAR},
shop_lename = #{shopLename,jdbcType=VARCHAR},
shop_lecard = #{shopLecard,jdbcType=VARCHAR},
shop_score = #{shopScore,jdbcType=VARCHAR},
isbrandflag = #{isbrandflag,jdbcType=INTEGER},
subtitle = #{subtitle,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<update id= "updateByPrimaryKey" parameterType= "cc.hiver.mall.entity.Shop" >
@ -342,7 +408,13 @@ rebate_amount, attr_id, printing_method
ali_name = #{aliName,jdbcType=VARCHAR},
rebate_amount = #{rebateAmount,jdbcType=DECIMAL},
attr_id = #{attrId,jdbcType=VARCHAR},
printing_method = #{printingMethod,jdbcType=VARCHAR}
printing_method = #{printingMethod,jdbcType=VARCHAR},
shop_images = #{shopImages,jdbcType=VARCHAR},
shop_lename = #{shopLename,jdbcType=VARCHAR},
shop_lecard = #{shopLecard,jdbcType=VARCHAR},
shop_score = #{shopScore,jdbcType=VARCHAR},
isbrandflag = #{isbrandflag,jdbcType=INTEGER},
subtitle = #{subtitle,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
</update>
<select id= "findByUserId" resultType= "cc.hiver.mall.entity.Shop" >