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
cf4c75e6
Commit
cf4c75e6
authored
Jan 16, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 费用系统 搜索页面
parent
3dc74b0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+8
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
cf4c75e6
...
@@ -15,6 +15,7 @@ import com.blt.other.common.util.CurUtils;
...
@@ -15,6 +15,7 @@ import com.blt.other.common.util.CurUtils;
import
com.blt.other.common.util.SessionUtils
;
import
com.blt.other.common.util.SessionUtils
;
import
com.blt.other.database.model.CostApplycallbackDomain
;
import
com.blt.other.database.model.CostApplycallbackDomain
;
import
com.blt.other.database.model.CostCashiercallbackDomain
;
import
com.blt.other.database.model.CostCashiercallbackDomain
;
import
com.blt.other.database.model.UserDomain
;
import
com.blt.other.module.auth.dao.OaDepartmentMapper
;
import
com.blt.other.module.auth.dao.OaDepartmentMapper
;
import
com.blt.other.module.auth.dao.OaUserMapper
;
import
com.blt.other.module.auth.dao.OaUserMapper
;
import
com.blt.other.module.auth.model.OaDepartment
;
import
com.blt.other.module.auth.model.OaDepartment
;
...
@@ -406,6 +407,13 @@ public abstract class AbstractCostService implements CostService {
...
@@ -406,6 +407,13 @@ public abstract class AbstractCostService implements CostService {
@Override
@Override
public
Page
<
CostDomain
>
queryPage
(
CostQueryPageReq
req
)
{
public
Page
<
CostDomain
>
queryPage
(
CostQueryPageReq
req
)
{
if
(
com
.
bailuntec
.
common
.
StringUtils
.
isNotEmpty
(
req
.
getKey
()))
{
req
.
setKeys
(
Lists
.
newArrayList
(
req
.
getKey
().
split
(
","
)));
}
UserDomain
userDomain
=
userService
.
findByUserid
(
req
.
getCreateUserid
());
if
(
userDomain
.
getIsadmin
()
>
0
||
userDomain
.
getIsfinansys
()
>
0
)
{
req
.
setCreateUserid
(
null
);
}
return
costDao
.
queryPage
(
new
Page
<>(
req
.
getPageNum
(),
req
.
getPageSize
()),
req
);
return
costDao
.
queryPage
(
new
Page
<>(
req
.
getPageNum
(),
req
.
getPageSize
()),
req
);
}
}
...
...
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