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
e1251754
Commit
e1251754
authored
Jul 12, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
价格管理不查询已经停用的场站
parent
ad2d281c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
StationDaoImpl.java
.../java/com/xyst/dinas/biz/internal/dao/StationDaoImpl.java
+1
-1
PriceAdjustmentDaoImpl.java
...xyst/dinas/price/internal/dao/PriceAdjustmentDaoImpl.java
+2
-0
No files found.
backend/xyst.dinas.biz/src/main/java/com/xyst/dinas/biz/internal/dao/StationDaoImpl.java
View file @
e1251754
...
...
@@ -197,7 +197,7 @@ public class StationDaoImpl extends AbstractBaseDao implements StationDao, Stat
@Override
public
List
<
KObject
>
getStationCameraById
(
UUID
id1
)
{
return
template
.
execute
(
session
->
{
Query
<
KObject
>
query
=
session
.
createQuery
(
" from com.xyst.dinas.camera.datamodel.CameraInfo where
s
tation.id=:id and del=:del"
,
KObject
.
class
);
Query
<
KObject
>
query
=
session
.
createQuery
(
" from com.xyst.dinas.camera.datamodel.CameraInfo where
regionalS
tation.id=:id and del=:del"
,
KObject
.
class
);
query
.
setParameter
(
"id"
,
id1
);
query
.
setParameter
(
"del"
,
false
);
return
query
.
getResultList
();
...
...
backend/xyst.dinas.price/src/main/java/com/xyst/dinas/price/internal/dao/PriceAdjustmentDaoImpl.java
View file @
e1251754
...
...
@@ -105,7 +105,9 @@ public class PriceAdjustmentDaoImpl extends AbstractBaseDao implements PriceAdju
KClass
bean
=
Amino
.
getStaticMetadataContext
().
getBean
(
PriceAdjustmentConstant
.
ENTITY
,
KClass
.
class
);
DetachedCriteria
detachedCriteria
=
DetachedCriteria
.
forEntityName
(
bean
.
getName
());
detachedCriteria
.
add
(
Restrictions
.
eq
(
BaseConstants
.
DEL
,
false
));
detachedCriteria
.
createAlias
(
"station"
,
"station"
);
detachedCriteria
.
add
(
Restrictions
.
eq
(
"applyStatus"
,
BizProcessState
.
DONE_WITH_AGREE
.
getValue
()));
detachedCriteria
.
add
(
Restrictions
.
eq
(
"station.stationStatus"
,
1
));
detachedCriteria
.
add
(
Restrictions
.
eq
(
"adjustmentStatus"
,
PriceAdjustmentAdjustmentStatusEnum
.
PROCESSING
.
getValue
()));
detachedCriteria
.
addOrder
(
Order
.
desc
(
"adjustmentDate"
));
return
detachedCriteria
;
...
...
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