فهرست منبع

跟进管理,列表中的跟进对象,根据关联id查出来,不要用跟进表里的

renzx 1 ماه پیش
والد
کامیت
82227a45ee
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 7 1
      RuoYi-Vue-fast-master/src/main/resources/mybatis/business/TcFollowMapper.xml

+ 7 - 1
RuoYi-Vue-fast-master/src/main/resources/mybatis/business/TcFollowMapper.xml

@@ -133,7 +133,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                         t5.country_id
                         ELSE t6.country_id
                     END AS country_id,
-                    t1.follow_person AS follow_person,
+                    CASE
+                        t1.follow_type
+                        WHEN '0' THEN
+                            t4.company
+                        WHEN '1' THEN
+                            t5.account_name ELSE t6.project_name
+                        END AS follow_person,
                     t1.follow_way AS follow_way,
                     CASE #{language}
                         WHEN 'english' THEN