Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-spark-tag-4.0
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
wangxiaokang
gic-spark-tag-4.0
Commits
c7a5d7f6
Commit
c7a5d7f6
authored
Aug 24, 2020
by
guos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员标签4.0
parent
3c04f2bf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
TagLowestSingleConsumptionMoneyFilter.java
...c/spark/filter/TagLowestSingleConsumptionMoneyFilter.java
+2
-4
No files found.
src/main/java/com/gic/spark/filter/TagLowestSingleConsumptionMoneyFilter.java
View file @
c7a5d7f6
...
...
@@ -72,7 +72,6 @@ public class TagLowestSingleConsumptionMoneyFilter extends AbstractTagConsumReco
Tuple2
<
Long
,
Iterable
<
TrdVirtualOrderBean
>>
tp2
=
data
.
next
();
double
topConsumAmount
=
0
;
TrdVirtualOrderBean
topConsumeAmountBean
=
null
;
Map
<
String
,
TrdVirtualOrderBean
>
effectiveOrderMap
=
new
HashMap
();
List
<
TrdVirtualOrderBean
>
noEffectiveOrderList
=
new
ArrayList
();
tp2
.
_2
().
forEach
(
element
->{
...
...
@@ -90,10 +89,9 @@ public class TagLowestSingleConsumptionMoneyFilter extends AbstractTagConsumReco
}
});
for
(
TrdVirtualOrderBean
amountBean:
effectiveOrderMap
.
values
()){
System
.
out
.
println
(
"configStatus==>"
+
configStatus
+
"paid_amt==>"
+
topConsumeAmountBean
.
getPaid_amt
()+
"pay_amt==>"
+
topConsumeAmountBean
.
getPay_amt
());
topConsumAmount
=
configStatus
==
1
?
(
CommonUtil
.
isEmptyDouble2double
(
topConsumeAmountBean
.
getPaid_amt
())<
topConsumAmount
?
CommonUtil
.
isEmptyDouble2double
(
topConsumeA
mountBean
.
getPaid_amt
()):
topConsumAmount
):
(
CommonUtil
.
isEmptyDouble2double
(
topConsumeAmountBean
.
getPay_amt
())<
topConsumAmount
?
CommonUtil
.
isEmptyDouble2double
(
topConsumeA
mountBean
.
getPay_amt
()):
topConsumAmount
);
(
CommonUtil
.
isEmptyDouble2double
(
amountBean
.
getPaid_amt
())<
topConsumAmount
?
CommonUtil
.
isEmptyDouble2double
(
a
mountBean
.
getPaid_amt
()):
topConsumAmount
):
(
CommonUtil
.
isEmptyDouble2double
(
amountBean
.
getPay_amt
())<
topConsumAmount
?
CommonUtil
.
isEmptyDouble2double
(
a
mountBean
.
getPay_amt
()):
topConsumAmount
);
}
...
...
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