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
a6657e04
Commit
a6657e04
authored
Mar 26, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签下商品列表
parent
5888aac9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/CollectionItemsRelationServiceImpl.java
...impl/distribution/CollectionItemsRelationServiceImpl.java
+1
-3
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
...wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
+2
-0
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/CollectionItemsRelationServiceImpl.java
View file @
a6657e04
...
@@ -129,7 +129,6 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati
...
@@ -129,7 +129,6 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati
@Override
@Override
public
Result
findList
(
CollectionItemsRelationRequestDto
dto
)
{
public
Result
findList
(
CollectionItemsRelationRequestDto
dto
)
{
try
{
try
{
CollectionBookVo
collectionBookVo
=
new
CollectionBookVo
();
SupplierItemRequestDto
supplierItemRequestDto
=
new
SupplierItemRequestDto
();
SupplierItemRequestDto
supplierItemRequestDto
=
new
SupplierItemRequestDto
();
List
<
SupplierItem
>
supplierItemList
=
new
ArrayList
<>();
List
<
SupplierItem
>
supplierItemList
=
new
ArrayList
<>();
PageInfo
pageInfo
=
null
;
PageInfo
pageInfo
=
null
;
...
@@ -174,8 +173,7 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati
...
@@ -174,8 +173,7 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati
supplierItemVo
.
setHomePageImage
(
MediaUtil
.
getHomePageImage
(
supplierItem
.
getImages
(),
supplierItem
.
getVideos
()));
supplierItemVo
.
setHomePageImage
(
MediaUtil
.
getHomePageImage
(
supplierItem
.
getImages
(),
supplierItem
.
getVideos
()));
list
.
add
(
supplierItemVo
);
list
.
add
(
supplierItemVo
);
});
});
collectionBookVo
.
setPageSearchResult
(
PageSearchResult
.
of
(
pageInfo
,
list
));
return
Result
.
success
(
PageSearchResult
.
of
(
pageInfo
,
list
));
return
Result
.
success
(
collectionBookVo
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
error
(
"查询标签下的藏品失败 error: {}"
,
e
);
logger
.
error
(
"查询标签下的藏品失败 error: {}"
,
e
);
}
}
...
...
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
View file @
a6657e04
...
@@ -176,6 +176,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
...
@@ -176,6 +176,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
newRecord
.
setCreateTime
(
new
Date
());
newRecord
.
setCreateTime
(
new
Date
());
newRecord
.
setUpdateTime
(
new
Date
());
newRecord
.
setUpdateTime
(
new
Date
());
newRecord
.
setType
(
DistributionEnum
.
UserBrowseTypeEnum
.
PLATFORM_ITEM
.
getCode
());
newRecord
.
setType
(
DistributionEnum
.
UserBrowseTypeEnum
.
PLATFORM_ITEM
.
getCode
());
newRecord
.
setSharedUserId
(
distributorShareRecord
.
getDistributorId
());
userRecentBrowseDao
.
insert
(
newRecord
);
userRecentBrowseDao
.
insert
(
newRecord
);
}
}
}
}
...
@@ -392,6 +393,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
...
@@ -392,6 +393,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
newRecord
.
setCreateTime
(
new
Date
());
newRecord
.
setCreateTime
(
new
Date
());
newRecord
.
setUpdateTime
(
new
Date
());
newRecord
.
setUpdateTime
(
new
Date
());
newRecord
.
setType
(
DistributionEnum
.
UserBrowseTypeEnum
.
PLATFORM_ITEM
.
getCode
());
newRecord
.
setType
(
DistributionEnum
.
UserBrowseTypeEnum
.
PLATFORM_ITEM
.
getCode
());
newRecord
.
setSharedUserId
(
distributorShareRecord
.
getDistributorId
());
userRecentBrowseDao
.
insert
(
newRecord
);
userRecentBrowseDao
.
insert
(
newRecord
);
}
}
}
}
...
...
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