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
63df027e
Commit
63df027e
authored
Apr 25, 2021
by
高晓磊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
筛选条件别名少了一个master
parent
e3ac512d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
PriceAdjustmentDaoImpl.java
...xyst/dinas/price/internal/dao/PriceAdjustmentDaoImpl.java
+3
-3
No files found.
backend/xyst.dinas.price/src/main/java/com/xyst/dinas/price/internal/dao/PriceAdjustmentDaoImpl.java
View file @
63df027e
...
...
@@ -157,7 +157,7 @@ public class PriceAdjustmentDaoImpl extends AbstractBaseDao implements PriceAdju
detachedCriteria
.
add
(
Restrictions
.
eq
(
"master."
+
BaseConstants
.
DEL
,
false
))
.
add
(
Restrictions
.
in
(
"master.applyStatus"
,
BizProcessState
.
DONE_WITH_AGREE
.
getValue
()))
.
add
(
Restrictions
.
eq
(
"adjustmentStatus"
,
PriceAdjustmentAdjustmentStatusEnum
.
PROCESSING
.
getValue
()))
.
add
(
Restrictions
.
eq
(
"
master.
adjustmentStatus"
,
PriceAdjustmentAdjustmentStatusEnum
.
PROCESSING
.
getValue
()))
.
createAlias
(
"master"
,
"master"
)
.
createAlias
(
"master.station"
,
"station"
)
.
createAlias
(
"master.regionalCompany"
,
"regionalCompany"
)
...
...
@@ -257,10 +257,10 @@ public class PriceAdjustmentDaoImpl extends AbstractBaseDao implements PriceAdju
Object
value
=
byCriterion
.
get
(
"value"
);
priceAdjustment
.
setId
(
UUID
.
fromString
(
adjustmentId
.
toString
()));
Date
o1
=
(
Date
)
o
;
if
(
!
o1
.
before
(
adjustmentStartDate
)
&&
null
!=
adjustmentStartDate
)
{
if
(
null
!=
adjustmentStartDate
&&!
o1
.
before
(
adjustmentStartDate
)
)
{
o1
=
adjustmentStartDate
;
}
if
(
o1
.
after
(
adjustmentEndDate
)
&&
null
!=
adjustmentStartDate
)
{
if
(
null
!=
adjustmentStartDate
&&
o1
.
after
(
adjustmentEndDate
)
)
{
o1
=
adjustmentEndDate
;
}
priceAdjustment
.
setTime
(
o1
);
...
...
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