Explorar el Código

修改离职一键转交BUG

anderx hace 3 años
padre
commit
b110543f39
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

+ 2 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -688,7 +688,8 @@
 			,e.id as ufbId,e.follow_situation as followSituation,e.customer_status as customerStatus
 			,e.id as ufbId,e.follow_situation as followSituation,e.customer_status as customerStatus
 		</if>
 		</if>
 		from user_follow a left join user b on a.uid = b.id left join organization_contact_book c on a.ocb_id = c.id
 		from user_follow a 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 left join public_release pr on a.id =pr.ufid
+		left join admin d on a.aid = d.id left join public_release_details prd on a.id =prd.ufid
+		left join public_release pr on prd.prid=pr.id
 		<if test="businessProjectId != null and businessProjectId != ''"><!--  客户甲项目A所有的跟进记录 -->
 		<if test="businessProjectId != null and businessProjectId != ''"><!--  客户甲项目A所有的跟进记录 -->
 			inner join user_follow_business e on a.id = e.follow_id
 			inner join user_follow_business e on a.id = e.follow_id
 		</if>
 		</if>