|
@@ -241,6 +241,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isFollow != null">is_follow,</if>
|
|
<if test="isFollow != null">is_follow,</if>
|
|
|
<if test="storeIds != null">store_ids,</if>
|
|
<if test="storeIds != null">store_ids,</if>
|
|
|
<if test="gptRoleId != null">gpt_role_id,</if>
|
|
<if test="gptRoleId != null">gpt_role_id,</if>
|
|
|
|
|
+ <if test="storeId != null">store_id,</if>
|
|
|
|
|
+ <if test="storeName != null">store_name,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="doctorName != null">#{doctorName},</if>
|
|
<if test="doctorName != null">#{doctorName},</if>
|
|
@@ -299,6 +301,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isFollow != null">#{isFollow},</if>
|
|
<if test="isFollow != null">#{isFollow},</if>
|
|
|
<if test="storeIds != null">#{storeIds},</if>
|
|
<if test="storeIds != null">#{storeIds},</if>
|
|
|
<if test="gptRoleId != null">#{gptRoleId},</if>
|
|
<if test="gptRoleId != null">#{gptRoleId},</if>
|
|
|
|
|
+ <if test="storeId != null">#{storeId},</if>
|
|
|
|
|
+ <if test="storeName != null">#{storeName},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -361,6 +365,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="isFollow != null">is_follow = #{isFollow},</if>
|
|
<if test="isFollow != null">is_follow = #{isFollow},</if>
|
|
|
<if test="storeIds != null">store_ids = #{storeIds},</if>
|
|
<if test="storeIds != null">store_ids = #{storeIds},</if>
|
|
|
<if test="gptRoleId != null">gpt_role_id = #{gptRoleId},</if>
|
|
<if test="gptRoleId != null">gpt_role_id = #{gptRoleId},</if>
|
|
|
|
|
+ <if test="storeId != null">store_id=#{storeId},</if>
|
|
|
|
|
+ <if test="storeName != null">store_name=#{storeName},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where doctor_id = #{doctorId}
|
|
where doctor_id = #{doctorId}
|
|
|
</update>
|
|
</update>
|