Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
youjj
cloud-platform
Commits
c715836f
Commit
c715836f
authored
Jul 27, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
钱包
parent
ec8e6400
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
MyWalletCathBiz.java
...om/github/wxiaoqi/security/admin/biz/MyWalletCathBiz.java
+3
-1
WalletCathController.java
...hub/wxiaoqi/security/admin/rest/WalletCathController.java
+1
-1
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/MyWalletCathBiz.java
View file @
c715836f
...
@@ -40,7 +40,9 @@ public class MyWalletCathBiz extends BaseBiz<MyWalletCathMapper, MyWalletCath> {
...
@@ -40,7 +40,9 @@ public class MyWalletCathBiz extends BaseBiz<MyWalletCathMapper, MyWalletCath> {
Example
example
=
new
Example
(
MyWalletCath
.
class
);
Example
example
=
new
Example
(
MyWalletCath
.
class
);
Example
.
Criteria
criteria
=
example
.
createCriteria
();
Example
.
Criteria
criteria
=
example
.
createCriteria
();
criteria
.
andEqualTo
(
"stauts"
,
state
);
if
(
Objects
.
nonNull
(
state
))
{
criteria
.
andEqualTo
(
"stauts"
,
state
);
}
criteria
.
andEqualTo
(
"userId"
,
userId
);
criteria
.
andEqualTo
(
"userId"
,
userId
);
example
.
setOrderByClause
(
"crt_time DESC"
);
example
.
setOrderByClause
(
"crt_time DESC"
);
PageDataVO
<
MyWalletCath
>
walletCathPage
=
PageDataVO
.
pageInfo
(
pageNo
,
pageSize
,
()
->
mapper
.
selectByExample
(
example
));
PageDataVO
<
MyWalletCath
>
walletCathPage
=
PageDataVO
.
pageInfo
(
pageNo
,
pageSize
,
()
->
mapper
.
selectByExample
(
example
));
...
...
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/WalletCathController.java
View file @
c715836f
...
@@ -35,7 +35,7 @@ public class WalletCathController {
...
@@ -35,7 +35,7 @@ public class WalletCathController {
@ApiOperation
(
"提现记录列表"
)
@ApiOperation
(
"提现记录列表"
)
@GetMapping
(
"/page"
)
@GetMapping
(
"/page"
)
public
ObjectRestResponse
<
WalletCathPageVo
>
findWatchCatchByWithdrawalState
(
@RequestParam
(
"state"
)
Integer
state
,
public
ObjectRestResponse
<
WalletCathPageVo
>
findWatchCatchByWithdrawalState
(
@RequestParam
(
value
=
"state"
,
required
=
false
)
Integer
state
,
@RequestParam
(
"pageNo"
)
Integer
pageNo
,
@RequestParam
(
"pageNo"
)
Integer
pageNo
,
@RequestParam
(
"pageSize"
)
Integer
pageSize
,
@RequestParam
(
"pageSize"
)
Integer
pageSize
,
HttpServletRequest
request
)
{
HttpServletRequest
request
)
{
...
...
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