Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
Overview
Overview
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
wangweidong
patzn-cloud-service-hmhj
Commits
92ef9a59
Commit
92ef9a59
authored
Jul 30, 2021
by
ghxdhr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取试样类型,排除标样
parent
0ad36d00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
EntrustMapper.xml
src/main/resources/mapper/hmhj/EntrustMapper.xml
+2
-2
No files found.
src/main/resources/mapper/hmhj/EntrustMapper.xml
View file @
92ef9a59
...
...
@@ -54,7 +54,7 @@
SELECT e.*,s.sample_name
FROM entrust e
LEFT JOIN (
select s.entrust_id, max(s.name) "sample_name" from entrust_sample s where s.deleted = 0 group by s.entrust_id
select s.entrust_id, max(s.name) "sample_name" from entrust_sample s where s.deleted = 0
and s.type = 0
group by s.entrust_id
) s on s.entrust_id = e.id
WHERE e.deleted = 0
<include
refid=
"basicCondition"
/>
...
...
@@ -83,7 +83,7 @@
SELECT e.*,s.sample_name
FROM entrust e
LEFT JOIN (
select s.entrust_id, max(s.name) "sample_name" from entrust_sample s where s.deleted = 0 group by s.entrust_id
select s.entrust_id, max(s.name) "sample_name" from entrust_sample s where s.deleted = 0
and s.type = 0
group by s.entrust_id
) s on s.entrust_id = e.id
WHERE e.deleted = 0
<include
refid=
"basicCondition"
/>
...
...
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