|
@@ -603,7 +603,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<update id="updateQwExternalContactIsRePlyById">
|
|
|
update qw_external_contact set is_reply = 1 where id = #{id}
|
|
|
</update>
|
|
|
-
|
|
|
+ <update id="updateQwExternalContactStatusById">
|
|
|
+ update qw_external_contact set status = #{status} where id = #{id}
|
|
|
+ </update>
|
|
|
<select id="selectExternalByFsUserIds" resultType="QwExternalContact">
|
|
|
select * from qw_external_contact
|
|
|
where fs_user_id in
|
|
@@ -623,7 +625,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join company_user cu on cu.user_id=qu.company_user_id
|
|
|
where fs_user_id = #{userId}
|
|
|
</select>
|
|
|
-
|
|
|
+
|
|
|
<insert id="insertQwUserDelLossLog" parameterType="com.fs.qw.domain.QwUserDelLossLog">
|
|
|
insert into qw_user_del_loss_log (external_contact_id,company_id,company_user_id,type,time,qw_user_id,corp_id) values
|
|
|
(#{param.externalContactId},#{param.companyId},#{param.companyUserId},#{param.type},#{param.time},#{param.qwUserId},#{param.corpId})
|