|
|
@@ -90,6 +90,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="medicalDevice3BusinessScope" column="medical_device3_business_scope" />
|
|
|
<result property="drugLicenseBusinessScope" column="drug_license_business_scope" />
|
|
|
<result property="foodLicenseBusinessScope" column="food_license_business_scope" />
|
|
|
+ <result property="drugScopeHasFrozen" column="drug_scope_has_frozen" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsStoreVo">
|
|
|
@@ -109,7 +110,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
|
|
|
+ ,food_license_business_scope,drug_scope_has_frozen
|
|
|
from fs_store_scrm
|
|
|
</sql>
|
|
|
|
|
|
@@ -233,6 +234,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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>
|
|
|
+ <if test="drugScopeHasFrozen !=null ">drug_scope_has_frozen, </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="cityIds != null">#{cityIds},</if>
|
|
|
@@ -331,6 +333,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="medicalDevice3BusinessScope !=null ">#{medicalDevice3BusinessScope},</if>
|
|
|
<if test="drugLicenseBusinessScope !=null ">#{drugLicenseBusinessScope}, </if>
|
|
|
<if test="foodLicenseBusinessScope !=null ">#{foodLicenseBusinessScope}, </if>
|
|
|
+ <if test="drugScopeHasFrozen !=null ">#{drugScopeHasFrozen}, </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -431,6 +434,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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>
|
|
|
+ <if test="drugScopeHasFrozen !=null ">drug_scope_has_frozen = #{drugScopeHasFrozen}, </if>
|
|
|
</trim>
|
|
|
where store_id = #{storeId}
|
|
|
</update>
|