|
|
@@ -775,7 +775,7 @@
|
|
|
left join user b on a.uid = b.id
|
|
|
left join organization_contact_book c on a.ocb_id = c.id
|
|
|
left join admin d on a.aid = d.id
|
|
|
- <if test="businessGlossoryId != null and businessGlossoryId != ''"><!-- 客户甲项目A所有的跟进记录 -->
|
|
|
+ <if test="businessProjectId != null and businessProjectId != ''"><!-- 客户甲项目A所有的跟进记录 -->
|
|
|
inner join user_follow_business e on a.id = e.follow_id
|
|
|
</if>
|
|
|
where a.effective = 0
|
|
|
@@ -785,8 +785,8 @@
|
|
|
<if test="aid != null and aid != ''">
|
|
|
and a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- <if test="businessGlossoryId != null and businessGlossoryId != ''"><!-- 客户甲项目A所有的跟进记录 -->
|
|
|
- and e.business_glossory_id = #{businessGlossoryId,jdbcType=VARCHAR}
|
|
|
+ <if test="businessProjectId != null and businessProjectId != ''"><!-- 客户甲项目A所有的跟进记录 -->
|
|
|
+ and e.business_project_id = #{businessProjectId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
|
@@ -1097,8 +1097,8 @@
|
|
|
<if test="uid != null and uid !=''">
|
|
|
and a.uid = #{uid,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
- <if test="businessGlossoryId !=null and businessGlossoryId != ''">
|
|
|
- and a.business_glossory_id = #{businessGlossoryId,jdbcType=VARCHAR}
|
|
|
+ <if test="businessProjectId !=null and businessProjectId != ''">
|
|
|
+ and a.business_project_id = #{businessProjectId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="identifyName != null and identifyName != ''">
|
|
|
and b.identify_name like concat('%', #{identifyName},'%')
|