|
|
|
@ -37,6 +37,8 @@ public class AnalysisBean {
|
|
|
|
|
private String amount_to;
|
|
|
|
|
private String bd_name;
|
|
|
|
|
private String timezone;
|
|
|
|
|
private boolean orderAmountFlag;
|
|
|
|
|
private boolean orderOrdersFlag;
|
|
|
|
|
public JSONObject toParams(String timezone) {
|
|
|
|
|
JSONObject params = new JSONObject();
|
|
|
|
|
if (timezone != null) {
|
|
|
|
@ -89,9 +91,8 @@ public class AnalysisBean {
|
|
|
|
|
if (amount_from != null && amount_from.length() > 0){
|
|
|
|
|
params.put("amount_from", new BigDecimal(amount_from));
|
|
|
|
|
}
|
|
|
|
|
if (amount_to != null && amount_to.length() > 0){
|
|
|
|
|
params.put("amount_to", new BigDecimal(amount_to));
|
|
|
|
|
}
|
|
|
|
|
params.put("orderAmountFlag", orderAmountFlag);
|
|
|
|
|
params.put("orderOrdersFlag", orderOrdersFlag);
|
|
|
|
|
return params;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -238,4 +239,21 @@ public class AnalysisBean {
|
|
|
|
|
public void setTimezone(String timezone) {
|
|
|
|
|
this.timezone = timezone;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isOrderAmountFlag() {
|
|
|
|
|
|
|
|
|
|
return orderAmountFlag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setOrderAmountFlag(boolean orderAmountFlag) {
|
|
|
|
|
this.orderAmountFlag = orderAmountFlag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isOrderOrdersFlag() {
|
|
|
|
|
return orderOrdersFlag;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setOrderOrdersFlag(boolean orderOrdersFlag) {
|
|
|
|
|
this.orderOrdersFlag = orderOrdersFlag;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|