瀏覽代碼

新加字段

Guos 3 周之前
父節點
當前提交
4bd7d0b04c

+ 22 - 1
fs-service/src/main/resources/mapper/hisStore/FsPlatformProductScrmMapper.xml

@@ -92,6 +92,11 @@
         <result property="isCertificatePermanent" column="is_certificate_permanent"/>
         <result property="isGmpAuthPermanent" column="is_gmp_auth_permanent"/>
         <result property="storeProductId" column="store_product_id"/>
+        <result property="medicalRegCertNo" column="medical_reg_cert_no"/>
+        <result property="registrantInfo" column="registrant_info"/>
+        <result property="prodLicenseNo" column="prod_license_no"/>
+        <result property="prodTechReqNo" column="prod_tech_req_no"/>
+        <result property="productStructure" column="product_structure"/>
     </resultMap>
 
     <sql id="selectFsPlatFormProductVo">
@@ -108,7 +113,8 @@
                certificate, certificate_start, certificate_end,
                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
+               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
         from fs_platform_product_scrm
     </sql>
 
@@ -402,6 +408,11 @@
             <if test="isCertificatePermanent != null">is_certificate_permanent ,</if>
             <if test="isGmpAuthPermanent != null">is_gmp_auth_permanent ,</if>
             <if test="storeProductId != null">store_product_id ,</if>
+            <if test="medicalRegCertNo != null">medical_reg_cert_no ,</if>
+            <if test="registrantInfo != null">registrant_info ,</if>
+            <if test="prodLicenseNo != null">prod_license_no ,</if>
+            <if test="prodTechReqNo != null">prod_tech_req_no ,</if>
+            <if test="productStructure != null">product_structure ,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="productId != null and productId != ''">#{productId},</if>
@@ -495,6 +506,11 @@
             <if test="isCertificatePermanent != null">#{isCertificatePermanent} ,</if>
             <if test="isGmpAuthPermanent != null">#{isGmpAuthPermanent} ,</if>
             <if test="storeProductId != null">#{storeProductId} ,</if>
+            <if test="medicalRegCertNo != null">#{medicalRegCertNo} ,</if>
+            <if test="registrantInfo != null">#{registrantInfo} ,</if>
+            <if test="prodLicenseNo != null"> #{prodLicenseNo} ,</if>
+            <if test="prodTechReqNo != null">#{prodTechReqNo} ,</if>
+            <if test="productStructure != null">#{productStructure} ,</if>
         </trim>
     </insert>
 
@@ -590,6 +606,11 @@
             <if test="isLicensePermanent != null">is_license_permanent = #{isLicensePermanent} ,</if>
             <if test="isCertificatePermanent != null">is_certificate_permanent = #{isCertificatePermanent} ,</if>
             <if test="isGmpAuthPermanent != null">is_gmp_auth_permanent = #{isGmpAuthPermanent} ,</if>
+            <if test="medicalRegCertNo != null and medicalRegCertNo != ''">medical_reg_cert_no = #{medicalRegCertNo},</if>
+            <if test="registrantInfo != null">registrant_info = #{registrantInfo},</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="productStructure != null">product_structure = #{productStructure},</if>
         </trim>
         where product_id = #{productId}
     </update>

+ 6 - 20
fs-service/src/main/resources/mapper/hisStore/FsStoreProductScrmMapper.xml

@@ -114,11 +114,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,
-                medicalRegCertNo,
-                registrantInfo,
-                prodLicenseNo,
-                prodTechReqNo,
-                productStructure
+               medical_reg_cert_no, registrant_info,prod_license_no,prod_tech_req_no,product_structure
                from fs_store_product_scrm
     </sql>
 
@@ -530,21 +526,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="isLicensePermanent != null">is_license_permanent = #{isLicensePermanent} ,</if>
             <if test="isCertificatePermanent != null">is_certificate_permanent = #{isCertificatePermanent} ,</if>
             <if test="isGmpAuthPermanent != null">is_gmp_auth_permanent = #{isGmpAuthPermanent} ,</if>
-            <if test="medicalRegCertNo != null and medicalRegCertNo != ''">
-                medical_reg_cert_no = #{medicalRegCertNo},
-            </if>
-            <if test="registrantInfo != null">
-                registrant_info = #{registrantInfo},
-            </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="productStructure != null">
-                product_structure = #{productStructure},
-            </if>
+            <if test="medicalRegCertNo != null and medicalRegCertNo != ''">medical_reg_cert_no = #{medicalRegCertNo},</if>
+            <if test="registrantInfo != null">registrant_info = #{registrantInfo},</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="productStructure != null">product_structure = #{productStructure},</if>
         </trim>
         where product_id = #{productId}
     </update>