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
afb1b170
Commit
afb1b170
authored
May 09, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发大大手机号码取值回退-fxj
parent
851370fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
52 deletions
+3
-52
TEmpContractAlertMapper.xml
...biz/src/main/resources/mapper/TEmpContractAlertMapper.xml
+2
-48
TEmployeeContractPreMapper.xml
.../src/main/resources/mapper/TEmployeeContractPreMapper.xml
+1
-4
No files found.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmpContractAlertMapper.xml
View file @
afb1b170
...
@@ -373,11 +373,9 @@
...
@@ -373,11 +373,9 @@
IFNULL(b.PROCESS_STATUS,'0') PROCESS_STATUS,
IFNULL(b.PROCESS_STATUS,'0') PROCESS_STATUS,
b.ERROR_INFO,
b.ERROR_INFO,
b.ERROR_TIME,
b.ERROR_TIME,
IFNULL(b.id,null) as 'preId',
IFNULL(b.id,null) as 'preId'
IFNULL(c.EMP_PHONE, a.EMP_PHONE) as EMP_PHONE
FROM t_emp_contract_alert a
FROM t_emp_contract_alert a
LEFT JOIN t_employee_contract_pre_new b on a.CONTRACT_ID = b.contract_id
LEFT JOIN t_employee_contract_pre_new b on a.CONTRACT_ID = b.contract_id
LEFT JOIN t_employee_info c on a.EMP_ID = c.id
<where>
<where>
1=1
1=1
<include
refid=
"tEmpContractAlert_where"
/>
<include
refid=
"tEmpContractAlert_where"
/>
...
@@ -398,57 +396,13 @@
...
@@ -398,57 +396,13 @@
<!--tEmpContractAlert简单分页查询-->
<!--tEmpContractAlert简单分页查询-->
<select
id=
"listExport"
resultType=
"com.yifu.cloud.plus.v1.yifu.archives.vo.TEmpContractAlertExportVo"
>
<select
id=
"listExport"
resultType=
"com.yifu.cloud.plus.v1.yifu.archives.vo.TEmpContractAlertExportVo"
>
SELECT
SELECT
a.ID,
<include
refid=
"Base_Column_List"
/>
,
a.EMP_NAME,
a.EMP_ID,
a.DEPT_ID,
a.PROJECT,
a.PROJECT_NO,
a.EMP_IDCARD,
a.EMP_CODE,
a.CONTRACT_START,
a.CONTRACT_END,
a.FILE_PROVINCE,
a.FILE_CITY,
a.FILE_TOWN,
a.EMP_TYPE,
a.CONTRACT_TYPE,
a.CONTRACT_TERM,
a.DAYS_DUE,
a.DUE_FLAG,
a.DAYS_OVER,
a.FIRST_ALERT_TIME,
a.ALERT_PERSON,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.HANDLE_STATUS,
a.CONTRACT_ID,
a.AUDIT_TIME,
a.UNIT_ID,
a.UNIT_NAME,
a.UNIT_NO,
IFNULL(c.EMP_PHONE, a.EMP_PHONE) as EMP_PHONE,
a.IS_FEEDBACK,
a.FEEDBACK_PERSON,
a.FEEDBACK_TIME,
a.FEEDBACK_REASON,
a.FEEDBACK_DETAIL,
a.APPLY_NO,
a.POST,
a.WORKING_HOURS,
a.CS_NAME,
a.CS_LOGIN_NAME,
a.AUTO_FLAG,
b.EXPECTED_COLLECTION_TIME,
b.EXPECTED_COLLECTION_TIME,
b.SIGN_TYPE,
b.SIGN_TYPE,
IFNULL(b.PROCESS_STATUS,'0') PROCESS_STATUS,
IFNULL(b.PROCESS_STATUS,'0') PROCESS_STATUS,
case when PROCESS_STATUS='5' then b.error_info else '' end as error_info
case when PROCESS_STATUS='5' then b.error_info else '' end as error_info
FROM t_emp_contract_alert a
FROM t_emp_contract_alert a
LEFT JOIN t_employee_contract_pre_new b on a.CONTRACT_ID = b.contract_id
LEFT JOIN t_employee_contract_pre_new b on a.CONTRACT_ID = b.contract_id
LEFT JOIN t_employee_info c on a.EMP_ID = c.id
<where>
<where>
1=1
1=1
<include
refid=
"tEmpContractAlert_where"
/>
<include
refid=
"tEmpContractAlert_where"
/>
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractPreMapper.xml
View file @
afb1b170
...
@@ -287,11 +287,9 @@
...
@@ -287,11 +287,9 @@
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
,if(b.id is null,'1','0') archives_is_create
,if(b.id is null,'1','0') archives_is_create
,c.EMP_PHONE as emp_phone
FROM t_employee_contract_pre a
FROM t_employee_contract_pre a
left join t_employee_project b on a.emp_idcard = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
left join t_employee_project b on a.emp_idcard = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
and b.PROJECT_STATUS = 0 and b.DELETE_FLAG = '0'
and b.PROJECT_STATUS = 0 and b.DELETE_FLAG = '0'
left join t_employee_info c on b.EMP_ID = c.id
<where>
<where>
1=1
1=1
<include
refid=
"tEmployeeContractPre_where"
/>
<include
refid=
"tEmployeeContractPre_where"
/>
...
@@ -354,7 +352,7 @@
...
@@ -354,7 +352,7 @@
a.dept_no,
a.dept_no,
a.employee_name,
a.employee_name,
a.emp_idcard,
a.emp_idcard,
c.EMP_PHONE as empP
hone,
a.emp_p
hone,
a.position,
a.position,
DATE_FORMAT(a.join_leave_date,'%Y-%m-%d') join_leave_date,
DATE_FORMAT(a.join_leave_date,'%Y-%m-%d') join_leave_date,
a.contract_type,
a.contract_type,
...
@@ -382,7 +380,6 @@
...
@@ -382,7 +380,6 @@
FROM t_employee_contract_pre a
FROM t_employee_contract_pre a
left join t_employee_project b on a.emp_idcard = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
left join t_employee_project b on a.emp_idcard = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
and b.PROJECT_STATUS = 0 and b.DELETE_FLAG = '0'
and b.PROJECT_STATUS = 0 and b.DELETE_FLAG = '0'
left join t_employee_info c on b.EMP_ID = c.id
<where>
<where>
1=1
1=1
<include
refid=
"tEmployeeContractPre_where"
/>
<include
refid=
"tEmployeeContractPre_where"
/>
...
...
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