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
731b359b
Commit
731b359b
authored
Sep 12, 2023
by
songyinghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 客户触达日志
parent
349058b6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
HoloDataSource.java
...anage/service/dao/mapper/content/holo/HoloDataSource.java
+2
-4
TriggerCustomerDetailServiceImpl.java
...ervice/content/impl/TriggerCustomerDetailServiceImpl.java
+0
-1
PotentialCustomerServiceTest.java
...3-service/src/test/java/PotentialCustomerServiceTest.java
+2
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/content/holo/HoloDataSource.java
View file @
731b359b
...
@@ -29,13 +29,11 @@ public class HoloDataSource implements InitializingBean, DisposableBean {
...
@@ -29,13 +29,11 @@ public class HoloDataSource implements InitializingBean, DisposableBean {
String
holoUserName
=
appConfig
.
getProperty
(
"holo.username"
,
""
);
String
holoUserName
=
appConfig
.
getProperty
(
"holo.username"
,
""
);
String
holoPassword
=
appConfig
.
getProperty
(
"holo.password"
,
""
);
String
holoPassword
=
appConfig
.
getProperty
(
"holo.password"
,
""
);
HoloConfig
holoConfig
=
new
HoloConfig
();
HoloConfig
holoConfig
=
new
HoloConfig
();
//holoConfig.setJdbcUrl("jdbc:postgresql://hgprecn-cn-lbj34oq08002-cn-shanghai.hologres.aliyuncs.com:80/gicdatadev.public");
//holoConfig.setUsername("LTAI5tGn2YicKmgcyTiJDV59");
//holoConfig.setPassword("iOp7cICESPZIvIjJRtTmLnCd4gT1Qy");
holoConfig
.
setJdbcUrl
(
holoUrl
);
holoConfig
.
setJdbcUrl
(
holoUrl
);
holoConfig
.
setUsername
(
holoUserName
);
holoConfig
.
setUsername
(
holoUserName
);
holoConfig
.
setPassword
(
holoPassword
);
holoConfig
.
setPassword
(
holoPassword
);
client
=
new
HoloClient
(
holoConfig
);
this
.
client
=
new
HoloClient
(
holoConfig
);
this
.
client
.
setAsyncCommit
(
false
);
}
catch
(
Exception
ex
)
{
}
catch
(
Exception
ex
)
{
log
.
info
(
"初始化client 异常 >>>"
,
ex
);
log
.
info
(
"初始化client 异常 >>>"
,
ex
);
}
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/content/impl/TriggerCustomerDetailServiceImpl.java
View file @
731b359b
...
@@ -96,7 +96,6 @@ public class TriggerCustomerDetailServiceImpl implements TriggerCustomerDetailSe
...
@@ -96,7 +96,6 @@ public class TriggerCustomerDetailServiceImpl implements TriggerCustomerDetailSe
})
})
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
client
.
put
(
puts
);
client
.
put
(
puts
);
client
.
flush
();
log
.
info
(
"客户触达写数据组完成 >>>>>"
);
log
.
info
(
"客户触达写数据组完成 >>>>>"
);
}
catch
(
Exception
ex
)
{
}
catch
(
Exception
ex
)
{
log
.
info
(
"数据组写入异常"
,
ex
);
log
.
info
(
"数据组写入异常"
,
ex
);
...
...
haoban-manage3-service/src/test/java/PotentialCustomerServiceTest.java
View file @
731b359b
...
@@ -74,7 +74,7 @@ public class PotentialCustomerServiceTest {
...
@@ -74,7 +74,7 @@ public class PotentialCustomerServiceTest {
triggerCustomerDetailBO
.
setCustomerId
(
"dadadada"
);
triggerCustomerDetailBO
.
setCustomerId
(
"dadadada"
);
triggerCustomerDetailBO
.
setEnterpriseId
(
eid
);
triggerCustomerDetailBO
.
setEnterpriseId
(
eid
);
triggerCustomerDetailBO
.
setWxEnterpriseId
(
wxEid
);
triggerCustomerDetailBO
.
setWxEnterpriseId
(
wxEid
);
triggerCustomerDetailBO
.
setBizId
(
"musi
ceshitrigger
"
);
triggerCustomerDetailBO
.
setBizId
(
"musi
danxieru091203flush
"
);
triggerCustomerDetailBO
.
setBizType
(
1
);
triggerCustomerDetailBO
.
setBizType
(
1
);
triggerCustomerDetailBO
.
setClerkId
(
clerkId
);
triggerCustomerDetailBO
.
setClerkId
(
clerkId
);
triggerCustomerDetailBO
.
setStaffId
(
staffId
);
triggerCustomerDetailBO
.
setStaffId
(
staffId
);
...
@@ -87,7 +87,7 @@ public class PotentialCustomerServiceTest {
...
@@ -87,7 +87,7 @@ public class PotentialCustomerServiceTest {
triggerCustomerDetailBO
.
setId
(
UniqueIdUtils
.
uniqueLong
());
triggerCustomerDetailBO
.
setId
(
UniqueIdUtils
.
uniqueLong
());
triggerCustomerDetailService
.
batchSave
(
Collections
.
singletonList
(
triggerCustomerDetailBO
));
triggerCustomerDetailService
.
batchSave
(
Collections
.
singletonList
(
triggerCustomerDetailBO
));
triggerCustomerDetailBO
.
setId
(
UniqueIdUtils
.
uniqueLong
());
triggerCustomerDetailBO
.
setId
(
UniqueIdUtils
.
uniqueLong
());
triggerCustomerDetailBO
.
setBizId
(
"musi
tets22222
"
);
triggerCustomerDetailBO
.
setBizId
(
"musi
danxieru091204
"
);
triggerCustomerDetailService
.
batchSave
(
Collections
.
singletonList
(
triggerCustomerDetailBO
));
triggerCustomerDetailService
.
batchSave
(
Collections
.
singletonList
(
triggerCustomerDetailBO
));
}
}
...
...
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