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
78635d82
Commit
78635d82
authored
Mar 13, 2026
by
zhangxingmin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into prod
parents
f248f78c
6b30100b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
yd-product-api/src/main/java/com/yd/product/api/service/impl/ApiProductLaunchServiceImpl.java
+6
-4
yd-product-service/src/main/resources/mappers/AnnouncementCommissionRatioMapper.xml
+1
-1
No files found.
yd-product-api/src/main/java/com/yd/product/api/service/impl/ApiProductLaunchServiceImpl.java
View file @
78635d82
...
...
@@ -187,10 +187,10 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService {
apiProductLaunchDto
.
setApiProjectDtoList
(
apiProjectDtoList
(
productLaunch
.
getProjectBizIdList
()));
apiProductLaunchDto
.
setProjectBizIdList
(
StringUtils
.
isNotBlank
(
productLaunch
.
getProjectBizIdList
())
?
Arrays
.
asList
(
productLaunch
.
getProjectBizIdList
().
split
(
";"
).
clone
())
:
new
ArrayList
<>());
if
(
StringUtils
.
isNotBlank
(
productLaunch
.
getProductBizId
()))
{
Product
product
=
iProductService
.
queryOne
(
productLaunch
.
getProductBizId
());
apiProductLaunchDto
.
setTitle
(!
Objects
.
isNull
(
product
)
?
product
.
getProductName
()
:
""
);
}
//
if (StringUtils.isNotBlank(productLaunch.getProductBizId())) {
//
Product product = iProductService.queryOne(productLaunch.getProductBizId());
//
apiProductLaunchDto.setTitle(!Objects.isNull(product) ? product.getProductName() : "");
//
}
response
.
setApiProductLaunchDto
(
apiProductLaunchDto
);
//设置的产品上架信息的参数列表
...
...
@@ -332,6 +332,8 @@ public class ApiProductLaunchServiceImpl implements ApiProductLaunchService {
return
Result
.
success
(
productLaunchBizId
);
}
/**
* 审核-产品上架信息
* @param request
...
...
yd-product-service/src/main/resources/mappers/AnnouncementCommissionRatioMapper.xml
View file @
78635d82
...
...
@@ -45,7 +45,7 @@
AND as1.payment_term = #{request.paymentTerm}
</if>
<if
test=
"request.effectiveDate != null"
>
AND
#{request.effectiveDate} BETWEEN acr.effective_start AND acr.effective_end
AND
DATE(#{request.effectiveDate}) BETWEEN DATE(acr.effective_start) AND DATE(acr.effective_end)
</if>
</where>
ORDER BY acr.effective_start DESC
...
...
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