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
a4e949d9
Commit
a4e949d9
authored
Nov 07, 2022
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
巡检模块代码bug修改
parent
1164ea8e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
IInputItemDao.java
...in/amos/patrol/business/dao/repository/IInputItemDao.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/IInputItemDao.java
View file @
a4e949d9
...
@@ -34,10 +34,10 @@ public interface IInputItemDao extends BaseDao<InputItem, Long> {
...
@@ -34,10 +34,10 @@ public interface IInputItemDao extends BaseDao<InputItem, Long> {
@Query
(
value
=
"delete * from p_input_item where is not null and is_delete =0"
,
nativeQuery
=
true
)
@Query
(
value
=
"delete * from p_input_item where is not null and is_delete =0"
,
nativeQuery
=
true
)
void
deleteAllByEquipmentNameIsNotNull
();
void
deleteAllByEquipmentNameIsNotNull
();
@Query
(
value
=
"select * from p_input_item where item_no = ?1 and is_delete =0 and if(?2 is null, 1 = 1 , id != ?2"
,
nativeQuery
=
true
)
@Query
(
value
=
"select * from p_input_item where item_no = ?1 and is_delete =0 and if(?2 is null, 1 = 1 , id != ?2
)
"
,
nativeQuery
=
true
)
List
<
InputItem
>
findByItemNo
(
String
itemNo
,
String
id
);
List
<
InputItem
>
findByItemNo
(
String
itemNo
,
String
id
);
@Query
(
value
=
"select * from p_input_item where name = ?1 and is_delete =0 and if(?2 is null, 1 = 1 , id != ?2"
,
nativeQuery
=
true
)
@Query
(
value
=
"select * from p_input_item where name = ?1 and is_delete =0 and if(?2 is null, 1 = 1 , id != ?2
)
"
,
nativeQuery
=
true
)
List
<
InputItem
>
findByItemName
(
String
name
,
String
id
);
List
<
InputItem
>
findByItemName
(
String
name
,
String
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