Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
443d3e61
Commit
443d3e61
authored
Jun 06, 2022
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
2c0e0d90
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
FormInstanceMapper.xml
...em-equip/src/main/resources/mapper/FormInstanceMapper.xml
+10
-6
No files found.
amos-boot-system-equip/src/main/resources/mapper/FormInstanceMapper.xml
View file @
443d3e61
...
@@ -551,11 +551,15 @@ AND field_name =#{name}
...
@@ -551,11 +551,15 @@ AND field_name =#{name}
<select
id=
"selectChildListdate"
resultType=
"java.lang.String"
>
<select
id=
"selectChildListdate"
resultType=
"java.lang.String"
>
SELECT distinct a.instance_id FROM
SELECT distinct a.instance_id FROM
(select wl_form_instance.instance_id ,wl_form_instance.field_value
from wl_form_instance where wl_form_instance.group_type in('building','room','floor') and field_name='parentId'
(select instance_id ,field_value from wl_form_instance where group_type in('building','room','floor') and field_name='parentId') a
) a
WHERE a.field_value = #{id} union all SELECT distinct b.instance_id FROM
where
a.field_value = #{id}
(select instance_id ,field_value from wl_form_instance where group_type in('building','room','floor') and field_name='parentId') b
GROUP BY a.instance_id
WHERE b.field_value in (SELECT distinct c.instance_id FROM
(select instance_id ,field_value from wl_form_instance where group_type in('building','room','floor') and field_name='parentId') c
WHERE c.field_value = #{id})
</select>
</select>
</mapper>
</mapper>
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