Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
isoft_psa
Project
Project
Details
Activity
Releases
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
王飞
isoft_psa
Commits
7906d6a0
Commit
7906d6a0
authored
Mar 17, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目费用报销-搜索
parent
7d36610d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
9 deletions
+13
-9
FyglProjectCostReimbursementController.java
...yi/controller/FyglProjectCostReimbursementController.java
+3
-4
FyglProjectCostReimbursementMapper.java
.../com/ruoyi/mapper/FyglProjectCostReimbursementMapper.java
+1
-1
IFyglProjectCostReimbursementService.java
...m/ruoyi/service/IFyglProjectCostReimbursementService.java
+1
-1
IFyglProjectCostReimbursementServiceImpl.java
...ervice/impl/IFyglProjectCostReimbursementServiceImpl.java
+2
-2
FyglProjectCostReimbursementMapper.xml
...tCostReimbursement/FyglProjectCostReimbursementMapper.xml
+6
-1
No files found.
ruoyi-psa/src/main/java/com/ruoyi/controller/FyglProjectCostReimbursementController.java
View file @
7906d6a0
...
@@ -23,15 +23,15 @@ public class FyglProjectCostReimbursementController extends BaseController {
...
@@ -23,15 +23,15 @@ public class FyglProjectCostReimbursementController extends BaseController {
private
IFyglProjectCostReimbursementService
reimbursementService
;
private
IFyglProjectCostReimbursementService
reimbursementService
;
//获取报销列表
//获取报销列表
@Anonymous
@GetMapping
(
"/getList"
)
@GetMapping
(
"/getList"
)
public
TableDataInfo
list
()
{
public
TableDataInfo
list
(
FyglProjectCostReimbursementDTO
ReimbursementDTO
)
{
startPage
();
startPage
();
List
<
FyglProjectCostReimbursementDTO
>
list
=
reimbursementService
.
getList
();
List
<
FyglProjectCostReimbursementDTO
>
list
=
reimbursementService
.
getList
(
ReimbursementDTO
);
return
getDataTable
(
list
);
return
getDataTable
(
list
);
}
}
//获取待报销列表
//获取待报销列表
@Anonymous
@GetMapping
(
"/approvestatus3List"
)
@GetMapping
(
"/approvestatus3List"
)
public
TableDataInfo
approvestatus3List
(
FyglProjectCostDTO
fyglProjectCostDTO
)
{
public
TableDataInfo
approvestatus3List
(
FyglProjectCostDTO
fyglProjectCostDTO
)
{
startPage
();
startPage
();
...
@@ -41,7 +41,6 @@ public class FyglProjectCostReimbursementController extends BaseController {
...
@@ -41,7 +41,6 @@ public class FyglProjectCostReimbursementController extends BaseController {
//根据项目id获取报销详情
//根据项目id获取报销详情
@Anonymous
@GetMapping
(
"/reimbursementDetail/{id}"
)
@GetMapping
(
"/reimbursementDetail/{id}"
)
public
AjaxResult
getDetail
(
@PathVariable
(
"id"
)
Integer
id
)
public
AjaxResult
getDetail
(
@PathVariable
(
"id"
)
Integer
id
)
{
{
...
...
ruoyi-psa/src/main/java/com/ruoyi/mapper/FyglProjectCostReimbursementMapper.java
View file @
7906d6a0
...
@@ -12,7 +12,7 @@ import java.util.List;
...
@@ -12,7 +12,7 @@ import java.util.List;
public
interface
FyglProjectCostReimbursementMapper
{
public
interface
FyglProjectCostReimbursementMapper
{
//列表
//列表
List
<
FyglProjectCostReimbursementDTO
>
getList
();
List
<
FyglProjectCostReimbursementDTO
>
getList
(
FyglProjectCostReimbursementDTO
ReimbursementDTO
);
//获取详情
//获取详情
public
FyglProjectCostReimbursementDTO
getDetail
(
Integer
id
);
public
FyglProjectCostReimbursementDTO
getDetail
(
Integer
id
);
...
...
ruoyi-psa/src/main/java/com/ruoyi/service/IFyglProjectCostReimbursementService.java
View file @
7906d6a0
...
@@ -7,7 +7,7 @@ import com.ruoyi.domain.vo.FyglDailyReimbursementVo;
...
@@ -7,7 +7,7 @@ import com.ruoyi.domain.vo.FyglDailyReimbursementVo;
import
java.util.List
;
import
java.util.List
;
public
interface
IFyglProjectCostReimbursementService
{
public
interface
IFyglProjectCostReimbursementService
{
List
<
FyglProjectCostReimbursementDTO
>
getList
();
List
<
FyglProjectCostReimbursementDTO
>
getList
(
FyglProjectCostReimbursementDTO
ReimbursementDTO
);
//获取详情
//获取详情
public
FyglProjectCostReimbursementDTO
getDetail
(
Integer
id
);
public
FyglProjectCostReimbursementDTO
getDetail
(
Integer
id
);
...
...
ruoyi-psa/src/main/java/com/ruoyi/service/impl/IFyglProjectCostReimbursementServiceImpl.java
View file @
7906d6a0
...
@@ -29,8 +29,8 @@ public class IFyglProjectCostReimbursementServiceImpl implements IFyglProjectCos
...
@@ -29,8 +29,8 @@ public class IFyglProjectCostReimbursementServiceImpl implements IFyglProjectCos
private
SerialNumberGenerator
serialNumberGenerator
;
private
SerialNumberGenerator
serialNumberGenerator
;
@Override
@Override
public
List
<
FyglProjectCostReimbursementDTO
>
getList
()
{
public
List
<
FyglProjectCostReimbursementDTO
>
getList
(
FyglProjectCostReimbursementDTO
ReimbursementDTO
)
{
return
reimbursementMapper
.
getList
();
return
reimbursementMapper
.
getList
(
ReimbursementDTO
);
}
}
//获取报销详情
//获取报销详情
...
...
ruoyi-psa/src/main/resources/mapper/FyglProjectCostReimbursement/FyglProjectCostReimbursementMapper.xml
View file @
7906d6a0
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
</insert>
</insert>
<select
id=
"getList"
resultMap=
"listDTO"
>
<select
id=
"getList"
resultMap=
"listDTO"
parameterType=
"com.ruoyi.domain.dto.FyglProjectCostReimbursementDTO"
>
SELECT
SELECT
p.project_number,
p.project_number,
r1.id,
r1.id,
...
@@ -70,6 +70,11 @@
...
@@ -70,6 +70,11 @@
fygl_project_cost_reimbursement r1
fygl_project_cost_reimbursement r1
LEFT JOIN fygl_project_cost_request r2 ON r2.id = r1.rid
LEFT JOIN fygl_project_cost_request r2 ON r2.id = r1.rid
LEFT JOIN project_manage p ON p.id = r2.project_id
LEFT JOIN project_manage p ON p.id = r2.project_id
<where>
<if
test=
"projectName != null and projectName != ''"
>
and p.project_name like concat('%',#{projectName},'%')
</if>
<if
test=
"projectType != null and projectType != ''"
>
and p.project_type = #{projectType}
</if>
<if
test=
"reimbursmentApproveStatus != null and reimbursmentApproveStatus != ''"
>
r1.reimbursment_approve_status = #{reimbursmentApproveStatus}
</if>
</where>
</select>
</select>
...
...
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