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
305f7635
Commit
305f7635
authored
Jan 19, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# fee
parent
f247ea9a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+2
-2
Cost.xml
cost-service/src/main/resources/mapper/Cost.xml
+1
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
305f7635
...
@@ -412,9 +412,9 @@ public abstract class AbstractCostService implements CostService {
...
@@ -412,9 +412,9 @@ public abstract class AbstractCostService implements CostService {
if
(
com
.
bailuntec
.
common
.
StringUtils
.
isNotEmpty
(
req
.
getKey
()))
{
if
(
com
.
bailuntec
.
common
.
StringUtils
.
isNotEmpty
(
req
.
getKey
()))
{
req
.
setKeys
(
Lists
.
newArrayList
(
req
.
getKey
().
split
(
","
)));
req
.
setKeys
(
Lists
.
newArrayList
(
req
.
getKey
().
split
(
","
)));
}
}
UserDomain
userDomain
=
userService
.
findByUserid
(
req
.
getCreateUseri
d
());
UserDomain
userDomain
=
userService
.
findByUserid
(
(
Integer
)
req
.
getCurrentUserI
d
());
if
(
userDomain
.
getIsadmin
()
>
0
||
userDomain
.
getIsfinansys
()
>
0
)
{
if
(
userDomain
.
getIsadmin
()
>
0
||
userDomain
.
getIsfinansys
()
>
0
)
{
req
.
setC
reateUseri
d
(
null
);
req
.
setC
urrentUserI
d
(
null
);
}
}
Page
<
CostDomain
>
page
=
costDao
.
queryPage
(
new
Page
<>(
req
.
getPageNum
(),
req
.
getPageSize
()),
req
);
Page
<
CostDomain
>
page
=
costDao
.
queryPage
(
new
Page
<>(
req
.
getPageNum
(),
req
.
getPageSize
()),
req
);
this
.
setPrimaryDepartment
(
page
.
getRecords
());
this
.
setPrimaryDepartment
(
page
.
getRecords
());
...
...
cost-service/src/main/resources/mapper/Cost.xml
View file @
305f7635
...
@@ -310,6 +310,7 @@
...
@@ -310,6 +310,7 @@
<if
test=
" req.isLend!=null and req.isLend != ''"
>
and t1.is_lend=#{req.isLend}
</if>
<if
test=
" req.isLend!=null and req.isLend != ''"
>
and t1.is_lend=#{req.isLend}
</if>
<if
test=
" req.companyNo!=null and req.companyNo != ''"
>
and t1.company_no=#{req.companyNo}
</if>
<if
test=
" req.companyNo!=null and req.companyNo != ''"
>
and t1.company_no=#{req.companyNo}
</if>
<if
test=
" req.createUserid!=null "
>
and t1.create_userid=#{req.createUserid}
</if>
<if
test=
" req.createUserid!=null "
>
and t1.create_userid=#{req.createUserid}
</if>
<if
test=
" req.currentUserId!=null "
>
and t1.create_userid=#{req.currentUserId}
</if>
<if
test=
" req.costStatus!=null "
>
and find_in_set(t1.cost_status,#{req.costStatus})
</if>
<if
test=
" req.costStatus!=null "
>
and find_in_set(t1.cost_status,#{req.costStatus})
</if>
<if
test=
" req.lendStatus!=null "
>
and t1.lend_status=#{req.lendStatus}
</if>
<if
test=
" req.lendStatus!=null "
>
and t1.lend_status=#{req.lendStatus}
</if>
<if
test=
" req.isTax!=null "
>
and t1.is_tax=#{req.isTax}
</if>
<if
test=
" req.isTax!=null "
>
and t1.is_tax=#{req.isTax}
</if>
...
...
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