|
|
@@ -990,6 +990,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
l.qw_user_id,
|
|
|
l.qw_external_contact_id,
|
|
|
l.sop_id,
|
|
|
+ case when l.watch_type = 1 then 'app' when l.watch_type = 2 then '小程序' end AS watchTypeName,
|
|
|
qec.create_time as qec_create_time,
|
|
|
u.last_ip
|
|
|
FROM
|
|
|
@@ -1027,6 +1028,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test ='maps.companyUserId !=null'>
|
|
|
and l.company_user_id = #{maps.companyUserId}
|
|
|
</if>
|
|
|
+ <if test ='maps.watchType !=null'>
|
|
|
+ and l.watch_type = #{maps.watchType}
|
|
|
+ </if>
|
|
|
<if test ='maps.companyUserName !=null and maps.companyUserName!=""'>
|
|
|
and cu.nick_name like concat('%', #{maps.companyUserName}, '%')
|
|
|
</if>
|