Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
682fbdcc
Commit
682fbdcc
authored
Mar 08, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑商品
parent
444fd43a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/SysSupplierItemServiceImpl.java
...va/com/wwdz/ch/admin/impl/SysSupplierItemServiceImpl.java
+3
-3
No files found.
ch-admin-api/src/main/java/com/wwdz/ch/admin/impl/SysSupplierItemServiceImpl.java
View file @
682fbdcc
...
...
@@ -186,7 +186,7 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
supplierItemDao
.
update
(
supplierItem
);
//竞拍商品,维护竞拍配置
if
(
dto
.
getType
()
==
DistributionEnum
.
DistributionTypeEnum
.
AUCTION
.
getCode
())
{
/*
if (dto.getType() == DistributionEnum.DistributionTypeEnum.AUCTION.getCode()) {
AuctionConfig auctionConfig = auctionConfigDao.findByItemId(dto.getId());
//修改
if (auctionConfig != null && auctionConfig.getId() != null) {
...
...
@@ -200,7 +200,7 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
AuctionConfig addConfig = new AuctionConfig();
addConfig.setItemId(dto.getId());
addConfig.setIsValid(true);
a
uction
Config
.
setIsDeal
(
false
);
a
dd
Config.setIsDeal(false);
addConfig.setStartTime(DateUtils.parseString(dto.getAuctionStartTime()));
addConfig.setEndTime(DateUtils.parseString(dto.getAuctionEndTime()));
addConfig.setRealEndTime(DateUtils.parseString(dto.getAuctionEndTime()));
...
...
@@ -210,7 +210,7 @@ public class SysSupplierItemServiceImpl implements SysSupplierItemService {
addConfig.setUpdateTime(new Date());
auctionConfigDao.insert(addConfig);
}
}
}
*/
return
Result
.
success
();
}
catch
(
Exception
e
)
{
logger
.
error
(
"编辑商品失败 error : {}"
,
e
);
...
...
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