Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 15716cc0
authored
Aug 03, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增查询
1 parent
a81fd694
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/dao/OrgTeamDao.java
project-order/src/main/java/com/dituhui/pea/order/dao/OrgTeamDao.java
View file @
15716cc
...
@@ -22,6 +22,9 @@ public interface OrgTeamDao extends JpaRepository<OrgTeamEntity, Integer> {
...
@@ -22,6 +22,9 @@ public interface OrgTeamDao extends JpaRepository<OrgTeamEntity, Integer> {
@Query
(
"select t from OrgTeamEntity t where t.groupId = :groupId and t.status=1"
)
@Query
(
"select t from OrgTeamEntity t where t.groupId = :groupId and t.status=1"
)
List
<
OrgTeamEntity
>
findAllByGroupId
(
String
groupId
);
List
<
OrgTeamEntity
>
findAllByGroupId
(
String
groupId
);
@Query
(
"select t from OrgTeamEntity t where t.teamId = :teamId and t.status=1"
)
List
<
OrgTeamEntity
>
findAllByTeamId
(
String
teamId
);
@Query
(
"select t from OrgTeamEntity t where t.groupId = :groupId and t.status=1"
)
@Query
(
"select t from OrgTeamEntity t where t.groupId = :groupId and t.status=1"
)
Page
<
OrgTeamEntity
>
findAllByGroupId
(
String
groupId
,
Pageable
pageable
);
Page
<
OrgTeamEntity
>
findAllByGroupId
(
String
groupId
,
Pageable
pageable
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment