Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-staff
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d6a2d68c
authored
Feb 04, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:优化代码,添加排序
1 parent
fbf7fd0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/java/cn/com/glsx/dj/staff/controller/performance/MerchantBrandController.java
src/main/java/cn/com/glsx/dj/staff/controller/performance/MerchantBrandController.java
View file @
d6a2d68
package
cn
.
com
.
glsx
.
dj
.
staff
.
controller
.
performance
;
import
cn.com.glsx.dj.smartcarlife.dto.ServiceMerchantPageWithBrandDTO
;
import
cn.com.glsx.dj.smartcarlife.remote.S
erviceMerchant
Remote
;
import
cn.com.glsx.dj.smartcarlife.remote.S
ceneMerchantRef
Remote
;
import
cn.com.glsx.dj.staff.request.performance.MerchantBrandSelectRequest
;
import
cn.com.glsx.dj.staff.util.CommonUtil
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
...
...
@@ -21,7 +21,7 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
public
class
MerchantBrandController
{
@Autowired
private
S
erviceMerchantRemote
serviceMerchant
Remote
;
private
S
ceneMerchantRefRemote
sceneMerchantRef
Remote
;
@ApiOperation
(
"门店品牌(d+系统中的全部门店+园区店商户品牌)列表查询"
)
@ServiceMethod
(
method
=
"dj.staff.api.service.merchant.page.with.brand"
,
needInSession
=
NeedInSessionType
.
YES
)
...
...
@@ -30,7 +30,7 @@ public class MerchantBrandController {
RpcPagination
<
ServiceMerchantPageWithBrandDTO
>
pagination
=
CommonUtil
.
getRpcPagination
(
ServiceMerchantPageWithBrandDTO
.
class
);
ServiceMerchantPageWithBrandDTO
condition
=
CommonUtil
.
convertRequest
(
ServiceMerchantPageWithBrandDTO
.
class
);
pagination
.
setCondition
(
condition
);
RpcResponse
<
RpcPagination
<
ServiceMerchantPageWithBrandDTO
>>
page
=
s
erviceMerchant
Remote
.
pageListMerchantWithBrand
(
pagination
);
RpcResponse
<
RpcPagination
<
ServiceMerchantPageWithBrandDTO
>>
page
=
s
ceneMerchantRef
Remote
.
pageListMerchantWithBrand
(
pagination
);
return
CommonUtil
.
convertRopResponse
(
page
);
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment