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
1278c757
Commit
1278c757
authored
Oct 09, 2023
by
songyinghui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature: 触达日志 操作日志记录
parent
11804589
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
HoloDataSource.java
...anage/service/dao/mapper/content/holo/HoloDataSource.java
+1
-0
TriggerCustomerDetailServiceImpl.java
...ervice/content/impl/TriggerCustomerDetailServiceImpl.java
+2
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/content/holo/HoloDataSource.java
View file @
1278c757
...
@@ -34,6 +34,7 @@ public class HoloDataSource implements InitializingBean, DisposableBean {
...
@@ -34,6 +34,7 @@ public class HoloDataSource implements InitializingBean, DisposableBean {
holoConfig
.
setPassword
(
holoPassword
);
holoConfig
.
setPassword
(
holoPassword
);
this
.
client
=
new
HoloClient
(
holoConfig
);
this
.
client
=
new
HoloClient
(
holoConfig
);
this
.
client
.
setAsyncCommit
(
false
);
this
.
client
.
setAsyncCommit
(
false
);
log
.
info
(
"holo链接初始化完成"
);
}
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 @
1278c757
...
@@ -59,6 +59,7 @@ public class TriggerCustomerDetailServiceImpl implements TriggerCustomerDetailSe
...
@@ -59,6 +59,7 @@ public class TriggerCustomerDetailServiceImpl implements TriggerCustomerDetailSe
@Override
@Override
public
void
batchSave
(
List
<
TriggerCustomerDetailBO
>
triggerCustomerDetailBos
)
{
public
void
batchSave
(
List
<
TriggerCustomerDetailBO
>
triggerCustomerDetailBos
)
{
if
(
CollectionUtils
.
isEmpty
(
triggerCustomerDetailBos
))
{
if
(
CollectionUtils
.
isEmpty
(
triggerCustomerDetailBos
))
{
log
.
info
(
"无客户触达日志 >>>> "
);
return
;
return
;
}
}
Config
appConfig
=
ConfigService
.
getAppConfig
();
Config
appConfig
=
ConfigService
.
getAppConfig
();
...
@@ -78,7 +79,7 @@ public class TriggerCustomerDetailServiceImpl implements TriggerCustomerDetailSe
...
@@ -78,7 +79,7 @@ public class TriggerCustomerDetailServiceImpl implements TriggerCustomerDetailSe
try
{
try
{
HoloClient
client
=
holoDataSource
.
getClient
();
HoloClient
client
=
holoDataSource
.
getClient
();
if
(
client
==
null
)
{
if
(
client
==
null
)
{
log
.
error
(
"数仓数据源链接异常, 请检查!!!!
"
);
log
.
error
(
"数仓数据源链接异常, 请检查!!!!
{}"
,
JSON
.
toJSONString
(
triggerCustomerDetailBos
)
);
return
;
return
;
}
}
TableSchema
tableSchema
=
client
.
getTableSchema
(
"tab_haoban_trigger_customer_detail"
);
TableSchema
tableSchema
=
client
.
getTableSchema
(
"tab_haoban_trigger_customer_detail"
);
...
...
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