|
@@ -82,6 +82,7 @@
|
|
|
<result property="activityStartTime" column="activity_start_time" />
|
|
<result property="activityStartTime" column="activity_start_time" />
|
|
|
<result property="activityEndTime" column="activity_end_time" />
|
|
<result property="activityEndTime" column="activity_end_time" />
|
|
|
<result property="tagInfo" column="tag_info" />
|
|
<result property="tagInfo" column="tag_info" />
|
|
|
|
|
+ <result property="isPickup" column="is_pickup" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsStoreProductVo">
|
|
<sql id="selectFsStoreProductVo">
|
|
@@ -93,7 +94,7 @@
|
|
|
is_display,tui_cate_id,company_ids,is_drug,drug_image,drug_reg_cert_no,common_name,dosage_form,
|
|
is_display,tui_cate_id,company_ids,is_drug,drug_image,drug_reg_cert_no,common_name,dosage_form,
|
|
|
unit_price,batch_number,mah,mah_address,manufacturer,manufacturer_address,indications,dosage,
|
|
unit_price,batch_number,mah,mah_address,manufacturer,manufacturer_address,indications,dosage,
|
|
|
adverse_reactions,contraindications,precautions,is_audit,store_id,return_address,brand,food_production_license_code,
|
|
adverse_reactions,contraindications,precautions,is_audit,store_id,return_address,brand,food_production_license_code,
|
|
|
- origin_place,net_content,shelf_life,domestic_imported,app_ids,purchase_limit,single_purchase_limit,activity_type,activity_start_time,activity_end_time,tag_info
|
|
|
|
|
|
|
+ origin_place,net_content,shelf_life,domestic_imported,app_ids,purchase_limit,single_purchase_limit,activity_type,activity_start_time,activity_end_time,tag_info,is_pickup
|
|
|
from fs_store_product_scrm
|
|
from fs_store_product_scrm
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
@@ -186,6 +187,7 @@
|
|
|
<if test="netContent != null and netContent != ''">and net_content = #{netContent} </if>
|
|
<if test="netContent != null and netContent != ''">and net_content = #{netContent} </if>
|
|
|
<if test="shelfLife != null">and shelf_life = #{shelfLife} </if>
|
|
<if test="shelfLife != null">and shelf_life = #{shelfLife} </if>
|
|
|
<if test="domesticImported != null and domesticImported != ''">and domestic_imported = #{domesticImported} </if>
|
|
<if test="domesticImported != null and domesticImported != ''">and domestic_imported = #{domesticImported} </if>
|
|
|
|
|
+ <if test="isPickup != null">and is_pickup = #{isPickup}</if>
|
|
|
</where>
|
|
</where>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -293,6 +295,7 @@
|
|
|
<if test="singlePurchaseLimit != null">single_purchase_limit,</if>
|
|
<if test="singlePurchaseLimit != null">single_purchase_limit,</if>
|
|
|
<if test="activityType != null">activity_type,</if>
|
|
<if test="activityType != null">activity_type,</if>
|
|
|
<if test="tagInfo != null and tagInfo != ''">tag_info,</if>
|
|
<if test="tagInfo != null and tagInfo != ''">tag_info,</if>
|
|
|
|
|
+ <if test="isPickup != null">is_pickup,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="image != null and image != ''">#{image},</if>
|
|
<if test="image != null and image != ''">#{image},</if>
|
|
@@ -369,6 +372,7 @@
|
|
|
<if test="singlePurchaseLimit != null">#{singlePurchaseLimit},</if>
|
|
<if test="singlePurchaseLimit != null">#{singlePurchaseLimit},</if>
|
|
|
<if test="activityType != null">#{activityType},</if>
|
|
<if test="activityType != null">#{activityType},</if>
|
|
|
<if test="tagInfo != null and tagInfo != ''">#{tagInfo},</if>
|
|
<if test="tagInfo != null and tagInfo != ''">#{tagInfo},</if>
|
|
|
|
|
+ <if test="isPickup != null">#{isPickup},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -450,6 +454,7 @@
|
|
|
<if test="activityType != null">activity_type = #{activityType},</if>
|
|
<if test="activityType != null">activity_type = #{activityType},</if>
|
|
|
<if test="tagInfo != null and tagInfo != ''">tag_info = #{tagInfo},</if>
|
|
<if test="tagInfo != null and tagInfo != ''">tag_info = #{tagInfo},</if>
|
|
|
<if test="tagInfo == null or tagInfo == ''">tag_info = #{tagInfo},</if>
|
|
<if test="tagInfo == null or tagInfo == ''">tag_info = #{tagInfo},</if>
|
|
|
|
|
+ <if test="isPickup != null">is_pickup = #{isPickup},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where product_id = #{productId}
|
|
where product_id = #{productId}
|
|
|
</update>
|
|
</update>
|