Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
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
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
huluobin
bailuntec-cost
Commits
fa870c0a
Commit
fa870c0a
authored
Aug 28, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加排序
parent
b4c93ca8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ApprovalHistoryServiceImpl.java
.../module/cost/service/impl/ApprovalHistoryServiceImpl.java
+2
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/ApprovalHistoryServiceImpl.java
View file @
fa870c0a
...
@@ -2,6 +2,7 @@ package com.blt.other.module.cost.service.impl;
...
@@ -2,6 +2,7 @@ package com.blt.other.module.cost.service.impl;
import
com.bailuntec.common.exception.BizException
;
import
com.bailuntec.common.exception.BizException
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.OrderItem
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.blt.other.module.cost.dao.ApprovalHistoryMapper
;
import
com.blt.other.module.cost.dao.ApprovalHistoryMapper
;
...
@@ -29,6 +30,7 @@ public class ApprovalHistoryServiceImpl extends ServiceImpl<ApprovalHistoryMappe
...
@@ -29,6 +30,7 @@ public class ApprovalHistoryServiceImpl extends ServiceImpl<ApprovalHistoryMappe
@Override
@Override
public
Page
<
ApprovalHistoryVo
>
getApprovalHistoryList
(
ApprovalHistoryReq
req
)
{
public
Page
<
ApprovalHistoryVo
>
getApprovalHistoryList
(
ApprovalHistoryReq
req
)
{
IPage
<
ApprovalHistoryVo
>
page
=
new
Page
<>(
req
.
getPageNum
(),
req
.
getPageSize
());
IPage
<
ApprovalHistoryVo
>
page
=
new
Page
<>(
req
.
getPageNum
(),
req
.
getPageSize
());
page
.
orders
().
add
(
OrderItem
.
desc
(
"id"
));
if
(
req
.
getStartTime
()
==
null
||
req
.
getEndTime
()
==
null
){
if
(
req
.
getStartTime
()
==
null
||
req
.
getEndTime
()
==
null
){
throw
new
BizException
(
"查询时间不可为空"
);
throw
new
BizException
(
"查询时间不可为空"
);
}
}
...
...
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