Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-simple-operation
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
guokunkun
spring-simple-operation
Commits
498fa6be
Commit
498fa6be
authored
Mar 18, 2025
by
kk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
刷数据:根据文件指定sku刷A+产品的上传人
parent
851f3c52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
APlusProductServiceImpl.java
...imple_operation/service/impl/APlusProductServiceImpl.java
+4
-2
No files found.
src/main/java/cn/kk/spring_simple_operation/service/impl/APlusProductServiceImpl.java
View file @
498fa6be
...
...
@@ -43,6 +43,7 @@ public class APlusProductServiceImpl extends ServiceImpl<APlusProductMapper, APl
@Override
public
void
setAPlusProductUploadInfo
(
List
<
SkuPeopleNameDto
>
list
)
{
int
count
=
0
;
Integer
currentTimeSecond
=
DateUtils
.
getCurrentTimeSecond
();
for
(
SkuPeopleNameDto
skuPeopleNameDto
:
list
)
{
List
<
APlusProduct
>
aPlusProducts
=
baseMapper
.
selectList
(
Wrappers
.<
APlusProduct
>
lambdaQuery
()
...
...
@@ -81,12 +82,13 @@ public class APlusProductServiceImpl extends ServiceImpl<APlusProductMapper, APl
.
setUploadBackstageUser
(
visualDesigner
.
getUserName
())
.
setUploadBackstageTime
(
currentTimeSecond
)
;
baseMapper
.
updateById
(
aPlusProduct
);
visualDesignLogService
.
addLog
(
"a_plus_product"
,
String
.
format
(
"sku:%s, site:%s, 上传A+产品信息修改为:上传人:%s,上传时间:%s"
,
aPlusProduct
.
getSku
(),
aPlusProduct
.
getSite
(),
visualDesigner
.
getUserName
(),
DateUtils
.
format10YMD
(
currentTimeSecond
)),
aPlusProduct
.
getId
());
count
++;
}
log
.
info
(
"共上传{}个A+产品信息"
,
count
);
}
}
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