Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
isc-core
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
isc-v3.1-tmp
isc-core
Commits
904d3f1b
Commit
904d3f1b
authored
Sep 29, 2024
by
hulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充全局异常处理
parent
b0a31abb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
atpmapper.xml
isc-common-core/src/main/resources/mapper/atpmapper.xml
+3
-5
No files found.
isc-common-core/src/main/resources/mapper/atpmapper.xml
View file @
904d3f1b
...
...
@@ -334,7 +334,8 @@
<if
test=
"cod != null and cod !=''"
>
and a.cod = #{cod,jdbcType=VARCHAR}
</if>
</select>
<select
id=
"selectFirstCodList"
resultMap=
"AtpInfoVo"
>
select distinct s1.txt as mancodName,a.MANCOD -- ,GROUP_CONCAT(a.cod) as subcodstr
select distinct t.* from (
select s1.txt as mancodName,a.MANCOD
from atp a
left join stb s1 on s1.tbl='MANCOD' and s1.UIL='CN' and s1.cod=a.mancod
where 1=1
...
...
@@ -342,9 +343,7 @@
and a.mancod is not null
and s1.cod is not null
and s1.cod not like 'FCT%'
--
<if
test=
"cod != null and cod !=''"
>
and a.mancod = #{cod,jdbcType=VARCHAR}
</if>
-- group by a.mancod
order by s1.srt asc
order by s1.srt asc) t
</select>
<select
id=
"selectSecondCodList"
resultMap=
"AtpInfoVo"
>
...
...
@@ -354,7 +353,6 @@
where 1=1
and a.BUSTRNFLG ='X'
and s1.cod is not null
--
<if
test=
"cod != null and cod !=''"
>
and a.cod = #{cod,jdbcType=VARCHAR}
</if>
order by a.cod asc
</select>
...
...
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