张延森 3 年前
父节点
当前提交
5ca9c6177a

+ 1
- 1
pom.xml 查看文件

10
 	</parent>
10
 	</parent>
11
 	<groupId>com.yunzhi</groupId>
11
 	<groupId>com.yunzhi</groupId>
12
 	<artifactId>marketing</artifactId>
12
 	<artifactId>marketing</artifactId>
13
-	<version>v1.0.15</version>
13
+	<version>v1.0.16</version>
14
 	<name>marketing-cloud</name>
14
 	<name>marketing-cloud</name>
15
 	<description>新联康营销云</description>
15
 	<description>新联康营销云</description>
16
 
16
 

+ 1
- 1
src/main/resources/mapper/TaRaiseRecordMapper.xml 查看文件

42
             AND t.house_locking_status = #{bo.lockingStatus}
42
             AND t.house_locking_status = #{bo.lockingStatus}
43
         </if>
43
         </if>
44
         <if test="bo.lockingStatus == 'unlocked'">
44
         <if test="bo.lockingStatus == 'unlocked'">
45
-            AND (t.house_locking_status = #{bo.lockingStatus} || t.house_locking_status is null)
45
+            AND (t.house_locking_status = #{bo.lockingStatus} OR t.house_locking_status is null)
46
         </if>
46
         </if>
47
         <if test="bo.apartmentId != null and bo.apartmentId != ''">
47
         <if test="bo.apartmentId != null and bo.apartmentId != ''">
48
             AND t.apartment_id = #{bo.apartmentId}
48
             AND t.apartment_id = #{bo.apartmentId}

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml 查看文件

1020
             null as channel_id,
1020
             null as channel_id,
1021
             p.name as channelName,
1021
             p.name as channelName,
1022
             t.create_date,
1022
             t.create_date,
1023
-            if(v.customer_visit_id is not null || t.`status` = 2 || t.realty_consultant is not null,true,false) as visitStatus
1023
+            if(v.customer_visit_id is not null OR t.`status` = 2 OR t.realty_consultant is not null,true,false) as visitStatus
1024
         FROM
1024
         FROM
1025
             ta_recommend_customer t
1025
             ta_recommend_customer t
1026
          left JOIN ta_person p ON t.realty_consultant = p.person_id
1026
          left JOIN ta_person p ON t.realty_consultant = p.person_id

+ 17
- 17
src/main/resources/mapper/TaShareCountMapper.xml 查看文件

18
         select
18
         select
19
 
19
 
20
         case
20
         case
21
-        when a.title != null || a.title != '' then a.title
22
-        when b.title != null || b.title != '' then b.title
23
-        when c.activity_name != null || c.activity_name != '' then c.activity_name
24
-        when d.`name` != null || d.name != '' then d.`name`
25
-        when e.building_name != null || e.building_name != '' then e.building_name
26
-        when f.news_name != null || f.news_name != '' then f.news_name
27
-        when g.`name` != null || g.`name` != '' then g.`name`
28
-        when h.sales_batch_name != null || h.sales_batch_name != '' then h.sales_batch_name
21
+        when a.title != null or a.title != '' then a.title
22
+        when b.title != null or b.title != '' then b.title
23
+        when c.activity_name != null or c.activity_name != '' then c.activity_name
24
+        when d.`name` != null or d.name != '' then d.`name`
25
+        when e.building_name != null or e.building_name != '' then e.building_name
26
+        when f.news_name != null or f.news_name != '' then f.news_name
27
+        when g.`name` != null or g.`name` != '' then g.`name`
28
+        when h.sales_batch_name != null or h.sales_batch_name != '' then h.sales_batch_name
29
         else '空'
29
         else '空'
30
         end as shareTitle,t.create_date
30
         end as shareTitle,t.create_date
31
         from ta_share_count t
31
         from ta_share_count t
39
         left JOIN ta_person g on t.be_share = g.person_id and t.tagert_type = 'consultant'
39
         left JOIN ta_person g on t.be_share = g.person_id and t.tagert_type = 'consultant'
40
         where t.person_id = #{personId}
40
         where t.person_id = #{personId}
41
         <if test="shareType != null and shareType != ''">
41
         <if test="shareType != null and shareType != ''">
42
-            and (t.tagert_type = #{shareType} || t.tagert_type like CONCAT(#{shareType} , '%'))
42
+            and (t.tagert_type = #{shareType} or t.tagert_type like CONCAT(#{shareType} , '%'))
43
         </if>
43
         </if>
44
         <if test="shareTitle != null and shareTitle != ''">
44
         <if test="shareTitle != null and shareTitle != ''">
45
             and
45
             and
60
     <select id="selectClickListByParams" resultType="com.yunzhi.marketing.entity.TaShareCount">
60
     <select id="selectClickListByParams" resultType="com.yunzhi.marketing.entity.TaShareCount">
61
         SELECT
61
         SELECT
62
             case
62
             case
63
-                when g.title != null || g.title != '' then g.title
64
-                when b.title != null || b.title != '' then b.title
65
-                when c.activity_name != null || c.activity_name != '' then c.activity_name
66
-                when d.`name` != null || d.name != '' then d.`name`
67
-                when e.building_name != null || e.building_name != '' then e.building_name
68
-                when f.news_name != null || f.news_name != '' then f.news_name
69
-                when h.sales_batch_name != null || h.sales_batch_name !='' then h.sales_batch_name
70
-                WHEN y.`name` != NULL || y.`name` != '' THEN y.`name`
63
+                when g.title != null or g.title != '' then g.title
64
+                when b.title != null or b.title != '' then b.title
65
+                when c.activity_name != null or c.activity_name != '' then c.activity_name
66
+                when d.`name` != null or d.name != '' then d.`name`
67
+                when e.building_name != null or e.building_name != '' then e.building_name
68
+                when f.news_name != null or f.news_name != '' then f.news_name
69
+                when h.sales_batch_name != null or h.sales_batch_name !='' then h.sales_batch_name
70
+                WHEN y.`name` != NULL or y.`name` != '' THEN y.`name`
71
                 else '空'
71
                 else '空'
72
                 end as shareTitle,
72
                 end as shareTitle,
73
                         z.phone as personPhone,
73
                         z.phone as personPhone,