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
757f9e1b
Commit
757f9e1b
authored
Jul 24, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
花名册修改
parent
08aa7e94
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
1001 additions
and
156 deletions
+1001
-156
TDispatchSocialPersionReduceExportVo.java
.../yifu/social/vo/TDispatchSocialPersionReduceExportVo.java
+199
-0
CustomCellStyleOneStrategy.java
...lus/v1/yifu/social/config/CustomCellStyleOneStrategy.java
+48
-0
CustomCellStyleStrategy.java
...d/plus/v1/yifu/social/config/CustomCellStyleStrategy.java
+53
-0
CustomCellStyleThreeStrategy.java
...s/v1/yifu/social/config/CustomCellStyleThreeStrategy.java
+73
-0
CustomCellStyleTwoStrategy.java
...lus/v1/yifu/social/config/CustomCellStyleTwoStrategy.java
+48
-0
CustomCellWriteWidthConfig.java
...lus/v1/yifu/social/config/CustomCellWriteWidthConfig.java
+38
-0
TDispatchInfoMapper.java
...cloud/plus/v1/yifu/social/mapper/TDispatchInfoMapper.java
+18
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+456
-156
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+68
-0
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchSocialPersionReduceExportVo.java
0 → 100644
View file @
757f9e1b
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
*
*
* @author huyc
* @date 2023-07-18 11:38:05
*/
@Data
public
class
TDispatchSocialPersionReduceExportVo
implements
Serializable
{
/**
* 序号
*/
@Schema
(
description
=
"序号"
)
@ExcelAttribute
(
name
=
"序号"
)
@ExcelProperty
(
"序号"
)
private
Integer
num
;
/**
* 职工编码
*/
@Schema
(
description
=
"职工编码"
)
@ExcelAttribute
(
name
=
"职工编码"
)
@ExcelProperty
(
"职工编码"
)
private
String
empNo
;
/**
* 员工姓名
*/
@Schema
(
description
=
"姓名"
)
@ExcelAttribute
(
name
=
"姓名"
)
@ExcelProperty
(
"姓名"
)
private
String
empName
;
/**
* 社会保障号码
*/
@Schema
(
description
=
"社会保障号码(身份证号码)"
)
@ExcelAttribute
(
name
=
"社会保障号码(身份证号码)"
)
@ExcelProperty
(
"社会保障号码(身份证号码)"
)
private
String
empIdcard
;
/**
* 停止缴费时间
*/
@Schema
(
description
=
"停止缴费时间"
)
@ExcelAttribute
(
name
=
"停止缴费时间"
)
@ExcelProperty
(
"停止缴费时间"
)
private
String
workDate
;
/**
* 辞职
*/
@Schema
(
description
=
"辞职"
)
@ExcelAttribute
(
name
=
"辞职"
)
@ExcelProperty
(
"辞职"
)
private
String
typeA
;
/**
* 辞退
*/
@Schema
(
description
=
"辞退"
)
@ExcelAttribute
(
name
=
"辞退"
)
@ExcelProperty
(
"辞退"
)
private
String
typeB
;
/**
* 参军
*/
@Schema
(
description
=
"参军"
)
@ExcelAttribute
(
name
=
"参军"
)
@ExcelProperty
(
"参军"
)
private
String
typeC
;
/**
* 辞退
*/
@Schema
(
description
=
"上学"
)
@ExcelAttribute
(
name
=
"上学"
)
@ExcelProperty
(
"上学"
)
private
String
typeD
;
/**
* 辞退
*/
@Schema
(
description
=
"劳改"
)
@ExcelAttribute
(
name
=
"劳改"
)
@ExcelProperty
(
"劳改"
)
private
String
typeE
;
/**
* 劳教
*/
@Schema
(
description
=
"除名"
)
@ExcelAttribute
(
name
=
"除名"
)
@ExcelProperty
(
"除名"
)
private
String
typeF
;
/**
* 人员失踪
*/
@Schema
(
description
=
"人员失踪"
)
@ExcelAttribute
(
name
=
"人员失踪"
)
@ExcelProperty
(
"人员失踪"
)
private
String
typeG
;
/**
* 停薪留职
*/
@Schema
(
description
=
"停薪留职"
)
@ExcelAttribute
(
name
=
"停薪留职"
)
@ExcelProperty
(
"停薪留职"
)
private
String
typeH
;
/**
* 解除合同
*/
@Schema
(
description
=
"解除合同"
)
@ExcelAttribute
(
name
=
"解除合同"
)
@ExcelProperty
(
"解除合同"
)
private
String
typeI
;
/**
* 统筹内调出
*/
@Schema
(
description
=
"统筹内调出"
)
@ExcelAttribute
(
name
=
"统筹内调出"
)
@ExcelProperty
(
"统筹内调出"
)
private
String
typeJ
;
/**
* 调出统筹范围
*/
@Schema
(
description
=
"调出统筹范围"
)
@ExcelAttribute
(
name
=
"调出统筹范围"
)
@ExcelProperty
(
"调出统筹范围"
)
private
String
typeK
;
/**
* 退休
*/
@Schema
(
description
=
"退休"
)
@ExcelAttribute
(
name
=
"退休"
)
@ExcelProperty
(
"退休"
)
private
String
typeL
;
/**
* 死亡
*/
@Schema
(
description
=
"死亡"
)
@ExcelAttribute
(
name
=
"死亡"
)
@ExcelProperty
(
"死亡"
)
private
String
typeM
;
/**
* 出国定居
*/
@Schema
(
description
=
"出国定居"
)
@ExcelAttribute
(
name
=
"出国定居"
)
@ExcelProperty
(
"出国定居"
)
private
String
typeN
;
/**
* 港澳台定居
*/
@Schema
(
description
=
"港澳台定居"
)
@ExcelAttribute
(
name
=
"港澳台定居"
)
@ExcelProperty
(
"港澳台定居"
)
private
String
typeO
;
/**
* 退保
*/
@Schema
(
description
=
"退保"
)
@ExcelAttribute
(
name
=
"退保"
)
@ExcelProperty
(
"退保"
)
private
String
typeP
;
/**
* 其他
*/
@Schema
(
description
=
"其他"
)
@ExcelAttribute
(
name
=
"其他"
)
@ExcelProperty
(
"其他"
)
private
String
typeQ
;
/**
* 学历
*/
@Schema
(
description
=
"备注"
)
@ExcelAttribute
(
name
=
"备注"
)
@ExcelProperty
(
"备注"
)
private
String
remark
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/config/CustomCellStyleOneStrategy.java
0 → 100644
View file @
757f9e1b
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
config
;
import
com.alibaba.excel.metadata.Head
;
import
com.alibaba.excel.write.metadata.style.WriteCellStyle
;
import
com.alibaba.excel.write.metadata.style.WriteFont
;
import
com.alibaba.excel.write.style.AbstractVerticalCellStyleStrategy
;
import
org.apache.poi.ss.usermodel.BorderStyle
;
import
org.apache.poi.ss.usermodel.HorizontalAlignment
;
import
org.apache.poi.ss.usermodel.IndexedColors
;
import
org.springframework.stereotype.Component
;
import
java.util.List
;
@Component
public
class
CustomCellStyleOneStrategy
extends
AbstractVerticalCellStyleStrategy
{
/**
* 操作列
*/
private
List
<
Integer
>
columnIndexes
;
public
CustomCellStyleOneStrategy
(
List
<
Integer
>
columnIndexes
)
{
this
.
columnIndexes
=
columnIndexes
;
}
@Override
protected
WriteCellStyle
headCellStyle
(
Head
head
)
{
// 获取样式实例
WriteCellStyle
headWriteCellStyle
=
new
WriteCellStyle
();
// 获取字体实例
WriteFont
headWriteFont
=
new
WriteFont
();
// 设置字体样式
headWriteFont
.
setFontName
(
"宋体"
);
// 设置字体大小
headWriteFont
.
setFontHeightInPoints
((
short
)
12
);
// 边框
headWriteFont
.
setBold
(
false
);
headWriteCellStyle
.
setFillForegroundColor
(
IndexedColors
.
WHITE
.
getIndex
());
headWriteCellStyle
.
setWriteFont
(
headWriteFont
);
headWriteCellStyle
.
setHorizontalAlignment
(
HorizontalAlignment
.
LEFT
);
headWriteCellStyle
.
setBorderLeft
(
BorderStyle
.
NONE
);
headWriteCellStyle
.
setBorderBottom
(
BorderStyle
.
NONE
);
headWriteCellStyle
.
setBorderRight
(
BorderStyle
.
NONE
);
headWriteCellStyle
.
setBorderTop
(
BorderStyle
.
NONE
);
return
headWriteCellStyle
;
}
}
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/config/CustomCellStyleStrategy.java
0 → 100644
View file @
757f9e1b
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
config
;
import
com.alibaba.excel.metadata.Head
;
import
com.alibaba.excel.write.metadata.style.WriteCellStyle
;
import
com.alibaba.excel.write.metadata.style.WriteFont
;
import
com.alibaba.excel.write.style.AbstractVerticalCellStyleStrategy
;
import
org.apache.poi.ss.usermodel.BorderStyle
;
import
org.apache.poi.ss.usermodel.Cell
;
import
org.apache.poi.ss.usermodel.IndexedColors
;
import
org.springframework.stereotype.Component
;
import
java.util.List
;
@Component
public
class
CustomCellStyleStrategy
extends
AbstractVerticalCellStyleStrategy
{
/**
* 操作列
*/
private
List
<
Integer
>
columnIndexes
;
public
CustomCellStyleStrategy
(
List
<
Integer
>
columnIndexes
)
{
this
.
columnIndexes
=
columnIndexes
;
}
@Override
public
void
setHeadCellStyle
(
Cell
cell
,
Head
head
,
Integer
relativeRowIndex
)
{
super
.
setHeadCellStyle
(
cell
,
head
,
relativeRowIndex
);
}
@Override
protected
WriteCellStyle
headCellStyle
(
Head
head
)
{
// 获取样式实例
WriteCellStyle
headWriteCellStyle
=
new
WriteCellStyle
();
// 获取字体实例
WriteFont
headWriteFont
=
new
WriteFont
();
// 设置字体样式
headWriteFont
.
setFontName
(
"宋体"
);
// 设置字体大小
headWriteFont
.
setFontHeightInPoints
((
short
)
20
);
// 边框
headWriteFont
.
setBold
(
true
);
headWriteCellStyle
.
setFillForegroundColor
(
IndexedColors
.
WHITE
.
getIndex
());
headWriteCellStyle
.
setWriteFont
(
headWriteFont
);
headWriteCellStyle
.
setBorderLeft
(
BorderStyle
.
NONE
);
headWriteCellStyle
.
setBorderBottom
(
BorderStyle
.
NONE
);
headWriteCellStyle
.
setBorderRight
(
BorderStyle
.
NONE
);
headWriteCellStyle
.
setBorderTop
(
BorderStyle
.
NONE
);
return
headWriteCellStyle
;
}
}
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/config/CustomCellStyleThreeStrategy.java
0 → 100644
View file @
757f9e1b
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
config
;
import
com.alibaba.excel.metadata.Head
;
import
com.alibaba.excel.write.metadata.style.WriteCellStyle
;
import
com.alibaba.excel.write.metadata.style.WriteFont
;
import
com.alibaba.excel.write.style.AbstractVerticalCellStyleStrategy
;
import
org.apache.poi.ss.usermodel.BorderStyle
;
import
org.apache.poi.ss.usermodel.Cell
;
import
org.apache.poi.ss.usermodel.HorizontalAlignment
;
import
org.apache.poi.ss.usermodel.IndexedColors
;
import
org.springframework.stereotype.Component
;
import
java.util.List
;
@Component
public
class
CustomCellStyleThreeStrategy
extends
AbstractVerticalCellStyleStrategy
{
/**
* 操作列
*/
private
List
<
Integer
>
columnIndexes
;
public
CustomCellStyleThreeStrategy
(
List
<
Integer
>
columnIndexes
)
{
this
.
columnIndexes
=
columnIndexes
;
}
@Override
public
void
setHeadCellStyle
(
Cell
cell
,
Head
head
,
Integer
relativeRowIndex
)
{
super
.
setHeadCellStyle
(
cell
,
head
,
relativeRowIndex
);
}
@Override
protected
WriteCellStyle
headCellStyle
(
Head
head
)
{
// 获取样式实例
WriteCellStyle
headWriteCellStyle
=
new
WriteCellStyle
();
// 获取字体实例
WriteFont
headWriteFont
=
new
WriteFont
();
// 设置字体样式
headWriteFont
.
setFontName
(
"宋体"
);
// 设置字体大小
headWriteFont
.
setFontHeightInPoints
((
short
)
12
);
// 边框
headWriteFont
.
setBold
(
false
);
headWriteCellStyle
.
setFillForegroundColor
(
IndexedColors
.
WHITE
.
getIndex
());
headWriteCellStyle
.
setWriteFont
(
headWriteFont
);
return
headWriteCellStyle
;
}
@Override
protected
WriteCellStyle
contentCellStyle
(
Head
head
)
{
// 获取样式实例
WriteCellStyle
headWriteCellStyle
=
new
WriteCellStyle
();
// 获取字体实例
WriteFont
headWriteFont
=
new
WriteFont
();
// 设置字体样式
headWriteFont
.
setFontName
(
"宋体"
);
// 设置字体大小
headWriteFont
.
setFontHeightInPoints
((
short
)
12
);
// 边框
headWriteFont
.
setBold
(
false
);
headWriteCellStyle
.
setFillForegroundColor
(
IndexedColors
.
BLACK
.
getIndex
());
headWriteCellStyle
.
setWriteFont
(
headWriteFont
);
headWriteCellStyle
.
setHorizontalAlignment
(
HorizontalAlignment
.
CENTER
);
headWriteCellStyle
.
setBorderLeft
(
BorderStyle
.
THIN
);
headWriteCellStyle
.
setBorderTop
(
BorderStyle
.
THIN
);
headWriteCellStyle
.
setBorderRight
(
BorderStyle
.
THIN
);
headWriteCellStyle
.
setBorderBottom
(
BorderStyle
.
THIN
);
return
headWriteCellStyle
;
}
}
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/config/CustomCellStyleTwoStrategy.java
0 → 100644
View file @
757f9e1b
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
config
;
import
com.alibaba.excel.metadata.Head
;
import
com.alibaba.excel.write.metadata.style.WriteCellStyle
;
import
com.alibaba.excel.write.metadata.style.WriteFont
;
import
com.alibaba.excel.write.style.AbstractVerticalCellStyleStrategy
;
import
org.apache.poi.ss.usermodel.BorderStyle
;
import
org.apache.poi.ss.usermodel.HorizontalAlignment
;
import
org.apache.poi.ss.usermodel.IndexedColors
;
import
org.springframework.stereotype.Component
;
import
java.util.List
;
@Component
public
class
CustomCellStyleTwoStrategy
extends
AbstractVerticalCellStyleStrategy
{
/**
* 操作列
*/
private
List
<
Integer
>
columnIndexes
;
public
CustomCellStyleTwoStrategy
(
List
<
Integer
>
columnIndexes
)
{
this
.
columnIndexes
=
columnIndexes
;
}
@Override
protected
WriteCellStyle
headCellStyle
(
Head
head
)
{
// 获取样式实例
WriteCellStyle
headWriteCellStyle
=
new
WriteCellStyle
();
// 获取字体实例
WriteFont
headWriteFont
=
new
WriteFont
();
// 设置字体样式
headWriteFont
.
setFontName
(
"宋体"
);
// 设置字体大小
headWriteFont
.
setFontHeightInPoints
((
short
)
12
);
// 边框
headWriteFont
.
setBold
(
false
);
headWriteCellStyle
.
setFillForegroundColor
(
IndexedColors
.
WHITE
.
getIndex
());
headWriteCellStyle
.
setWriteFont
(
headWriteFont
);
headWriteCellStyle
.
setHorizontalAlignment
(
HorizontalAlignment
.
LEFT
);
headWriteCellStyle
.
setBorderLeft
(
BorderStyle
.
NONE
);
headWriteCellStyle
.
setBorderBottom
(
BorderStyle
.
NONE
);
headWriteCellStyle
.
setBorderRight
(
BorderStyle
.
NONE
);
headWriteCellStyle
.
setBorderTop
(
BorderStyle
.
NONE
);
return
headWriteCellStyle
;
}
}
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/config/CustomCellWriteWidthConfig.java
0 → 100644
View file @
757f9e1b
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
config
;
import
com.alibaba.excel.metadata.Head
;
import
com.alibaba.excel.metadata.data.WriteCellData
;
import
com.alibaba.excel.write.metadata.holder.WriteSheetHolder
;
import
com.alibaba.excel.write.style.column.AbstractColumnWidthStyleStrategy
;
import
com.baomidou.mybatisplus.core.toolkit.CollectionUtils
;
import
org.apache.poi.ss.usermodel.Cell
;
import
org.apache.poi.ss.usermodel.Sheet
;
import
org.springframework.stereotype.Component
;
import
java.util.List
;
@Component
public
class
CustomCellWriteWidthConfig
extends
AbstractColumnWidthStyleStrategy
{
@Override
protected
void
setColumnWidth
(
WriteSheetHolder
writeSheetHolder
,
List
<
WriteCellData
<?>>
cellDataList
,
Cell
cell
,
Head
head
,
Integer
integer
,
Boolean
isHead
)
{
boolean
needSetWidth
=
isHead
||
!
CollectionUtils
.
isEmpty
(
cellDataList
);
if
(
needSetWidth
)
{
Sheet
sheet
=
writeSheetHolder
.
getSheet
();
int
columnIndex
=
cell
.
getColumnIndex
();
// 单元格文本长度大于45换行
if
(
columnIndex
==
3
)
{
//要求将当前列的列宽设置为33英寸,理论值应该是33×256=8448,
//但是这里的设值是8648,具体原因请看下面的计算逻辑
sheet
.
setColumnWidth
(
0
,
1000
);
sheet
.
setColumnWidth
(
3
,
5000
);
sheet
.
setColumnWidth
(
6
,
1500
);
sheet
.
setColumnWidth
(
7
,
1500
);
sheet
.
setColumnWidth
(
8
,
1500
);
sheet
.
setColumnWidth
(
9
,
1500
);
sheet
.
setColumnWidth
(
10
,
3000
);
sheet
.
setColumnWidth
(
12
,
3000
);
}
}
}
}
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TDispatchInfoMapper.java
View file @
757f9e1b
...
...
@@ -190,6 +190,24 @@ public interface TDispatchInfoMapper extends BaseMapper<TDispatchInfo> {
**/
List
<
TDispatchSocialPersionExportVo
>
getSocialPersionDisRecord
(
@Param
(
"tDispatchInfo"
)
SocialHandleSearchVo
dispatchInfo
);
/**
* @Author huyc
* @Description 社保派单养老模版count
* @Date 15:47 2023/7/18
* @Param
* @return
**/
int
getSocialPersionReduceDisCount
(
@Param
(
"tDispatchInfo"
)
SocialHandleSearchVo
dispatchInfo
);
/**
* @Author huyc
* @Description 社保派单养老模版
* @Date 15:47 2023/7/18
* @Param
* @return
**/
List
<
TDispatchSocialPersionReduceExportVo
>
getSocialPersionReduceDisRecord
(
@Param
(
"tDispatchInfo"
)
SocialHandleSearchVo
dispatchInfo
);
List
<
FundHandleExportVo
>
getFundRecordList
(
@Param
(
"tDispatchInfo"
)
SocialHandleSearchVo
dispatchInfo
,
@Param
(
"idsStr"
)
List
<
String
>
idsStr
);
/**
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
757f9e1b
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
757f9e1b
...
...
@@ -212,6 +212,32 @@
<result
property=
"remark"
column=
"REMARK"
/>
</resultMap>
<resultMap
id=
"socialPersionReduceDisExportMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.vo.TDispatchSocialPersionReduceExportVo"
>
<result
property=
"num"
column=
"num"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"empNo"
column=
"EMP_NO"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"workDate"
column=
"WORK_DATE"
/>
<result
property=
"typeA"
column=
"typeA"
/>
<result
property=
"typeB"
column=
"typeB"
/>
<result
property=
"typeC"
column=
"typeC"
/>
<result
property=
"typeD"
column=
"typeD"
/>
<result
property=
"typeE"
column=
"typeE"
/>
<result
property=
"typeF"
column=
"typeF"
/>
<result
property=
"typeG"
column=
"typeG"
/>
<result
property=
"typeH"
column=
"typeH"
/>
<result
property=
"typeI"
column=
"typeI"
/>
<result
property=
"typeJ"
column=
"typeJ"
/>
<result
property=
"typeK"
column=
"typeK"
/>
<result
property=
"typeL"
column=
"typeL"
/>
<result
property=
"typeM"
column=
"typeM"
/>
<result
property=
"typeN"
column=
"typeN"
/>
<result
property=
"typeO"
column=
"typeO"
/>
<result
property=
"typeP"
column=
"typeP"
/>
<result
property=
"typeQ"
column=
"typeQ"
/>
<result
property=
"remark"
column=
"REMARK"
/>
</resultMap>
<!-- 派单审核导出vo -->
<resultMap
id=
"exportAuditMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.vo.TDispatchAuditExportVo"
>
<result
property=
"empName"
column=
"EMP_NAME"
/>
...
...
@@ -1262,6 +1288,48 @@
</where>
</select>
<!--tDispatchInfo 社保养老花名册派单数据-->
<select
id=
"getSocialPersionReduceDisCount"
resultType=
"java.lang.Integer"
>
SELECT count(1)
FROM t_dispatch_info a
<where>
<include
refid=
"where_getSocialPersionDisRecord"
/>
</where>
</select>
<!--tDispatchInfo 社保养老花名册派单数据-->
<select
id=
"getSocialPersionReduceDisRecord"
resultMap=
"socialPersionReduceDisExportMap"
>
SELECT
(@i :=@i+1) as num,
a.EMP_NO,
a.EMP_NAME,
a.EMP_IDCARD,
DATE_FORMAT(a.CREATE_TIME,"%Y%m") as WORK_DATE,
'√' as typeA,
'' as typeB,
'' as typeC,
'' as typeD,
'' as typeE,
'' as typeF,
'' as typeG,
'' as typeH,
'' as typeJ,
'' as typeK,
'' as typeL,
'' as typeM,
'' as typeN,
'' as typeO,
'' as typeP,
'' as typeQ,
a.EMP_MOBILE as REMARK
FROM t_dispatch_info a
left join t_social_info s on s.id=a.SOCIAL_ID
,(select @i:=0) as itable
<where>
<include
refid=
"where_getSocialPersionDisRecord"
/>
</where>
</select>
<!--tDispatchInfo 公积金变更清册查询-->
<select
id=
"getFundRecordList"
resultMap=
"fundHandleMap"
>
SELECT
...
...
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