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
ba85255a
Commit
ba85255a
authored
Nov 04, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
13cc92b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
IPointDao.java
...eejoin/amos/patrol/business/dao/repository/IPointDao.java
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/dao/repository/IPointDao.java
View file @
ba85255a
...
@@ -25,10 +25,10 @@ public interface IPointDao extends BaseDao<Point, Long> {
...
@@ -25,10 +25,10 @@ public interface IPointDao extends BaseDao<Point, Long> {
@Query
(
value
=
"select * from p_point where original_id in ?1 and is_delete =0"
,
nativeQuery
=
true
)
@Query
(
value
=
"select * from p_point where original_id in ?1 and is_delete =0"
,
nativeQuery
=
true
)
List
<
Point
>
listByOriginalIds
(
List
<
String
>
originalIds
);
List
<
Point
>
listByOriginalIds
(
List
<
String
>
originalIds
);
@Query
(
value
=
"select * from p_point where point_no = (?1) and is_delete =0 and if(?2 is null, 1 = 1 , id = ?2)"
,
nativeQuery
=
true
)
@Query
(
value
=
"select * from p_point where point_no = (?1) and is_delete =0 and if(?2 is null, 1 = 1 , id
!
= ?2)"
,
nativeQuery
=
true
)
List
<
Point
>
findByNo
(
String
pointNo
,
String
id
);
List
<
Point
>
findByNo
(
String
pointNo
,
String
id
);
@Query
(
value
=
"select * from p_point where name = (?1) and is_delete =0 and if(?2 is null, 1 = 1 , id = ?2)"
,
nativeQuery
=
true
)
@Query
(
value
=
"select * from p_point where name = (?1) and is_delete =0 and if(?2 is null, 1 = 1 , id
!
= ?2)"
,
nativeQuery
=
true
)
List
<
Point
>
findByName
(
String
name
,
String
id
);
List
<
Point
>
findByName
(
String
name
,
String
id
);
Optional
<
Point
>
findById
(
Long
id
);
Optional
<
Point
>
findById
(
Long
id
);
...
...
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