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
106d99b4
Commit
106d99b4
authored
Jun 06, 2023
by
wangzb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feature-wzb :bug修复
parent
5d724419
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
TEmployeeProjectMapper.xml
...-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
+5
-4
TEmployeeRetirementMapper.xml
...z/src/main/resources/mapper/TEmployeeRetirementMapper.xml
+3
-3
No files found.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
View file @
106d99b4
...
...
@@ -840,7 +840,7 @@
left join t_employee_info b on a.EMP_ID = b.id
LEFT JOIN (
SELECT
t1.EMP_ID ,t1.CONTRACT_PARTY,t1.IN_USE
t1.EMP_ID ,t1.CONTRACT_PARTY,t1.IN_USE
,t1.DEPT_NO
FROM
t_employee_contract_info t1
INNER JOIN ( SELECT EMP_ID, MAX( CREATE_TIME ) CREATE_TIME FROM t_employee_contract_info GROUP BY EMP_ID ) t2 ON t2.EMP_ID = t1.EMP_ID
...
...
@@ -849,7 +849,7 @@
t1.CONTRACT_TYPE = '1'
AND
t1.IN_USE='0'
) AS t ON t.EMP_ID = a.EMP_ID
) AS t ON t.EMP_ID = a.EMP_ID
AND a.DEPT_NO =t.DEPT_NO
LEFT JOIN sys_area a1 on a1.id=b.ID_PROVINCE
LEFT JOIN sys_area a2 on a2.id=b.ID_CITY
LEFT JOIN sys_area a3 on a3.id=b.ID_TOWN
...
...
@@ -883,7 +883,7 @@
left join t_employee_info b on a.EMP_ID = b.id
LEFT JOIN (
SELECT
t1.EMP_ID ,t1.CONTRACT_PARTY,t1.IN_USE
t1.EMP_ID ,t1.CONTRACT_PARTY,t1.IN_USE
,t1.DEPT_NO
FROM
t_employee_contract_info t1
INNER JOIN ( SELECT EMP_ID, MAX( CREATE_TIME ) CREATE_TIME FROM t_employee_contract_info GROUP BY EMP_ID ) t2 ON t2.EMP_ID = t1.EMP_ID
...
...
@@ -892,13 +892,14 @@
t1.CONTRACT_TYPE = '1'
AND
t1.IN_USE='0'
) AS t ON t.EMP_ID = a.EMP_ID
) AS t ON t.EMP_ID = a.EMP_ID
AND a.DEPT_NO=t.DEPT_NO
<where>
a.DELETE_FLAG = '0'
<include
refid=
"exportTEmployeeProject_where"
/>
<if
test=
"tEmployeeProject.authSql != null and tEmployeeProject.authSql.trim() != ''"
>
${tEmployeeProject.authSql}
</if>
</where>
</select>
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeRetirementMapper.xml
View file @
106d99b4
...
...
@@ -211,7 +211,7 @@
</if>
ORDER BY
field(a.HANDLE_FLAG,0,1) asc,
CREATE_TIME
de
sc
CREATE_TIME
a
sc
</select>
<select
id=
"selectByEmpIdcard"
resultType=
"Integer"
>
SELECT count(*)
...
...
@@ -355,7 +355,7 @@
</if>
ORDER BY
field(a.HANDLE_FLAG,0,1) asc,
a.CREATE_TIME desc
a.CREATE_TIME
asc
desc
</select>
<!--tEmployeeInfo导出查询count改造 fxj 2022-11-03-->
<select
id=
"noPageCountDiy"
resultType=
"java.lang.Integer"
>
...
...
@@ -418,7 +418,7 @@
</if>
ORDER BY
field(a.HANDLE_FLAG,0,1) asc,
a.CREATE_TIME
de
sc
a.CREATE_TIME
a
sc
</select>
<select
id=
"selectByIdd"
resultType=
"String"
>
SELECT a.AREA_NAME
...
...
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