Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
Overview
Overview
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
王衍超
cloud-fb
Commits
c2d71525
Commit
c2d71525
authored
Apr 22, 2021
by
shiwenbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据区域公司查询场站时过滤掉已删除的场站
parent
7c40c2e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
StationDaoImpl.java
.../java/com/xyst/dinas/biz/internal/dao/StationDaoImpl.java
+2
-1
No files found.
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/internal/dao/StationDaoImpl.java
View file @
c2d71525
...
@@ -184,8 +184,9 @@ public class StationDaoImpl extends AbstractBaseDao implements StationDao, Stat
...
@@ -184,8 +184,9 @@ public class StationDaoImpl extends AbstractBaseDao implements StationDao, Stat
@Override
@Override
public
List
<
KObject
>
queryStationByRegionalCompany
(
UUID
id
)
{
public
List
<
KObject
>
queryStationByRegionalCompany
(
UUID
id
)
{
return
template
.
execute
(
session
->
{
return
template
.
execute
(
session
->
{
Query
<
KObject
>
query
=
session
.
createQuery
(
" from "
+
StationConstant
.
ENTITY
+
" where regionalCompany.id=:id "
,
KObject
.
class
);
Query
<
KObject
>
query
=
session
.
createQuery
(
" from "
+
StationConstant
.
ENTITY
+
" where regionalCompany.id=:id
and del=:del
"
,
KObject
.
class
);
query
.
setParameter
(
"id"
,
id
);
query
.
setParameter
(
"id"
,
id
);
query
.
setParameter
(
"del"
,
false
);
return
query
.
getResultList
();
return
query
.
getResultList
();
});
});
}
}
...
...
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