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
d8be4d4e
Commit
d8be4d4e
authored
Mar 13, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拒绝入职优化-fxj
parent
bcd4e008
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
TEmployeeContractPreMapper.xml
.../src/main/resources/mapper/TEmployeeContractPreMapper.xml
+2
-2
TEmployeeInsurancePreMapper.xml
...sources/mapper/insurances/TEmployeeInsurancePreMapper.xml
+2
-2
TDispatchInfoPreMapper.xml
...-biz/src/main/resources/mapper/TDispatchInfoPreMapper.xml
+9
-9
No files found.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractPreMapper.xml
View file @
d8be4d4e
...
@@ -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>
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TEmployeeInsurancePreMapper.xml
View file @
d8be4d4e
...
@@ -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
...
@@ -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 @
d8be4d4e
...
@@ -459,7 +459,7 @@
...
@@ -459,7 +459,7 @@
<!--huych:跨库建档案的合同视图,因为需要查询合同的最新状态,合同表只用到身份证和项目编码两个字段,跨库查效率较高,如果后期档案改库名需要调整这块代码-->
<!--huych:跨库建档案的合同视图,因为需要查询合同的最新状态,合同表只用到身份证和项目编码两个字段,跨库查效率较高,如果后期档案改库名需要调整这块代码-->
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_where"
/>
<include
refid=
"tDispatchInfoPre_where"
/>
</where>
</where>
group by a.id
group by a.id
...
@@ -473,7 +473,7 @@
...
@@ -473,7 +473,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>
1=1 and a.type_sub = '0'
1=1 and a.type_sub = '0'
and a.IS_REFUSE='1'
<include
refid=
"tDispatchInfoPre_where"
/>
<include
refid=
"tDispatchInfoPre_where"
/>
</where>
</where>
group by a.id
group by a.id
...
@@ -486,7 +486,7 @@
...
@@ -486,7 +486,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>
1=1 and a.type_sub = '1'
1=1 and a.type_sub = '1'
and a.IS_REFUSE='1'
and a.DELETE_FLAG = '0'
and a.DELETE_FLAG = '0'
<include
refid=
"tDispatchInfoPre_where"
/>
<include
refid=
"tDispatchInfoPre_where"
/>
</where>
</where>
...
@@ -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>
...
...
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