Explorar el Código

新增字段-存储条件

Guos hace 3 semanas
padre
commit
5486c59b67

+ 5 - 0
fs-service/src/main/java/com/fs/hisStore/domain/FsPlatformProductScrm.java

@@ -605,4 +605,9 @@ public class FsPlatformProductScrm extends BaseEntity {
      */
     private String productStructure;
 
+    /**
+     * 存储条件
+     */
+    private String storageConditions;
+
 }

+ 5 - 0
fs-service/src/main/java/com/fs/hisStore/domain/FsStoreProductScrm.java

@@ -604,4 +604,9 @@ public class FsStoreProductScrm extends BaseEntity {
      */
     private String productStructure;
 
+    /**
+     * 存储条件
+     */
+    private String storageConditions;
+
 }

+ 4 - 1
fs-service/src/main/java/com/fs/hisStore/param/FsPlatFormProductAddEditParam.java

@@ -458,6 +458,9 @@ public class FsPlatFormProductAddEditParam {
 //     **/
 //    private LocalDate gmpAuthEnd;
 
-
+    /**
+     * 存储条件
+     */
+    private String storageConditions;
 
 }

+ 4 - 0
fs-service/src/main/java/com/fs/hisStore/param/FsStoreProductAddEditParam.java

@@ -403,6 +403,10 @@ public class FsStoreProductAddEditParam implements Serializable
      */
     private String productStructure;
 
+    /**
+     * 存储条件
+     */
+    private String storageConditions;
 
 
 }

+ 4 - 0
fs-service/src/main/java/com/fs/hisStore/vo/FsStoreProductListVO.java

@@ -163,4 +163,8 @@ public class FsStoreProductListVO  implements Serializable
      */
     private String productStructure;
 
+    /**
+     * 存储条件
+     */
+    private String storageConditions;
 }

+ 6 - 2
fs-service/src/main/resources/mapper/hisStore/FsPlatformProductScrmMapper.xml

@@ -97,6 +97,7 @@
         <result property="prodLicenseNo" column="prod_license_no"/>
         <result property="prodTechReqNo" column="prod_tech_req_no"/>
         <result property="productStructure" column="product_structure"/>
+        <result property="storageConditions" column="storage_conditions"/>
     </resultMap>
 
     <sql id="selectFsPlatFormProductVo">
@@ -114,7 +115,7 @@
                voucher, voucher_start, voucher_end,
                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, store_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_platform_product_scrm
     </sql>
 
@@ -127,7 +128,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.ingredient,p.dosage,
        p.adverse_reactions,p.contraindications,p.precautions,p.is_audit,p.store_id,
-       p.is_business_permanent,p.is_license_permanent,p.is_certificate_permanent,p.is_gmp_auth_permanent,store_product_id
+       p.is_business_permanent,p.is_license_permanent,p.is_certificate_permanent,p.is_gmp_auth_permanent,p.store_product_id,p.storage_conditions
     </sql>
 
     <select id="selectList" resultType="com.fs.hisStore.vo.FsPlatformProductListVO">
@@ -413,6 +414,7 @@
             <if test="prodLicenseNo != null">prod_license_no ,</if>
             <if test="prodTechReqNo != null">prod_tech_req_no ,</if>
             <if test="productStructure != null">product_structure ,</if>
+            <if test="storageConditions != null">storage_conditions ,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="productId != null and productId != ''">#{productId},</if>
@@ -511,6 +513,7 @@
             <if test="prodLicenseNo != null"> #{prodLicenseNo} ,</if>
             <if test="prodTechReqNo != null">#{prodTechReqNo} ,</if>
             <if test="productStructure != null">#{productStructure} ,</if>
+            <if test="storageConditions != null">#{storageConditions} ,</if>
         </trim>
     </insert>
 
@@ -611,6 +614,7 @@
             <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="productStructure != null">product_structure = #{productStructure},</if>
+            <if test="storageConditions != null">storage_conditions = #{storageConditions},</if>
         </trim>
         where product_id = #{productId}
     </update>

+ 7 - 3
fs-service/src/main/resources/mapper/hisStore/FsStoreProductScrmMapper.xml

@@ -97,6 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="prodLicenseNo" column="prod_license_no"/>
         <result property="prodTechReqNo" column="prod_tech_req_no"/>
         <result property="productStructure" column="product_structure"/>
+        <result property="storageConditions" column="storage_conditions"/>
     </resultMap>
 
     <sql id="selectFsStoreProductVo">
@@ -114,7 +115,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                voucher, voucher_start, voucher_end,
                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,
-               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
     </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.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.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
         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,
@@ -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,
                unit_price, batch_number, mah, mah_address, manufacturer, manufacturer_address, indications, dosage, adverse_reactions,
                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
     </sql>
 
@@ -334,6 +335,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="prodLicenseNo != null">prod_license_no ,</if>
             <if test="prodTechReqNo != null">prod_tech_req_no ,</if>
             <if test="productStructure != null">product_structure ,</if>
+            <if test="storageConditions != null">storage_conditions ,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <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="prodTechReqNo != null">#{prodTechReqNo} ,</if>
             <if test="productStructure != null">#{productStructure} ,</if>
+            <if test="storageConditions != null">#{storageConditions} ,</if>
          </trim>
     </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="prodTechReqNo != null and prodTechReqNo != ''"> prod_tech_req_no = #{prodTechReqNo},</if>
             <if test="productStructure != null">product_structure = #{productStructure},</if>
+            <if test="storageConditions != null">storage_conditions = #{storageConditions},</if>
         </trim>
         where product_id = #{productId}
     </update>