Skip to content

Commit

Permalink
add sth
Browse files Browse the repository at this point in the history
  • Loading branch information
hubin6 committed Nov 1, 2017
1 parent 78e5588 commit 1e20399
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private static void gen(int num){
funcValue = 20000 + r.nextInt(3000) - 1500;
for(String index: item.getValue()) {
double indexValue;
if(idx<=1) indexValue = funcValue * 0.95;
if(idx<=1) indexValue = funcValue * (r.nextDouble()+0.45);
else indexValue = (double)((int)((r.nextDouble()-0.25)*1000))/100;
System.out.println(function+','+warehouse+','+item.getKey()+','+tmp_date+','+funcValue+','+index+','+indexValue);
idx++;
Expand Down

0 comments on commit 1e20399

Please sign in to comment.