|
|
@@ -76,7 +76,7 @@
|
|
|
<result property="shelfLife" column="shelf_life" />
|
|
|
<result property="domesticImported" column="domestic_imported" />
|
|
|
<result property="appIds" column="app_ids" />
|
|
|
- <result property="purchaseLimit" column="purchase_limit" />
|
|
|
+
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsStoreProductVo">
|
|
|
@@ -88,7 +88,7 @@
|
|
|
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,
|
|
|
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
|
|
|
+ origin_place,net_content,shelf_life,domestic_imported,app_ids
|
|
|
from fs_store_product_scrm
|
|
|
</sql>
|
|
|
|
|
|
@@ -101,7 +101,7 @@
|
|
|
p.is_display,p.tui_cate_id,p.company_ids,p.is_drug,p.drug_image,p.drug_reg_cert_no,p.common_name,p.dosage_form,
|
|
|
p.unit_price,p.batch_number,p.mah,p.mah_address,p.manufacturer,p.manufacturer_address,p.indications,p.dosage,
|
|
|
p.adverse_reactions,p.contraindications,p.precautions,p.is_audit,p.store_id,p.return_address,p.brand,p.food_production_license_code,
|
|
|
- p.origin_place,p.net_content,p.shelf_life,p.domestic_imported,app_ids,p.purchase_limit
|
|
|
+ p.origin_place,p.net_content,p.shelf_life,p.domestic_imported,app_ids
|
|
|
from fs_store_product_scrm p
|
|
|
</sql>
|
|
|
|
|
|
@@ -279,7 +279,7 @@
|
|
|
<if test="shelfLife != null">shelf_life,</if>
|
|
|
<if test="domesticImported != null and domesticImported != ''">domestic_imported,</if>
|
|
|
<if test="appIds != null and appIds != ''">app_ids, </if>
|
|
|
- <if test="purchaseLimit != null">purchase_limit,</if>
|
|
|
+
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="image != null and image != ''">#{image},</if>
|
|
|
@@ -352,7 +352,7 @@
|
|
|
<if test="shelfLife != null">#{shelfLife},</if>
|
|
|
<if test="domesticImported != null and domesticImported != ''">#{domesticImported},</if>
|
|
|
<if test="appIds != null and appIds != ''">#{appIds}, </if>
|
|
|
- <if test="purchaseLimit != null">#{purchaseLimit},</if>
|
|
|
+
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -429,7 +429,7 @@
|
|
|
<if test="shelfLife != null">shelf_life = #{shelfLife},</if>
|
|
|
<if test="domesticImported != null">domestic_imported = #{domesticImported},</if>
|
|
|
<if test="appIds != null and appIds != ''">app_ids = #{appIds}, </if>
|
|
|
- <if test="purchaseLimit != null">purchase_limit = #{purchaseLimit},</if>
|
|
|
+
|
|
|
</trim>
|
|
|
where product_id = #{productId}
|
|
|
</update>
|