Commit 6776a5df by zhiwj

门店导入

parent fcad3105
......@@ -218,40 +218,40 @@
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreInfo">
update tab_store_info
<set>
<if test="storeName != null">
<if test="storeName != null and storeName != '' ">
store_name = #{storeName,jdbcType=VARCHAR},
</if>
<if test="storeCode != null">
<if test="storeCode != null and storeCode != '' ">
store_code = #{storeCode,jdbcType=VARCHAR},
</if>
<if test="regionId != null">
region_id = #{regionId,jdbcType=INTEGER},
</if>
<if test="conactsPhone != null">
<if test="conactsPhone != null and conactsPhone != '' ">
conacts_phone = #{conactsPhone,jdbcType=VARCHAR},
</if>
<if test="address != null">
<if test="address != null and address != '' ">
address = #{address,jdbcType=VARCHAR},
</if>
<if test="brandIds != null">
<if test="brandIds != null and brandIds ='' ">
brand_ids = #{brandIds,jdbcType=VARCHAR},
</if>
<if test="provinceId != null">
<if test="provinceId != null and provinceId != '' ">
province_id = #{provinceId,jdbcType=VARCHAR},
</if>
<if test="cityId != null">
<if test="cityId != null and provinceId != '' ">
city_id = #{cityId,jdbcType=VARCHAR},
</if>
<if test="areaId != null">
<if test="areaId != null and areaId != '' ">
area_id = #{areaId,jdbcType=VARCHAR},
</if>
<if test="provinces != null">
<if test="provinces != null and provinces != '' ">
provinces = #{provinces,jdbcType=VARCHAR},
</if>
<if test="longitude != null">
<if test="longitude != null and longitude != '' ">
longitude = #{longitude,jdbcType=VARCHAR},
</if>
<if test="latitude != null">
<if test="latitude != null and latitude != '' ">
latitude = #{latitude,jdbcType=VARCHAR},
</if>
<if test="overflowStatus != null">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment