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
d4d6be5a
Commit
d4d6be5a
authored
Jun 29, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.5' into MVP1.5.5
parents
fa8b3970
63a44d0b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
490 additions
and
127 deletions
+490
-127
FeedBackDetail.java
...fu/cloud/plus/v1/yifu/archives/entity/FeedBackDetail.java
+10
-0
TEmpContractAlert.java
...cloud/plus/v1/yifu/archives/entity/TEmpContractAlert.java
+4
-0
TWorkHandlerInfo.java
.../cloud/plus/v1/yifu/archives/entity/TWorkHandlerInfo.java
+1
-1
ChangeFeedBackAllVo.java
...u/cloud/plus/v1/yifu/archives/vo/ChangeFeedBackAllVo.java
+3
-0
TWorkHandlerInfoVo.java
...fu/cloud/plus/v1/yifu/archives/vo/TWorkHandlerInfoVo.java
+110
-0
TEmpContractAlertController.java
...yifu/archives/controller/TEmpContractAlertController.java
+3
-3
FeedBackDetailMapper.java
...ud/plus/v1/yifu/archives/mapper/FeedBackDetailMapper.java
+4
-1
TEmpContractAlertMapper.java
...plus/v1/yifu/archives/mapper/TEmpContractAlertMapper.java
+1
-0
TWorkHandlerInfoMapper.java
.../plus/v1/yifu/archives/mapper/TWorkHandlerInfoMapper.java
+2
-1
TEmpContractAlertService.java
...us/v1/yifu/archives/service/TEmpContractAlertService.java
+1
-1
TEmpContractAlertServiceImpl.java
...u/archives/service/impl/TEmpContractAlertServiceImpl.java
+19
-4
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+8
-5
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+1
-1
TWorkHandlerInfoServiceImpl.java
...fu/archives/service/impl/TWorkHandlerInfoServiceImpl.java
+3
-2
FeedBackDetailMapper.xml
...es-biz/src/main/resources/mapper/FeedBackDetailMapper.xml
+14
-1
TEmpContractAlertMapper.xml
...biz/src/main/resources/mapper/TEmpContractAlertMapper.xml
+2
-2
TEmployeeContractInfoMapper.xml
...src/main/resources/mapper/TEmployeeContractInfoMapper.xml
+1
-7
TWorkHandlerInfoMapper.xml
...-biz/src/main/resources/mapper/TWorkHandlerInfoMapper.xml
+29
-4
ErrorCodes.java
.../cloud/plus/v1/yifu/common/core/exception/ErrorCodes.java
+24
-0
messages_zh_CN.properties
...on-core/src/main/resources/i18n/messages_zh_CN.properties
+6
-1
TSalaryStandard.java
...ifu/cloud/plus/v1/yifu/salary/entity/TSalaryStandard.java
+7
-0
TConfigSalaryController.java
...us/v1/yifu/salary/controller/TConfigSalaryController.java
+3
-3
TSalaryStandardMapper.java
...oud/plus/v1/yifu/salary/mapper/TSalaryStandardMapper.java
+1
-1
TSalaryStandardService.java
...d/plus/v1/yifu/salary/service/TSalaryStandardService.java
+1
-1
SalaryUploadServiceImpl.java
.../v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
+6
-4
TSalaryStandardServiceImpl.java
.../yifu/salary/service/impl/TSalaryStandardServiceImpl.java
+4
-2
TSalaryStandardMapper.xml
...y-biz/src/main/resources/mapper/TSalaryStandardMapper.xml
+8
-2
SysBaseSetInfo.java
...yifu/cloud/plus/v1/yifu/social/entity/SysBaseSetInfo.java
+9
-0
TDispatchImportVo.java
.../yifu/cloud/plus/v1/yifu/social/vo/TDispatchImportVo.java
+2
-1
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+88
-57
TSocialFundInfoServiceImpl.java
.../yifu/social/service/impl/TSocialFundInfoServiceImpl.java
+113
-22
SysBaseSetInfoMapper.xml
...al-biz/src/main/resources/mapper/SysBaseSetInfoMapper.xml
+2
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/FeedBackDetail.java
View file @
d4d6be5a
...
...
@@ -49,5 +49,15 @@ public class FeedBackDetail implements Serializable {
@Schema
(
description
=
"续签代办表关联主键"
)
private
String
contractAlertId
;
/**
* 续签代办表关联主键
*/
@Schema
(
description
=
"申请编号"
)
private
String
applyNo
;
@Schema
(
description
=
"是否反馈"
)
private
Integer
isFeedback
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmpContractAlert.java
View file @
d4d6be5a
...
...
@@ -320,4 +320,8 @@ public class TEmpContractAlert extends BaseEntity {
*/
@TableField
(
exist
=
false
)
private
Date
auditTime
;
@Schema
(
description
=
"申请编码"
)
private
String
applyNo
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TWorkHandlerInfo.java
View file @
d4d6be5a
...
...
@@ -117,7 +117,7 @@ public class TWorkHandlerInfo {
/**
* 执行结果
*/
@ExcelAttribute
(
name
=
"执行结果"
,
maxLength
=
5
)
@ExcelAttribute
(
name
=
"执行结果"
,
readConverterExp
=
"0=未执行,1=部分成功,2=全部成功"
)
@Length
(
max
=
5
,
message
=
"执行结果不能超过5个字符"
)
@ExcelProperty
(
"执行结果"
)
@Schema
(
description
=
"执行结果"
)
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/ChangeFeedBackAllVo.java
View file @
d4d6be5a
...
...
@@ -47,4 +47,7 @@ public class ChangeFeedBackAllVo {
@Schema
(
description
=
"反馈时间"
)
private
Date
feedbackTime
;
@Schema
(
description
=
"申请编号"
)
private
String
applyNo
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TWorkHandlerInfoVo.java
0 → 100644
View file @
d4d6be5a
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.HeadFontStyle
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* @Author fxj
* @Date 2022/6/27
* @Description
* @Version 1.0
*/
@Data
public
class
TWorkHandlerInfoVo
implements
Serializable
{
/**
* 项目编码
*/
@ExcelAttribute
(
name
=
"项目编码"
,
isNotEmpty
=
true
,
errorInfo
=
"项目编码不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"项目编码不能为空"
)
@Length
(
max
=
32
,
message
=
"项目编码不能超过32个字符"
)
@ExcelProperty
(
"项目编码"
)
@Schema
(
description
=
"项目编码"
)
private
String
departNo
;
/**
* 项目名称
*/
@ExcelAttribute
(
name
=
"项目名称"
,
isNotEmpty
=
true
,
errorInfo
=
"项目名称不能为空"
,
maxLength
=
50
)
@NotBlank
(
message
=
"项目名称不能为空"
)
@Length
(
max
=
50
,
message
=
"项目名称不能超过50个字符"
)
@ExcelProperty
(
"项目名称"
)
@Schema
(
description
=
"项目名称"
)
private
String
departName
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证
*/
@ExcelAttribute
(
name
=
"员工身份证"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"员工身份证不能超过32个字符"
)
@ExcelProperty
(
"员工身份证"
)
@Schema
(
description
=
"员工身份证"
)
private
String
empIdcard
;
/**
* 联动端口
*/
@ExcelAttribute
(
name
=
"联动端口"
,
maxLength
=
8
)
@Length
(
max
=
8
,
message
=
"联动端口不能超过8个字符"
)
@ExcelProperty
(
"联动端口"
)
@Schema
(
description
=
"联动端口"
)
private
String
infoFrom
;
/**
* 操作人
*/
@ExcelAttribute
(
name
=
"操作人"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"操作人不能超过32个字符"
)
@ExcelProperty
(
"操作人"
)
@Schema
(
description
=
"操作人"
)
private
String
operUser
;
/**
* 操作时间
*/
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@Schema
(
description
=
"操作时间"
)
@TableField
(
fill
=
FieldFill
.
INSERT
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"操作时间"
)
private
LocalDateTime
operTime
;
/**
* 执行结果
*/
@ExcelAttribute
(
name
=
"执行结果"
)
@Length
(
max
=
5
,
message
=
"执行结果不能超过5个字符"
)
@ExcelProperty
(
"执行结果"
)
@Schema
(
description
=
"执行结果"
)
private
String
operResult
;
/**
* 执行详情
*/
@ExcelAttribute
(
name
=
"执行详情"
,
maxLength
=
255
)
@Length
(
max
=
255
,
message
=
"执行详情不能超过255个字符"
)
@ExcelProperty
(
"执行详情"
)
@Schema
(
description
=
"执行详情"
)
private
String
operInfo
;
/**
* 原因
*/
@ExcelAttribute
(
name
=
"原因"
,
maxLength
=
255
)
@Length
(
max
=
255
,
message
=
"原因不能超过255个字符"
)
@ExcelProperty
(
"原因"
)
@Schema
(
description
=
"原因"
)
private
String
reason
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmpContractAlertController.java
View file @
d4d6be5a
...
...
@@ -196,9 +196,9 @@ public class TEmpContractAlertController {
* @return {@link R}
*/
@Operation
(
summary
=
"获取反馈日志详情"
,
description
=
"获取反馈日志详情"
)
@GetMapping
(
"/getFeedbackDetail/{
id
}"
)
public
R
getFeedbackDetail
(
@PathVariable
(
"
id"
)
String
id
)
{
return
R
.
ok
(
tEmpContractAlertService
.
getFeedbackDetail
(
id
));
@GetMapping
(
"/getFeedbackDetail/{
applyNo
}"
)
public
R
getFeedbackDetail
(
@PathVariable
(
"
applyNo"
)
String
applyNo
)
{
return
R
.
ok
(
tEmpContractAlertService
.
getFeedbackDetail
(
applyNo
));
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/FeedBackDetailMapper.java
View file @
d4d6be5a
...
...
@@ -11,6 +11,9 @@ import java.util.List;
@Mapper
public
interface
FeedBackDetailMapper
extends
BaseMapper
<
FeedBackDetail
>
{
List
<
FeedBackDetail
>
getDetail
(
@Param
(
"
id"
)
String
id
);
List
<
FeedBackDetail
>
getDetail
(
@Param
(
"
applyNo"
)
String
applyNo
);
List
<
FeedBackDetail
>
getAll
();
FeedBackDetail
findByApplyNo
(
@Param
(
"applyNo"
)
String
applyNo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TEmpContractAlertMapper.java
View file @
d4d6be5a
...
...
@@ -35,4 +35,5 @@ public interface TEmpContractAlertMapper extends BaseMapper<TEmpContractAlert> {
void
truncate
();
boolean
changeFeedBackAll
(
@Param
(
"changeFeedBackAllVo"
)
ChangeFeedBackAllVo
changeFeedBackAllVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TWorkHandlerInfoMapper.java
View file @
d4d6be5a
...
...
@@ -22,6 +22,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TWorkHandlerInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TWorkHandlerInfoSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TWorkHandlerInfoVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
...
...
@@ -44,5 +45,5 @@ public interface TWorkHandlerInfoMapper extends BaseMapper<TWorkHandlerInfo> {
Integer
noPageCountDiy
(
@Param
(
"tWorkHandlerInfo"
)
TWorkHandlerInfoSearchVo
tWorkHandlerInfo
);
List
<
TWorkHandlerInfo
>
noPageDiy
(
@Param
(
"tWorkHandlerInfo"
)
TWorkHandlerInfoSearchVo
tWorkHandlerInfo
);
List
<
TWorkHandlerInfo
Vo
>
noPageDiy
(
@Param
(
"tWorkHandlerInfo"
)
TWorkHandlerInfoSearchVo
tWorkHandlerInfo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmpContractAlertService.java
View file @
d4d6be5a
...
...
@@ -54,7 +54,7 @@ public interface TEmpContractAlertService extends IService<TEmpContractAlert> {
boolean
changeFeedBackAll
(
ChangeFeedBackAllVo
changeFeedBackAllVo
);
List
<
FeedBackDetail
>
getFeedbackDetail
(
String
id
);
List
<
FeedBackDetail
>
getFeedbackDetail
(
String
applyNo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpContractAlertServiceImpl.java
View file @
d4d6be5a
...
...
@@ -365,12 +365,26 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
}
else
{
alert
.
setFirstAlertTime
(
new
Date
());
}
List
<
FeedBackDetail
>
list
=
feedbackDetailMapper
.
getAll
();
for
(
FeedBackDetail
feedBackDetail
:
list
)
{
FeedBackDetail
feedBackDetail1
=
feedbackDetailMapper
.
findByApplyNo
(
feedBackDetail
.
getApplyNo
());
if
(
null
!=
feedbackDetailMapper
.
findByApplyNo
(
contract
.
getApplyNo
())){
alert
.
setIsFeedback
(
feedBackDetail1
.
getIsFeedback
());
alert
.
setFeedbackDetail
(
feedBackDetail1
.
getFeedbackDetail
());
alert
.
setFeedbackReason
(
feedBackDetail1
.
getFeedbackReason
());
alert
.
setFeedbackPerson
(
feedBackDetail1
.
getFeedbackPerson
());
alert
.
setFeedbackTime
(
feedBackDetail1
.
getFeedbackTime
());
}
else
{
alert
.
setIsFeedback
(
CommonConstants
.
ZERO_INT
);
}
}
alert
.
setApplyNo
(
contract
.
getApplyNo
());
// 2023-4-3 09:38:21 hgw 添加
alert
.
setUnitId
(
contract
.
getCustomerId
());
alert
.
setUnitName
(
contract
.
getSubjectUnit
());
alert
.
setUnitNo
(
contract
.
getUnitNo
());
alert
.
setEmpPhone
(
employeeInfo
.
getEmpPhone
());
alert
.
setCreateBy
(
contract
.
getCreateBy
());
alert
.
setCreateName
(
contract
.
getCreateName
());
alert
.
setContractId
(
contract
.
getId
());
...
...
@@ -418,9 +432,10 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
FeedBackDetail
feedbackDetail
=
new
FeedBackDetail
();
feedbackDetail
.
setFeedbackPerson
(
user
.
getNickname
());
feedbackDetail
.
setFeedbackTime
(
DateTime
.
now
());
feedbackDetail
.
set
ContractAlertId
(
changeFeedBackAllVo
.
getIds
()[
i
]);
feedbackDetail
.
set
ApplyNo
(
changeFeedBackAllVo
.
getIds
()[
i
]);
feedbackDetail
.
setFeedbackReason
(
changeFeedBackAllVo
.
getFeedbackReason
());
feedbackDetail
.
setFeedbackDetail
(
changeFeedBackAllVo
.
getFeedbackDetail
());
feedbackDetail
.
setIsFeedback
(
CommonConstants
.
ONE_INT
);
feedbackDetailMapper
.
insert
(
feedbackDetail
);
}
changeFeedBackAllVo
.
setIsFeedback
(
CommonConstants
.
ONE_INTEGER
);
...
...
@@ -430,8 +445,8 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
}
@Override
public
List
<
FeedBackDetail
>
getFeedbackDetail
(
String
id
)
{
return
feedbackDetailMapper
.
getDetail
(
id
);
public
List
<
FeedBackDetail
>
getFeedbackDetail
(
String
applyNo
)
{
return
feedbackDetailMapper
.
getDetail
(
applyNo
);
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
d4d6be5a
...
...
@@ -489,6 +489,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
// 标准合同、劳动派遣合同、其他。————社保公积金都派减,自动审核通过
this
.
judgeAuditStatus
(
tEmployeeContractInfo
,
user
);
baseMapper
.
updateById
(
tEmployeeContractInfo
);
//如果是否同步终止合同、减项、减档为是则生成同步任务处理清单
//增加任务处理情况查询表数据
...
...
@@ -515,6 +516,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
this
.
updateFileMainId
(
tEmployeeContractInfo
);
}
}
else
{
// 标准合同、劳动派遣合同、其他。————社保公积金都派减,自动审核通过
this
.
judgeAuditStatus
(
tEmployeeContractInfo
,
user
);
baseMapper
.
updateById
(
tEmployeeContractInfo
);
}
...
...
@@ -1648,10 +1651,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
TEmployeeProject
tEmployeeProjectOld
=
tEmployeeProjectService
.
getById
(
tEmployeeProject
.
getId
());
tEmployeeProject
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
//如果该项目仍有社保、公积金的数据不同步减项,如正常减项,记录项目档案操作记录
if
(
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
FOUR_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
FOUR_INT
)
{
if
(
(
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
FOUR_INT
)
&&
(
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
THREE_INT
)
)
{
tEmployeeProject
.
setProjectStatus
(
CommonConstants
.
ONE_INT
);
tEmployeeProject
.
setLeaveRemark
(
"终止合同联动减项"
);
tEmployeeProject
.
setLeaveTime
(
LocalDateTime
.
now
());
...
...
@@ -1915,7 +1918,7 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
if
((
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
FOUR_INT
)
&&
(
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
FOUR
_INT
))
{
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
THREE
_INT
))
{
tEmployeeProject
.
setProjectStatus
(
CommonConstants
.
ONE_INT
);
tEmployeeProject
.
setLeaveRemark
(
"终止合同联动减项"
);
tEmployeeProject
.
setLeaveTime
(
LocalDateTime
.
now
());
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
d4d6be5a
...
...
@@ -1439,7 +1439,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
if
((
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getSocialStatus
()
==
CommonConstants
.
FOUR_INT
)
&&
(
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
ZERO_INT
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
FOUR
_INT
))
{
||
tEmployeeProject
.
getFundStatus
()
==
CommonConstants
.
THREE
_INT
))
{
tEmployeeProject
.
setProjectStatus
(
CommonConstants
.
ONE_INT
);
tEmployeeProject
.
setLeaveRemark
(
"终止合同联动减项"
);
tEmployeeProject
.
setLeaveTime
(
LocalDateTime
.
now
());
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TWorkHandlerInfoServiceImpl.java
View file @
d4d6be5a
...
...
@@ -27,6 +27,7 @@ import com.yifu.cloud.plus.v1.yifu.archives.entity.TWorkHandlerInfoSearchVo;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TWorkHandlerInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TWorkHandlerInfoService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.InsertWorkHandlerVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TWorkHandlerInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.DateUtil
;
...
...
@@ -68,14 +69,14 @@ public class TWorkHandlerInfoServiceImpl extends ServiceImpl<TWorkHandlerInfoMap
public
void
listExport
(
HttpServletResponse
response
,
TWorkHandlerInfoSearchVo
searchVo
){
String
fileName
=
"任务处理清单表批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TWorkHandlerInfo
>
list
=
new
ArrayList
<>();
List
<
TWorkHandlerInfo
Vo
>
list
=
new
ArrayList
<>();
Integer
count
=
baseMapper
.
noPageCountDiy
(
searchVo
);
try
(
ServletOutputStream
out
=
response
.
getOutputStream
())
{
response
.
setContentType
(
CommonConstants
.
MULTIPART_FORM_DATA
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
CommonConstants
.
CONTENT_DISPOSITION
,
CommonConstants
.
ATTACHMENT_FILENAME
+
URLEncoder
.
encode
(
fileName
,
CommonConstants
.
UTF8
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TWorkHandlerInfo
.
class
).
includeColumnFieldNames
(
searchVo
.
getExportFields
()).
build
();
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TWorkHandlerInfo
Vo
.
class
).
includeColumnFieldNames
(
searchVo
.
getExportFields
()).
build
();
int
index
=
0
;
if
(
count
>
CommonConstants
.
ZERO_INT
){
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/FeedBackDetailMapper.xml
View file @
d4d6be5a
...
...
@@ -7,6 +7,8 @@
<result
column=
"FEEDBACK_TIME"
jdbcType=
"TIMESTAMP"
property=
"feedbackTime"
/>
<result
column=
"FEEDBACK_REASON"
jdbcType=
"VARCHAR"
property=
"feedbackReason"
/>
<result
column=
"FEEDBACK_DETAIL"
jdbcType=
"VARCHAR"
property=
"feedbackDetail"
/>
<result
column=
"APPLY_NO"
jdbcType=
"VARCHAR"
property=
"applyNo"
/>
<result
column=
"IS_FEEDBACK"
jdbcType=
"VARCHAR"
property=
"isFeedback"
/>
<result
column=
"CONTRACT_ALERT_ID"
jdbcType=
"VARCHAR"
property=
"contractAlertId"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
...
...
@@ -16,7 +18,18 @@
<select
id=
"getDetail"
resultType=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FeedBackDetail"
>
SELECT *
FROM feed_back_detail a
where a.
CONTRACT_ALERT_ID=#{id
}
where a.
APPLY_NO=#{applyNo
}
order by FEEDBACK_TIME DESC
</select>
<select
id=
"getAll"
resultType=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FeedBackDetail"
>
SELECT *
FROM feed_back_detail a
</select>
<select
id=
"findByApplyNo"
resultType=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FeedBackDetail"
>
SELECT *
FROM feed_back_detail a
where a.APPLY_NO=#{applyNo}
ORDER BY FEEDBACK_TIME desc LIMIT 1
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmpContractAlertMapper.xml
View file @
d4d6be5a
...
...
@@ -54,6 +54,7 @@
<result
property=
"feedbackReason"
column=
"FEEDBACK_REASON"
/>
<result
property=
"feedbackDetail"
column=
"FEEDBACK_DATAIL"
/>
<result
property=
"contractId"
column=
"CONTRACT_ID"
/>
<result
property=
"applyNo"
column=
"APPLY_NO"
/>
</resultMap>
...
...
@@ -65,11 +66,10 @@
update t_emp_contract_alert a
set a.IS_FEEDBACK=#{changeFeedBackAllVo.isFeedback},a.FEEDBACK_REASON=#{changeFeedBackAllVo.feedbackReason},a.FEEDBACK_DETAIL=#{changeFeedBackAllVo.feedbackDetail},
a.FEEDBACK_PERSON=#{changeFeedBackAllVo.feedbackPerson},a.FEEDBACK_TIME=#{changeFeedBackAllVo.feedbackTime}
where a.
ID
in
where a.
APPLY_NO
in
<foreach
item=
"idStr"
index=
"index"
collection=
"changeFeedBackAllVo.ids"
open=
"("
separator=
","
close=
")"
>
#{idStr}
</foreach>
</update>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractInfoMapper.xml
View file @
d4d6be5a
...
...
@@ -653,16 +653,12 @@
a.LEAVE_DATE,
a.CONTRACT_NO,
a.REDUCE_REASON,
b.AUDIT_STATUS,
b.REMARK
FROM t_employee_contract_info a
join t_employee_contract_audit b on a.ID=b.LINK_ID
left join (select REMARK,LINK_ID from t_employee_contract_audit where ROOT_NAME='合同审核') b on a.ID=b.LINK_ID
<where>
a.DELETE_FLAG = 0
and b.ROOT_NAME='合同审核'
<include
refid=
"tEmployeeContractInfo_where"
/>
<if
test=
"tEmployeeContractInfo.authSql != null and tEmployeeContractInfo.authSql.trim() != ''"
>
${tEmployeeContractInfo.authSql}
...
...
@@ -680,10 +676,8 @@
SELECT
count(1)
FROM t_employee_contract_info a
join t_employee_contract_audit b on a.ID=b.LINK_ID
<where>
a.DELETE_FLAG = 0
and b.ROOT_NAME='合同审核'
<include
refid=
"tEmployeeContractInfo_where"
/>
<if
test=
"tEmployeeContractInfo.authSql != null and tEmployeeContractInfo.authSql.trim() != ''"
>
${tEmployeeContractInfo.authSql}
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TWorkHandlerInfoMapper.xml
View file @
d4d6be5a
...
...
@@ -37,6 +37,7 @@
<result
property=
"operInfo"
column=
"OPER_INFO"
/>
<result
property=
"reason"
column=
"REASON"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.DEPART_NO,
...
...
@@ -51,7 +52,19 @@
a.OPER_INFO,
a.REASON
</sql>
<sql
id=
"tWorkHandlerInfo_where"
>
<resultMap
id=
"tWorkHandlerInfoVoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.vo.TWorkHandlerInfoVo"
>
<result
property=
"departNo"
column=
"DEPART_NO"
/>
<result
property=
"departName"
column=
"DEPART_NAME"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"infoFrom"
column=
"INFO_FROM"
/>
<result
property=
"operUser"
column=
"OPER_USER"
/>
<result
property=
"operTime"
column=
"OPER_TIME"
/>
<result
property=
"operResult"
column=
"OPER_RESULT"
/>
<result
property=
"operInfo"
column=
"OPER_INFO"
/>
<result
property=
"reason"
column=
"REASON"
/>
</resultMap>
<sql
id=
"tWorkHandlerInfo_where"
>
<if
test=
"tWorkHandlerInfo != null"
>
<if
test=
"tWorkHandlerInfo.departNo != null and tWorkHandlerInfo.departNo.trim() != ''"
>
AND a.DEPART_NO = #{tWorkHandlerInfo.departNo}
...
...
@@ -104,9 +117,21 @@
</where>
</select>
<select
id=
"noPageDiy"
resultMap=
"tWorkHandlerInfoMap"
>
<select
id=
"noPageDiy"
resultMap=
"tWorkHandlerInfo
Vo
Map"
>
SELECT
<include
refid=
"Base_Column_List"
/>
a.DEPART_NO,
a.DEPART_NAME,
a.EMP_NAME,
a.EMP_IDCARD,
a.INFO_FROM,
a.OPER_USER,
a.OPER_TIME,
CASE WHEN a.OPER_RESULT=0 THEN "未执行"
WHEN a.OPER_RESULT =1 THEN "部分成功"
WHEN a.OPER_RESULT =2 THEN "全部成功"
ELSE a.OPER_RESULT END as "OPER_RESULT",
a.OPER_INFO,
a.REASON
FROM t_work_handler_info a
<where>
1=1
...
...
@@ -115,4 +140,4 @@
order by a.OPER_TIME desc
limit #{tWorkHandlerInfo.limitStart},#{tWorkHandlerInfo.limitEnd}
</select>
</mapper>
</mapper>
\ No newline at end of file
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/exception/ErrorCodes.java
View file @
d4d6be5a
...
...
@@ -457,6 +457,30 @@ public interface ErrorCodes {
* 派增异常: 社保派单基数不可小于最低基数且不可大于最高基数
*/
String
EMP_DISPATCH_SOCIAL_LIMIT_ERROR
=
"emp.dispatch.social.limit.error"
;
/**
* 派增异常: 社保派单养老基数不可小于最低基数且不可大于最高基数
*/
String
YL_DISPATCH_SOCIAL_LIMIT_ERROR
=
"yl.dispatch.social.limit.error"
;
/**
* 派增异常: 社保派单医疗基数不可小于最低基数且不可大于最高基数
*/
String
YB_DISPATCH_SOCIAL_LIMIT_ERROR
=
"yb.dispatch.social.limit.error"
;
/**
* 派增异常: 社保派单工伤基数不可小于最低基数且不可大于最高基数
*/
String
GS_DISPATCH_SOCIAL_LIMIT_ERROR
=
"gs.dispatch.social.limit.error"
;
/**
* 派增异常: 社保派单失业基数不可小于最低基数且不可大于最高基数
*/
String
SY_DISPATCH_SOCIAL_LIMIT_ERROR
=
"sy.dispatch.social.limit.error"
;
/**
* 派增异常: 社保派单生育基数不可小于最低基数且不可大于最高基数
*/
String
BIR_DISPATCH_SOCIAL_LIMIT_ERROR
=
"bir.dispatch.social.limit.error"
;
/**
* 派增异常: 社保派单大病基数不可小于最低基数且不可大于最高基数
*/
String
DB_DISPATCH_SOCIAL_LIMIT_ERROR
=
"db.dispatch.social.limit.error"
;
/**
* 派增异常: 公积金派单基数不可小于最低基数且不可大于最高基数
*/
...
...
yifu-common/yifu-common-core/src/main/resources/i18n/messages_zh_CN.properties
View file @
d4d6be5a
...
...
@@ -166,7 +166,12 @@ emp.dispatch.emp.project.not.used=\u6D3E\u589E\u5F02\u5E38\uFF1A \u5BF9\u5E94\u9
emp.dispatch.emp.not.used
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
5BF9
\u
5E94
\u
8EAB
\u
4EFD
\u
8BC1
\u7684\u
4EBA
\u5458\u6863\u6848\u
5DF2
\u
51CF
\u6863\u
FF0C
\u
8BF7
\u
53BB
\u
4EBA
\u5458\u6863\u6848\u5904\u
590D
\u6863
emp.dispatch.social.limit.error
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
793E
\u
4FDD
\u
201C
\u
7F34
\u
7EB3
\u
7C7B
\u
578B
\u
201D
\u
4E3A
\u
201C
\u
81EA
\u
5B9A
\u
4E49
\u
201D
\u
65F6
\u
FF0C
\u
8D2D
\u
4E70
\u
57FA
\u6570\u9700\u2265\u
8BE5
\u
793E
\u
4FDD
\u6237\u7684\u6700\u
4F4E
\u
57FA
\u6570\u
FF0C
\u
4E14
\u2264\u6700\u
9AD8
\u
57FA
\u6570
yl.dispatch.social.limit.error
=
\u
793E
\u
4FDD
\u
201C
\u
7F34
\u
7EB3
\u
7C7B
\u
578B
\u
201D
\u
4E3A
\u
201C
\u
81EA
\u
5B9A
\u
4E49
\u
201D
\u
65F6
\u
FF0C
\u
517B
\u8001\u
8D2D
\u
4E70
\u
57FA
\u6570\u9700\u2265\u
8BE5
\u
793E
\u
4FDD
\u6237\u7684\u
517B
\u8001\u6700\u
4F4E
\u
57FA
\u6570\u
FF0C
\u
4E14
\u2264\u
517B
\u8001\u6700\u
9AD8
\u
57FA
\u6570
yb.dispatch.social.limit.error
=
\u
793E
\u
4FDD
\u
201C
\u
7F34
\u
7EB3
\u
7C7B
\u
578B
\u
201D
\u
4E3A
\u
201C
\u
81EA
\u
5B9A
\u
4E49
\u
201D
\u
65F6
\u
FF0C
\u
533B
\u7597\u
8D2D
\u
4E70
\u
57FA
\u6570\u9700\u2265\u
8BE5
\u
793E
\u
4FDD
\u6237\u7684\u
533B
\u7597\u6700\u
4F4E
\u
57FA
\u6570\u
FF0C
\u
4E14
\u2264\u
533B
\u7597\u6700\u
9AD8
\u
57FA
\u6570
gs.dispatch.social.limit.error
=
\u
793E
\u
4FDD
\u
201C
\u
7F34
\u
7EB3
\u
7C7B
\u
578B
\u
201D
\u
4E3A
\u
201C
\u
81EA
\u
5B9A
\u
4E49
\u
201D
\u
65F6
\u
FF0C
\u
5DE5
\u
4F24
\u
8D2D
\u
4E70
\u
57FA
\u6570\u9700\u2265\u
8BE5
\u
793E
\u
4FDD
\u6237\u7684\u
5DE5
\u
4F24
\u6700\u
4F4E
\u
57FA
\u6570\u
FF0C
\u
4E14
\u2264\u
5DE5
\u
4F24
\u6700\u
9AD8
\u
57FA
\u6570
sy.dispatch.social.limit.error
=
\u
793E
\u
4FDD
\u
201C
\u
7F34
\u
7EB3
\u
7C7B
\u
578B
\u
201D
\u
4E3A
\u
201C
\u
81EA
\u
5B9A
\u
4E49
\u
201D
\u
65F6
\u
FF0C
\u5931\u
4E1A
\u
8D2D
\u
4E70
\u
57FA
\u6570\u9700\u2265\u
8BE5
\u
793E
\u
4FDD
\u6237\u7684\u5931\u
4E1A
\u6700\u
4F4E
\u
57FA
\u6570\u
FF0C
\u
4E14
\u2264\u5931\u
4E1A
\u6700\u
9AD8
\u
57FA
\u6570
bir.dispatch.social.limit.error
=
\u
793E
\u
4FDD
\u
201C
\u
7F34
\u
7EB3
\u
7C7B
\u
578B
\u
201D
\u
4E3A
\u
201C
\u
81EA
\u
5B9A
\u
4E49
\u
201D
\u
65F6
\u
FF0C
\u
751F
\u
80B2
\u
8D2D
\u
4E70
\u
57FA
\u6570\u9700\u2265\u
8BE5
\u
793E
\u
4FDD
\u6237\u7684\u
751F
\u
80B2
\u6700\u
4F4E
\u
57FA
\u6570\u
FF0C
\u
4E14
\u2264\u
751F
\u
80B2
\u6700\u
9AD8
\u
57FA
\u6570
db.dispatch.social.limit.error
=
\u
793E
\u
4FDD
\u
201C
\u
7F34
\u
7EB3
\u
7C7B
\u
578B
\u
201D
\u
4E3A
\u
201C
\u
81EA
\u
5B9A
\u
4E49
\u
201D
\u
65F6
\u
FF0C
\u5927\u
75C5
\u
8D2D
\u
4E70
\u
57FA
\u6570\u9700\u2265\u
8BE5
\u
793E
\u
4FDD
\u6237\u7684\u5927\u
75C5
\u6700\u
4F4E
\u
57FA
\u6570\u
FF0C
\u
4E14
\u2264\u5927\u
75C5
\u6700\u
9AD8
\u
57FA
\u6570
emp.dispatch.fund.limit.error
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
516C
\u
79EF
\u
91D1
\u
8D2D
\u
4E70
\u
57FA
\u6570\u9700\u2265\u
8BE5
\u
516C
\u
79EF
\u
91D1
\u6237\u7684\u6700\u
4F4E
\u
57FA
\u6570\u
FF0C
\u
4E14
\u2264\u6700\u
9AD8
\u
57FA
\u6570
...
...
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/entity/TSalaryStandard.java
View file @
d4d6be5a
...
...
@@ -452,6 +452,13 @@ public class TSalaryStandard extends BaseEntity {
@Schema
(
description
=
"收入月份"
)
private
String
incomeMonth
;
@Schema
(
description
=
"配置ID"
)
private
String
setId
;
@Schema
(
description
=
"删除人(汉字名)"
)
private
String
deleteUser
;
@Schema
(
description
=
"删除时间"
)
private
Date
deleteDate
;
/**
* 工资月份-起
*/
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TConfigSalaryController.java
View file @
d4d6be5a
...
...
@@ -68,12 +68,12 @@ public class TConfigSalaryController {
List
<
TConfigSalary
>
configSalaryList
=
tConfigSalaryService
.
list
(
queryWrapperCs
);
if
(
configSalaryList
!=
null
&&
!
configSalaryList
.
isEmpty
())
{
String
nowMonth
=
DateUtil
.
addMonth
(
0
);
// 当前月 发薪次数
int
monthCount
=
tSalaryStandardService
.
getNum
(
settleDepart
,
nowMonth
,
null
);
String
nowYear
=
DateUtil
.
getYear
(
new
Date
());
// 当前年 未推送或未发放的 发薪次数
int
yearCount
=
tSalaryStandardService
.
getNum
(
settleDepart
,
null
,
nowYear
);
int
yearCount
=
tSalaryStandardService
.
getNum
(
settleDepart
,
null
,
null
,
nowYear
);
int
monthCount
;
// 当前月 发薪次数
for
(
TConfigSalary
cs
:
configSalaryList
)
{
monthCount
=
tSalaryStandardService
.
getNum
(
settleDepart
,
cs
.
getId
(),
nowMonth
,
null
);
if
(
cs
.
getSalaryNum
()
<=
monthCount
)
{
cs
.
setNowMonthSalaryNum
(
monthCount
);
}
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/mapper/TSalaryStandardMapper.java
View file @
d4d6be5a
...
...
@@ -72,5 +72,5 @@ public interface TSalaryStandardMapper extends BaseMapper<TSalaryStandard> {
* @Date: 2023/6/25 18:04
* @return: int
**/
int
getNum
(
@Param
(
"deptId"
)
String
deptId
,
@Param
(
"settleMonth"
)
String
settleMonth
,
@Param
(
"nowYear"
)
String
nowYear
);
int
getNum
(
@Param
(
"deptId"
)
String
deptId
,
@Param
(
"set
Id"
)
String
setId
,
@Param
(
"set
tleMonth"
)
String
settleMonth
,
@Param
(
"nowYear"
)
String
nowYear
);
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/TSalaryStandardService.java
View file @
d4d6be5a
...
...
@@ -142,6 +142,6 @@ public interface TSalaryStandardService extends IService<TSalaryStandard> {
* @Date: 2023/6/25 18:04
* @return: int
**/
int
getNum
(
String
deptId
,
String
settleMonth
,
String
nowYear
);
int
getNum
(
String
deptId
,
String
set
Id
,
String
set
tleMonth
,
String
nowYear
);
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
View file @
d4d6be5a
...
...
@@ -293,10 +293,12 @@ public class SalaryUploadServiceImpl extends ServiceImpl<TSalaryStandardMapper,
//s.setSettlementAmount()
s
.
setStatus
(
SalaryConstants
.
AUDIT_STATUS
[
0
]);
s
.
setBpoFlag
(
dept
.
getBpoFlag
());
if
(
configSalary
!=
null
&&
Common
.
isNotNull
(
configSalary
.
getIncomeMonth
()))
{
s
.
setIncomeMonth
(
DateUtil
.
addMonth
(
configSalary
.
getIncomeMonth
()));
}
else
{
s
.
setIncomeMonth
(
sav
.
getSalaryMonth
());
s
.
setIncomeMonth
(
sav
.
getSalaryMonth
());
if
(
configSalary
!=
null
)
{
s
.
setSetId
(
configSalary
.
getId
());
if
(
Common
.
isNotNull
(
configSalary
.
getIncomeMonth
()))
{
s
.
setIncomeMonth
(
DateUtil
.
addMonth
(
configSalary
.
getIncomeMonth
()));
}
}
}
return
new
R
<>(
s
);
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryStandardServiceImpl.java
View file @
d4d6be5a
...
...
@@ -366,6 +366,8 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
}
}
//6:删除工资表
sf
.
setDeleteUser
(
user
.
getNickname
());
sf
.
setDeleteDate
(
new
Date
());
sf
.
setDeleteFlag
(
SalaryConstants
.
DELETED
);
this
.
updateById
(
sf
);
return
R
.
ok
(
"级联删除工资表成功"
);
...
...
@@ -1075,8 +1077,8 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
* @return: int
**/
@Override
public
int
getNum
(
String
deptId
,
String
settleMonth
,
String
nowYear
)
{
return
baseMapper
.
getNum
(
deptId
,
settleMonth
,
nowYear
);
public
int
getNum
(
String
deptId
,
String
set
Id
,
String
set
tleMonth
,
String
nowYear
)
{
return
baseMapper
.
getNum
(
deptId
,
setId
,
settleMonth
,
nowYear
);
}
}
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TSalaryStandardMapper.xml
View file @
d4d6be5a
...
...
@@ -81,6 +81,9 @@
<result
property=
"issueStatus"
column=
"ISSUE_STATUS"
/>
<result
property=
"isDiff"
column=
"IS_DIFF"
/>
<result
property=
"incomeMonth"
column=
"INCOME_MONTH"
/>
<result
property=
"setId"
column=
"SET_ID"
/>
<result
property=
"deleteUser"
column=
"DELETE_USER"
/>
<result
property=
"deleteDate"
column=
"DELETE_DATE"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
...
...
@@ -139,7 +142,10 @@
a.INCOME_END_TIME,
a.ISSUE_STATUS,
a.IS_DIFF,
a.INCOME_MONTH
a.INCOME_MONTH,
a.SET_ID,
a.DELETE_USER,
a.DELETE_DATE
</sql>
<sql
id=
"tSalaryStandard_where"
>
<if
test=
"tSalaryStandard != null"
>
...
...
@@ -496,7 +502,7 @@
and a.DEPT_ID = #{deptId}
</if>
<if
test=
"settleMonth != null and settleMonth.trim() != ''"
>
and a.SETTLEMENT_MONTH = #{settleMonth}
and a.SETTLEMENT_MONTH = #{settleMonth}
and a.SET_ID = #{setId}
</if>
<if
test=
"nowYear != null and nowYear.trim() != ''"
>
and a.SETTLEMENT_MONTH like concat(#{nowYear},'%')
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/SysBaseSetInfo.java
View file @
d4d6be5a
...
...
@@ -225,6 +225,15 @@ public class SysBaseSetInfo extends BaseEntity {
@ExcelProperty
(
"大病基数下限"
)
private
BigDecimal
lowerBig
;
/**
* 是否同一基数上下限: 0是;1否
*/
@ExcelAttribute
(
name
=
"是否同一基数上下限: 0是;1否"
)
@Schema
(
description
=
"是否同一基数上下限: 0是;1否"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"是否同一基数上下限: 0收取;1不收取"
)
private
String
isSameBase
;
/**
* 补缴政策(社保或公积金)
*/
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchImportVo.java
View file @
d4d6be5a
...
...
@@ -150,7 +150,8 @@ public class TDispatchImportVo extends RowIndex implements Serializable {
/**
* 通信地址
*/
@Length
(
max
=
200
,
message
=
"通信地址不能超过200个字符"
)
@ExcelAttribute
(
name
=
"通信地址"
,
maxLength
=
200
)
@Schema
(
description
=
"通信地址"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"通信地址"
)
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
d4d6be5a
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialFundInfoServiceImpl.java
View file @
d4d6be5a
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/resources/mapper/SysBaseSetInfoMapper.xml
View file @
d4d6be5a
...
...
@@ -93,6 +93,7 @@
<result
property=
"lowerInjury"
column=
"LOWER_INJURY"
/>
<result
property=
"lowerBirth"
column=
"LOWER_BIRTH"
/>
<result
property=
"lowerBig"
column=
"LOWER_BIG"
/>
<result
property=
"isSameBase"
column=
"IS_SAME_BASE"
/>
<collection
property=
"fundProList"
ofType=
"com.yifu.cloud.plus.v1.yifu.social.entity.SysPayProportion"
select=
"com.yifu.cloud.plus.v1.yifu.social.mapper.SysPayProportionMapper.selectByPrimaryId"
column=
"id"
>
</collection>
...
...
@@ -166,6 +167,7 @@
LOWER_UNEMPLOYMENT,
LOWER_INJURY,
LOWER_BIRTH,
IS_SAME_BASE,
LOWER_BIG
</sql>
<sql
id=
"sysBaseSetInfo_where"
>
...
...
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