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
e74d9614
Commit
e74d9614
authored
May 09, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发大大手机号码取值回退-fxj
parent
c478f476
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
127 deletions
+10
-127
TEmpContractAlertMapper.xml
...biz/src/main/resources/mapper/TEmpContractAlertMapper.xml
+5
-45
TEmployeeContractPreMapper.xml
.../src/main/resources/mapper/TEmployeeContractPreMapper.xml
+5
-82
No files found.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmpContractAlertMapper.xml
View file @
e74d9614
...
@@ -367,58 +367,17 @@
...
@@ -367,58 +367,17 @@
<!--tEmpContractAlert简单分页查询-->
<!--tEmpContractAlert简单分页查询-->
<select
id=
"getTEmpContractAlertAutoPage"
resultMap=
"tEmpContractAlertAutoMap"
>
<select
id=
"getTEmpContractAlertAutoPage"
resultMap=
"tEmpContractAlertAutoMap"
>
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,
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,
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(
(SELECT c.EMP_PHONE FROM t_employee_info c WHERE c.EMP_IDCARD = a.EMP_IDCARD and c.DELETE_FLAG='0' LIMIT 1)
, a.EMP_PHONE) as EMP_PHONE
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"
/>
...
@@ -471,7 +430,7 @@
...
@@ -471,7 +430,7 @@
a.UNIT_ID,
a.UNIT_ID,
a.UNIT_NAME,
a.UNIT_NAME,
a.UNIT_NO,
a.UNIT_NO,
IFNULL(
(SELECT c.EMP_PHONE FROM t_employee_info c WHERE c.EMP_IDCARD = a.EMP_IDCARD and c.DELETE_FLAG='0' LIMIT 1)
, a.EMP_PHONE) as EMP_PHONE,
IFNULL(
c.EMP_PHONE
, a.EMP_PHONE) as EMP_PHONE,
a.IS_FEEDBACK,
a.IS_FEEDBACK,
a.FEEDBACK_PERSON,
a.FEEDBACK_PERSON,
a.FEEDBACK_TIME,
a.FEEDBACK_TIME,
...
@@ -489,6 +448,7 @@
...
@@ -489,6 +448,7 @@
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 @
e74d9614
...
@@ -285,91 +285,13 @@
...
@@ -285,91 +285,13 @@
<!--tEmployeeContractPre简单分页查询-->
<!--tEmployeeContractPre简单分页查询-->
<select
id=
"getTEmployeeContractPrePage"
resultMap=
"tEmployeeContractPreMap"
>
<select
id=
"getTEmployeeContractPrePage"
resultMap=
"tEmployeeContractPreMap"
>
SELECT
SELECT
a.id
<include
refid=
"Base_Column_List"
/>
,a.dept_name
,a.dept_no
,a.dept_id
,a.employee_name
,a.emp_idcard
,a.position
,a.join_leave_date
,a.contract_type
,a.process_status
,a.signatory
,a.customer_username
,a.customer_user_loginname
,a.sign_type
,a.fadada_template
,a.fadada_template_id
,a.data_source
,a.expected_confirm_time
,a.expected_collection_time
,a.contract_start
,a.contract_end
,a.situation
,a.try_period_start
,a.try_period_end
,a.config_name
,a.update_flag
,a.try_period_type
,a.try_period
,a.salary_type
,a.salary_standard_per_hour
,a.salary_standard_per_piece
,a.config_id
,a.working_dept
,a.working_company
,a.risk_buy_desc
,a.other_wage
,a.labor_cost
,a.default_amount
,a.settlement_cycle
,a.payment_time
,a.payment_type
,a.dispatch_period_start
,a.dispatch_period_end
,a.work_type
,a.work_day_count
,a.work_day
,a.work_hours
,a.other_work_day
,a.internship_period
,a.internship_period_start
,a.internship_period_end
,a.post_type
,a.post
,a.work_address
,a.contract_term
,a.contract_duration_year
,a.contract_duration_month
,a.register_id
,a.sign_flag
,a.error_info
,a.contract_id
,a.revoke_reason
,a.working_reward
,a.working_hours
,a.dispatch_period_year
,a.dispatch_period_month
,a.error_time
,a.contract_end_type
,a.confirm_emp_select
,a.timeout_elec_sign
,a.update_time
,a.create_by
,a.create_name
,a.create_time
,a.update_by
,a.TASK
,a.TASK_TYPE
,a.TASK_END_STANDARD,a.contract_flag,a.CONTRACT_SUB_NAME
,a.request_id
,a.request_msg,a.over_flag,a.change_type_reason,a.change_type_user,a.change_type_time,a.SALARY_DAY
,if(b.id is null,'1','0') archives_is_create
,if(b.id is null,'1','0') archives_is_create
,
IFNULL((SELECT c.EMP_PHONE FROM t_employee_info c WHERE c.EMP_IDCARD = a.emp_idcard and c.DELETE_FLAG='0' LIMIT 1), a.emp_phone)
as emp_phone
,
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"
/>
...
@@ -432,7 +354,7 @@
...
@@ -432,7 +354,7 @@
a.dept_no,
a.dept_no,
a.employee_name,
a.employee_name,
a.emp_idcard,
a.emp_idcard,
IFNULL((SELECT c.EMP_PHONE FROM t_employee_info c WHERE c.EMP_IDCARD = a.emp_idcard and c.DELETE_FLAG='0' LIMIT 1), a.emp_phone)
as empPhone,
c.EMP_PHONE
as empPhone,
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,
...
@@ -460,6 +382,7 @@
...
@@ -460,6 +382,7 @@
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