Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
ef64dfed
Commit
ef64dfed
authored
Aug 05, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
零时薪资单12
parent
e47da4ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
4 deletions
+28
-4
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
+10
-4
yd-api/src/main/java/com/yd/dal/mapper/practitioner/AgAclLifePractitionerSalaryMapper.java
+3
-0
yd-api/src/main/resources/mapper/practitioner/AgAclLifePractitionerSalaryMapper.xml
+15
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerBasicInfoServiceImpl.java
View file @
ef64dfed
...
@@ -801,12 +801,18 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
...
@@ -801,12 +801,18 @@ public class PractitionerBasicInfoServiceImpl implements PractitionerBasicInfoSe
if
(
null
!=
item
.
getAmount
())
{
if
(
null
!=
item
.
getAmount
())
{
abc
=
abc
.
add
(
item
.
getAmount
());
abc
=
abc
.
add
(
item
.
getAmount
());
}
}
if
(
null
!=
item
.
getTax
())
{
d
=
d
.
add
(
item
.
getTax
());
}
}
}
responseVO
.
setAbc
(
abc
.
toString
());
responseVO
.
setAbc
(
abc
.
toString
());
responseVO
.
setD
(
d
.
toString
());
// 税额
AgAclLifePractitionerSalary
lifePractitionerSalary
=
new
AgAclLifePractitionerSalary
();
lifePractitionerSalary
.
setPractitionerId
(
practitionerId
);
lifePractitionerSalary
.
setYearMonth
(
payoutYearmonth
);
List
<
AgAclLifePractitionerSalary
>
agAclLifePractitionerSalarylist
=
practitionerSalaryMapper
.
queryByRecord
(
lifePractitionerSalary
);
if
(
CollectionUtils
.
isNotEmpty
(
agAclLifePractitionerSalarylist
))
{
responseVO
.
setD
(
agAclLifePractitionerSalarylist
.
get
(
0
).
getTaxoutAmount
().
toString
());
}
// 本期实领
// 本期实领
BigDecimal
abc_d
=
abc
.
subtract
(
d
);
BigDecimal
abc_d
=
abc
.
subtract
(
d
);
// list
// list
...
...
yd-api/src/main/java/com/yd/dal/mapper/practitioner/AgAclLifePractitionerSalaryMapper.java
View file @
ef64dfed
...
@@ -21,4 +21,6 @@ public interface AgAclLifePractitionerSalaryMapper {
...
@@ -21,4 +21,6 @@ public interface AgAclLifePractitionerSalaryMapper {
List
<
AgAclLifePractitionerSalary
>
queryListByPractitionerId
(
Long
practitionerId
);
List
<
AgAclLifePractitionerSalary
>
queryListByPractitionerId
(
Long
practitionerId
);
List
<
AgAclLifePractitionerSalary
>
queryListByPractitionerIdAndIsbasic
(
@Param
(
"practitionerId"
)
Long
practitionerId
,
@Param
(
"isBasic"
)
Integer
isBasic
);
List
<
AgAclLifePractitionerSalary
>
queryListByPractitionerIdAndIsbasic
(
@Param
(
"practitionerId"
)
Long
practitionerId
,
@Param
(
"isBasic"
)
Integer
isBasic
);
List
<
AgAclLifePractitionerSalary
>
queryByRecord
(
AgAclLifePractitionerSalary
lifePractitionerSalary
);
}
}
\ No newline at end of file
yd-api/src/main/resources/mapper/practitioner/AgAclLifePractitionerSalaryMapper.xml
View file @
ef64dfed
...
@@ -134,4 +134,18 @@
...
@@ -134,4 +134,18 @@
where practitioner_id = #{practitionerId,jdbcType=BIGINT}
where practitioner_id = #{practitionerId,jdbcType=BIGINT}
and is_basic = #{isBasic,jdbcType=BIGINT}
and is_basic = #{isBasic,jdbcType=BIGINT}
</select>
</select>
<select
id=
"queryByRecord"
resultMap=
"BaseResultMap"
>
select * from ag_acl_life_practitioner_salary
where is_basic=1
<if
test=
"practitionerId != null"
>
and practitioner_id = #{practitionerId,jdbcType=BIGINT},
</if>
<if
test=
"practitionerCode != null"
>
and practitioner_code = #{practitionerCode,jdbcType=VARCHAR},
</if>
<if
test=
"yearMonth != null"
>
and `year_month` = #{yearMonth,jdbcType=VARCHAR},
</if>
</select>
</mapper>
</mapper>
\ No newline at end of file
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