|
@@ -97,6 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="prodLicenseNo" column="prod_license_no"/>
|
|
<result property="prodLicenseNo" column="prod_license_no"/>
|
|
|
<result property="prodTechReqNo" column="prod_tech_req_no"/>
|
|
<result property="prodTechReqNo" column="prod_tech_req_no"/>
|
|
|
<result property="productStructure" column="product_structure"/>
|
|
<result property="productStructure" column="product_structure"/>
|
|
|
|
|
+ <result property="storageConditions" column="storage_conditions"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsStoreProductVo">
|
|
<sql id="selectFsStoreProductVo">
|
|
@@ -114,7 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
voucher, voucher_start, voucher_end,
|
|
voucher, voucher_start, voucher_end,
|
|
|
gmp_auth, gmp_auth_start, gmp_auth_end,business_link,medical_device_code,
|
|
gmp_auth, gmp_auth_start, gmp_auth_end,business_link,medical_device_code,
|
|
|
is_business_permanent,is_license_permanent,is_certificate_permanent,is_gmp_auth_permanent,platform_product_id,
|
|
is_business_permanent,is_license_permanent,is_certificate_permanent,is_gmp_auth_permanent,platform_product_id,
|
|
|
- medical_reg_cert_no, registrant_info,prod_license_no,prod_tech_req_no,product_structure
|
|
|
|
|
|
|
+ medical_reg_cert_no, registrant_info,prod_license_no,prod_tech_req_no,product_structure,storage_conditions
|
|
|
from fs_store_product_scrm
|
|
from fs_store_product_scrm
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
@@ -128,7 +129,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
p.unit_price,p.batch_number,p.mah,p.mah_address,p.manufacturer,p.manufacturer_address,p.indications,p.ingredient,p.dosage,
|
|
p.unit_price,p.batch_number,p.mah,p.mah_address,p.manufacturer,p.manufacturer_address,p.indications,p.ingredient,p.dosage,
|
|
|
p.adverse_reactions,p.contraindications,p.precautions,p.is_audit,p.store_id,p.medical_device_code,
|
|
p.adverse_reactions,p.contraindications,p.precautions,p.is_audit,p.store_id,p.medical_device_code,
|
|
|
p.is_business_permanent,p.is_license_permanent,p.is_certificate_permanent,p.is_gmp_auth_permanent,p.platform_product_id
|
|
p.is_business_permanent,p.is_license_permanent,p.is_certificate_permanent,p.is_gmp_auth_permanent,p.platform_product_id
|
|
|
- p.medical_reg_cert_no, p.registrant_info,p.prod_license_no,p.prod_tech_req_no,p.product_structure
|
|
|
|
|
|
|
+ p.medical_reg_cert_no, p.registrant_info,p.prod_license_no,p.prod_tech_req_no,p.product_structure,p.storage_conditions
|
|
|
from fs_store_product_scrm p
|
|
from fs_store_product_scrm p
|
|
|
select product_id, video, image, slider_image, product_name, product_info, keyword, bar_code, cate_id, price,
|
|
select product_id, video, image, slider_image, product_name, product_info, keyword, bar_code, cate_id, price,
|
|
|
vip_price, ot_price, agent_price, postage, unit_name, sort, sales, stock, is_show, is_hot, is_benefit, is_best, is_new,
|
|
vip_price, ot_price, agent_price, postage, unit_name, sort, sales, stock, is_show, is_hot, is_benefit, is_best, is_new,
|
|
@@ -137,7 +138,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
is_display, tui_cate_id, company_ids, store_id, is_drug, drug_image, drug_reg_cert_no, common_name, dosage_form,
|
|
is_display, tui_cate_id, company_ids, store_id, 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,
|
|
unit_price, batch_number, mah, mah_address, manufacturer, manufacturer_address, indications, dosage, adverse_reactions,
|
|
|
contraindications, precautions, is_audit, platform_product_id,
|
|
contraindications, precautions, is_audit, platform_product_id,
|
|
|
- medical_reg_cert_no, registrant_info,prod_license_no,prod_tech_req_no,product_structure
|
|
|
|
|
|
|
+ medical_reg_cert_no, registrant_info,prod_license_no,prod_tech_req_no,product_structure,storage_conditions
|
|
|
from fs_store_product_scrm
|
|
from fs_store_product_scrm
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
@@ -334,6 +335,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="prodLicenseNo != null">prod_license_no ,</if>
|
|
<if test="prodLicenseNo != null">prod_license_no ,</if>
|
|
|
<if test="prodTechReqNo != null">prod_tech_req_no ,</if>
|
|
<if test="prodTechReqNo != null">prod_tech_req_no ,</if>
|
|
|
<if test="productStructure != null">product_structure ,</if>
|
|
<if test="productStructure != null">product_structure ,</if>
|
|
|
|
|
+ <if test="storageConditions != null">storage_conditions ,</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>
|
|
@@ -431,6 +433,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="prodLicenseNo != null"> #{prodLicenseNo} ,</if>
|
|
<if test="prodLicenseNo != null"> #{prodLicenseNo} ,</if>
|
|
|
<if test="prodTechReqNo != null">#{prodTechReqNo} ,</if>
|
|
<if test="prodTechReqNo != null">#{prodTechReqNo} ,</if>
|
|
|
<if test="productStructure != null">#{productStructure} ,</if>
|
|
<if test="productStructure != null">#{productStructure} ,</if>
|
|
|
|
|
+ <if test="storageConditions != null">#{storageConditions} ,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -531,6 +534,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="prodLicenseNo != null and prodLicenseNo != ''">prod_license_no = #{prodLicenseNo},</if>
|
|
<if test="prodLicenseNo != null and prodLicenseNo != ''">prod_license_no = #{prodLicenseNo},</if>
|
|
|
<if test="prodTechReqNo != null and prodTechReqNo != ''"> prod_tech_req_no = #{prodTechReqNo},</if>
|
|
<if test="prodTechReqNo != null and prodTechReqNo != ''"> prod_tech_req_no = #{prodTechReqNo},</if>
|
|
|
<if test="productStructure != null">product_structure = #{productStructure},</if>
|
|
<if test="productStructure != null">product_structure = #{productStructure},</if>
|
|
|
|
|
+ <if test="storageConditions != null">storage_conditions = #{storageConditions},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where product_id = #{productId}
|
|
where product_id = #{productId}
|
|
|
</update>
|
|
</update>
|