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
5923f256
Commit
5923f256
authored
Jun 26, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.5' into MVP1.5.5
parents
68d29dca
b5a1390b
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
118 additions
and
120 deletions
+118
-120
TEmpContractAlertServiceImpl.java
...u/archives/service/impl/TEmpContractAlertServiceImpl.java
+4
-3
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+28
-19
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+12
-8
TPersonnelRosterServiceImpl.java
...fu/archives/service/impl/TPersonnelRosterServiceImpl.java
+17
-23
TEmployeeContractInfoMapper.xml
...src/main/resources/mapper/TEmployeeContractInfoMapper.xml
+4
-6
daprConfig.properties
...yifu-common-dapr/src/main/resources/daprConfig.properties
+9
-5
ArchiveTask.java
.../java/com/yifu/cloud/plus/v1/job/compont/ArchiveTask.java
+8
-0
TOrderServiceImpl.java
...ud/plus/v1/yifu/order/service/impl/TOrderServiceImpl.java
+10
-29
SalaryEmpRosterRes.java
...yifu/cloud/plus/v1/yifu/salary/vo/SalaryEmpRosterRes.java
+17
-0
TSalaryEmpRosterVo.java
...yifu/cloud/plus/v1/yifu/salary/vo/TSalaryEmpRosterVo.java
+3
-24
TSalaryEmployeeController.java
.../v1/yifu/salary/controller/TSalaryEmployeeController.java
+5
-3
TPaymentInfoController.java
...lus/v1/yifu/social/controller/TPaymentInfoController.java
+1
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpContractAlertServiceImpl.java
View file @
5923f256
...
@@ -423,6 +423,7 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
...
@@ -423,6 +423,7 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
feedbackDetail
.
setFeedbackDetail
(
changeFeedBackAllVo
.
getFeedbackDetail
());
feedbackDetail
.
setFeedbackDetail
(
changeFeedBackAllVo
.
getFeedbackDetail
());
feedbackDetailMapper
.
insert
(
feedbackDetail
);
feedbackDetailMapper
.
insert
(
feedbackDetail
);
}
}
changeFeedBackAllVo
.
setIsFeedback
(
CommonConstants
.
ONE_INTEGER
);
changeFeedBackAllVo
.
setFeedbackPerson
(
user
.
getNickname
());
changeFeedBackAllVo
.
setFeedbackPerson
(
user
.
getNickname
());
changeFeedBackAllVo
.
setFeedbackTime
(
DateTime
.
now
());
changeFeedBackAllVo
.
setFeedbackTime
(
DateTime
.
now
());
return
baseMapper
.
changeFeedBackAll
(
changeFeedBackAllVo
);
return
baseMapper
.
changeFeedBackAll
(
changeFeedBackAllVo
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
5923f256
...
@@ -767,7 +767,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -767,7 +767,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
List
<
TEmployeeContractInfo
>
contractInfoListZt
=
baseMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
List
<
TEmployeeContractInfo
>
contractInfoListZt
=
baseMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpId
,
contractInfo
.
getEmpId
())
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpId
,
contractInfo
.
getEmpId
())
.
eq
(
TEmployeeContractInfo:
:
getSettleDomain
,
contractInfo
.
getSettleDomain
())
.
eq
(
TEmployeeContractInfo:
:
getSettleDomain
,
contractInfo
.
getSettleDomain
())
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
)
.
and
(
obj
->
obj
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ONE_INT
)
.
or
().
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
))
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
for
(
TEmployeeContractInfo
contractInfo1:
contractInfoListZt
)
{
for
(
TEmployeeContractInfo
contractInfo1:
contractInfoListZt
)
{
...
@@ -803,23 +804,26 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -803,23 +804,26 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProjectService
.
updateById
(
tEmployeeProject
);
tEmployeeProjectService
.
updateById
(
tEmployeeProject
);
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
)
{
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
if
(
Common
.
isNotNull
(
tEmployeeInfo
)
&&
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ONE_INT
)
{
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
&&
Common
.
isNotNull
(
tEmployeeInfo
))
{
//减档
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
tEmployeeInfo
.
setProjectNum
(
tEmployeeInfo
.
getProjectNum
()
-
CommonConstants
.
ONE_INT
);
tEmployeeInfo
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
//减项成功把人员档案现存项目数减一
if
(
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ZERO_INT
)
{
//减档
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveUser
(
user
.
getId
());
tEmployeeInfo
.
setLeaveUser
(
user
.
getId
());
tEmployeeInfo
.
setLeaveUserName
(
user
.
getNickname
());
tEmployeeInfo
.
setLeaveUserName
(
user
.
getNickname
());
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
workInfo
.
append
(
"减档成功,"
);
workInfo
.
append
(
"减档成功,"
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
else
{
}
else
{
failueInfo
.
append
(
"存在其他项目,无法减档"
);
failueInfo
.
append
(
"存在其他项目,无法减档"
);
}
}
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
}
}
}
//更新任务处理情况数据
//更新任务处理情况数据
...
@@ -1426,10 +1430,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -1426,10 +1430,10 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
if
(
ll
.
getAuditStatus
().
contains
(
"审核不通过"
))
{
if
(
ll
.
getAuditStatus
().
contains
(
"审核不通过"
))
{
if
(
null
!=
ll
.
getRemark
())
{
if
(
null
!=
ll
.
getRemark
())
{
String
[]
a
=
ll
.
getRemark
().
split
(
":"
);
String
[]
a
=
ll
.
getRemark
().
split
(
":"
);
for
(
int
t
=
0
;
t
<
a
.
length
;
t
++){
for
(
int
t
=
CommonConstants
.
ZERO_INT
;
t
<
a
.
length
;
t
++){
if
(
t
==
1
)
{
if
(
t
==
CommonConstants
.
ONE_INT
)
{
ll
.
setNoPassReason
(
a
[
0
]);
ll
.
setNoPassReason
(
a
[
CommonConstants
.
ZERO_INT
]);
ll
.
setRemark
(
a
[
1
]);
ll
.
setRemark
(
a
[
CommonConstants
.
ONE_INT
]);
}
}
}
}
}
}
...
@@ -1689,7 +1693,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -1689,7 +1693,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
contractInfoListZt
=
baseMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
contractInfoListZt
=
baseMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpId
,
contract
.
getEmpId
())
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpId
,
contract
.
getEmpId
())
.
eq
(
TEmployeeContractInfo:
:
getSettleDomain
,
contract
.
getSettleDomain
())
.
eq
(
TEmployeeContractInfo:
:
getSettleDomain
,
contract
.
getSettleDomain
())
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
)
.
and
(
obj
->
obj
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ONE_INT
)
.
or
().
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
))
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
for
(
TEmployeeContractInfo
contractInfo1
:
contractInfoListZt
)
{
for
(
TEmployeeContractInfo
contractInfo1
:
contractInfoListZt
)
{
...
@@ -1725,23 +1730,27 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
...
@@ -1725,23 +1730,27 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProjectService
.
updateById
(
tEmployeeProject
);
tEmployeeProjectService
.
updateById
(
tEmployeeProject
);
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
)
{
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
if
(
Common
.
isNotNull
(
tEmployeeInfo
)
&&
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ONE_INT
)
{
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
&&
Common
.
isNotNull
(
tEmployeeInfo
))
{
//减档
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
tEmployeeInfo
.
setProjectNum
(
tEmployeeInfo
.
getProjectNum
()
-
CommonConstants
.
ONE_INT
);
tEmployeeInfo
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
//减项成功把人员档案现存项目数减一
if
(
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ZERO_INT
)
{
//减档
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveUser
(
user
.
getId
());
tEmployeeInfo
.
setLeaveUser
(
user
.
getId
());
tEmployeeInfo
.
setLeaveUserName
(
user
.
getNickname
());
tEmployeeInfo
.
setLeaveUserName
(
user
.
getNickname
());
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
workInfo
.
append
(
"减档成功,"
);
workInfo
.
append
(
"减档成功,"
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
else
{
}
else
{
failueInfo
.
append
(
"存在其他项目,无法减档"
);
failueInfo
.
append
(
"存在其他项目,无法减档"
);
}
}
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
}
}
}
//更新任务处理情况数据
//更新任务处理情况数据
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
5923f256
...
@@ -1412,7 +1412,8 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1412,7 +1412,8 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
contractInfoListZt
=
contractInfoMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
contractInfoListZt
=
contractInfoMapper
.
selectList
(
Wrappers
.<
TEmployeeContractInfo
>
query
()
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpIdcard
,
vo
.
getEmpIdCard
())
.
lambda
().
eq
(
TEmployeeContractInfo:
:
getEmpIdcard
,
vo
.
getEmpIdCard
())
.
eq
(
TEmployeeContractInfo:
:
getDeptNo
,
vo
.
getDepartNo
())
.
eq
(
TEmployeeContractInfo:
:
getDeptNo
,
vo
.
getDepartNo
())
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
)
.
and
(
obj
->
obj
.
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ONE_INT
)
.
or
().
eq
(
TEmployeeContractInfo:
:
getAuditStatus
,
CommonConstants
.
ZERO_INT
))
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
.
eq
(
TEmployeeContractInfo:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
));
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
if
(
Common
.
isNotNull
(
contractInfoListZt
))
{
for
(
TEmployeeContractInfo
contractInfo1
:
contractInfoListZt
)
{
for
(
TEmployeeContractInfo
contractInfo1
:
contractInfoListZt
)
{
...
@@ -1448,23 +1449,26 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1448,23 +1449,26 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
tEmployeeProject
.
getId
(),
tEmployeeProjectOld
,
tEmployeeProject
);
baseMapper
.
updateById
(
tEmployeeProject
);
baseMapper
.
updateById
(
tEmployeeProject
);
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
//如果项目档案已减项,如果人员存在多个项目不处理,反之则减档
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
)
{
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
TEmployeeInfo
tEmployeeInfo
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeProject
.
getEmpId
());
if
(
Common
.
isNotNull
(
tEmployeeInfo
)
&&
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ONE_INT
)
{
if
(
tEmployeeProject
.
getProjectStatus
()
==
CommonConstants
.
ONE_INT
&&
Common
.
isNotNull
(
tEmployeeInfo
))
{
//减档
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
TEmployeeInfo
tEmployeeInfoOld
=
tEmployeeInfoMapper
.
selectById
(
tEmployeeInfo
.
getId
());
tEmployeeInfo
.
setProjectNum
(
tEmployeeInfo
.
getProjectNum
()
-
CommonConstants
.
ONE_INT
);
tEmployeeInfo
.
setContractStatus
(
CommonConstants
.
TWO_INT
);
//减项成功把人员档案现存项目数减一
if
(
tEmployeeInfo
.
getProjectNum
()
==
CommonConstants
.
ZERO_INT
)
{
//减档
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setFileStatus
(
CommonConstants
.
dingleDigitIntArray
[
1
]);
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveRemark
(
tEmployeeProject
.
getLeaveRemark
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveTime
(
DateUtil
.
getCurrentDateTime
());
tEmployeeInfo
.
setLeaveUser
(
vo
.
getUserId
());
tEmployeeInfo
.
setLeaveUser
(
vo
.
getUserId
());
tEmployeeInfo
.
setLeaveUserName
(
vo
.
getUserName
());
tEmployeeInfo
.
setLeaveUserName
(
vo
.
getUserName
());
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
workInfo
.
append
(
"减档成功,"
);
workInfo
.
append
(
"减档成功,"
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
else
{
}
else
{
failueInfo
.
append
(
"存在其他项目,无法减档"
);
failueInfo
.
append
(
"存在其他项目,无法减档"
);
}
}
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
tEmployeeInfo
.
getId
(),
""
,
tEmployeeInfoOld
,
tEmployeeInfo
);
tEmployeeInfoMapper
.
updateById
(
tEmployeeInfo
);
}
}
}
}
//更新任务处理情况查询表数据
//更新任务处理情况查询表数据
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPersonnelRosterServiceImpl.java
View file @
5923f256
...
@@ -16,34 +16,26 @@
...
@@ -16,34 +16,26 @@
*/
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.read.listener.ReadListener
;
import
com.alibaba.excel.read.metadata.holder.ReadRowHolder
;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddSealPersonAuth
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TDepartSettlementInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPersonnelRoster
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPersonnelRoster
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPersonnelRosterMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPersonnelRosterMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPersonnelRosterService
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPersonnelRosterService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPersonnelRosterSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPersonnelRosterSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPersonnelRosterVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.SecurityConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.SecurityConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.DateUtil
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ExcelUtil
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprArchivesProperties
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprArchivesProperties
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprS
ocial
Properties
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprS
alary
Properties
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.util.HttpDaprUtil
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.util.HttpDaprUtil
;
import
com.yifu.cloud.plus.v1.yifu.
common.mybatis.base.BaseEntity
;
import
com.yifu.cloud.plus.v1.yifu.
salary.vo.SalaryEmpRosterRes
;
import
com.yifu.cloud.plus.v1.yifu.salary.vo.TSalaryEmpRosterVo
;
import
com.yifu.cloud.plus.v1.yifu.salary.vo.TSalaryEmpRosterVo
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
lombok.extern.log4j.Log4j2
;
...
@@ -53,7 +45,6 @@ import org.springframework.stereotype.Service;
...
@@ -53,7 +45,6 @@ import org.springframework.stereotype.Service;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.net.URLEncoder
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
@@ -69,10 +60,11 @@ import java.util.stream.Collectors;
...
@@ -69,10 +60,11 @@ import java.util.stream.Collectors;
*/
*/
@Log4j2
@Log4j2
@AllArgsConstructor
@AllArgsConstructor
@EnableConfigurationProperties
({
Dapr
Archives
Properties
.
class
})
@EnableConfigurationProperties
({
Dapr
Salary
Properties
.
class
})
@Service
@Service
public
class
TPersonnelRosterServiceImpl
extends
ServiceImpl
<
TPersonnelRosterMapper
,
TPersonnelRoster
>
implements
TPersonnelRosterService
{
public
class
TPersonnelRosterServiceImpl
extends
ServiceImpl
<
TPersonnelRosterMapper
,
TPersonnelRoster
>
implements
TPersonnelRosterService
{
private
final
DaprArchivesProperties
daprArchivesProperties
;
private
final
DaprSalaryProperties
daprSalaryProperties
;
/**
/**
* 简单分页查询
* 简单分页查询
* @param tPersonnelRoster
* @param tPersonnelRoster
...
@@ -159,7 +151,7 @@ public class TPersonnelRosterServiceImpl extends ServiceImpl<TPersonnelRosterMap
...
@@ -159,7 +151,7 @@ public class TPersonnelRosterServiceImpl extends ServiceImpl<TPersonnelRosterMap
long
count
=
baseMapper
.
getTPersonnelRosterCount
(
searchVo
);
long
count
=
baseMapper
.
getTPersonnelRosterCount
(
searchVo
);
List
<
TPersonnelRoster
>
list
;
List
<
TPersonnelRoster
>
list
;
if
(
count
>
CommonConstants
.
ZERO_INT
){
if
(
count
>
CommonConstants
.
ZERO_INT
){
R
<
List
<
TSalaryEmpRosterVo
>
>
res
;
R
<
SalaryEmpRosterRes
>
res
;
Map
<
String
,
TSalaryEmpRosterVo
>
voMap
=
new
HashMap
<>();
Map
<
String
,
TSalaryEmpRosterVo
>
voMap
=
new
HashMap
<>();
TSalaryEmpRosterVo
rosterVo
;
TSalaryEmpRosterVo
rosterVo
;
for
(
int
i
=
0
;
i
<=
count
;
)
{
for
(
int
i
=
0
;
i
<=
count
;
)
{
...
@@ -168,14 +160,16 @@ public class TPersonnelRosterServiceImpl extends ServiceImpl<TPersonnelRosterMap
...
@@ -168,14 +160,16 @@ public class TPersonnelRosterServiceImpl extends ServiceImpl<TPersonnelRosterMap
list
=
baseMapper
.
getTPersonnelRoster
(
searchVo
);
list
=
baseMapper
.
getTPersonnelRoster
(
searchVo
);
if
(
Common
.
isNotNull
(
list
)){
if
(
Common
.
isNotNull
(
list
)){
// 处理薪资信息
// 处理薪资信息
res
=
HttpDaprUtil
.
invokeMethodPost
(
dapr
ArchivesProperties
.
getAppUrl
(),
daprArchives
Properties
.
getAppId
(),
res
=
HttpDaprUtil
.
invokeMethodPost
(
dapr
SalaryProperties
.
getAppUrl
(),
daprSalary
Properties
.
getAppId
(),
"/tsalaryemployee/
inner/
getSalaryEmpRoster"
,
list
.
stream
()
"/tsalaryemployee/getSalaryEmpRoster"
,
list
.
stream
()
.
map
(
TPersonnelRoster:
:
getEmpIdcard
).
collect
(
Collectors
.
toList
()),
.
map
(
TPersonnelRoster:
:
getEmpIdcard
).
collect
(
Collectors
.
toList
()),
TSalaryEmpRosterVo
.
class
,
SecurityConstants
.
FROM_IN
);
SalaryEmpRosterRes
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
Common
.
isNotNull
(
res
)
&&
Common
.
isNotNull
(
res
.
getData
())
&&
res
.
getData
().
size
()
>
0
){
if
(
Common
.
isNotNull
(
res
)
&&
Common
.
isNotNull
(
res
.
getData
())
&&
Common
.
isNotEmpty
(
res
.
getData
().
getRosterVos
())
){
for
(
TSalaryEmpRosterVo
vo
:
res
.
getData
()){
for
(
TSalaryEmpRosterVo
vo
:
res
.
getData
()
.
getRosterVos
()
){
voMap
.
put
(
vo
.
getEmpIdcard
(),
vo
);
voMap
.
put
(
vo
.
getEmpIdcard
(),
vo
);
}
}
}
else
{
return
;
}
}
if
(
Common
.
isNotNull
(
list
)
&&
Common
.
isNotNull
(
voMap
)){
if
(
Common
.
isNotNull
(
list
)
&&
Common
.
isNotNull
(
voMap
)){
for
(
TPersonnelRoster
r:
list
){
for
(
TPersonnelRoster
r:
list
){
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractInfoMapper.xml
View file @
5923f256
...
@@ -202,6 +202,7 @@
...
@@ -202,6 +202,7 @@
a.AUDIT_TIME_LAST,
a.AUDIT_TIME_LAST,
a.TYPE,
a.TYPE,
a.LEAVE_DATE,
a.LEAVE_DATE,
a.AUDIT_USER_NAME,
a.REDUCE_REASON,a.type
a.REDUCE_REASON,a.type
</sql>
</sql>
...
@@ -401,7 +402,9 @@
...
@@ -401,7 +402,9 @@
<if
test=
"tEmployeeContractInfo.applyNo != null and tEmployeeContractInfo.applyNo.trim() != ''"
>
<if
test=
"tEmployeeContractInfo.applyNo != null and tEmployeeContractInfo.applyNo.trim() != ''"
>
AND a.APPLY_NO = #{tEmployeeContractInfo.applyNo}
AND a.APPLY_NO = #{tEmployeeContractInfo.applyNo}
</if>
</if>
<if
test=
"tEmployeeContractInfo.auditStatus != null"
>
AND a.AUDIT_STATUS = #{tEmployeeContractInfo.auditStatus}
</if>
<if
test=
"tEmployeeContractInfo.empNatrue != null and tEmployeeContractInfo.empNatrue.trim() != ''"
>
<if
test=
"tEmployeeContractInfo.empNatrue != null and tEmployeeContractInfo.empNatrue.trim() != ''"
>
AND a.EMP_NATRUE = #{tEmployeeContractInfo.empNatrue}
AND a.EMP_NATRUE = #{tEmployeeContractInfo.empNatrue}
</if>
</if>
...
@@ -426,10 +429,8 @@
...
@@ -426,10 +429,8 @@
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM t_employee_contract_info a
FROM t_employee_contract_info a
join t_employee_contract_audit b on a.ID=b.LINK_ID
<where>
<where>
a.DELETE_FLAG = 0
a.DELETE_FLAG = 0
and b.ROOT_NAME='合同审核'
<include
refid=
"tEmployeeContractInfo_where"
/>
<include
refid=
"tEmployeeContractInfo_where"
/>
<if
test=
"tEmployeeContractInfo.authSql != null and tEmployeeContractInfo.authSql.trim() != ''"
>
<if
test=
"tEmployeeContractInfo.authSql != null and tEmployeeContractInfo.authSql.trim() != ''"
>
${tEmployeeContractInfo.authSql}
${tEmployeeContractInfo.authSql}
...
@@ -443,9 +444,6 @@
...
@@ -443,9 +444,6 @@
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM t_employee_contract_info a
FROM t_employee_contract_info a
join t_employee_contract_audit b on a.ID=b.LINK_ID
<where>
<where>
a.DELETE_FLAG = 0
a.DELETE_FLAG = 0
<include
refid=
"tEmployeeContractInfo_where"
/>
<include
refid=
"tEmployeeContractInfo_where"
/>
...
...
yifu-common/yifu-common-dapr/src/main/resources/daprConfig.properties
View file @
5923f256
dapr.upms.appUrl
=
http://
yifu-upms.qas-mvp.svc.cluster.local
:3500/v1.0/invoke/
dapr.upms.appUrl
=
http://
localhost
:3500/v1.0/invoke/
dapr.upms.appId
=
yifu-upms
dapr.upms.appId
=
yifu-upms
#\u6D4B\u8BD5\u73AF\u5883
#\u6D4B\u8BD5\u73AF\u5883
#dapr.check.appUrl=http://yifu-check.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
#dapr.check.appUrl=http://yifu-check.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
#\u672C\u5730
#\u672C\u5730
dapr.check.appUrl
=
http://
yifu-check.qas-mvp.svc.cluster.local:3500
/v1.0/invoke/
dapr.check.appUrl
=
http://
localhost:3507
/v1.0/invoke/
dapr.check.appId
=
yifu-check
dapr.check.appId
=
yifu-check
#\u672C\u5730
#\u672C\u5730
dapr.archives.appUrl
=
http://
yifu-archives.qas-mvp.svc.cluster.local:3500
/v1.0/invoke/
dapr.archives.appUrl
=
http://
localhost:3508
/v1.0/invoke/
dapr.archives.appId
=
yifu-archives
dapr.archives.appId
=
yifu-archives
#\u672C\u5730
dapr.salary.appUrl
=
http://localhost:3520/v1.0/invoke/
dapr.salary.appId
=
yifu-salary
dapr.social.appUrl
=
http://
yifu-social.qas-mvp.svc.cluster.local:350
0/v1.0/invoke/
dapr.social.appUrl
=
http://
localhost:351
0/v1.0/invoke/
dapr.social.appId
=
yifu-social
dapr.social.appId
=
yifu-social
#\u6D4B\u8BD5\u73AF\u5883-B\u7AEF\u670D\u52A1
#\u6D4B\u8BD5\u73AF\u5883-B\u7AEF\u670D\u52A1
...
@@ -22,5 +26,5 @@ dapr.business.appUrl=http://yifu-business.qas-mvp.svc.cluster.local:3500/v1.0/in
...
@@ -22,5 +26,5 @@ dapr.business.appUrl=http://yifu-business.qas-mvp.svc.cluster.local:3500/v1.0/in
dapr.business.appId
=
yifu-business
dapr.business.appId
=
yifu-business
#\u6D4B\u8BD5\u73AF\u5883-\u6D88\u606F\u63D0\u9192\u670D\u52A1
#\u6D4B\u8BD5\u73AF\u5883-\u6D88\u606F\u63D0\u9192\u670D\u52A1
dapr.msg.appUrl
=
http://
yifu-msg.qas-mvp.svc.cluster.local:3500
/v1.0/invoke/
dapr.msg.appUrl
=
http://
localhost:3535
/v1.0/invoke/
dapr.msg.appId
=
yifu-msg
dapr.msg.appId
=
yifu-msg
\ No newline at end of file
yifu-job/yifu-job-api/src/main/java/com/yifu/cloud/plus/v1/job/compont/ArchiveTask.java
View file @
5923f256
...
@@ -60,4 +60,12 @@ public class ArchiveTask {
...
@@ -60,4 +60,12 @@ public class ArchiveTask {
SecurityConstants
.
FROM_IN
);
SecurityConstants
.
FROM_IN
);
log
.
info
(
"-------------每日凌晨1点人员退休提醒-定时任务开始------------"
);
log
.
info
(
"-------------每日凌晨1点人员退休提醒-定时任务开始------------"
);
}
}
public
void
everyMonthUpdateRoster
()
{
log
.
info
(
"-------------每月26号更新人员花名册-定时任务开始------------"
);
HttpDaprUtil
.
invokeMethodPost
(
daprArchivesProperties
.
getAppUrl
(),
daprArchivesProperties
.
getAppId
(),
"/tpersonnelroster/inner/everyMonthUpdateRoster"
,
""
,
Object
.
class
,
SecurityConstants
.
FROM_IN
);
log
.
info
(
"-------------每月26号更新人员花名册-定时任务开始------------"
);
}
}
}
\ No newline at end of file
yifu-order/yifu-order-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/order/service/impl/TOrderServiceImpl.java
View file @
5923f256
...
@@ -553,30 +553,12 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
...
@@ -553,30 +553,12 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
tOrderHandlerService
.
saveBatch
(
list
);
tOrderHandlerService
.
saveBatch
(
list
);
}
}
if
(
save
&&
ArrayUtils
.
isNotEmpty
(
vo
.
getFile
())){
if
(
save
&&
ArrayUtils
.
isNotEmpty
(
vo
.
getFile
())){
String
fileName
;
for
(
MultipartFile
multipartFile
:
vo
.
getFile
())
{
for
(
MultipartFile
multipartFile
:
vo
.
getFile
())
{
String
fileName
=
System
.
currentTimeMillis
()
+
"_"
+
multipartFile
.
getOriginalFilename
();
fileName
=
System
.
currentTimeMillis
()
+
"_"
+
multipartFile
.
getOriginalFilename
();
//filePath不传默认存储空间的根目录
//filePath不传默认存储空间的根目录
//支持的附件格式
//支持的附件格式
String
key
=
fileName
;
getObjectR
(
multipartFile
.
getInputStream
(),
vo
.
getOrderNo
(),
fileName
,
multipartFile
.
getOriginalFilename
(),
CommonConstants
.
ZERO_INT
);
boolean
flag
=
ossUtil
.
uploadFileByStream
(
multipartFile
.
getInputStream
(),
key
,
null
);
if
(
flag
)
{
log
.
info
(
"文件:"
+
fileName
+
"上传至存储空间"
+
ossUtil
.
getBucketName
()
+
"成功!"
);
TOrderEnclosure
orderEnclosure
=
new
TOrderEnclosure
();
orderEnclosure
.
setOrderNo
(
order
.
getOrderNo
());
orderEnclosure
.
setEnclosureName
(
multipartFile
.
getOriginalFilename
());
orderEnclosure
.
setEnclosureFlag
(
CommonConstants
.
ZERO_INT
);
orderEnclosure
.
setEnclosureAddress
(
key
);
orderEnclosure
.
setDeleteFlag
(
CommonConstants
.
ZERO_INT
);
try
{
tOrderEnclosureService
.
save
(
orderEnclosure
);
}
catch
(
Exception
e
)
{
log
.
error
(
"订单接收OSS文件上传接口异常:"
+
e
.
getMessage
());
ossUtil
.
deleteObject
(
null
,
key
);
return
R
.
failed
(
"failed:"
+
e
.
getMessage
());
}
}
else
{
return
R
.
failed
(
OrderConstants
.
OPERATE_FAILED
);
}
}
}
}
}
...
@@ -675,15 +657,14 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
...
@@ -675,15 +657,14 @@ public class TOrderServiceImpl extends ServiceImpl<TOrderMapper, TOrder> impleme
}
}
/**
/**
*
接收处理ekp订单回复
*
@Author fxj
*
*
@Description 附件上传
* @
author licancan
* @
Date 9:38 2023/6/26
* @
return {@link R}
* @
Param
* @
throws IOExceptio
n
* @
retur
n
*/
*
*/
@Override
@Override
public
void
receiveOrderNew
(
InputStream
inputStream
,
String
file1
,
String
orderNo
,
String
fileName
,
String
originalFileName
){
public
void
receiveOrderNew
(
InputStream
inputStream
,
String
file1
,
String
orderNo
,
String
fileName
,
String
originalFileName
){
R
<
Object
>
e
;
if
(
file1
.
equals
(
"fileOne"
))
{
if
(
file1
.
equals
(
"fileOne"
))
{
getObjectR
(
inputStream
,
orderNo
,
fileName
,
originalFileName
,
CommonConstants
.
TWO_INTEGER
);
getObjectR
(
inputStream
,
orderNo
,
fileName
,
originalFileName
,
CommonConstants
.
TWO_INTEGER
);
}
}
...
...
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/vo/SalaryEmpRosterRes.java
0 → 100644
View file @
5923f256
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
salary
.
vo
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* @Author fxj
* @Date 2023/6/26
* @Description
* @Version 1.0
*/
@Data
public
class
SalaryEmpRosterRes
implements
Serializable
{
private
List
<
TSalaryEmpRosterVo
>
rosterVos
;
}
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/vo/TSalaryEmpRosterVo.java
View file @
5923f256
...
@@ -8,6 +8,7 @@ import lombok.Data;
...
@@ -8,6 +8,7 @@ import lombok.Data;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
java.io.Serializable
;
/**
/**
* @Author fxj
* @Author fxj
...
@@ -17,54 +18,32 @@ import javax.validation.constraints.NotBlank;
...
@@ -17,54 +18,32 @@ import javax.validation.constraints.NotBlank;
* @return
* @return
**/
**/
@Data
@Data
public
class
TSalaryEmpRosterVo
{
public
class
TSalaryEmpRosterVo
implements
Serializable
{
/**
/**
* 身份证号
* 身份证号
*/
*/
@ExcelAttribute
(
name
=
"身份证号"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"身份证号不能为空"
)
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"身份证号"
)
private
String
empIdcard
;
private
String
empIdcard
;
/**
/**
* 开户行总行
* 开户行总行
*/
*/
@ExcelAttribute
(
name
=
"开户行总行"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"开户行总行不能超过50个字符"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"开户行总行"
)
private
String
bankName
;
private
String
bankName
;
/**
/**
* 开户行省
* 开户行省
*/
*/
@ExcelAttribute
(
name
=
"开户行省"
,
isArea
=
true
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"开户行省"
)
private
String
bankProvince
;
private
String
bankProvince
;
/**
/**
* 开户行市
* 开户行市
*/
*/
@ExcelAttribute
(
name
=
"开户行市"
,
isArea
=
true
,
parentField
=
"bankProvince"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"开户行市"
)
private
String
bankCity
;
private
String
bankCity
;
/**
/**
* 开户行支行
* 开户行支行
*/
*/
@ExcelAttribute
(
name
=
"开户行支行"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"开户行支行不能超过50个字符"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"开户行支行"
)
private
String
bankSubName
;
private
String
bankSubName
;
/**
/**
* 银行卡号
* 银行卡号
*/
*/
@ExcelAttribute
(
name
=
"银行卡号"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"银行卡号不能超过50个字符"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"银行卡号"
)
private
String
bankNo
;
private
String
bankNo
;
}
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TSalaryEmployeeController.java
View file @
5923f256
...
@@ -217,8 +217,10 @@ public class TSalaryEmployeeController {
...
@@ -217,8 +217,10 @@ public class TSalaryEmployeeController {
**/
**/
@Operation
(
summary
=
"获取员工花名册信息信息"
,
description
=
"获取员工花名册信息信息"
)
@Operation
(
summary
=
"获取员工花名册信息信息"
,
description
=
"获取员工花名册信息信息"
)
@Inner
@Inner
@PostMapping
(
"/inner/getSalaryEmpRoster"
)
@PostMapping
(
"/getSalaryEmpRoster"
)
public
List
<
TSalaryEmpRosterVo
>
getSalaryEmpRoster
(
@RequestBody
List
<
String
>
idCardList
)
{
public
R
<
SalaryEmpRosterRes
>
getSalaryEmpRoster
(
@RequestBody
List
<
String
>
idCardList
)
{
return
tSalaryEmployeeService
.
getSalaryEmpRoster
(
idCardList
);
SalaryEmpRosterRes
res
=
new
SalaryEmpRosterRes
();
res
.
setRosterVos
(
tSalaryEmployeeService
.
getSalaryEmpRoster
(
idCardList
));
return
new
R
<>(
res
);
}
}
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TPaymentInfoController.java
View file @
5923f256
...
@@ -319,6 +319,7 @@ public class TPaymentInfoController {
...
@@ -319,6 +319,7 @@ public class TPaymentInfoController {
* @author huyc
* @author huyc
* @date 2022-10-31
* @date 2022-10-31
**/
**/
@SysLog
(
"缴费库合并导出"
)
@Operation
(
description
=
"合并导出缴费库 hasPermission('social_tpaymentinfo_export')"
)
@Operation
(
description
=
"合并导出缴费库 hasPermission('social_tpaymentinfo_export')"
)
@PostMapping
(
"/sumExport"
)
@PostMapping
(
"/sumExport"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpaymentinfo_export')"
)
@PreAuthorize
(
"@pms.hasPermission('social_tpaymentinfo_export')"
)
...
...
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