Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
a30239a0
Commit
a30239a0
authored
Mar 16, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单
parent
afb59c16
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
GicOrderRefundController.java
...manage/web/controller/order/GicOrderRefundController.java
+9
-5
LogisticsController.java
...oban/manage/web/controller/order/LogisticsController.java
+1
-1
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/GicOrderRefundController.java
View file @
a30239a0
...
...
@@ -32,6 +32,7 @@ import com.gic.business.order.qdto.ordermanage.RefundExchangeQDTO;
import
com.gic.business.order.service.activity.MemberReferClerkApiService
;
import
com.gic.business.order.service.ordermanage.MallSellerAddressApiService
;
import
com.gic.business.order.service.ordermanage.OrderRefundApiService
;
import
com.gic.clerk.api.dto.ClerkDTO
;
import
com.gic.clerk.api.service.ClerkService
;
import
com.gic.commons.util.EntityUtil
;
import
com.gic.commons.webapi.reponse.RestResponse
;
...
...
@@ -62,7 +63,7 @@ public class GicOrderRefundController {
@Autowired
private
MemberReferClerkApiService
memberReferClerkApiService
;
@Autowired
private
ClerkService
clerkService
;
private
ClerkService
clerkService
;
/**
*
...
...
@@ -76,11 +77,14 @@ public class GicOrderRefundController {
@RequestMapping
(
value
=
"order-exchange-refund-list"
)
@ResponseBody
public
RestResponse
<
Object
>
exchangeRefundList
(
RefundExchangeQDTO
qdto
)
{
String
clerkId
=
qdto
.
getClerkId
()
;
if
(
StringUtils
.
isEmpty
(
clerkId
))
{
return
RestResponse
.
failure
(
"9999"
,
"导购ID为空"
)
;
String
clerkId
=
qdto
.
getClerkId
();
if
(
StringUtils
.
isEmpty
(
clerkId
))
{
return
RestResponse
.
failure
(
"9999"
,
"导购ID为空"
);
}
ClerkDTO
clerk
=
this
.
clerkService
.
getClerkByClerkId
(
clerkId
);
if
(
clerk
.
getClerkType
()
==
1
)
{
qdto
.
setClerkId
(
null
);
}
this
.
clerkService
.
getclerkById
(
clerkId
)
;
ServiceResponse
<
Page
<
OrderRefundExchangeListDTO
>>
resp
=
orderRefundApiService
.
refundExchangePage
(
qdto
);
return
RestResponse
.
successResult
(
resp
.
getResult
());
}
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/order/LogisticsController.java
View file @
a30239a0
...
...
@@ -2,7 +2,6 @@ package com.gic.haoban.manage.web.controller.order;
import
java.util.List
;
import
com.gic.business.order.dto.logistics.OrderLogisticsDTO
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
...
@@ -10,6 +9,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
com.gic.api.base.commons.ServiceResponse
;
import
com.gic.business.order.dto.logistics.OrderLogisticsDTO
;
import
com.gic.business.order.qdto.logistics.QueryLogisticsQDTO
;
import
com.gic.business.order.service.logistics.LogisticsApiService
;
import
com.gic.commons.util.EntityUtil
;
...
...
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