Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-cdp-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 559bb92b
authored
Sep 25, 2023
by
ThomasAdv
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户旅程返回跟进人信息手机号模糊查询;addWay int->string
1 parent
7c01addf
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
18 additions
and
16 deletions
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/Car.java
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/CarMaintenanceInsurance.java
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/Customer.java
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/CustomerEvent.java
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/CustomerSopJourney.java
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/model/customer/CustomerSopJourneySearch.java
platform-cdp/src/main/java/cn/com/glsx/cdp/config/RabbitMQConfig.java
platform-cdp/src/main/java/cn/com/glsx/cdp/modules/queue/DataReportRabbitMQConsumer.java
platform-cdp/src/main/java/cn/com/glsx/cdp/modules/service/UserDemoService.java
platform-cdp/src/main/resources/mapper/CarMaintenanceInsuranceMapper.xml
platform-cdp/src/main/resources/mapper/CarMapper.xml
platform-cdp/src/main/resources/mapper/CustomerEventMapper.xml
platform-cdp/src/main/resources/mapper/CustomerMapper.xml
platform-cdp/src/main/resources/mapper/CustomerSopJourneyMapper.xml
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/Car.java
View file @
559bb92
...
...
@@ -160,7 +160,7 @@ public class Car implements Serializable {
* 来源
*/
@Column
(
name
=
"add_way"
)
private
Integer
addWay
;
private
String
addWay
;
/**
* 创建人
...
...
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/CarMaintenanceInsurance.java
View file @
559bb92
...
...
@@ -135,7 +135,7 @@ public class CarMaintenanceInsurance implements Serializable {
* 来源
*/
@Column
(
name
=
"add_way"
)
private
Integer
addWay
;
private
String
addWay
;
/**
* 创建人
...
...
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/Customer.java
View file @
559bb92
...
...
@@ -167,7 +167,7 @@ public class Customer implements Serializable {
* 来源
*/
@Column
(
name
=
"add_way"
)
private
Integer
addWay
;
private
String
addWay
;
/**
* 创建人
...
...
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/CustomerEvent.java
View file @
559bb92
...
...
@@ -73,7 +73,7 @@ public class CustomerEvent implements Serializable {
* 来源
*/
@Column
(
name
=
"add_way"
)
private
Integer
addWay
;
private
String
addWay
;
/**
* 创建人
...
...
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/entity/CustomerSopJourney.java
View file @
559bb92
...
...
@@ -93,7 +93,7 @@ public class CustomerSopJourney implements Serializable {
* 来源
*/
@Column
(
name
=
"add_way"
)
private
Integer
addWay
;
private
String
addWay
;
/**
* 创建人
...
...
platform-cdp-api/src/main/java/cn/com/glsx/cdp/modules/model/customer/CustomerSopJourneySearch.java
View file @
559bb92
...
...
@@ -44,6 +44,9 @@ public class CustomerSopJourneySearch implements Serializable {
@Schema
(
description
=
"客户旅程跟进人id列表"
)
private
List
<
String
>
sopFollowUpPersonIds
;
@Schema
(
description
=
"客户旅程跟进人手机号"
)
private
String
sopFollowUpPersonPhone
;
@Schema
(
description
=
"进入sop旅程时间-开始"
)
private
String
sopJourneyEnterTimeBegin
;
...
...
platform-cdp/src/main/java/cn/com/glsx/cdp/config/RabbitMQConfig.java
View file @
559bb92
...
...
@@ -10,7 +10,6 @@ import org.springframework.context.annotation.Configuration;
@Configuration
public
class
RabbitMQConfig
{
//TODO q2移除
public
static
final
String
DATA_REPORT_QUEUE_NAME
=
"dataReport_queue"
;
public
static
final
String
DATA_REPORT_EXCHANGE_NAME
=
"dataReport_exchange"
;
public
static
final
String
DATA_REPORT_TOPIC
=
"dataReport.#"
;
...
...
platform-cdp/src/main/java/cn/com/glsx/cdp/modules/queue/DataReportRabbitMQConsumer.java
View file @
559bb92
...
...
@@ -72,9 +72,8 @@ public class DataReportRabbitMQConsumer {
List
<
JSONObject
>
jsonDatas
=
JSONArray
.
parseArray
(
jsonDataStr
,
JSONObject
.
class
);
for
(
JSONObject
jsonData
:
jsonDatas
)
{
Integer
orgId
=
jsonData
.
getInteger
(
ModelFieldConstants
.
ORGID
);
Integer
addWay
=
jsonData
.
getInteger
(
ModelFieldConstants
.
ADD_WAY
);
//TODO addWay改造
if
(
orgId
!=
null
)
{
String
addWay
=
jsonData
.
getString
(
ModelFieldConstants
.
ADD_WAY
);
if
(
orgId
!=
null
&&
StringUtils
.
isNotBlank
(
addWay
)){
List
<
ModelDTO
>
matchModels
=
matchModel
(
jsonData
);
Map
<
OneIdBelongEnum
,
String
>
oneIdMap
=
thiz
.
getOneId
(
matchModels
,
jsonData
);
List
<
ModelDTO
>
valueModels
=
compileModelFieldsValue
(
matchModels
,
jsonData
,
oneIdMap
);
...
...
platform-cdp/src/main/java/cn/com/glsx/cdp/modules/service/UserDemoService.java
View file @
559bb92
...
...
@@ -86,8 +86,6 @@ public class UserDemoService {
public
int
editUser
(
User
user
)
{
String
password
=
user
.
getPassword
();
//todo 更新入库
return
0
;
}
...
...
platform-cdp/src/main/resources/mapper/CarMaintenanceInsuranceMapper.xml
View file @
559bb92
...
...
@@ -25,7 +25,7 @@
<result
column=
"car_average_maintenance_day"
jdbcType=
"VARCHAR"
property=
"carAverageMaintenanceDay"
/>
<result
column=
"car_sold_by_company"
jdbcType=
"VARCHAR"
property=
"carSoldByCompany"
/>
<result
column=
"ex_json"
jdbcType=
"LONGVARCHAR"
property=
"exJson"
/>
<result
column=
"add_way"
jdbcType=
"
INTEGE
R"
property=
"addWay"
/>
<result
column=
"add_way"
jdbcType=
"
VARCHA
R"
property=
"addWay"
/>
<result
column=
"created_by"
jdbcType=
"VARCHAR"
property=
"createdBy"
/>
<result
column=
"created_time"
jdbcType=
"TIMESTAMP"
property=
"createdTime"
/>
<result
column=
"updated_by"
jdbcType=
"VARCHAR"
property=
"updatedBy"
/>
...
...
platform-cdp/src/main/resources/mapper/CarMapper.xml
View file @
559bb92
...
...
@@ -29,7 +29,7 @@
<result
column=
"car_mileage"
jdbcType=
"VARCHAR"
property=
"carMileage"
/>
<result
column=
"car_average_daily_mileage"
jdbcType=
"VARCHAR"
property=
"carAverageDailyMileage"
/>
<result
column=
"ex_json"
jdbcType=
"LONGVARCHAR"
property=
"exJson"
/>
<result
column=
"add_way"
jdbcType=
"
INTEGE
R"
property=
"addWay"
/>
<result
column=
"add_way"
jdbcType=
"
VARCHA
R"
property=
"addWay"
/>
<result
column=
"created_by"
jdbcType=
"VARCHAR"
property=
"createdBy"
/>
<result
column=
"created_time"
jdbcType=
"TIMESTAMP"
property=
"createdTime"
/>
<result
column=
"updated_by"
jdbcType=
"VARCHAR"
property=
"updatedBy"
/>
...
...
platform-cdp/src/main/resources/mapper/CustomerEventMapper.xml
View file @
559bb92
...
...
@@ -14,7 +14,7 @@
<result
column=
"platform"
jdbcType=
"CHAR"
property=
"platform"
/>
<result
column=
"extra"
jdbcType=
"VARCHAR"
property=
"extra"
/>
<result
column=
"ex_json"
jdbcType=
"LONGVARCHAR"
property=
"exJson"
/>
<result
column=
"add_way"
jdbcType=
"
INTEGE
R"
property=
"addWay"
/>
<result
column=
"add_way"
jdbcType=
"
VARCHA
R"
property=
"addWay"
/>
<result
column=
"created_by"
jdbcType=
"VARCHAR"
property=
"createdBy"
/>
<result
column=
"created_time"
jdbcType=
"TIMESTAMP"
property=
"createdTime"
/>
<result
column=
"updated_by"
jdbcType=
"VARCHAR"
property=
"updatedBy"
/>
...
...
platform-cdp/src/main/resources/mapper/CustomerMapper.xml
View file @
559bb92
...
...
@@ -31,7 +31,7 @@
<result
column=
"customer_company"
jdbcType=
"VARCHAR"
property=
"customerCompany"
/>
<result
column=
"education_level"
jdbcType=
"CHAR"
property=
"educationLevel"
/>
<result
column=
"notes"
jdbcType=
"VARCHAR"
property=
"notes"
/>
<result
column=
"add_way"
jdbcType=
"
INTEGE
R"
property=
"addWay"
/>
<result
column=
"add_way"
jdbcType=
"
VARCHA
R"
property=
"addWay"
/>
<result
column=
"ex_json"
jdbcType=
"LONGVARCHAR"
property=
"exJson"
/>
<result
column=
"created_by"
jdbcType=
"VARCHAR"
property=
"createdBy"
/>
<result
column=
"created_time"
jdbcType=
"TIMESTAMP"
property=
"createdTime"
/>
...
...
platform-cdp/src/main/resources/mapper/CustomerSopJourneyMapper.xml
View file @
559bb92
...
...
@@ -18,7 +18,7 @@
<result
column=
"sop_follow_up_person_aiSpeech"
jdbcType=
"VARCHAR"
property=
"sopFollowUpPersonAiSpeech"
/>
<result
column=
"sop_follow_up_person_sms"
jdbcType=
"VARCHAR"
property=
"sopFollowUpPersonSms"
/>
<result
column=
"ex_json"
jdbcType=
"LONGVARCHAR"
property=
"exJson"
/>
<result
column=
"add_way"
jdbcType=
"
INTEGE
R"
property=
"addWay"
/>
<result
column=
"add_way"
jdbcType=
"
VARCHA
R"
property=
"addWay"
/>
<result
column=
"created_by"
jdbcType=
"VARCHAR"
property=
"createdBy"
/>
<result
column=
"created_time"
jdbcType=
"TIMESTAMP"
property=
"createdTime"
/>
<result
column=
"updated_by"
jdbcType=
"VARCHAR"
property=
"updatedBy"
/>
...
...
@@ -131,6 +131,9 @@
#{item}
</foreach>
</if>
<if
test=
"sopFollowUpPersonPhone != null and sopFollowUpPersonPhone != ''"
>
and csj.sop_follow_up_person_phone like CONCAT('%', #{sopFollowUpPersonPhone},'%')
</if>
<if
test=
"sopJourneyEnterTimeBegin != null and sopJourneyEnterTimeBegin != ''"
>
and csj.sop_journey_enter_time
>
= #{sopJourneyEnterTimeBegin}
</if>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment