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
901ad65d
Commit
901ad65d
authored
Mar 17, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目费用报销-删除
parent
4b98d3df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
FyglTravelOnBusinessDTO.java
...in/java/com/ruoyi/domain/dto/FyglTravelOnBusinessDTO.java
+23
-0
FyglProjectCostReimbursementMapper.xml
...tCostReimbursement/FyglProjectCostReimbursementMapper.xml
+3
-3
No files found.
ruoyi-psa/src/main/java/com/ruoyi/domain/dto/FyglTravelOnBusinessDTO.java
0 → 100644
View file @
901ad65d
package
com
.
ruoyi
.
domain
.
dto
;
import
com.ruoyi.common.core.domain.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* 费用管理-差旅报销
* @TableName fygl_travel_on_business
*/
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
public
class
FyglTravelOnBusinessDTO
extends
BaseEntity
{
private
Integer
id
;
private
String
project_number
;
private
String
projectName
;
private
String
projectType
;
private
String
travelAddress
;
private
String
travelCause
;
private
Double
amount
;
private
String
userName
;
private
Integer
status
;
}
\ No newline at end of file
ruoyi-psa/src/main/resources/mapper/FyglProjectCostReimbursement/FyglProjectCostReimbursementMapper.xml
View file @
901ad65d
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
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>
<where>
p
.del_flag = 0
r1
.del_flag = 0
<if
test=
"projectName != null and projectName != ''"
>
and p.project_name like concat('%',#{projectName},'%')
</if>
<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=
"projectType != null and projectType != ''"
>
and p.project_type = #{projectType}
</if>
<if
test=
"reimbursmentApproveStatus != null and reimbursmentApproveStatus != ''"
>
r1.reimbursment_approve_status = #{reimbursmentApproveStatus}
</if>
<if
test=
"reimbursmentApproveStatus != null and reimbursmentApproveStatus != ''"
>
r1.reimbursment_approve_status = #{reimbursmentApproveStatus}
</if>
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
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
left join sys_user u on u.user_id = p.department_leader_id
left join sys_user u on u.user_id = p.department_leader_id
where r1.id = #{id} and
p
.del_flag = 0
where r1.id = #{id} and
r1
.del_flag = 0
</select>
</select>
<resultMap
type=
"com.ruoyi.domain.dto.FyglProjectCostDTO"
id=
"list1DTO"
>
<resultMap
type=
"com.ruoyi.domain.dto.FyglProjectCostDTO"
id=
"list1DTO"
>
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
LEFT JOIN sys_user u ON u.user_id = p.department_leader_id
LEFT JOIN sys_user u ON u.user_id = p.department_leader_id
<where>
<where>
and fp.approve_status = 3
and p.del_flag = 0
and fp.approve_status = 3
<if
test=
"projectName != null and projectName != ''"
>
and p.project_name LIKE CONCAT('%',#{projectName},'%')
</if>
<if
test=
"projectName != null and projectName != ''"
>
and p.project_name LIKE CONCAT('%',#{projectName},'%')
</if>
<if
test=
"projectNumber != null and projectNumber != ''"
>
and p.project_number = #{projectNumber}
</if>
<if
test=
"projectNumber != null and projectNumber != ''"
>
and p.project_number = #{projectNumber}
</if>
<if
test=
"userId != null and userId != ''"
>
and u.user_id = #{userId}
</if>
<if
test=
"userId != null and userId != ''"
>
and u.user_id = #{userId}
</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