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
59819638
Commit
59819638
authored
Jul 31, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
花名册修改
parent
f9de1200
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
12 deletions
+22
-12
TDispatchSocialPersionReduceExportVo.java
.../yifu/social/vo/TDispatchSocialPersionReduceExportVo.java
+7
-0
CustomCellWriteWidthTwoConfig.java
.../v1/yifu/social/config/CustomCellWriteWidthTwoConfig.java
+6
-5
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+7
-7
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+2
-0
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchSocialPersionReduceExportVo.java
View file @
59819638
...
@@ -132,6 +132,13 @@ public class TDispatchSocialPersionReduceExportVo implements Serializable {
...
@@ -132,6 +132,13 @@ public class TDispatchSocialPersionReduceExportVo implements Serializable {
@ExcelAttribute
(
name
=
"停薪留职"
)
@ExcelAttribute
(
name
=
"停薪留职"
)
@ExcelProperty
(
"停薪留职"
)
@ExcelProperty
(
"停薪留职"
)
private
String
typeH
;
private
String
typeH
;
/**
* 合同期满
*/
@Schema
(
description
=
"合同期满"
)
@ExcelAttribute
(
name
=
"合同期满"
)
@ExcelProperty
(
"合同期满"
)
private
String
typeZ
;
/**
/**
* 解除合同
* 解除合同
*/
*/
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/config/CustomCellWriteWidthTwoConfig.java
View file @
59819638
...
@@ -26,7 +26,7 @@ public class CustomCellWriteWidthTwoConfig extends AbstractColumnWidthStyleStrat
...
@@ -26,7 +26,7 @@ public class CustomCellWriteWidthTwoConfig extends AbstractColumnWidthStyleStrat
//要求将当前列的列宽设置为33英寸,理论值应该是33×256=8448,
//要求将当前列的列宽设置为33英寸,理论值应该是33×256=8448,
//但是这里的设值是8648,具体原因请看下面的计算逻辑
//但是这里的设值是8648,具体原因请看下面的计算逻辑
sheet
.
setColumnWidth
(
0
,
1000
);
sheet
.
setColumnWidth
(
0
,
1000
);
sheet
.
setColumnWidth
(
1
,
4
000
);
sheet
.
setColumnWidth
(
1
,
3
000
);
sheet
.
setColumnWidth
(
3
,
5000
);
sheet
.
setColumnWidth
(
3
,
5000
);
sheet
.
setColumnWidth
(
5
,
1000
);
sheet
.
setColumnWidth
(
5
,
1000
);
sheet
.
setColumnWidth
(
6
,
1000
);
sheet
.
setColumnWidth
(
6
,
1000
);
...
@@ -40,13 +40,14 @@ public class CustomCellWriteWidthTwoConfig extends AbstractColumnWidthStyleStrat
...
@@ -40,13 +40,14 @@ public class CustomCellWriteWidthTwoConfig extends AbstractColumnWidthStyleStrat
sheet
.
setColumnWidth
(
14
,
1500
);
sheet
.
setColumnWidth
(
14
,
1500
);
sheet
.
setColumnWidth
(
15
,
1500
);
sheet
.
setColumnWidth
(
15
,
1500
);
sheet
.
setColumnWidth
(
16
,
1500
);
sheet
.
setColumnWidth
(
16
,
1500
);
sheet
.
setColumnWidth
(
17
,
1
0
00
);
sheet
.
setColumnWidth
(
17
,
1
5
00
);
sheet
.
setColumnWidth
(
18
,
1000
);
sheet
.
setColumnWidth
(
18
,
1000
);
sheet
.
setColumnWidth
(
19
,
1
5
00
);
sheet
.
setColumnWidth
(
19
,
1
0
00
);
sheet
.
setColumnWidth
(
20
,
1500
);
sheet
.
setColumnWidth
(
20
,
1500
);
sheet
.
setColumnWidth
(
21
,
1
0
00
);
sheet
.
setColumnWidth
(
21
,
1
5
00
);
sheet
.
setColumnWidth
(
22
,
1000
);
sheet
.
setColumnWidth
(
22
,
1000
);
sheet
.
setColumnWidth
(
23
,
4000
);
sheet
.
setColumnWidth
(
23
,
1000
);
sheet
.
setColumnWidth
(
24
,
3500
);
}
}
}
}
}
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
59819638
...
@@ -5335,7 +5335,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -5335,7 +5335,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
//获取要导出的列表
//获取要导出的列表
List
<
TDispatchSocialPersionReduceExportVo
>
listReduce
=
new
ArrayList
<>();
List
<
TDispatchSocialPersionReduceExportVo
>
listReduce
=
new
ArrayList
<>();
List
<
Integer
>
columnIndex
=
Arrays
.
asList
(
0
,
2
3
);
List
<
Integer
>
columnIndex
=
Arrays
.
asList
(
0
,
2
4
);
CustomCellStyleStrategy
customCellStyleStrategy1
=
new
CustomCellStyleStrategy
(
columnIndex
);
CustomCellStyleStrategy
customCellStyleStrategy1
=
new
CustomCellStyleStrategy
(
columnIndex
);
CustomCellStyleOneStrategy
customCellStyleStrategy2
=
new
CustomCellStyleOneStrategy
(
columnIndex
);
CustomCellStyleOneStrategy
customCellStyleStrategy2
=
new
CustomCellStyleOneStrategy
(
columnIndex
);
CustomCellStyleTwoStrategy
customCellStyleStrategy3
=
new
CustomCellStyleTwoStrategy
(
columnIndex
);
CustomCellStyleTwoStrategy
customCellStyleStrategy3
=
new
CustomCellStyleTwoStrategy
(
columnIndex
);
...
@@ -6211,7 +6211,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -6211,7 +6211,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
public
List
<
List
<
String
>>
persionHead1
()
{
public
List
<
List
<
String
>>
persionHead1
()
{
List
<
List
<
String
>>
list
=
new
ArrayList
<>();
List
<
List
<
String
>>
list
=
new
ArrayList
<>();
//表头数据
//表头数据
String
b
=
"填
报
人: 单位联系电话: 社保经办机构审核人: "
+
"填报日期: "
+
DateUtil
.
getYear
(
DateUtil
.
getCurrentDateTime
())+
" 年"
+
" "
+
DateUtil
.
getMonth
(
DateUtil
.
getCurrentDateTime
())
+
" 月"
+
" "
+
DateUtil
.
getDay
(
DateUtil
.
getCurrentDateTime
())
+
" 日"
;
String
b
=
"填
表
人: 单位联系电话: 社保经办机构审核人: "
+
"填报日期: "
+
DateUtil
.
getYear
(
DateUtil
.
getCurrentDateTime
())+
" 年"
+
" "
+
DateUtil
.
getMonth
(
DateUtil
.
getCurrentDateTime
())
+
" 月"
+
" "
+
DateUtil
.
getDay
(
DateUtil
.
getCurrentDateTime
())
+
" 日"
;
//第一列-第十八列
//第一列-第十八列
for
(
int
i
=
1
;
i
<=
18
;
i
++)
{
for
(
int
i
=
1
;
i
<=
18
;
i
++)
{
list
.
add
(
Lists
.
newArrayList
(
b
));
list
.
add
(
Lists
.
newArrayList
(
b
));
...
@@ -6230,7 +6230,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -6230,7 +6230,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
//表头数据
//表头数据
String
a
=
"社 会 保 险 缴 费 单 位 人 员 减 少 花 名 册"
;
String
a
=
"社 会 保 险 缴 费 单 位 人 员 减 少 花 名 册"
;
//第一列-第二十五列
//第一列-第二十五列
for
(
int
i
=
1
;
i
<=
2
4
;
i
++)
{
for
(
int
i
=
1
;
i
<=
2
5
;
i
++)
{
list
.
add
(
Lists
.
newArrayList
(
a
));
list
.
add
(
Lists
.
newArrayList
(
a
));
}
}
return
list
;
return
list
;
...
@@ -6247,7 +6247,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -6247,7 +6247,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
//表头数据
//表头数据
String
a
=
"单位名称(签章): "
+
houseName
+
" 单位编码:"
+
(
null
==
cusNo
?
" "
:
cusNo
);
String
a
=
"单位名称(签章): "
+
houseName
+
" 单位编码:"
+
(
null
==
cusNo
?
" "
:
cusNo
);
//第一列-第二十五列cusNo
//第一列-第二十五列cusNo
for
(
int
i
=
1
;
i
<=
2
4
;
i
++)
{
for
(
int
i
=
1
;
i
<=
2
5
;
i
++)
{
list
.
add
(
Lists
.
newArrayList
(
a
));
list
.
add
(
Lists
.
newArrayList
(
a
));
}
}
return
list
;
return
list
;
...
@@ -6274,7 +6274,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -6274,7 +6274,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
//第五列
//第五列
list
.
add
(
Lists
.
newArrayList
(
"停止缴费时间"
,
"停止缴费时间"
));
list
.
add
(
Lists
.
newArrayList
(
"停止缴费时间"
,
"停止缴费时间"
));
//减少原因
//减少原因
List
<
String
>
orderSpeaces
=
Lists
.
newArrayList
(
"辞职"
,
"辞退"
,
"参军"
,
"上学"
,
"劳改"
,
"劳教"
,
"除名"
,
"人员失踪"
,
"停薪留职"
,
"解除合同"
,
"统筹内调出"
,
"调出统筹范围"
,
"退休"
,
"死亡"
,
"出国定居"
,
"港澳台定居"
,
"退保"
,
"其他"
);
List
<
String
>
orderSpeaces
=
Lists
.
newArrayList
(
"辞职"
,
"辞退"
,
"参军"
,
"上学"
,
"劳改"
,
"劳教"
,
"除名"
,
"人员失踪"
,
"停薪留职"
,
"
合同期满"
,
"
解除合同"
,
"统筹内调出"
,
"调出统筹范围"
,
"退休"
,
"死亡"
,
"出国定居"
,
"港澳台定居"
,
"退保"
,
"其他"
);
orderSpeaces
.
forEach
(
e
->{
orderSpeaces
.
forEach
(
e
->{
list
.
add
(
Lists
.
newArrayList
(
c
,
e
)
);
list
.
add
(
Lists
.
newArrayList
(
c
,
e
)
);
});
});
...
@@ -6293,9 +6293,9 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
...
@@ -6293,9 +6293,9 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
//表头数据
//表头数据
String
a
=
"说明1、“减少原因”栏可对应选项打“√”; \n"
+
String
a
=
"说明1、“减少原因”栏可对应选项打“√”; \n"
+
"2、本表需填制一式二份,经办机构审核盖章后方可有效,一份单位自存,一份报市社会保险经办机构。"
;
"2、本表需填制一式二份,经办机构审核盖章后方可有效,一份单位自存,一份报市社会保险经办机构。"
;
String
b
=
"填
报
人: 单位联系电话: 社保经办机构审核人: "
+
"填报日期: "
+
DateUtil
.
getYear
(
DateUtil
.
getCurrentDateTime
())+
" 年"
+
" "
+
DateUtil
.
getMonth
(
DateUtil
.
getCurrentDateTime
())
+
" 月"
+
" "
+
DateUtil
.
getDay
(
DateUtil
.
getCurrentDateTime
())
+
" 日"
;
String
b
=
"填
表
人: 单位联系电话: 社保经办机构审核人: "
+
"填报日期: "
+
DateUtil
.
getYear
(
DateUtil
.
getCurrentDateTime
())+
" 年"
+
" "
+
DateUtil
.
getMonth
(
DateUtil
.
getCurrentDateTime
())
+
" 月"
+
" "
+
DateUtil
.
getDay
(
DateUtil
.
getCurrentDateTime
())
+
" 日"
;
//第一列-第十八列
//第一列-第十八列
for
(
int
i
=
1
;
i
<=
2
4
;
i
++)
{
for
(
int
i
=
1
;
i
<=
2
5
;
i
++)
{
list
.
add
(
Lists
.
newArrayList
(
a
,
b
));
list
.
add
(
Lists
.
newArrayList
(
a
,
b
));
}
}
return
list
;
return
list
;
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
59819638
...
@@ -236,6 +236,7 @@
...
@@ -236,6 +236,7 @@
<result
property=
"typeO"
column=
"typeO"
/>
<result
property=
"typeO"
column=
"typeO"
/>
<result
property=
"typeP"
column=
"typeP"
/>
<result
property=
"typeP"
column=
"typeP"
/>
<result
property=
"typeQ"
column=
"typeQ"
/>
<result
property=
"typeQ"
column=
"typeQ"
/>
<result
property=
"typeZ"
column=
"typeZ"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"remark"
column=
"REMARK"
/>
</resultMap>
</resultMap>
...
@@ -1353,6 +1354,7 @@
...
@@ -1353,6 +1354,7 @@
'' as typeF,
'' as typeF,
'' as typeG,
'' as typeG,
'' as typeH,
'' as typeH,
'' as typeZ,
'' as typeJ,
'' as typeJ,
'' as typeK,
'' as typeK,
'' as typeL,
'' as typeL,
...
...
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