Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
717a8e23
Commit
717a8e23
authored
Jun 11, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
建联潜客分
parent
f74b882b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
TabContactLog.java
...c/haoban/manage/service/entity/contact/TabContactLog.java
+13
-0
ContactLogServiceImpl.java
...e/service/service/contact/impl/ContactLogServiceImpl.java
+5
-0
TabContactLogMapper.xml
...src/main/resources/mapper/contact/TabContactLogMapper.xml
+6
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/entity/contact/TabContactLog.java
View file @
717a8e23
...
...
@@ -61,6 +61,11 @@ public class TabContactLog implements Serializable {
private
Date
potentialTime
;
/**
* 潜客分
*/
private
Integer
potentialScore
;
/**
* 来源日志id
*/
private
Long
sourceLogId
;
...
...
@@ -197,6 +202,14 @@ public class TabContactLog implements Serializable {
this
.
potentialTime
=
potentialTime
;
}
public
Integer
getPotentialScore
()
{
return
potentialScore
;
}
public
void
setPotentialScore
(
Integer
potentialScore
)
{
this
.
potentialScore
=
potentialScore
;
}
public
Integer
getSourceType
()
{
return
sourceType
;
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/contact/impl/ContactLogServiceImpl.java
View file @
717a8e23
...
...
@@ -225,6 +225,10 @@ public class ContactLogServiceImpl implements ContactLogService {
contactLog
.
setStoreCode
(
store
.
getStoreCode
());
}
}
JSONObject
jsonObject
=
esMemberInfoService
.
queryDataSingle
(
enterpriseId
,
memberId
,
"potentialScore"
);
if
(
jsonObject
!=
null
&&
jsonObject
.
getInteger
(
"potentialScore"
)
!=
null
)
{
contactLog
.
setPotentialScore
(
jsonObject
.
getInteger
(
"potentialScore"
));
}
Long
logId
=
UniqueIdUtils
.
uniqueLong
();
contactLog
.
setLogId
(
logId
);
contactLog
.
setMemberId
(
memberId
);
...
...
@@ -234,6 +238,7 @@ public class ContactLogServiceImpl implements ContactLogService {
contactLog
.
setContactCycleFirst
(
contactCycleFirst
);
// 成为潜客时间 无用暂不写
contactLog
.
setPotentialTime
(
null
);
contactLog
.
setSourceType
(
sourceType
);
contactLog
.
setBizType
(
bizType
);
contactLog
.
setEnterpriseId
(
enterpriseId
);
...
...
haoban-manage3-service/src/main/resources/mapper/contact/TabContactLogMapper.xml
View file @
717a8e23
...
...
@@ -14,6 +14,7 @@
<result
property=
"contactCycle"
column=
"contact_cycle"
jdbcType=
"INTEGER"
/>
<result
property=
"contactCycleFirst"
column=
"contact_cycle_first"
jdbcType=
"INTEGER"
/>
<result
property=
"potentialTime"
column=
"potential_time"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"potentialScore"
column=
"potential_score"
jdbcType=
"INTEGER"
/>
<result
property=
"sourceType"
column=
"source_type"
jdbcType=
"INTEGER"
/>
<result
property=
"sourceLogId"
column=
"source_log_id"
jdbcType=
"BIGINT"
/>
<result
property=
"bizType"
column=
"biz_type"
jdbcType=
"INTEGER"
/>
...
...
@@ -155,6 +156,7 @@
contact_cycle,
contact_cycle_first,
potential_time,
potential_score,
source_type,
source_log_id,
biz_type,
...
...
@@ -175,6 +177,7 @@
#{contactCycle},
#{contactCycleFirst},
#{potentialTime},
#{potentialScore},
#{sourceType},
#{sourceLogId},
#{bizType},
...
...
@@ -220,6 +223,9 @@
<if
test=
"potentialTime != null"
>
potential_time = #{potentialTime},
</if>
<if
test=
"potentialScore != null"
>
potential_score = #{potentialScore},
</if>
<if
test=
"sourceType != null"
>
source_type = #{sourceType},
</if>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment