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
2d515686
Commit
2d515686
authored
Jul 12, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order by a.CREATE_TIME desc
parent
9c319e1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
TEmployeeInfoMapper.xml
...ves-biz/src/main/resources/mapper/TEmployeeInfoMapper.xml
+6
-8
No files found.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeInfoMapper.xml
View file @
2d515686
...
...
@@ -411,11 +411,10 @@
select
<include
refid=
"baseParam"
/>
from t_employee_info a
left join t_employee_project b on a.id = b.EMP_ID
where a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
where a.DELETE_FLAG = '0'
<include
refid=
"employeeInfo_where"
/>
${sql}
group by a.id
order by a.CREATE_TIME desc
order by a.CREATE_TIME desc
</select>
<!-- hgw 分页查询 -->
...
...
@@ -454,10 +453,9 @@
select
<include
refid=
"baseParam"
/>
from t_employee_info a
left join t_employee_project b on a.id = b.EMP_ID
where a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
where a.DELETE_FLAG = '0'
<include
refid=
"employeeInfo_where"
/>
group by a.id
order by a.CREATE_TIME desc
order by a.CREATE_TIME desc
</select>
<!-- hgw 根据身份证查询 -->
...
...
@@ -547,7 +545,7 @@
a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
<include
refid=
"employeeInfo_where"
/>
</where>
GROUP BY a.id
GROUP BY a.id
order by a.CREATE_TIME desc
</select>
<!--tEmployeeInfo离职档案导出查询-->
...
...
@@ -567,7 +565,7 @@
a.DELETE_FLAG = '0' and b.DELETE_FLAG = '0'
<include
refid=
"employeeInfo_where"
/>
</where>
GROUP BY a.id
GROUP BY a.id
order by a.CREATE_TIME desc
) b
where 1=1
<if
test=
"tEmployeeInfo.unitName != null and tEmployeeInfo.unitName.trim() != ''"
>
...
...
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