Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5b94f778
authored
Jul 07, 2026
by
renyizhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
应用订单列表搜索问题
parent
350f7d7e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
computility-module-apihub/computility-module-apihub-biz/src/main/java/com/luhu/computility/module/apihub/controller/admin/apiorder/vo/ApiOrderPageReqVO.java
+6
-0
computility-module-apihub/computility-module-apihub-biz/src/main/java/com/luhu/computility/module/apihub/dal/mysql/apiorder/ApiOrderMapper.java
+4
-1
No files found.
computility-module-apihub/computility-module-apihub-biz/src/main/java/com/luhu/computility/module/apihub/controller/admin/apiorder/vo/ApiOrderPageReqVO.java
View file @
5b94f778
...
@@ -17,6 +17,12 @@ public class ApiOrderPageReqVO extends PageParam {
...
@@ -17,6 +17,12 @@ public class ApiOrderPageReqVO extends PageParam {
@Schema
(
description
=
"下单用户ID"
,
example
=
"3895"
)
@Schema
(
description
=
"下单用户ID"
,
example
=
"3895"
)
private
Long
userId
;
private
Long
userId
;
@Schema
(
description
=
"手机号"
)
private
String
mobile
;
@Schema
(
description
=
"API应用名称"
)
private
String
apiName
;
@Schema
(
description
=
"购买的API ID"
,
example
=
"10347"
)
@Schema
(
description
=
"购买的API ID"
,
example
=
"10347"
)
private
Long
apiId
;
private
Long
apiId
;
...
...
computility-module-apihub/computility-module-apihub-biz/src/main/java/com/luhu/computility/module/apihub/dal/mysql/apiorder/ApiOrderMapper.java
View file @
5b94f778
...
@@ -62,14 +62,17 @@ public interface ApiOrderMapper extends BaseMapperX<ApiOrderDO> {
...
@@ -62,14 +62,17 @@ public interface ApiOrderMapper extends BaseMapperX<ApiOrderDO> {
.
selectAs
(
MemberUserDO:
:
getMobile
,
ApiOrderRespVO:
:
getUserMobile
)
.
selectAs
(
MemberUserDO:
:
getMobile
,
ApiOrderRespVO:
:
getUserMobile
)
.
leftJoin
(
MemberUserDO
.
class
,
MemberUserDO:
:
getId
,
ApiOrderDO:
:
getUserId
)
.
leftJoin
(
MemberUserDO
.
class
,
MemberUserDO:
:
getId
,
ApiOrderDO:
:
getUserId
)
.
eqIfPresent
(
ApiOrderDO:
:
getUserId
,
reqVO
.
getUserId
())
.
eqIfPresent
(
ApiOrderDO:
:
getUserId
,
reqVO
.
getUserId
())
.
likeIfPresent
(
MemberUserDO:
:
getMobile
,
reqVO
.
getMobile
())
.
eqIfPresent
(
ApiOrderDO:
:
getApiId
,
reqVO
.
getApiId
())
.
eqIfPresent
(
ApiOrderDO:
:
getApiId
,
reqVO
.
getApiId
())
.
likeIfPresent
(
ApiOrderDO:
:
getApiName
,
reqVO
.
getApiName
())
.
eqIfPresent
(
ApiOrderDO:
:
getPackageId
,
reqVO
.
getPackageId
())
.
eqIfPresent
(
ApiOrderDO:
:
getPackageId
,
reqVO
.
getPackageId
())
.
eq
IfPresent
(
ApiOrderDO:
:
getOrderNo
,
reqVO
.
getOrderNo
())
.
like
IfPresent
(
ApiOrderDO:
:
getOrderNo
,
reqVO
.
getOrderNo
())
.
eqIfPresent
(
ApiOrderDO:
:
getStatus
,
reqVO
.
getStatus
())
.
eqIfPresent
(
ApiOrderDO:
:
getStatus
,
reqVO
.
getStatus
())
.
eqIfPresent
(
ApiOrderDO:
:
getPayOrderId
,
reqVO
.
getPayOrderId
())
.
eqIfPresent
(
ApiOrderDO:
:
getPayOrderId
,
reqVO
.
getPayOrderId
())
.
betweenIfPresent
(
ApiOrderDO:
:
getPayTime
,
reqVO
.
getPayTime
())
.
betweenIfPresent
(
ApiOrderDO:
:
getPayTime
,
reqVO
.
getPayTime
())
.
eqIfPresent
(
ApiOrderDO:
:
getPayChannelCode
,
reqVO
.
getPayChannelCode
())
.
eqIfPresent
(
ApiOrderDO:
:
getPayChannelCode
,
reqVO
.
getPayChannelCode
())
.
betweenIfPresent
(
ApiOrderDO:
:
getCreateTime
,
reqVO
.
getCreateTime
())
.
betweenIfPresent
(
ApiOrderDO:
:
getCreateTime
,
reqVO
.
getCreateTime
())
.
orderByDesc
(
ApiOrderDO:
:
getCreateTime
)
.
orderByDesc
(
ApiOrderDO:
:
getId
));
.
orderByDesc
(
ApiOrderDO:
:
getId
));
}
}
...
...
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