|
|
@@ -69,6 +69,7 @@
|
|
|
<result property="isAudit" column="is_audit"/>
|
|
|
<result property="storeId" column="store_id"/>
|
|
|
<result property="returnAddress" column="return_address" />
|
|
|
+ <result property="senderPhones" column="sender_phones" />
|
|
|
<result property="brand" column="brand" />
|
|
|
<result property="foodProductionLicenseCode" column="food_production_license_code" />
|
|
|
<result property="originPlace" column="origin_place" />
|
|
|
@@ -92,7 +93,7 @@
|
|
|
integral, product_type, prescribe_code, prescribe_spec, prescribe_factory, prescribe_name,
|
|
|
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,
|
|
|
+ adverse_reactions,contraindications,precautions,is_audit,store_id,return_address,sender_phones,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
|
|
|
from fs_store_product_scrm
|
|
|
</sql>
|
|
|
@@ -105,7 +106,7 @@
|
|
|
p.integral, p.product_type, p.prescribe_code, p.prescribe_spec, p.prescribe_factory, p.prescribe_name,
|
|
|
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.adverse_reactions,p.contraindications,p.precautions,p.is_audit,p.store_id,p.return_address,p.sender_phones,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.single_purchase_limit,p.activity_type,p.tag_info
|
|
|
from fs_store_product_scrm p
|
|
|
</sql>
|
|
|
@@ -186,6 +187,7 @@
|
|
|
<if test="netContent != null and netContent != ''">and net_content = #{netContent} </if>
|
|
|
<if test="shelfLife != null">and shelf_life = #{shelfLife} </if>
|
|
|
<if test="domesticImported != null and domesticImported != ''">and domestic_imported = #{domesticImported} </if>
|
|
|
+ <if test="senderPhones != null and senderPhones != ''">and sender_phones like concat('%', #{senderPhones}, '%') </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
|
@@ -282,6 +284,7 @@
|
|
|
<if test="isAudit != null and isAudit != ''">is_audit ,</if>
|
|
|
<if test="storeId != null and storeId != ''">store_id ,</if>
|
|
|
<if test="returnAddress != null">return_address,</if>
|
|
|
+ <if test="senderPhones != null">sender_phones,</if>
|
|
|
<if test="brand != null and brand != ''">brand,</if>
|
|
|
<if test="foodProductionLicenseCode != null and foodProductionLicenseCode != ''">food_production_license_code,</if>
|
|
|
<if test="originPlace != null and originPlace != ''">origin_place,</if>
|
|
|
@@ -358,6 +361,7 @@
|
|
|
<if test="isAudit != null and isAudit != ''">#{isAudit} ,</if>
|
|
|
<if test="storeId != null and storeId != ''">#{storeId} ,</if>
|
|
|
<if test="returnAddress != null">#{returnAddress},</if>
|
|
|
+ <if test="senderPhones != null">#{senderPhones},</if>
|
|
|
<if test="brand != null and brand != ''">#{brand},</if>
|
|
|
<if test="foodProductionLicenseCode != null and foodProductionLicenseCode != ''">#{foodProductionLicenseCode},</if>
|
|
|
<if test="originPlace != null and originPlace != ''">#{originPlace},</if>
|
|
|
@@ -438,6 +442,7 @@
|
|
|
<if test="isAudit != null and isAudit != ''">is_audit = #{isAudit} ,</if>
|
|
|
<if test="storeId != null and storeId != ''">store_id = #{storeId} ,</if>
|
|
|
<if test="returnAddress != null">return_address = #{returnAddress},</if>
|
|
|
+ <if test="senderPhones != null">sender_phones = #{senderPhones},</if>
|
|
|
<if test="brand != null and brand != ''">brand = #{brand},</if>
|
|
|
<if test="foodProductionLicenseCode != null and foodProductionLicenseCode != ''">food_production_license_code = #{foodProductionLicenseCode},</if>
|
|
|
<if test="originPlace != null">origin_place = #{originPlace},</if>
|