Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-oaapproval
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 e82d7e59
authored
Jul 15, 2026
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(store): 解决批量上架模式下多场景文件验证问题
- 添加场景文件数量验证逻辑 - 当场景文件数量大于1时返回参数错误 - 确保批量上架模式只支持单场景操作
1 parent
bc9a5ffc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
src/main/java/cn/com/glsx/dj/oaapproval/service/StoreApproveService.java
src/main/java/cn/com/glsx/dj/oaapproval/service/StoreApproveService.java
View file @
e82d7e5
...
@@ -88,6 +88,12 @@ public class StoreApproveService {
...
@@ -88,6 +88,12 @@ public class StoreApproveService {
}
}
createBusinessApproveDTO
.
setMerchantId
(
merchantId
);
createBusinessApproveDTO
.
setMerchantId
(
merchantId
);
createBusinessApproveDTO
.
setMerchantName
(
merchantName
);
createBusinessApproveDTO
.
setMerchantName
(
merchantName
);
}
else
{
List
<
SceneFileDTO
>
sceneFiles
=
request
.
getSceneFiles
();
if
(
sceneFiles
.
size
()>
1
){
return
RpcResponse
.
error
(
DefaultErrorEnum
.
PARAMETER_NULL
,
"批量上架模式,只能支持单场景"
);
}
}
}
createBusinessApproveDTO
.
setShelfType
(
shelfType
);
createBusinessApproveDTO
.
setShelfType
(
shelfType
);
...
...
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