master
hellolujian 6 years ago
parent 7401a9e414
commit 447fea52e6

@ -62,7 +62,7 @@ public class AnalysisBean {
if (bd_id != null){
params.put("bd_id",bd_id);
}
if (org_id !=null){
if (org_id != null){
params.put("org_id",org_id);
}
if (begin_month != null){
@ -71,25 +71,25 @@ public class AnalysisBean {
if (end_month != null){
params.put("end_month",end_month);
}
if (customer_id!=null && !customer_id.isEmpty()){
params.put("customer_id",customer_id.trim());
if (customer_id != null && !customer_id.isEmpty()){
params.put("customer_id", customer_id.trim());
}
if (rankType!=null){
params.put("rankType",rankType);
if (rankType != null){
params.put("rankType", rankType);
}
if(channel!=null){
params.put("channel",channel);
if(channel != null){
params.put("channel", channel);
}
if(bd_name!=null){
params.put("bd_name",bd_name);
if(bd_name != null){
params.put("bd_name", bd_name);
}
if (client_moniker!=null){
if (client_moniker != null){
params.put("client_moniker", client_moniker);
}
if (amount_from!=null && amount_from.length()>0){
if (amount_from != null && amount_from.length() > 0){
params.put("amount_from", new BigDecimal(amount_from));
}
if (amount_to!=null && amount_to.length()>0){
if (amount_to != null && amount_to.length() > 0){
params.put("amount_to", new BigDecimal(amount_to));
}
return params;

@ -22,7 +22,7 @@ public interface DashboardService {
List<JSONObject> getTradeInTypes(JSONObject params);
List<JSONObject> getTopTradePartners(JSONObject params, int limit);
//List<JSONObject> getTopTradePartners(JSONObject params, int limit);
List<JSONObject> getTopTradePartners(JSONObject params);

@ -161,12 +161,14 @@ public class DashboardServiceImpl implements DashboardService,DashboardAnalysisT
return transactionAnalysisMapper.getTradeAmountInTypes(params);
}
/*
@Override
public List<JSONObject> getTopTradePartners(JSONObject params, int limit) {
params.put("rankType", "aud_fee");
params.put("limit", limit);
return clientAnalysisMapper.listPartnersTradeAmount(params);
}
*/
@Override
public List<JSONObject> getTopTradePartners(JSONObject params) {

Loading…
Cancel
Save