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
13fd12da
Commit
13fd12da
authored
Sep 25, 2021
by
liyanlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
总经办待审核列表
parent
17c32534
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
0 deletions
+18
-0
CostDao.java
.../src/main/java/com/blt/other/module/cost/dao/CostDao.java
+4
-0
AbstractCostService.java
...er/module/cost/service/impl/cost/AbstractCostService.java
+4
-0
Cost.xml
cost-service/src/main/resources/mapper/Cost.xml
+10
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/dao/CostDao.java
View file @
13fd12da
...
@@ -62,6 +62,10 @@ public interface CostDao extends BaseMapper<CostDomain> {
...
@@ -62,6 +62,10 @@ public interface CostDao extends BaseMapper<CostDomain> {
IPage
<
CostDomain
>
hrCheckCostList
(
@Param
(
"page"
)
IPage
<
CostDomain
>
page
,
IPage
<
CostDomain
>
hrCheckCostList
(
@Param
(
"page"
)
IPage
<
CostDomain
>
page
,
@Param
(
"req"
)
CheckCostListReq
req
);
@Param
(
"req"
)
CheckCostListReq
req
);
//管理后台 需要我总经办审核费用列表查询
IPage
<
CostDomain
>
generalManagerCheckCostList
(
@Param
(
"page"
)
IPage
<
CostDomain
>
page
,
@Param
(
"req"
)
CheckCostListReq
req
);
//小程序审核列表查询
//小程序审核列表查询
Page
<
CostDomain
>
appCheckCostList
(
@Param
(
"page"
)
IPage
<
CostDomain
>
page
,
Page
<
CostDomain
>
appCheckCostList
(
@Param
(
"page"
)
IPage
<
CostDomain
>
page
,
@Param
(
"req"
)
AppCheckCostListReq
req
);
@Param
(
"req"
)
AppCheckCostListReq
req
);
...
...
cost-service/src/main/java/com/blt/other/module/cost/service/impl/cost/AbstractCostService.java
View file @
13fd12da
...
@@ -305,6 +305,10 @@ public abstract class AbstractCostService implements CostService {
...
@@ -305,6 +305,10 @@ public abstract class AbstractCostService implements CostService {
if
(
req
.
getType
().
equals
(
3
))
{
if
(
req
.
getType
().
equals
(
3
))
{
return
costDao
.
hrCheckCostList
(
page
,
req
).
convert
(
CostDomain:
:
castToDto
);
return
costDao
.
hrCheckCostList
(
page
,
req
).
convert
(
CostDomain:
:
castToDto
);
}
}
//需要总经办审核
if
(
req
.
getType
().
equals
(
4
))
{
return
costDao
.
generalManagerCheckCostList
(
page
,
req
).
convert
(
CostDomain:
:
castToDto
);
}
throw
new
BizRuntimeException
(
"invalid param"
);
throw
new
BizRuntimeException
(
"invalid param"
);
}
}
...
...
cost-service/src/main/resources/mapper/Cost.xml
View file @
13fd12da
...
@@ -269,6 +269,16 @@
...
@@ -269,6 +269,16 @@
<include
refid=
"checkCostListSearch"
/>
<include
refid=
"checkCostListSearch"
/>
</select>
</select>
<!--需要我人事审核的-->
<select
id=
"generalManagerCheckCostList"
resultType=
"com.blt.other.module.cost.model.CostDomain"
>
select t1.*
from cost t1
left join cost_current_reviewer t3 on t1.cost_no = t3.cost_no and t3.oa_user_id = #{req.userid}
where t1.cost_status = 10
and t3.id is not null
<include
refid=
"checkCostListSearch"
/>
</select>
<select
id=
"selectByStatus"
resultType=
"com.blt.other.module.cost.model.CostDomain"
>
<select
id=
"selectByStatus"
resultType=
"com.blt.other.module.cost.model.CostDomain"
>
select *
select *
from cost
from cost
...
...
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