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
08595936
Commit
08595936
authored
Oct 20, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改函数适配
parent
350a889e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
pointMapper.xml
...ystem-patrol/src/main/resources/db/mapper/pointMapper.xml
+13
-12
No files found.
amos-boot-system-patrol/src/main/resources/db/mapper/pointMapper.xml
View file @
08595936
...
@@ -12,18 +12,19 @@
...
@@ -12,18 +12,19 @@
FROM
FROM
p_point_inputitem pi
p_point_inputitem pi
LEFT JOIN p_input_item ii ON ii.id = pi.input_item_id
LEFT JOIN p_input_item ii ON ii.id = pi.input_item_id
LEFT JOIN p_point_classify pc ON pi.classify_ids REGEXP CONCAT(
LEFT JOIN p_point_classify pc ON find_in_set(pc.id, pi.classify_ids)
'^',
-- pi.classify_ids REGEXP CONCAT(
pc.id,
-- '^',
',|,',
-- pc.id,
pc.id,
-- ',|,',
',|,',
-- pc.id,
pc.id,
-- ',|,',
'$',
-- pc.id,
'|^',
-- '$',
pc.id,
-- '|^',
'$'
-- pc.id,
)
-- '$'
-- )
<where>
<where>
<if
test=
"pointId!=null"
>
AND pi.point_id = #{pointId}
</if>
<if
test=
"pointId!=null"
>
AND pi.point_id = #{pointId}
</if>
<if
test=
"classifyId!=null"
>
AND pc.id = #{classifyId}
</if>
<if
test=
"classifyId!=null"
>
AND pc.id = #{classifyId}
</if>
...
...
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