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
441b812c
Commit
441b812c
authored
Mar 24, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日常报销修改
parent
f2dfe881
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
FyglDailyReimbursementServiceImpl.java
...ruoyi/service/impl/FyglDailyReimbursementServiceImpl.java
+1
-0
FyglDailyReimbursementMapper.xml
...apper/dailyReimbursement/FyglDailyReimbursementMapper.xml
+15
-7
No files found.
ruoyi-psa/src/main/java/com/ruoyi/service/impl/FyglDailyReimbursementServiceImpl.java
View file @
441b812c
...
@@ -108,6 +108,7 @@ public class FyglDailyReimbursementServiceImpl implements IFyglDailyReimbursemen
...
@@ -108,6 +108,7 @@ public class FyglDailyReimbursementServiceImpl implements IFyglDailyReimbursemen
// int i1 = fyglDailyReimbursementMapper.insertFyglDailyReimbursement(fyglDailyReimbursement);
// int i1 = fyglDailyReimbursementMapper.insertFyglDailyReimbursement(fyglDailyReimbursement);
//第二层表
//第二层表
fyglDailyReimbursement
.
setStatus
(
2
);
fyglDailyReimbursement
.
setStatus
(
2
);
fyglDailyReimbursement
.
setRegistrationTime
(
DateUtils
.
getNowDate
());
fyglDailyReimbursement
.
setRegistrationTime
(
DateUtils
.
getNowDate
());
System
.
out
.
println
();
System
.
out
.
println
();
int
i2
=
fyglDailyReimbursementMapper
.
insertFyglDailyReimbursement2
(
fyglDailyReimbursement
);
int
i2
=
fyglDailyReimbursementMapper
.
insertFyglDailyReimbursement2
(
fyglDailyReimbursement
);
...
...
ruoyi-psa/src/main/resources/mapper/dailyReimbursement/FyglDailyReimbursementMapper.xml
View file @
441b812c
...
@@ -92,9 +92,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -92,9 +92,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT
SELECT
r1.id,
r1.id,
r1.serial_number,
r1.serial_number,
r1.create_time,
r1.update_time,
r1.reimbursement,
r1.reimbursement,
r2.create_by,
r2.update_time,
p.project_name,
p.project_name,
p.project_number,
p.project_number,
p.project_type,
p.project_type,
...
@@ -102,12 +102,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -102,12 +102,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
(SELECT u.user_name FROM sys_user u WHERE u.user_id = p.department_leader_id) AS depart_name
(SELECT u.user_name FROM sys_user u WHERE u.user_id = p.department_leader_id) AS depart_name
FROM
FROM
fygl_daily_rembursement_relevancy_r r1,
fygl_daily_rembursement_relevancy_r r1,
fygl_daily_reimbursement r2,
project_manage p
project_manage p
WHERE
WHERE
r1.id = #{id}
r1.id = #{id}
AND r1.did = r2.id
AND p.id = r1.project_id
AND p.id = r2.project_id
</select>
</select>
<select
id=
"getItemList"
resultType=
"com.ruoyi.domain.dto.FyglDailyReimbursementTableItemDTO"
>
<select
id=
"getItemList"
resultType=
"com.ruoyi.domain.dto.FyglDailyReimbursementTableItemDTO"
>
...
@@ -201,7 +199,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -201,7 +199,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"accessory != null"
>
accessory,
</if>
<if
test=
"accessory != null"
>
accessory,
</if>
<if
test=
"serialNumber != null"
>
serial_number,
</if>
<if
test=
"serialNumber != null"
>
serial_number,
</if>
<if
test=
"registrationTime != null"
>
registration_time,
</if>
<if
test=
"registrationTime != null"
>
registration_time,
</if>
<if
test=
"reimbursement != null"
>
reimbursement
</if>
<if
test=
"reimbursement != null"
>
reimbursement
<if
test=
"createBy != null"
>
create_by,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"updateBy != null"
>
update_by,
</if>
<if
test=
"updateTime != null"
>
update_time,
</if>
<if
test=
"remark != null"
>
remark
</if></if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"projectId != null"
>
#{projectId},
</if>
<if
test=
"projectId != null"
>
#{projectId},
</if>
...
@@ -209,7 +212,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -209,7 +212,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"accessory != null"
>
#{accessory},
</if>
<if
test=
"accessory != null"
>
#{accessory},
</if>
<if
test=
"serialNumber != null"
>
#{serialNumber},
</if>
<if
test=
"serialNumber != null"
>
#{serialNumber},
</if>
<if
test=
"registrationTime != null"
>
#{registrationTime},
</if>
<if
test=
"registrationTime != null"
>
#{registrationTime},
</if>
<if
test=
"reimbursement != null"
>
#{reimbursement}
</if>
<if
test=
"reimbursement != null"
>
#{reimbursement}
<if
test=
"createBy != null"
>
#{createBy},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"updateBy != null"
>
#{updateBy},
</if>
<if
test=
"updateTime != null"
>
#{updateTime},
</if>
<if
test=
"remark != null"
>
#{remark}
</if></if>
</trim>
</trim>
</insert>
</insert>
<insert
id=
"insertFyglDailyReimbursement3"
>
<insert
id=
"insertFyglDailyReimbursement3"
>
...
...
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