|
|
@@ -89,6 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="medicalDevice2BusinessScope" column="medical_device2_business_scope" />
|
|
|
<result property="medicalDevice3BusinessScope" column="medical_device3_business_scope" />
|
|
|
<result property="drugLicenseBusinessScope" column="drug_license_business_scope" />
|
|
|
+ <result property="foodLicenseBusinessScope" column="food_license_business_scope" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsStoreVo">
|
|
|
@@ -108,6 +109,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
is_drug_license_permanent,is_medical_device2_expiry_permanent,is_medical_device3_expiry_permanent,is_food_license_expiry_permanent,is_medical_license_expiry_permanent,
|
|
|
title_Name_one,title_Name_two,title_Name_three,settlement_agreement_file_name,quality_assurance_agreement_fileName,other_special_qualification_fileName,
|
|
|
is_effective_permanent1,is_effective_permanent2,is_effective_permanent3,medical_device2_business_scope,medical_device3_business_scope,drug_license_business_scope
|
|
|
+ ,food_license_business_scope
|
|
|
from fs_store_scrm
|
|
|
</sql>
|
|
|
|
|
|
@@ -230,6 +232,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="medicalDevice2BusinessScope !=null ">medical_device2_business_scope,</if>
|
|
|
<if test="medicalDevice3BusinessScope !=null ">medical_device3_business_scope,</if>
|
|
|
<if test="drugLicenseBusinessScope !=null ">drug_license_business_scope, </if>
|
|
|
+ <if test="foodLicenseBusinessScope !=null ">food_license_business_scope, </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="cityIds != null">#{cityIds},</if>
|
|
|
@@ -327,6 +330,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="medicalDevice2BusinessScope !=null ">#{medicalDevice2BusinessScope},</if>
|
|
|
<if test="medicalDevice3BusinessScope !=null ">#{medicalDevice3BusinessScope},</if>
|
|
|
<if test="drugLicenseBusinessScope !=null ">#{drugLicenseBusinessScope}, </if>
|
|
|
+ <if test="foodLicenseBusinessScope !=null ">#{foodLicenseBusinessScope}, </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -426,6 +430,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="medicalDevice2BusinessScope !=null ">medical_device2_business_scope = #{medicalDevice2BusinessScope} , </if>
|
|
|
<if test="medicalDevice3BusinessScope !=null ">medical_device3_business_scope = #{medicalDevice3BusinessScope} , </if>
|
|
|
<if test="drugLicenseBusinessScope !=null ">drug_license_business_scope = #{drugLicenseBusinessScope} , </if>
|
|
|
+ <if test="foodLicenseBusinessScope !=null ">food_license_business_scope = #{foodLicenseBusinessScope} , </if>
|
|
|
</trim>
|
|
|
where store_id = #{storeId}
|
|
|
</update>
|