Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-dj-strategy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b067dd86
authored
Jun 25, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:插入标签的时候新增更新时间和创建时间
1 parent
f2df0a7d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/CustomerTagProfileService.java
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/InspectionCustomerTagSyncService.java
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/CustomerTagProfileService.java
View file @
b067dd8
...
@@ -22,6 +22,7 @@ import org.springframework.util.CollectionUtils;
...
@@ -22,6 +22,7 @@ import org.springframework.util.CollectionUtils;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Collections
;
import
java.util.Collections
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
/**
/**
...
@@ -146,6 +147,9 @@ public class CustomerTagProfileService {
...
@@ -146,6 +147,9 @@ public class CustomerTagProfileService {
profile
.
setSourceType
(
SOURCE_TYPE_ARCHIVE
);
profile
.
setSourceType
(
SOURCE_TYPE_ARCHIVE
);
profile
.
setSourceRefId
(
String
.
valueOf
(
carSeriesId
));
profile
.
setSourceRefId
(
String
.
valueOf
(
carSeriesId
));
profile
.
setDeletedFlag
(
"N"
);
profile
.
setDeletedFlag
(
"N"
);
profile
.
setUpdateTime
(
new
Date
());
profile
.
setCreateTime
(
new
Date
());
// 先删除该用户已有的建档标签(物理删除)
// 先删除该用户已有的建档标签(物理删除)
customerTagProfileMapper
.
deleteByPhoneAndCategoryCode
(
phone
,
CATEGORY_CODE_INIT
);
customerTagProfileMapper
.
deleteByPhoneAndCategoryCode
(
phone
,
CATEGORY_CODE_INIT
);
...
@@ -438,6 +442,8 @@ public class CustomerTagProfileService {
...
@@ -438,6 +442,8 @@ public class CustomerTagProfileService {
profile
.
setSourceType
(
SOURCE_TYPE_ARCHIVE_SYNC
);
profile
.
setSourceType
(
SOURCE_TYPE_ARCHIVE_SYNC
);
profile
.
setSourceRefId
(
String
.
valueOf
(
carSeriesId
));
profile
.
setSourceRefId
(
String
.
valueOf
(
carSeriesId
));
profile
.
setDeletedFlag
(
"N"
);
profile
.
setDeletedFlag
(
"N"
);
profile
.
setUpdateTime
(
new
Date
());
profile
.
setCreateTime
(
new
Date
());
return
profile
;
return
profile
;
...
...
rpc-dj-strategy/src/main/java/cn/com/glsx/dj/strategy/service/InspectionCustomerTagSyncService.java
View file @
b067dd8
...
@@ -473,7 +473,8 @@ public class InspectionCustomerTagSyncService {
...
@@ -473,7 +473,8 @@ public class InspectionCustomerTagSyncService {
profile
.
setSourceType
(
SOURCE_TYPE_AI
);
profile
.
setSourceType
(
SOURCE_TYPE_AI
);
profile
.
setSourceRefId
(
String
.
valueOf
(
recordId
));
profile
.
setSourceRefId
(
String
.
valueOf
(
recordId
));
profile
.
setDeletedFlag
(
"N"
);
profile
.
setDeletedFlag
(
"N"
);
profile
.
setUpdateTime
(
new
Date
());
profile
.
setCreateTime
(
new
Date
());
result
.
add
(
profile
);
result
.
add
(
profile
);
}
}
...
...
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