张延森 3 年 前
コミット
5ca9c6177a

+ 1
- 1
pom.xml ファイルの表示

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

+ 1
- 1
src/main/resources/mapper/TaRaiseRecordMapper.xml ファイルの表示

@@ -42,7 +42,7 @@
42 42
             AND t.house_locking_status = #{bo.lockingStatus}
43 43
         </if>
44 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 46
         </if>
47 47
         <if test="bo.apartmentId != null and bo.apartmentId != ''">
48 48
             AND t.apartment_id = #{bo.apartmentId}

+ 1
- 1
src/main/resources/mapper/TaRecommendCustomerMapper.xml ファイルの表示

@@ -1020,7 +1020,7 @@ FROM
1020 1020
             null as channel_id,
1021 1021
             p.name as channelName,
1022 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 1024
         FROM
1025 1025
             ta_recommend_customer t
1026 1026
          left JOIN ta_person p ON t.realty_consultant = p.person_id

+ 17
- 17
src/main/resources/mapper/TaShareCountMapper.xml ファイルの表示

@@ -18,14 +18,14 @@
18 18
         select
19 19
 
20 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 29
         else '空'
30 30
         end as shareTitle,t.create_date
31 31
         from ta_share_count t
@@ -39,7 +39,7 @@
39 39
         left JOIN ta_person g on t.be_share = g.person_id and t.tagert_type = 'consultant'
40 40
         where t.person_id = #{personId}
41 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 43
         </if>
44 44
         <if test="shareTitle != null and shareTitle != ''">
45 45
             and
@@ -60,14 +60,14 @@
60 60
     <select id="selectClickListByParams" resultType="com.yunzhi.marketing.entity.TaShareCount">
61 61
         SELECT
62 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 71
                 else '空'
72 72
                 end as shareTitle,
73 73
                         z.phone as personPhone,