Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-product
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingmin
yd-product
Commits
8faab715
Commit
8faab715
authored
Dec 09, 2025
by
zhangxingmin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
c2e248b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
yd-product-api/src/main/java/com/yd/product/api/service/impl/ApiSpeciesSettingServiceImpl.java
+2
-0
yd-product-feign/src/main/java/com/yd/product/feign/dto/ApiSpeciesTypeDto.java
+10
-0
No files found.
yd-product-api/src/main/java/com/yd/product/api/service/impl/ApiSpeciesSettingServiceImpl.java
View file @
8faab715
...
@@ -94,6 +94,8 @@ public class ApiSpeciesSettingServiceImpl implements ApiSpeciesSettingService {
...
@@ -94,6 +94,8 @@ public class ApiSpeciesSettingServiceImpl implements ApiSpeciesSettingService {
typeDto
.
setSpeciesTypeBizId
(
firstSetting
.
getSpeciesTypeBizId
());
typeDto
.
setSpeciesTypeBizId
(
firstSetting
.
getSpeciesTypeBizId
());
typeDto
.
setTypeCode
(
firstSetting
.
getTypeCode
());
typeDto
.
setTypeCode
(
firstSetting
.
getTypeCode
());
typeDto
.
setTypeName
(
firstSetting
.
getTypeName
());
typeDto
.
setTypeName
(
firstSetting
.
getTypeName
());
typeDto
.
setIsCustomize
(
firstSetting
.
getIsCustomize
());
typeDto
.
setIsIllustration
(
firstSetting
.
getIsIllustration
());
// 转换该类型下的所有规格配置
// 转换该类型下的所有规格配置
List
<
ApiSpeciesSettingDto
>
speciesSettingDtos
=
settingsInType
.
stream
().
map
(
setting
->
{
List
<
ApiSpeciesSettingDto
>
speciesSettingDtos
=
settingsInType
.
stream
().
map
(
setting
->
{
...
...
yd-product-feign/src/main/java/com/yd/product/feign/dto/ApiSpeciesTypeDto.java
View file @
8faab715
...
@@ -23,6 +23,16 @@ public class ApiSpeciesTypeDto {
...
@@ -23,6 +23,16 @@ public class ApiSpeciesTypeDto {
private
String
typeName
;
private
String
typeName
;
/**
/**
* 是否配图 0-否 1-是
*/
private
String
isIllustration
;
/**
* 是否自定义 0-否 1-是
*/
private
String
isCustomize
;
/**
* 上架产品规格配置列表
* 上架产品规格配置列表
*/
*/
private
List
<
ApiSpeciesSettingDto
>
apiSpeciesSettingDtoList
;
private
List
<
ApiSpeciesSettingDto
>
apiSpeciesSettingDtoList
;
...
...
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