Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
9bc5b78d
Commit
9bc5b78d
authored
Dec 14, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.2' into MVP1.2
parents
69b10916
de69e136
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
1 deletion
+26
-1
TSalaryAccount.java
...yifu/cloud/plus/v1/yifu/salary/entity/TSalaryAccount.java
+5
-0
TSpecialDeducationSum.java
...oud/plus/v1/yifu/salary/entity/TSpecialDeducationSum.java
+9
-0
SalaryUploadServiceImpl.java
.../v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
+4
-0
SalaryConstants.java
.../yifu/cloud/plus/v1/yifu/salary/util/SalaryConstants.java
+3
-0
TSalaryAccountMapper.xml
...ry-biz/src/main/resources/mapper/TSalaryAccountMapper.xml
+3
-1
TSpecialDeducationSumMapper.xml
...src/main/resources/mapper/TSpecialDeducationSumMapper.xml
+2
-0
No files found.
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/entity/TSalaryAccount.java
View file @
9bc5b78d
...
...
@@ -505,6 +505,11 @@ public class TSalaryAccount extends BaseEntity {
@ExcelProperty
(
value
=
"累计3岁以下婴幼儿照护"
)
private
BigDecimal
sumBabyMoney
;
@ExcelAttribute
(
name
=
"累计个人养老金"
,
isFloat
=
true
,
max
=
"999999999.99"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"累计个人养老金"
)
private
BigDecimal
sumPrivatePension
;
@ExcelAttribute
(
name
=
"年终奖单独扣税税费"
,
isFloat
=
true
,
max
=
"999999999.99"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"年终奖单独扣税税费"
)
...
...
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/entity/TSpecialDeducationSum.java
View file @
9bc5b78d
...
...
@@ -188,6 +188,15 @@ public class TSpecialDeducationSum extends BaseEntity {
@ExcelProperty
(
value
=
"累计婴幼儿照护费用"
)
private
BigDecimal
sumBabyMoney
;
/**
* 累计个人养老金
* hgw 2022-12-13 17:15:48 樊青青提的需求
*/
@ExcelAttribute
(
name
=
"累计个人养老金"
,
isFloat
=
true
,
max
=
"999999999.99"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"累计个人养老金"
)
private
BigDecimal
sumPrivatePension
;
/**
* 企业(职业)年金
*/
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
View file @
9bc5b78d
...
...
@@ -687,6 +687,10 @@ public class SalaryUploadServiceImpl extends ServiceImpl<TSalaryStandardMapper,
sdSum
=
sdSum
.
add
(
this
.
saveNewItems
(
saiList
,
SalaryConstants
.
SUM_BABY_MONEY
,
SalaryConstants
.
SUM_BABY_MONEY_JAVA
,
sds
.
getSumBabyMoney
(),
CommonConstants
.
ZERO_INT
));
a
.
setSumBabyMoney
(
sds
.
getSumBabyMoney
());
//累计个人养老
sdSum
=
sdSum
.
add
(
this
.
saveNewItems
(
saiList
,
SalaryConstants
.
SUM_PRIVATE_PENSION
,
SalaryConstants
.
SUM_PRIVATE_PENSION_JAVA
,
sds
.
getSumPrivatePension
(),
CommonConstants
.
ZERO_INT
));
a
.
setSumBabyMoney
(
sds
.
getSumBabyMoney
());
//累计专项扣除总额
this
.
saveNewItems
(
saiList
,
SalaryConstants
.
SPECIAL_DEDU_MONEY_SUM
,
SalaryConstants
.
SPECIAL_DEDU_MONEY_SUM_JAVA
,
sdSum
,
CommonConstants
.
ZERO_INT
);
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/util/SalaryConstants.java
View file @
9bc5b78d
...
...
@@ -131,6 +131,9 @@ public class SalaryConstants {
//累计婴幼儿照护费用
public
static
final
String
SUM_BABY_MONEY
=
"累计婴幼儿照护费用"
;
public
static
final
String
SUM_BABY_MONEY_JAVA
=
"sumBabyMoney"
;
//累计个人养老金
public
static
final
String
SUM_PRIVATE_PENSION
=
"累计个人养老金"
;
public
static
final
String
SUM_PRIVATE_PENSION_JAVA
=
"sumPrivatePension"
;
public
static
final
String
ANNUAL_BONUS_TAX
=
"年终奖单独扣税"
;
//年终奖扣税
...
...
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TSalaryAccountMapper.xml
View file @
9bc5b78d
...
...
@@ -91,6 +91,7 @@
<result
property=
"sumSupportElderlyMoney"
column=
"SUM_SUPPORT_ELDERLY_MONEY"
/>
<result
property=
"sumContinuingEducationMoney"
column=
"SUM_CONTINUING_EDUCATION_MONEY"
/>
<result
property=
"sumBabyMoney"
column=
"SUM_BABY_MONEY"
/>
<result
property=
"sumPrivatePension"
column=
"SUM_PRIVATE_PENSION"
/>
</resultMap>
...
...
@@ -235,7 +236,8 @@
a.SUM_HOUSING_RENT_MONEY,
a.SUM_SUPPORT_ELDERLY_MONEY,
a.SUM_CONTINUING_EDUCATION_MONEY,
a.SUM_BABY_MONEY
a.SUM_BABY_MONEY,
a.SUM_PRIVATE_PENSION
</sql>
<sql
id=
"tSalaryAccount_where"
>
<if
test=
"tSalaryAccount != null"
>
...
...
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TSpecialDeducationSumMapper.xml
View file @
9bc5b78d
...
...
@@ -28,6 +28,7 @@
<result
property=
"sumSupportElderlyMoney"
column=
"SUM_SUPPORT_ELDERLY_MONEY"
/>
<result
property=
"sumContinuingEducationMoney"
column=
"SUM_CONTINUING_EDUCATION_MONEY"
/>
<result
property=
"sumBabyMoney"
column=
"SUM_BABY_MONEY"
/>
<result
property=
"sumPrivatePension"
column=
"SUM_PRIVATE_PENSION"
/>
<result
property=
"enterpriseAnnuity"
column=
"ENTERPRISE_ANNUITY"
/>
<result
property=
"takingRisks"
column=
"TAKING_RISKS"
/>
<result
property=
"taxDeferredInsurance"
column=
"TAX_DEFERRED_INSURANCE"
/>
...
...
@@ -64,6 +65,7 @@
SUM_SUPPORT_ELDERLY_MONEY,
SUM_CONTINUING_EDUCATION_MONEY,
SUM_BABY_MONEY,
SUM_PRIVATE_PENSION,
ENTERPRISE_ANNUITY,
TAKING_RISKS,
TAX_DEFERRED_INSURANCE,
...
...
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