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
25cfe3da
Commit
25cfe3da
authored
Jan 16, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 费用系统 搜索页面
parent
0e3bc819
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+3
-1
Cost.xml
cost-service/src/main/resources/mapper/Cost.xml
+4
-4
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
25cfe3da
...
...
@@ -414,7 +414,9 @@ public abstract class AbstractCostService implements CostService {
if
(
userDomain
.
getIsadmin
()
>
0
||
userDomain
.
getIsfinansys
()
>
0
)
{
req
.
setCreateUserid
(
null
);
}
return
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
());
return
page
;
}
@Resource
...
...
cost-service/src/main/resources/mapper/Cost.xml
View file @
25cfe3da
...
...
@@ -297,7 +297,7 @@
from cost t1
left join cost_current_reviewer t2 on t1.cost_no = t2.cost_no
WHERE
t
1.cost_status >= 1
t
rue
<if
test=
" req.costForm!=null and req.costForm != ''"
>
and t1.cost_form= #{req.costForm}
</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>
...
...
@@ -316,8 +316,9 @@
<if
test=
" req.projectTypes!=null and req.projectTypes != ''"
>
and
find_in_set(t1.project_type,#{req.projectTypes})
</if>
and (false or
<if
test=
" req.keys!=null and req.keys.size()>0 "
>
and (false
<foreach
collection=
"req.keys"
item=
"key"
index=
"index"
>
<if
test=
"key != null and key != '' "
>
or t1.cost_plan_no = #{key}
...
...
@@ -344,9 +345,8 @@
or t1.bank_card_user LIKE CONCAT('%',#{key},'%')
</if>
</foreach>
)
</if>
)
group by t1.id
group by t1.id
ORDER BY
t1.id DESC
...
...
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