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
d678b65d
Commit
d678b65d
authored
Sep 01, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
划转修改
parent
06c1a3d8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
TEmpChangeInfoServiceImpl.java
...yifu/archives/service/impl/TEmpChangeInfoServiceImpl.java
+7
-5
SocialDaprUtils.java
.../cloud/plus/v1/yifu/common/dapr/util/SocialDaprUtils.java
+1
-1
TPaymentInfoMapper.xml
...cial-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
+3
-2
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpChangeInfoServiceImpl.java
View file @
d678b65d
...
...
@@ -116,11 +116,12 @@ public class TEmpChangeInfoServiceImpl extends ServiceImpl<TEmpChangeInfoMapper,
UpdateSocialFoundVo
updateSocialFoundVo
=
new
UpdateSocialFoundVo
();
updateSocialFoundVo
.
setEmpIdcard
(
tEmpChangeInfo
.
getEmpIdcard
());
updateSocialFoundVo
.
setSettleDomainCode
(
tEmpChangeInfo
.
getDeptNo
());
updateSocialFoundVo
.
setSettleDomainId
(
tEmpChangeInfo
.
getDeptId
());
updateSocialFoundVo
.
setUnitId
(
tEmpChangeInfo
.
getUnitId
());
updateSocialFoundVo
.
setUnitName
(
tEmpChangeInfo
.
getNewDept
());
updateSocialFoundVo
.
setEmpIdcard
(
updateTEmployeeProject
.
getEmpIdcard
());
updateSocialFoundVo
.
setSettleDomainCode
(
updateTEmployeeProject
.
getDeptNo
());
updateSocialFoundVo
.
setSettleDomainId
(
updateTEmployeeProject
.
getDeptId
());
updateSocialFoundVo
.
setSettleDomainName
(
updateTEmployeeProject
.
getDeptName
());
updateSocialFoundVo
.
setUnitId
(
updateTEmployeeProject
.
getUnitId
());
updateSocialFoundVo
.
setUnitName
(
updateTEmployeeProject
.
getUnitName
());
updateSocialFoundVo
.
setSocialCreateMonth
(
tEmpChangeInfo
.
getChangeStartMonth
());
socialDaprUtils
.
updatePaymentSocialAndFound
(
updateSocialFoundVo
);
socialDaprUtils
.
updateForSocialAndFound
(
updateSocialFoundVo
);
...
...
@@ -244,6 +245,7 @@ public class TEmpChangeInfoServiceImpl extends ServiceImpl<TEmpChangeInfoMapper,
updateSocialFoundVo
.
setSettleDomainId
(
tEmployeeProject
.
getDeptId
());
updateSocialFoundVo
.
setUnitId
(
tEmployeeProject
.
getUnitId
());
updateSocialFoundVo
.
setUnitName
(
tEmployeeProject
.
getUnitName
());
updateSocialFoundVo
.
setSettleDomainName
(
tEmployeeProject
.
getDeptName
());
updateSocialFoundVo
.
setSocialCreateMonth
(
tEmployeeProject
.
getChangeStartMonth
());
socialDaprUtils
.
updatePaymentSocialAndFound
(
updateSocialFoundVo
);
socialDaprUtils
.
updateForSocialAndFound
(
updateSocialFoundVo
);
...
...
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/SocialDaprUtils.java
View file @
d678b65d
...
...
@@ -64,7 +64,7 @@ public class SocialDaprUtils {
* @return
**/
public
void
updateForSocialAndFound
(
UpdateSocialFoundVo
infoVo
)
{
HttpDaprUtil
.
invokeMethodPost
(
daprProperties
.
getAppUrl
(),
daprProperties
.
getAppId
(),
"/t
paymentinfo
/inner/updateForSocialAndFound"
,
JSON
.
toJSONString
(
infoVo
),
UpdateSocialFoundVo
.
class
,
SecurityConstants
.
FROM_IN
);
HttpDaprUtil
.
invokeMethodPost
(
daprProperties
.
getAppUrl
(),
daprProperties
.
getAppId
(),
"/t
forecastlibrary
/inner/updateForSocialAndFound"
,
JSON
.
toJSONString
(
infoVo
),
UpdateSocialFoundVo
.
class
,
SecurityConstants
.
FROM_IN
);
}
/**
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
View file @
d678b65d
...
...
@@ -1093,8 +1093,9 @@
SETTLE_DOMAIN_CODE = #{infoVo.settleDomainCode},
SETTLE_DOMAIN_ID = #{infoVo.settleDomainId}
where
(SALARY_SOCIAL_FLAG = '0' or SALARY_FUND_FLAG = '0') and PUSH_STATUS = '1' and EMP_IDCARD = #{infoVo.empIdcard}
and (SOCIAL_CREATE_MONTH >= #{infoVo.socialCreateMonth} or PROVIDENT_CREATE_MONTH >= #{infoVo.socialCreateMonth})
(SALARY_SOCIAL_FLAG = '0' and SOCIAL_CREATE_MONTH >= #{infoVo.socialCreateMonth}) or
(SALARY_FUND_FLAG = '0' and PROVIDENT_CREATE_MONTH >= #{infoVo.socialCreateMonth})
and PUSH_STATUS = '1' and EMP_IDCARD = #{infoVo.empIdcard}
</update>
<!-- 更改社保推送结算状态 -->
...
...
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