Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
YouJia
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 a7c4258d
authored
Oct 09, 2026
by
chenxi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优加门店上架导入改动提交,修改解析成功无返回值问题
1 parent
86f44b37
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
youjia-module-store/src/main/java/com/youjia/store/service/impl/StoreImportServiceImpl.java
youjia-module-store/src/main/java/com/youjia/store/service/impl/StoreImportServiceImpl.java
View file @
a7c4258
...
@@ -221,6 +221,9 @@ public class StoreImportServiceImpl implements StoreImportService {
...
@@ -221,6 +221,9 @@ public class StoreImportServiceImpl implements StoreImportService {
// 产品分类(表格中去重后的全部分类,按出现顺序)+ 操作用户组织链
// 产品分类(表格中去重后的全部分类,按出现顺序)+ 操作用户组织链
vo
.
setProductCategories
(
result
.
getProductCategories
());
vo
.
setProductCategories
(
result
.
getProductCategories
());
vo
.
setOrgPath
(
resolveOrgPath
(
CurrentUserHolder
.
getOrgId
()));
vo
.
setOrgPath
(
resolveOrgPath
(
CurrentUserHolder
.
getOrgId
()));
// 通过行(系统转译后):成功 / 失败分支都返回(失败时是「本地校验通过但整体未落库」的行,
// 供前端预览 / 编辑后重传),必须在提前 return 之前赋值
vo
.
setPreviewRows
(
result
.
getPassRows_
());
// 表头 / 无数据行等文件级问题已在校验器中直接抛 STORE_IMPORT_FILE_INVALID
// 表头 / 无数据行等文件级问题已在校验器中直接抛 STORE_IMPORT_FILE_INVALID
...
@@ -254,7 +257,6 @@ public class StoreImportServiceImpl implements StoreImportService {
...
@@ -254,7 +257,6 @@ public class StoreImportServiceImpl implements StoreImportService {
vo
.
setPassRows
(
result
.
getPassRows
());
vo
.
setPassRows
(
result
.
getPassRows
());
vo
.
setFailRows
(
0
);
vo
.
setFailRows
(
0
);
vo
.
setSubmitted
(
Boolean
.
TRUE
);
vo
.
setSubmitted
(
Boolean
.
TRUE
);
// vo.setPreviewRows(result.getPassRows_());
vo
.
setNextRoleName
(
resolveLevel1RoleName
());
vo
.
setNextRoleName
(
resolveLevel1RoleName
());
log
.
info
(
"[导入] 落库完成:门店={} 商户号={} 场景数={} 记录={}"
,
log
.
info
(
"[导入] 落库完成:门店={} 商户号={} 场景数={} 记录={}"
,
result
.
getStoreName
(),
result
.
getMerchantNo
(),
listingIds
.
size
(),
listingIds
);
result
.
getStoreName
(),
result
.
getMerchantNo
(),
listingIds
.
size
(),
listingIds
);
...
...
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