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
4b357b83
Commit
4b357b83
authored
Aug 05, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
51740b80
7ed1995d
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
311 additions
and
165 deletions
+311
-165
TEmployeeInfoController.java
.../v1/yifu/archives/controller/TEmployeeInfoController.java
+12
-0
TEmployeeInfoService.java
...d/plus/v1/yifu/archives/service/TEmployeeInfoService.java
+2
-0
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+10
-0
ErrorCodes.java
....cloud.plus.v1/yifu/common/core/exception/ErrorCodes.java
+4
-0
DateUtil.java
...om/yifu.cloud.plus.v1/yifu/common/core/util/DateUtil.java
+1
-2
ExcelUtil.java
...m/yifu.cloud.plus.v1/yifu/common/core/util/ExcelUtil.java
+3
-1
messages_zh_CN.properties
...on-core/src/main/resources/i18n/messages_zh_CN.properties
+2
-0
ArchivesDaprUtil.java
...cloud/plus/v1/yifu/common/dapr/util/ArchivesDaprUtil.java
+14
-0
EKPUtil.java
.../com/yifu/cloud/plus/v1/yifu/insurances/util/EKPUtil.java
+59
-0
TInsuranceDetailController.java
...ifu/insurances/controller/TInsuranceDetailController.java
+1
-1
TInsuranceDetailMapper.java
...lus/v1/yifu/insurances/mapper/TInsuranceDetailMapper.java
+2
-0
TInsuranceDetailServiceImpl.java
.../insurances/service/impl/TInsuranceDetailServiceImpl.java
+15
-23
TInsuranceDetailMapper.xml
...-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
+21
-6
DispatchConstants.java
...loud/plus/v1/yifu/social/constants/DispatchConstants.java
+1
-1
TPaymentInfo.java
...m/yifu/cloud/plus/v1/yifu/social/entity/TPaymentInfo.java
+7
-7
TPreDispatchInfo.java
...fu/cloud/plus/v1/yifu/social/entity/TPreDispatchInfo.java
+9
-8
TSocialFundHistory.java
.../cloud/plus/v1/yifu/social/entity/TSocialFundHistory.java
+4
-4
TSocialFundInfo.java
...ifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
+5
-5
TSocialInfo.java
...om/yifu/cloud/plus/v1/yifu/social/entity/TSocialInfo.java
+5
-5
SocialHandleExportVo.java
...fu/cloud/plus/v1/yifu/social/vo/SocialHandleExportVo.java
+9
-9
TDispatchImportVo.java
.../yifu/cloud/plus/v1/yifu/social/vo/TDispatchImportVo.java
+3
-3
TDispatchInfoSearchVo.java
...u/cloud/plus/v1/yifu/social/vo/TDispatchInfoSearchVo.java
+2
-0
TPaymentInfoVo.java
...com/yifu/cloud/plus/v1/yifu/social/vo/TPaymentInfoVo.java
+9
-9
TPreDispatchUpdateVo.java
...fu/cloud/plus/v1/yifu/social/vo/TPreDispatchUpdateVo.java
+12
-12
TSocialFundHistoryVo.java
...fu/cloud/plus/v1/yifu/social/vo/TSocialFundHistoryVo.java
+2
-2
TSocialFundInfoExportVo.java
...cloud/plus/v1/yifu/social/vo/TSocialFundInfoExportVo.java
+2
-2
TSocialFundInfoVo.java
.../yifu/cloud/plus/v1/yifu/social/vo/TSocialFundInfoVo.java
+2
-2
TSocialInfoVo.java
.../com/yifu/cloud/plus/v1/yifu/social/vo/TSocialInfoVo.java
+5
-5
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+84
-54
TForecastLibraryServiceImpl.java
...yifu/social/service/impl/TForecastLibraryServiceImpl.java
+1
-1
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+1
-1
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+2
-2
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmployeeInfoController.java
View file @
4b357b83
...
...
@@ -474,4 +474,16 @@ public class TEmployeeInfoController {
public
Boolean
updateEmpInfo
(
@RequestBody
UpdateEmpVo
vo
)
{
return
tEmployeeInfoService
.
updateEmpInfo
(
vo
);
}
/**
* @Description: 查验手机号码是否存在
* @Author: fxj
* @Date: 2022/08/01 18:52
**/
@Operation
(
summary
=
"通过mobile查询是否已存在"
,
description
=
"通过mobile查询是否已存在"
)
@Inner
@PostMapping
(
"/inner/checkMobile"
)
public
Boolean
checkMobile
(
@RequestBody
String
mobile
)
{
return
tEmployeeInfoService
.
checkMobile
(
mobile
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmployeeInfoService.java
View file @
4b357b83
...
...
@@ -186,4 +186,6 @@ public interface TEmployeeInfoService extends IService<TEmployeeInfo> {
EmpDispatchAddVo
addDispatchInfo
(
EmpDispatchAddVo
addVo
);
Boolean
updateEmpInfo
(
UpdateEmpVo
vo
);
Boolean
checkMobile
(
String
mobile
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
4b357b83
...
...
@@ -2135,6 +2135,16 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
return
true
;
}
@Override
public
Boolean
checkMobile
(
String
mobile
)
{
if
(
Common
.
isEmpty
(
mobile
)){
return
true
;
}
return
!(
baseMapper
.
selectCount
(
Wrappers
.<
TEmployeeInfo
>
query
().
lambda
()
.
eq
(
TEmployeeInfo:
:
getFileStatus
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
TEmployeeInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_STRING
))
>
0
);
}
private
void
saveContract
(
Map
<
String
,
EmpProjectDispatchVo
>
projectsMap
,
Map
<
String
,
EmpContractDispatchVo
>
contractsMap
,
Map
<
String
,
EmpAddDispatchVo
>
empAddsMap
)
{
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/exception/ErrorCodes.java
View file @
4b357b83
...
...
@@ -480,4 +480,8 @@ public interface ErrorCodes {
* 派增异常: 单派工伤其他起缴日期不可填写
*/
String
EMP_DISPATCH_SOCIAL_DIY_INJURY_ERROR
=
"emp.dispatch.social.diy.injury.error"
;
/**
* 派增异常: 已存在对应手机号码的在用员工档案
*/
String
EMP_DISPATCH_EMP_MOBILE_REPEAT
=
"emp.dispatch.emp.mobile.repeat"
;
}
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/util/DateUtil.java
View file @
4b357b83
...
...
@@ -287,8 +287,7 @@ public class DateUtil {
// setLenient avoids allowing dates like 9/32/2001
// which would otherwise parse to 10/2/2001
df
.
setLenient
(
false
);
return
df
.
parse
(
dateText
);
return
df
.
parse
(
dateText
.
replace
(
"/"
,
""
).
replace
(
"-"
,
""
));
}
catch
(
ParseException
e
)
{
return
null
;
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/util/ExcelUtil.java
View file @
4b357b83
...
...
@@ -633,7 +633,9 @@ public class ExcelUtil <T> implements Serializable {
if
(
Common
.
isNotNull
(
c
))
{
//日期格式校验
if
(
attr
.
isDate
())
{
DateUtil
.
stringToDate
(
c
.
trim
(),
attr
.
dateFormat
());
if
(
null
==
DateUtil
.
stringToDate
(
c
.
trim
(),
"yyyyMMdd"
))
{
return
errorInfo
(
attr
,
"_日期格式有误"
,
i
);
}
}
//手机号码校验
if
(
attr
.
isPhone
()
&&
getMatchRes
(
c
.
trim
(),
attr
,
ValidityConstants
.
MOBILE_PATTERN
))
{
...
...
yifu-common/yifu-common-core/src/main/resources/i18n/messages_zh_CN.properties
View file @
4b357b83
...
...
@@ -183,6 +183,8 @@ emp.dispatch.reduce.fund.depart.no.error=\u6D3E\u51CF\u5F02\u5E38\uFF1A \u65E0\u
emp.dispatch.social.diy.injury.error
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u5355\u
6D3E
\u
5DE5
\u
4F24
\u5176\u
4ED6
\u
8D77
\u
7F34
\u
65E5
\u
671F
\u
4E0D
\u
53EF
\u
586B
\u5199
emp.dispatch.emp.mobile.repeat
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
5DF2
\u
5B58
\u5728\u
5BF9
\u
5E94
\u
624B
\u
673A
\u
53F7
\u7801\u7684\u5728\u7528\u5458\u
5DE5
\u6863\u6848
...
...
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/ArchivesDaprUtil.java
View file @
4b357b83
...
...
@@ -187,4 +187,18 @@ public class ArchivesDaprUtil {
}
return
res
;
}
/**
* @Author fxj
* @Description 校验手机号码重复
* @Date 22:11 2022/8/4
* @Param
* @return
**/
public
R
<
Boolean
>
checkMobile
(
String
mobile
)
{
R
<
Boolean
>
res
=
HttpDaprUtil
.
invokeMethodPost
(
daprArchivesProperties
.
getAppUrl
(),
daprArchivesProperties
.
getAppId
(),
"/temployeeinfo/inner/checkMobile"
,
mobile
,
Boolean
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
Common
.
isEmpty
(
res
)){
return
R
.
failed
(
"检验号码重复信息失败!"
);
}
return
res
;
}
}
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/util/EKPUtil.java
0 → 100644
View file @
4b357b83
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
util
;
import
org.springframework.core.io.FileSystemResource
;
import
org.springframework.http.*
;
import
org.springframework.util.LinkedMultiValueMap
;
import
org.springframework.util.MultiValueMap
;
import
org.springframework.web.client.RestTemplate
;
import
java.io.File
;
/**
* @author zhaji
* @description EKP交互工具类
*
* @date 2022-08-05 09:42:33
*/
public
class
EKPUtil
{
/**
* 多层级的VO对象,且包含上传功能的样例
* 注意key的书写格式,类似EL表达式的方式,属性关系用'.', 列表和数组关系用[],Map关系用["xxx"]
*/
public
static
void
testAddNewsInRestTemplate
()
throws
Exception
{
RestTemplate
yourRestTemplate
=
new
RestTemplate
();
//指向EKP的接口url
String
url
=
"http://119.96.227.251:8080/api/sys-modeling/appModelRestService/addModel"
;
//把ModelingAppModelParameterAddForm转换成MultiValueMap
MultiValueMap
<
String
,
Object
>
wholeForm
=
new
LinkedMultiValueMap
<>();
wholeForm
.
add
(
"docSubject"
,
new
String
(
"接口发起流程"
.
getBytes
(
"UTF-8"
),
"ISO-8859-1"
)
);
wholeForm
.
add
(
"docCreator"
,
"{\"PersonNo\":\"00013\"}"
);
wholeForm
.
add
(
"docStatus"
,
20
);
wholeForm
.
add
(
"fdModelId"
,
"169b437e7e1cd1bd7b6367c4563b24ef"
);
wholeForm
.
add
(
"fdFlowId"
,
"178255fbdeda940cbd17bdd476398084"
);
wholeForm
.
add
(
"formValues"
,
new
String
(
"{\"fd_37310fdc84a55e\":\"王五\", \"fd_37310fe0aa2334\":\"2019-03-26\", \"fd_37310fde1759a4\":\"这里内容\"}"
.
getBytes
(
"UTF-8"
),
"ISO-8859-1"
)
);
LinkedMultiValueMap
<
String
,
Object
>
innerMap
=
new
LinkedMultiValueMap
<>();
//注意附件列表的key是一样的
//第一个附件
wholeForm
.
add
(
"attachmentForms[0].fdKey"
,
"fd_3731bf4852e8fe"
);
wholeForm
.
add
(
"attachmentForms[0].fdFileName"
,
new
String
(
"测试文档.txt"
.
getBytes
(
"UTF-8"
),
"ISO-8859-1"
));
wholeForm
.
add
(
"attachmentForms[0].fdAttachment"
,
new
FileSystemResource
(
new
File
(
"E:/测试文档.txt"
)));
HttpHeaders
headers
=
new
HttpHeaders
();
//如果EKP对该接口启用了Basic认证,那么客户端需要加入
//addAuth(headers,"yourAccount"+":"+"yourPassword");是VO,则使用APPLICATION_JSON
headers
.
setContentType
(
MediaType
.
MULTIPART_FORM_DATA
);
//必须设置上传类型,如果入参是字符串,使用MediaType.TEXT_PLAIN;如果
HttpEntity
<
MultiValueMap
<
String
,
Object
>>
entity
=
new
HttpEntity
<
MultiValueMap
<
String
,
Object
>>(
wholeForm
,
headers
);
//有返回值的情况 VO可以替换成具体的JavaBean
ResponseEntity
<
String
>
obj
=
yourRestTemplate
.
exchange
(
url
,
HttpMethod
.
POST
,
entity
,
String
.
class
);
String
body
=
obj
.
getBody
();
System
.
out
.
println
(
body
);
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/TInsuranceDetailController.java
View file @
4b357b83
...
...
@@ -418,7 +418,7 @@ public class TInsuranceDetailController {
}
/**
* 出险
*
紧急
出险
*
* @author zhaji
* @param empIdcardNo 身份证
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/TInsuranceDetailMapper.java
View file @
4b357b83
...
...
@@ -177,4 +177,6 @@ public interface TInsuranceDetailMapper extends BaseMapper<TInsuranceDetail> {
* @return
*/
IPage
<
InsuranceListByIdCardVo
>
getInsuranceListByIdCard
(
Page
<
TInsuranceDetail
>
page
,
@Param
(
"idCard"
)
String
idCard
);
List
<
TInsuranceDetail
>
selectListByempIdcardNo
(
String
empIdcardNo
);
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceDetailServiceImpl.java
View file @
4b357b83
...
...
@@ -3196,10 +3196,13 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
if
(
CommonConstants
.
ZERO_INT
!=
isOverdue
){
return
R
.
failed
(
"保单信息已过期,不能进行出险操作"
);
}
insuranceDetail
.
setIsUse
(
CommonConstants
.
ONE_INT
);
insuranceDetail
.
setUpdateBy
(
user
.
getId
());
insuranceDetail
.
setUpdateTime
(
LocalDateTime
.
now
());
return
R
.
ok
(
updateById
(
insuranceDetail
),
"出险成功"
);
LambdaUpdateWrapper
<
TInsuranceDetail
>
updateWrapper
=
new
LambdaUpdateWrapper
<
TInsuranceDetail
>();
updateWrapper
.
eq
(
TInsuranceDetail:
:
getId
,
id
)
.
set
(
TInsuranceDetail:
:
getUpdateTime
,
LocalDateTime
.
now
())
.
set
(
TInsuranceDetail:
:
getIsUse
,
CommonConstants
.
ONE_INT
)
.
set
(
TInsuranceDetail:
:
getUpdateBy
,
user
.
getId
());
update
(
updateWrapper
);
return
R
.
ok
(
"出险成功"
);
}
/**
...
...
@@ -3950,31 +3953,20 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
if
(!
ValidityUtil
.
validateIDCard
(
empIdcardNo
)){
return
R
.
failed
(
"身份证格式不正确"
);
}
LambdaQueryWrapper
<
TInsuranceDetail
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
//查询所有在保,未出险,未过期,未失效,未减员的保单信息
queryWrapper
.
eq
(
TInsuranceDetail
::
getEmpIdcardNo
,
empIdcardNo
)
.
eq
(
TInsuranceDetail
::
getBuyHandleStatus
,
CommonConstants
.
THREE_INT
)
.
eq
(
TInsuranceDetail
::
getIsEffect
,
CommonConstants
.
ZERO_INT
)
.
eq
(
TInsuranceDetail
::
getIsUse
,
CommonConstants
.
ZERO_INT
)
.
eq
(
TInsuranceDetail
::
getIsOverdue
,
CommonConstants
.
ZERO_INT
)
.
ne
(
TInsuranceDetail
::
getReduceHandleStatus
,
CommonConstants
.
ONE_INT
)
.
ne
(
TInsuranceDetail
::
getReduceHandleStatus
,
CommonConstants
.
TWO_INT
)
.
ne
(
TInsuranceDetail
::
getReduceHandleStatus
,
CommonConstants
.
FOUR_INT
);
List
<
TInsuranceDetail
>
list
=
list
(
queryWrapper
);
List
<
TInsuranceDetail
>
list
=
this
.
baseMapper
.
selectListByempIdcardNo
(
empIdcardNo
);
if
(
CollectionUtils
.
isEmpty
(
list
)){
return
R
.
failed
(
"无可出险的保单"
);
}
LambdaUpdateWrapper
<
TInsuranceDetail
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
for
(
TInsuranceDetail
tInsuranceDetail
:
list
)
{
tInsuranceDetail
.
setIsUse
(
CommonConstants
.
ONE_INT
);
//tInsuranceDetail.setUpdateBy();
tInsuranceDetail
.
setUpdateTime
(
LocalDateTime
.
now
());
updateWrapper
.
eq
(
TInsuranceDetail
::
getId
,
tInsuranceDetail
.
getId
())
.
set
(
TInsuranceDetail
::
getIsUse
,
CommonConstants
.
ONE_INT
)
.
set
(
TInsuranceDetail
::
getUpdateTime
,
LocalDateTime
.
now
());
update
(
updateWrapper
);
}
boolean
b
=
updateBatchById
(
list
);
if
(
b
){
return
R
.
ok
(
"EKP紧急出险成功"
);
}
else
{
return
R
.
ok
(
"EKP紧急出险失败"
);
}
}
/**
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
View file @
4b357b83
...
...
@@ -65,7 +65,7 @@
BUY_HANDLE_STATUS,DEFAULT_SETTLE_ID,REDUCE_HANDLE_STATUS,
IS_USE,IS_EFFECT,IS_OVERDUE,REMARK,
CREATE_BY,CREATE_NAME,CREATE_TIME,
UPDATE_BY,UPDATE_TIME,DELETE_FLAG
UPDATE_BY,UPDATE_TIME,DELETE_FLAG
,DEFAULT_SETTLE_ID
</sql>
<select
id=
"getInsuranceListPage"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceListVO"
>
select detail.id as id,
...
...
@@ -304,7 +304,7 @@
and detail.EMP_IDCARD_NO like concat('%',replace(replace(#{param.empIdcardNo},'_','\_'),'%','\%'),'%')
</if>
<if
test=
"param.deptNo != null and param.deptNo.trim() != ''"
>
and detail.DEPT_NO
like concat('%',replace(replace(#{param.deptNo},'_','\_'),'%','\%'),'%')
and detail.DEPT_NO
= #{param.deptNo}
</if>
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
and detail.INSURANCE_COMPANY_NAME = #{param.insuranceCompanyName}
...
...
@@ -340,7 +340,7 @@
<if
test=
"param.createEndTime != null and param.createEndTime.trim() != ''"
>
AND detail.CREATE_TIME
<![CDATA[ <= ]]>
concat(#{param.createEndTime}, ' 23:59:59')
</if>
ORDER BY detail.CREATE_TIME DESC
ORDER BY detail.CREATE_TIME DESC
,detail.ID ASC
</select>
<!-- 已投保列表不分页查询-->
<select
id=
"getInsuredList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuredListVo"
>
...
...
@@ -473,7 +473,7 @@
(detail.POLICY_END
<![CDATA[ >= ]]>
concat(#{param.policyStart}, ' 00:00:00') and detail.POLICY_END
<![CDATA[ <= ]]>
concat(#{param.policyEnd}, ' 23:59:59'))
)
</if>
ORDER BY refund.CREATE_TIME DESC
ORDER BY refund.CREATE_TIME DESC
,detail.ID ASC
</select>
<!-- 已减员列表不分页查询-->
<select
id=
"getInsuranceRefundList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceRefundListVo"
>
...
...
@@ -581,7 +581,7 @@
<if
test=
"param.insuranceCompanyName != null and param.insuranceCompanyName.trim() != ''"
>
and detail.INSURANCE_COMPANY_NAME = #{param.insuranceCompanyName}
</if>
ORDER BY refund.CREATE_TIME DESC
ORDER BY refund.CREATE_TIME
,detail.ID
DESC
</select>
<!-- 减员办理列表不分页查询-->
<select
id=
"getInsuranceRefundHandlingList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.RefundExportListVo"
>
...
...
@@ -770,7 +770,6 @@
#{item}
</foreach>
</update>
<!--根据身份证查询商险信息-->
<select
id=
"getInsuranceListByIdCard"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceListByIdCardVo"
>
SELECT
...
...
@@ -783,4 +782,20 @@
</where>
ORDER BY CREATE_TIME desc
</select>
<select
id=
"selectListByempIdcardNo"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM
t_insurance_detail
<where>
EMP_IDCARD_NO = #{empIdcardNo}
AND IS_EFFECT = 0
AND IS_USE =0
and IS_OVERDUE = 0
and DELETE_FLAG = 0
and BUY_HANDLE_STATUS =3
and (REDUCE_HANDLE_STATUS is null or REDUCE_HANDLE_STATUS = 3)
</where>
ORDER BY CREATE_TIME desc
</select>
</mapper>
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/constants/DispatchConstants.java
View file @
4b357b83
...
...
@@ -46,7 +46,7 @@ public class DispatchConstants {
/**
* 社保派单
* '缴纳类型(0最低
缴纳、1自定义、2最高缴纳
) PAYMENT_TYPE
* '缴纳类型(0最低
、1自定义、2最高
) PAYMENT_TYPE
*/
enum
PaymentType
{
LATEST
(
"0"
,
"最低"
),
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TPaymentInfo.java
View file @
4b357b83
...
...
@@ -85,11 +85,11 @@ public class TPaymentInfo extends BaseEntity {
private
String
empIdcard
;
/**
*
单位
名称
*
客户
名称
*/
@ExcelAttribute
(
name
=
"
单位
名称"
)
@Schema
(
description
=
"
单位
名称"
)
@ExcelProperty
(
"
单位
名称"
)
@ExcelAttribute
(
name
=
"
客户
名称"
)
@Schema
(
description
=
"
客户
名称"
)
@ExcelProperty
(
"
客户
名称"
)
private
String
unitId
;
/**
...
...
@@ -542,10 +542,10 @@ public class TPaymentInfo extends BaseEntity {
@ExcelProperty
(
"单位公积金基数"
)
private
BigDecimal
unitProvidentSet
;
/**
* 单
边
公积金比例
* 单
位
公积金比例
*/
@ExcelAttribute
(
name
=
"单
边
公积金比例"
)
@ExcelProperty
(
"单
边
公积金比例"
)
@ExcelAttribute
(
name
=
"单
位
公积金比例"
)
@ExcelProperty
(
"单
位
公积金比例"
)
private
BigDecimal
providentPercent
;
/**
* 单位公积金费用
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TPreDispatchInfo.java
View file @
4b357b83
...
...
@@ -68,7 +68,7 @@ public class TPreDispatchInfo extends BaseEntity {
* 日期,格式:2020-12-25
*/
@Schema
(
description
=
"日期,格式:2020-12-25"
)
@ExcelAttribute
(
name
=
"日期"
)
@ExcelAttribute
(
name
=
"日期"
,
isDate
=
true
)
private
String
date
;
/**
...
...
@@ -132,7 +132,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"入职日期"
)
@Size
(
max
=
20
,
message
=
"入职日期不可超过20位"
)
@ExcelAttribute
(
name
=
"入职日期"
,
isDate
=
true
,
dateFormatExport
=
DateUtil
.
ISO_EXPANDED_DATE_FORMAT
)
@ExcelAttribute
(
name
=
"入职日期"
,
isDate
=
true
)
private
String
entryDate
;
/**
...
...
@@ -147,7 +147,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"派遣开始日期"
)
@Size
(
max
=
20
,
message
=
"派遣开始日期不可超过20位"
)
@ExcelAttribute
(
name
=
"派遣开始日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"派遣开始日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
dispatchStart
;
/**
...
...
@@ -155,6 +155,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"派遣结束日期"
)
@Size
(
max
=
20
,
message
=
"派遣结束日期不可超过20位"
)
@ExcelAttribute
(
name
=
"派遣结束日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
dispatchEnd
;
/**
...
...
@@ -162,7 +163,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"合同开始日期"
)
@Size
(
max
=
20
,
message
=
"合同开始日期不可超过20位"
)
@ExcelAttribute
(
name
=
"
派遣结束日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"
合同开始日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
contractStart
;
/**
...
...
@@ -170,7 +171,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"合同终止日期"
)
@Size
(
max
=
20
,
message
=
"合同终止日期不可超过20位"
)
@ExcelAttribute
(
name
=
"合同终止日期"
,
isDate
=
true
,
dateFormatExport
=
DateUtil
.
ISO_EXPANDED_DATE_FORMAT
)
@ExcelAttribute
(
name
=
"合同终止日期"
,
isDate
=
true
)
private
String
contractEnd
;
/**
...
...
@@ -178,7 +179,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"试用开始日期"
)
@Size
(
max
=
20
,
message
=
"试用开始日期不可超过20位"
)
@ExcelAttribute
(
name
=
"试用开始日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"试用开始日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
trialStart
;
/**
...
...
@@ -186,7 +187,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"试用结束日期"
)
@Size
(
max
=
20
,
message
=
"试用结束日期不可超过20位"
)
@ExcelAttribute
(
name
=
"试用结束日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"试用结束日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
trialEnd
;
/**
...
...
@@ -513,7 +514,7 @@ public class TPreDispatchInfo extends BaseEntity {
* 离职日期
*/
@Schema
(
description
=
"离职日期"
)
@ExcelAttribute
(
name
=
"离职日期"
)
@ExcelAttribute
(
name
=
"离职日期"
,
isDate
=
true
)
private
Date
leaveDate
;
/**
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFundHistory.java
View file @
4b357b83
...
...
@@ -298,11 +298,11 @@ public class TSocialFundHistory extends BaseEntity {
@ExcelProperty
(
"个人公积金金额"
)
private
BigDecimal
personalFundMoney
;
/**
* 缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)
* 缴纳类型(0最低
、1自定义、2最高
)
*/
@ExcelAttribute
(
name
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@Schema
(
description
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@ExcelProperty
(
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低
、1自定义、2最高
)"
)
@Schema
(
description
=
"缴纳类型(0最低
、1自定义、2最高
)"
)
@ExcelProperty
(
"缴纳类型(0最低
、1自定义、2最高
)"
)
private
Integer
paymentType
;
/**
* 是否是社保:0否1是
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
View file @
4b357b83
...
...
@@ -608,12 +608,12 @@ public class TSocialFundInfo extends BaseEntity {
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 缴纳类型(0最低
缴纳、1自定义缴纳、2最高缴纳
)
* 缴纳类型(0最低
、1自定义缴纳、2最高
)
*/
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@ExcelProperty
(
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低
、1自定义、2最高
) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低
、1自定义、2最高
)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低
、1自定义、2最高
)"
)
@ExcelProperty
(
"缴纳类型(0最低
、1自定义、2最高
)"
)
private
String
paymentType
;
/**
* 基数上限(社保或公积金)
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialInfo.java
View file @
4b357b83
...
...
@@ -634,12 +634,12 @@ public class TSocialInfo extends BaseEntity {
@ExcelProperty
(
"电信编号"
)
private
String
telecomNumber
;
/**
* 缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)
* 缴纳类型(0最低
、1自定义、2最高
)
*/
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@ExcelProperty
(
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低
、1自定义、2最高
) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低
、1自定义、2最高
)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低
、1自定义、2最高
)"
)
@ExcelProperty
(
"缴纳类型(0最低
、1自定义、2最高
)"
)
private
String
paymentType
;
/**
* 备案基数
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/SocialHandleExportVo.java
View file @
4b357b83
...
...
@@ -118,7 +118,7 @@ public class SocialHandleExportVo implements Serializable {
/**
* 员工类型
*/
@ExcelAttribute
(
name
=
"员工类型"
,
errorInfo
=
"员工类型不能为空"
,
maxLength
=
1
,
isDataId
=
true
,
dataType
=
ExcelAttributeConstants
.
PERSONNEL_TYP
E
,
needExport
=
true
)
@ExcelAttribute
(
name
=
"员工类型"
,
errorInfo
=
"员工类型不能为空"
,
isDataId
=
true
,
dataType
=
ExcelAttributeConstants
.
EMP_NATRU
E
,
needExport
=
true
)
@ExcelProperty
(
"员工类型"
)
private
String
empType
;
/**
...
...
@@ -138,7 +138,7 @@ public class SocialHandleExportVo implements Serializable {
/**
* 户口性质
*/
@ExcelAttribute
(
name
=
"户口性质"
,
maxLength
=
32
,
isDataId
=
true
,
dataType
=
ExcelAttributeConstants
.
HOUSEHOLD_NATUR
E
,
needExport
=
true
)
@ExcelAttribute
(
name
=
"户口性质"
,
maxLength
=
32
,
isDataId
=
true
,
dataType
=
ExcelAttributeConstants
.
EMP_REGISTYP
E
,
needExport
=
true
)
@Schema
(
description
=
"户口性质"
)
@ExcelProperty
(
"户口性质"
)
private
String
empRegisType
;
...
...
@@ -146,7 +146,7 @@ public class SocialHandleExportVo implements Serializable {
/**
* 民族
*/
@ExcelAttribute
(
name
=
"民族"
,
maxLength
=
32
,
isDataId
=
true
,
dataType
=
ExcelAttributeConstants
.
NATION
,
needExport
=
true
)
@ExcelAttribute
(
name
=
"民族"
,
maxLength
=
32
,
isDataId
=
true
,
dataType
=
ExcelAttributeConstants
.
EMP_NATIONAL
,
needExport
=
true
)
@Schema
(
description
=
"民族"
)
@ExcelProperty
(
"民族"
)
private
String
empNational
;
...
...
@@ -197,10 +197,10 @@ public class SocialHandleExportVo implements Serializable {
private
String
recordBase
;
/**
* 缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)
* 缴纳类型(0最低
、1自定义、2最高
)
*/
@ExcelAttribute
(
name
=
"缴纳类型"
,
isDataId
=
true
,
readConverterExp
=
"0=最低
缴纳,1=自定义,2=最高缴纳
"
,
needExport
=
true
)
@Schema
(
description
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@ExcelAttribute
(
name
=
"缴纳类型"
,
isDataId
=
true
,
readConverterExp
=
"0=最低
,1=自定义,2=最高
"
,
needExport
=
true
)
@Schema
(
description
=
"缴纳类型(0最低
、1自定义、2最高
)"
)
@ExcelProperty
(
"缴纳类型"
)
private
String
paymentType
;
/**
...
...
@@ -213,21 +213,21 @@ public class SocialHandleExportVo implements Serializable {
/**
* 缴纳地-省
*/
@ExcelAttribute
(
name
=
"社保缴纳地-省"
,
maxLength
=
32
,
isDataId
=
true
,
isArea
=
true
,
parentField
=
""
,
needExport
=
true
)
@ExcelAttribute
(
name
=
"社保缴纳地-省"
,
maxLength
=
32
,
isArea
=
true
,
needExport
=
true
)
@Schema
(
description
=
"社保缴纳地-省"
)
@ExcelProperty
(
"社保缴纳地-省"
)
private
String
socialProvince
;
/**
* 缴纳地-市
*/
@ExcelAttribute
(
name
=
"社保缴纳地-市"
,
maxLength
=
32
,
is
DataId
=
true
,
is
Area
=
true
,
parentField
=
"socialProvince"
,
needExport
=
true
)
@ExcelAttribute
(
name
=
"社保缴纳地-市"
,
maxLength
=
32
,
isArea
=
true
,
parentField
=
"socialProvince"
,
needExport
=
true
)
@Schema
(
description
=
"社保缴纳地-市"
)
@ExcelProperty
(
"社保缴纳地-市"
)
private
String
socialCity
;
/**
* 缴纳地-县
*/
@ExcelAttribute
(
name
=
"社保缴纳地-县"
,
maxLength
=
32
,
is
DataId
=
true
,
is
Area
=
true
,
parentField
=
"socialCity"
,
needExport
=
true
)
@ExcelAttribute
(
name
=
"社保缴纳地-县"
,
maxLength
=
32
,
isArea
=
true
,
parentField
=
"socialCity"
,
needExport
=
true
)
@Schema
(
description
=
"社保缴纳地-县"
)
@ExcelProperty
(
"社保缴纳地-县"
)
private
String
socialTown
;
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchImportVo.java
View file @
4b357b83
...
...
@@ -306,11 +306,11 @@ public class TDispatchImportVo extends RowIndex implements Serializable {
@ExcelProperty
(
"大病起缴日期"
)
private
Date
bigailmentStart
;
/**
* 缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)
* 缴纳类型(0最低
、1自定义、2最高
)
*/
@Length
(
max
=
1
,
message
=
"缴纳类型 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型"
,
isDataId
=
true
,
readConverterExp
=
"0=最低
缴纳,1=自定义,2=最高缴纳
"
)
@Schema
(
description
=
"缴纳类型:(0最低
缴纳、1自定义、2最高缴纳
)"
)
@ExcelAttribute
(
name
=
"缴纳类型"
,
isDataId
=
true
,
readConverterExp
=
"0=最低
,1=自定义,2=最高
"
)
@Schema
(
description
=
"缴纳类型:(0最低
、1自定义、2最高
)"
)
@ExcelProperty
(
"缴纳类型"
)
private
String
paymentType
;
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchInfoSearchVo.java
View file @
4b357b83
...
...
@@ -51,11 +51,13 @@ public class TDispatchInfoSearchVo extends TDispatchInfo {
/**
* 申请时间起
*/
@TableField
(
exist
=
false
)
@Schema
(
description
=
"申请时间起"
)
private
LocalDateTime
createTimeStart
;
/**
* 申请时间止
*/
@TableField
(
exist
=
false
)
@Schema
(
description
=
"申请时间止"
)
private
LocalDateTime
createTimeEnd
;
/**
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TPaymentInfoVo.java
View file @
4b357b83
...
...
@@ -82,12 +82,12 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelProperty
(
"身份证号"
)
private
String
empIdcard
;
/**
*
单位
名称
*
客户
名称
*/
@Length
(
max
=
50
,
message
=
"
单位
名称 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"
单位
名称"
,
maxLength
=
50
)
@Schema
(
description
=
"
单位
名称"
)
@ExcelProperty
(
"
单位
名称"
)
@Length
(
max
=
50
,
message
=
"
客户
名称 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"
客户
名称"
,
maxLength
=
50
)
@Schema
(
description
=
"
客户
名称"
)
@ExcelProperty
(
"
客户
名称"
)
private
String
unitId
;
/**
* 项目名称
...
...
@@ -558,11 +558,11 @@ public class TPaymentInfoVo extends RowIndex implements Serializable {
@ExcelProperty
(
"单位公积金基数"
)
private
BigDecimal
unitProvidentSet
;
/**
* 单
边
公积金比例
* 单
位
公积金比例
*/
@ExcelAttribute
(
name
=
"单
边
公积金比例"
)
@Schema
(
description
=
"单
边
公积金比例"
)
@ExcelProperty
(
"单
边
公积金比例"
)
@ExcelAttribute
(
name
=
"单
位
公积金比例"
)
@Schema
(
description
=
"单
位
公积金比例"
)
@ExcelProperty
(
"单
位
公积金比例"
)
private
BigDecimal
providentPercent
;
/**
* 单位公积金费用
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TPreDispatchUpdateVo.java
View file @
4b357b83
...
...
@@ -27,7 +27,7 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
/**
* 日期,格式:2020-12-25
*/
@ExcelAttribute
(
name
=
"日期"
)
@ExcelAttribute
(
name
=
"日期"
,
isDate
=
true
)
private
String
date
;
/**
* 接单分公司
...
...
@@ -74,7 +74,7 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
/**
* 入职日期
*/
@ExcelAttribute
(
name
=
"入职日期"
)
@ExcelAttribute
(
name
=
"入职日期"
,
isDate
=
true
)
private
String
entryDate
;
/**
* 正式工资
...
...
@@ -85,37 +85,37 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
* 派遣开始日期
*/
@Length
(
max
=
20
,
message
=
"派遣开始日期不能超过20个字符"
)
@ExcelAttribute
(
name
=
"派遣开始日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"派遣开始日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
dispatchStart
;
/**
* 派遣结束日期
*/
@Length
(
max
=
20
,
message
=
"派遣结束日期不能超过20个字符"
)
@ExcelAttribute
(
name
=
"派遣结束日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"派遣结束日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
dispatchEnd
;
/**
* 合同开始日期
*/
@Length
(
max
=
20
,
message
=
"合同开始日期不能超过20个字符"
)
@ExcelAttribute
(
name
=
"合同开始日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"合同开始日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
contractStart
;
/**
* 合同终止日期
*/
@Length
(
max
=
20
,
message
=
"合同终止日期不能超过20个字符"
)
@ExcelAttribute
(
name
=
"合同终止日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"合同终止日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
contractEnd
;
/**
* 试用开始日期
*/
@Length
(
max
=
20
,
message
=
"试用开始日期不能超过20个字符"
)
@ExcelAttribute
(
name
=
"试用开始日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"试用开始日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
trialStart
;
/**
* 试用结束日期
*/
@Length
(
max
=
20
,
message
=
"试用结束日期不能超过20个字符"
)
@ExcelAttribute
(
name
=
"试用结束日期"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"试用结束日期"
,
maxLength
=
20
,
isDate
=
true
)
private
String
trialEnd
;
/**
* 试用期工资
...
...
@@ -383,7 +383,7 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
/**
* 离职日期
*/
@ExcelAttribute
(
name
=
"离职日期"
,
isDate
=
true
,
dateFormatExport
=
DateUtil
.
ISO_EXPANDED_DATE_FORMAT
)
@ExcelAttribute
(
name
=
"离职日期"
,
isDate
=
true
)
private
Date
leaveDate
;
/**
* 离职原因
...
...
@@ -543,13 +543,13 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
* 派单合同开始时间
*/
@Length
(
max
=
20
,
message
=
"派单合同开始时间不能超过20个字符"
)
@ExcelAttribute
(
name
=
"派单合同开始时间"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"派单合同开始时间"
,
maxLength
=
20
,
isDate
=
true
)
private
String
contractStartAdd
;
/**
* 派单合同截止时间
*/
@Length
(
max
=
20
,
message
=
"派单合同截止时间不能超过20个字符"
)
@ExcelAttribute
(
name
=
"派单合同截止时间"
,
maxLength
=
20
)
@ExcelAttribute
(
name
=
"派单合同截止时间"
,
maxLength
=
20
,
isDate
=
true
)
private
String
contractEndAdd
;
/**
* 派单合同期限
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialFundHistoryVo.java
View file @
4b357b83
...
...
@@ -50,8 +50,8 @@ public class TSocialFundHistoryVo extends RowIndex implements Serializable {
@ExcelProperty
(
"身份证号"
)
private
String
empIdcard
;
@ExcelAttribute
(
name
=
"缴纳类型"
,
readConverterExp
=
"0=最低
缴纳,1=自定义缴纳,2=最高缴纳
"
)
@Schema
(
description
=
"缴纳类型(0最低
缴纳、1自定义缴纳、2最高缴纳
)"
)
@ExcelAttribute
(
name
=
"缴纳类型"
,
readConverterExp
=
"0=最低
,1=自定义缴纳,2=最高
"
)
@Schema
(
description
=
"缴纳类型(0最低
、1自定义缴纳、2最高
)"
)
@ExcelProperty
(
"缴纳类型"
)
private
String
paymentType
;
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialFundInfoExportVo.java
View file @
4b357b83
...
...
@@ -303,8 +303,8 @@ public class TSocialFundInfoExportVo extends RowIndex implements Serializable {
@ExcelProperty
(
"大病起缴日期"
)
private
Date
bigailmentStart
;
@ExcelAttribute
(
name
=
"缴纳类型"
,
readConverterExp
=
"0=最低
缴纳,1=自定义,2=最高缴纳
"
)
@Schema
(
description
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@ExcelAttribute
(
name
=
"缴纳类型"
,
readConverterExp
=
"0=最低
,1=自定义,2=最高
"
)
@Schema
(
description
=
"缴纳类型(0最低
、1自定义、2最高
)"
)
@ExcelProperty
(
"缴纳类型"
)
private
String
paymentType
;
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialFundInfoVo.java
View file @
4b357b83
...
...
@@ -301,8 +301,8 @@ public class TSocialFundInfoVo extends RowIndex implements Serializable {
@ExcelProperty
(
"大病起缴日期"
)
private
Date
bigailmentStart
;
@ExcelAttribute
(
name
=
"缴纳类型"
,
readConverterExp
=
"0=最低
缴纳,1=自定义,2=最高缴纳
"
)
@Schema
(
description
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@ExcelAttribute
(
name
=
"缴纳类型"
,
readConverterExp
=
"0=最低
,1=自定义,2=最高
"
)
@Schema
(
description
=
"缴纳类型(0最低
、1自定义、2最高
)"
)
@ExcelProperty
(
"缴纳类型"
)
private
String
paymentType
;
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialInfoVo.java
View file @
4b357b83
...
...
@@ -620,12 +620,12 @@ public class TSocialInfoVo extends RowIndex implements Serializable {
@ExcelProperty
(
"电信编号"
)
private
String
telecomNumber
;
/**
* 缴纳类型(0最低
缴纳、1自定义缴纳、2最高缴纳
)
* 缴纳类型(0最低
、1自定义缴纳、2最高
)
*/
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@ExcelProperty
(
"缴纳类型(0最低
缴纳、1自定义、2最高缴纳
)"
)
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低
、1自定义、2最高
) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低
、1自定义、2最高
)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低
、1自定义、2最高
)"
)
@ExcelProperty
(
"缴纳类型(0最低
、1自定义、2最高
)"
)
private
String
paymentType
;
/**
* 备案基数
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
4b357b83
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/TForecastLibraryServiceImpl.java
View file @
4b357b83
...
...
@@ -1080,7 +1080,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
* @param library 预估库
* @param socialInfo 社保
* @param sysBaseSetInfo 基数配置
* @param paymentType 0最低
缴纳、1自定义、2最高缴纳
* @param paymentType 0最低
、1自定义、2最高
* @Description: 塞大病金额
* @Author: hgw
* @Date: 2020/11/25 15:51
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
4b357b83
...
...
@@ -624,7 +624,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
}
baseMapper
.
insert
(
info
);
}
return
null
;
return
errorList
;
}
/**
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
4b357b83
...
...
@@ -408,10 +408,10 @@
<if
test=
"tDispatchInfo.providentHouseholdName != null and tDispatchInfo.providentHouseholdName.trim() != ''"
>
AND f.PROVIDENT_HOUSEHOLD_NAME like CONCAT(CONCAT(#{tDispatchInfo.providentHouseholdName}), '%')
</if>
<if
test=
"tDispatchInfo.createTimeStart != null
and tDispatchInfo.createTimeStart.trim() != ''
"
>
<if
test=
"tDispatchInfo.createTimeStart != null"
>
AND a.CREATE_TIME
<![CDATA[ >= ]]>
#{tDispatchInfo.createTimeStart}
</if>
<if
test=
"tDispatchInfo.createTimeEnd != null
and tDispatchInfo.createTimeEnd.trim() != ''
"
>
<if
test=
"tDispatchInfo.createTimeEnd != null"
>
AND a.CREATE_TIME
<![CDATA[ <= ]]>
#{tDispatchInfo.createTimeEnd}
</if>
</if>
...
...
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