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
ca4e5237
Commit
ca4e5237
authored
Mar 13, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拒绝入职优化-fxj
parent
34ce1e3c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
16 deletions
+19
-16
EmployeeRegistrationPreServiceImpl.java
...ives/service/impl/EmployeeRegistrationPreServiceImpl.java
+3
-0
TEmployeeContractPreMapper.xml
.../src/main/resources/mapper/TEmployeeContractPreMapper.xml
+4
-4
TEmployeeInsurancePreMapper.xml
...sources/mapper/insurances/TEmployeeInsurancePreMapper.xml
+4
-4
TDispatchInfoPreMapper.xml
...-biz/src/main/resources/mapper/TDispatchInfoPreMapper.xml
+8
-8
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/EmployeeRegistrationPreServiceImpl.java
View file @
ca4e5237
...
@@ -258,6 +258,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
...
@@ -258,6 +258,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
@Override
@Override
public
R
updateRegistById
(
EmployeeRegistrationPre
employeeRegistrationPre
)
{
public
R
updateRegistById
(
EmployeeRegistrationPre
employeeRegistrationPre
)
{
EmployeeRegistrationPre
updatePre
=
baseMapper
.
selectById
(
employeeRegistrationPre
.
getId
());
EmployeeRegistrationPre
updatePre
=
baseMapper
.
selectById
(
employeeRegistrationPre
.
getId
());
//状态:0短信待发送,1信息待填写,2信息待审核,3拒绝入职,4已完成
if
(
Common
.
isEmpty
(
updatePre
)
||
(
updatePre
.
getProcessStatus
().
equals
(
CommonConstants
.
THREE_STRING
)
if
(
Common
.
isEmpty
(
updatePre
)
||
(
updatePre
.
getProcessStatus
().
equals
(
CommonConstants
.
THREE_STRING
)
||
updatePre
.
getProcessStatus
().
equals
(
CommonConstants
.
FOUR_STRING
)))
{
||
updatePre
.
getProcessStatus
().
equals
(
CommonConstants
.
FOUR_STRING
)))
{
return
R
.
failed
(
CommonConstants
.
NO_DATA_TO_HANDLE
);
return
R
.
failed
(
CommonConstants
.
NO_DATA_TO_HANDLE
);
...
@@ -1346,6 +1347,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
...
@@ -1346,6 +1347,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
updatePre
=
baseMapper
.
selectOne
(
Wrappers
.<
EmployeeRegistrationPre
>
query
()
updatePre
=
baseMapper
.
selectOne
(
Wrappers
.<
EmployeeRegistrationPre
>
query
()
.
lambda
().
eq
(
EmployeeRegistrationPre:
:
getId
,
updateVo
.
getId
())
.
lambda
().
eq
(
EmployeeRegistrationPre:
:
getId
,
updateVo
.
getId
())
.
in
(
EmployeeRegistrationPre:
:
getProcessStatus
,
CommonConstants
.
processStatus
)
.
in
(
EmployeeRegistrationPre:
:
getProcessStatus
,
CommonConstants
.
processStatus
)
.
eq
(
EmployeeRegistrationPre:
:
getIsRefuse
,
CommonConstants
.
ONE_STRING
)
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
updatePre
))
{
if
(
Common
.
isNotNull
(
updatePre
))
{
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
updatePre
.
getProcessStatus
()))
{
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
updatePre
.
getProcessStatus
()))
{
...
@@ -1397,6 +1399,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
...
@@ -1397,6 +1399,7 @@ public class EmployeeRegistrationPreServiceImpl extends ServiceImpl<EmployeeRegi
.
eq
(
EmployeeRegistrationPre:
:
getEmpIdcard
,
info
.
getEmpIdcard
())
.
eq
(
EmployeeRegistrationPre:
:
getEmpIdcard
,
info
.
getEmpIdcard
())
.
eq
(
EmployeeRegistrationPre:
:
getDeptId
,
updateVo
.
getDeptId
())
.
eq
(
EmployeeRegistrationPre:
:
getDeptId
,
updateVo
.
getDeptId
())
.
eq
(
EmployeeRegistrationPre:
:
getProcessStatus
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
EmployeeRegistrationPre:
:
getProcessStatus
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
EmployeeRegistrationPre:
:
getIsRefuse
,
CommonConstants
.
ONE_STRING
)
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
updatePre
))
{
if
(
Common
.
isNotNull
(
updatePre
))
{
updatePre
.
setProcessStatus
(
CommonConstants
.
ONE_STRING
);
updatePre
.
setProcessStatus
(
CommonConstants
.
ONE_STRING
);
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractPreMapper.xml
View file @
ca4e5237
...
@@ -308,7 +308,7 @@
...
@@ -308,7 +308,7 @@
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM t_employee_contract_pre a
FROM t_employee_contract_pre a
<where>
<where>
1=1
1=1
and a.IS_REFUSE ='1'
<include
refid=
"tEmployeeContractPre_where"
/>
<include
refid=
"tEmployeeContractPre_where"
/>
</where>
</where>
order by a.create_time desc
order by a.create_time desc
...
@@ -420,7 +420,7 @@
...
@@ -420,7 +420,7 @@
if(#{type} = '1',concat('自动化手动-',a.customer_username),concat('自动化自动-',a.customer_username)) preName
if(#{type} = '1',concat('自动化手动-',a.customer_username),concat('自动化自动-',a.customer_username)) preName
FROM t_employee_contract_pre a,(select @i:=0) as itable
FROM t_employee_contract_pre a,(select @i:=0) as itable
<where>
<where>
1=1
1=1
and a.IS_REFUSE ='1'
AND a.id in
AND a.id in
<foreach
item=
"idStr"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"idStr"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
#{idStr}
#{idStr}
...
@@ -436,7 +436,7 @@
...
@@ -436,7 +436,7 @@
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM t_employee_contract_pre a
FROM t_employee_contract_pre a
where a.process_status = '0' and a.expected_confirm_time is not null
where a.process_status = '0' and a.expected_confirm_time is not null
and a.IS_REFUSE ='1'
and DATE_FORMAT(a.expected_confirm_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and DATE_FORMAT(a.expected_confirm_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
group by a.customer_user_loginname
group by a.customer_user_loginname
</select>
</select>
...
@@ -449,6 +449,6 @@
...
@@ -449,6 +449,6 @@
a.expected_collection_time is not null
a.expected_collection_time is not null
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and ((a.timeout_elec_sign = '0' and a.process_status = '0' and a.sign_type = '0') or
and ((a.timeout_elec_sign = '0' and a.process_status = '0' and a.sign_type = '0') or
a.process_status in ('1','3','5','7','11'))
a.process_status in ('1','3','5','7','11'))
and a.IS_REFUSE ='1'
</select>
</select>
</mapper>
</mapper>
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TEmployeeInsurancePreMapper.xml
View file @
ca4e5237
...
@@ -246,7 +246,7 @@
...
@@ -246,7 +246,7 @@
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM t_employee_insurance_pre a
FROM t_employee_insurance_pre a
<where>
<where>
1=1
1=1
and a.IS_REFUSE ='1'
<include
refid=
"tEmployeeInsurancePre_where"
/>
<include
refid=
"tEmployeeInsurancePre_where"
/>
</where>
</where>
order by a.create_time desc
order by a.create_time desc
...
@@ -312,7 +312,7 @@
...
@@ -312,7 +312,7 @@
if(a.is_address = '0','是',if(a.is_address = '1','否','')) as is_address
if(a.is_address = '0','是',if(a.is_address = '1','否','')) as is_address
FROM t_employee_insurance_pre a
FROM t_employee_insurance_pre a
<where>
<where>
1=1
1=1
and a.IS_REFUSE = '1'
<include
refid=
"tEmployeeInsurancePre_where"
/>
<include
refid=
"tEmployeeInsurancePre_where"
/>
</where>
</where>
order by a.create_time desc
order by a.create_time desc
...
@@ -325,7 +325,7 @@
...
@@ -325,7 +325,7 @@
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM t_employee_insurance_pre a
FROM t_employee_insurance_pre a
where a.process_status = '0' and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d") = CURDATE()
where a.process_status = '0' and
a.IS_REFUSE = '1' and
DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d") = CURDATE()
group by a.customer_user_loginname
group by a.customer_user_loginname
</select>
</select>
...
@@ -333,6 +333,6 @@
...
@@ -333,6 +333,6 @@
SELECT
SELECT
id
id
FROM t_employee_insurance_pre a
FROM t_employee_insurance_pre a
where a.process_status in ('0','1','2','5') and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
where a.process_status in ('0','1','2','5') and
a.IS_REFUSE = '1' and
DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
</select>
</select>
</mapper>
</mapper>
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoPreMapper.xml
View file @
ca4e5237
...
@@ -602,7 +602,7 @@
...
@@ -602,7 +602,7 @@
FROM t_dispatch_info_pre a
FROM t_dispatch_info_pre a
left join view_contract b on a.EMP_IDCARD = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
left join view_contract b on a.EMP_IDCARD = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
<where>
<where>
a.DELETE_FLAG = '0'
a.DELETE_FLAG = '0'
and a.IS_REFUSE ='1'
<include
refid=
"tDispatchInfoPre_other_where"
/>
<include
refid=
"tDispatchInfoPre_other_where"
/>
</where>
</where>
GROUP BY a.id
GROUP BY a.id
...
@@ -617,7 +617,7 @@
...
@@ -617,7 +617,7 @@
,a.FUND_START_DATE
,a.FUND_START_DATE
FROM t_dispatch_info_pre a
FROM t_dispatch_info_pre a
<where>
<where>
a.DELETE_FLAG = '0'
a.DELETE_FLAG = '0'
and a.IS_REFUSE ='1'
<include
refid=
"tDispatchInfoPre_other_where"
/>
<include
refid=
"tDispatchInfoPre_other_where"
/>
</where>
</where>
order by a.create_time desc
order by a.create_time desc
...
@@ -652,7 +652,7 @@
...
@@ -652,7 +652,7 @@
if(#{type} = '1',concat('自动化手动-',a.customer_username),concat('自动化自动-',a.customer_username)) preName
if(#{type} = '1',concat('自动化手动-',a.customer_username),concat('自动化自动-',a.customer_username)) preName
FROM t_dispatch_info_pre a,(select @i:=0) as itable
FROM t_dispatch_info_pre a,(select @i:=0) as itable
<where>
<where>
1=1
1=1
and a.IS_REFUSE='1'
AND a.id in
AND a.id in
<foreach
item=
"idStr"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"idStr"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
#{idStr}
#{idStr}
...
@@ -689,7 +689,7 @@
...
@@ -689,7 +689,7 @@
) c on c.DEPART_NAME = a.PROVIDENT_HOUSEHOLD_NAME
) c on c.DEPART_NAME = a.PROVIDENT_HOUSEHOLD_NAME
,(select @i:=0) as itable
,(select @i:=0) as itable
<where>
<where>
1=1
1=1
and a.IS_REFUSE='1'
AND a.id in
AND a.id in
<foreach
item=
"idStr"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"idStr"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
#{idStr}
#{idStr}
...
@@ -708,7 +708,7 @@
...
@@ -708,7 +708,7 @@
where
where
a.expected_collection_time is not null and type_sub = '0'
a.expected_collection_time is not null and type_sub = '0'
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and a.process_status = '0'
and a.process_status = '0'
and a.IS_REFUSE='1'
group by a.customer_user_login_name
group by a.customer_user_login_name
</select>
</select>
...
@@ -719,7 +719,7 @@
...
@@ -719,7 +719,7 @@
where
where
a.expected_collection_time is not null and type_sub = '1'
a.expected_collection_time is not null and type_sub = '1'
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and a.process_status = '0'
and a.process_status = '0'
and a.IS_REFUSE='1'
group by a.customer_user_login_name
group by a.customer_user_login_name
</select>
</select>
...
@@ -731,7 +731,7 @@
...
@@ -731,7 +731,7 @@
a.expected_collection_time is not null
a.expected_collection_time is not null
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and a.process_status in ('1','2','4','8','9')
and a.process_status in ('1','2','4','8','9')
and a.type_sub = '0'
and a.type_sub = '0'
and a.IS_REFUSE='1'
</select>
</select>
<select
id=
"getAllUnDisDataIdFundList"
resultType=
"java.lang.String"
>
<select
id=
"getAllUnDisDataIdFundList"
resultType=
"java.lang.String"
>
...
@@ -742,6 +742,6 @@
...
@@ -742,6 +742,6 @@
a.expected_collection_time is not null
a.expected_collection_time is not null
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and DATE_FORMAT(a.expected_collection_time,"%Y-%m-%d")
<![CDATA[ <= ]]>
CURDATE()
and a.process_status in ('1','2','4','8','9')
and a.process_status in ('1','2','4','8','9')
and a.type_sub = '1'
and a.type_sub = '1'
and a.IS_REFUSE='1'
</select>
</select>
</mapper>
</mapper>
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