Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-bi
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
林锐标
slm-bi
Commits
50493a01
Commit
50493a01
authored
May 17, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口编写
parent
901bab15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
InstrumentPanelGroupMapper.xml
...sources/mapper/mysql/panel/InstrumentPanelGroupMapper.xml
+2
-2
InstrumentPanelMapper.xml
...in/resources/mapper/mysql/panel/InstrumentPanelMapper.xml
+2
-1
No files found.
src/main/resources/mapper/mysql/panel/InstrumentPanelGroupMapper.xml
View file @
50493a01
...
...
@@ -30,11 +30,11 @@
</if>
</delete>
<select
id=
"selectGroupList"
resultType=
"com.syc.slm.slmbi.vo.InstrumentPanelGroupVo"
>
select id,`name`,parent_id from instrument_panel_group
select id,`name`,parent_id
,create_time
from instrument_panel_group
${ew.customSqlSegment}
</select>
<select
id=
"selectGroupByIds"
resultType=
"com.syc.slm.slmbi.vo.PanelTreeNodeVo"
>
select id,`name`,parent_id,'group' node_type from instrument_panel_group
select id,`name`,parent_id,'group' node_type
,create_time
from instrument_panel_group
<if
test=
"finalPanelIds!=null and finalPanelIds.size() > 0"
>
where id IN (
<foreach
collection=
"finalPanelIds"
item=
"id"
separator=
","
>
...
...
src/main/resources/mapper/mysql/panel/InstrumentPanelMapper.xml
View file @
50493a01
...
...
@@ -55,7 +55,8 @@
id,
`name`,
group_id parent_id,
'panel' node_type
'panel' node_type,
create_time
from instrument_panel
<if
test=
"finalPanelIds!=null and finalPanelIds.size() > 0"
>
where id IN (
...
...
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