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
ef112251
Commit
ef112251
authored
Jun 18, 2024
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索商品展示列表排列顺序修改
parent
887d1e55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
2 deletions
+50
-2
ch-core/src/main/java/com/wwdz/ch/core/consts/AfterSaleEnum.java
.../src/main/java/com/wwdz/ch/core/consts/AfterSaleEnum.java
+48
-0
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
...wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
+2
-2
No files found.
ch-core/src/main/java/com/wwdz/ch/core/consts/AfterSaleEnum.java
0 → 100644
View file @
ef112251
package
com.wwdz.ch.core.consts
;
public
class
AfterSaleEnum
{
/**
* 售后单状态
*/
public
enum
StateEnum
{
WAIT_REVIEW
(
1
,
"待平台审核"
),
PRE_SEND
(
10
,
"待寄出"
),
REVIEW_FAILED
(
12
,
"驳回审核"
),
PRE_CHANNEL_SIGNED
(
20
,
"待平台收货"
),
IDENTIFYING
(
30
,
"平台验货中"
),
IDENTIFY_FAILED
(
40
,
"平台验货不通过"
),
RETURN_PRE_SIGNED
(
50
,
"退回待收货"
),
FINISH
(
100
,
"售后完成"
),
CANCEL
(
101
,
"售后申请取消"
),
;
private
int
code
;
private
String
des
;
StateEnum
(
int
code
,
String
des
)
{
this
.
code
=
code
;
this
.
des
=
des
;
}
public
static
String
getNameByCode
(
int
code
)
{
for
(
AfterSaleEnum
.
StateEnum
stateEnum
:
AfterSaleEnum
.
StateEnum
.
values
())
{
if
(
code
==
stateEnum
.
getCode
())
{
return
stateEnum
.
getDes
();
}
}
return
null
;
}
public
int
getCode
()
{
return
code
;
}
public
String
getDes
()
{
return
des
;
}
}
}
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/distribution/SupplierItemServiceImpl.java
View file @
ef112251
...
...
@@ -198,7 +198,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
public
Result
findItemList
(
SupplierItemRequestDto
dto
)
{
try
{
List
<
SupplierItemVo
>
supplierItemVos
=
new
ArrayList
<>();
List
<
SupplierItem
>
supplierItemList
=
supplierItemDao
.
findList
(
dto
);
List
<
SupplierItem
>
supplierItemList
=
supplierItemDao
.
findList
ForSort
(
dto
);
PageInfo
pageInfo
=
new
PageInfo
(
supplierItemList
);
for
(
SupplierItem
supplierItem
:
supplierItemList
)
{
SupplierItemVo
supplierItemVo
=
new
SupplierItemVo
();
...
...
@@ -952,7 +952,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
return
Result
.
failed
(
ResultCode
.
UNLOGIN
);
}
}
//用户默认展示
逍遥分享的商品列表
//用户默认展示
系统账号发布的藏品和白名单中藏家的藏品
long
sellerId
=
291997
;
SupplierItemRequestDto
searchDto
=
new
SupplierItemRequestDto
();
//查询用户关注的人
...
...
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