|
@@ -148,10 +148,7 @@ public class ReportApiController extends BaseApiController {
|
|
|
return res.data(reportService.countMarketingDepStatistics(depId));
|
|
return res.data(reportService.countMarketingDepStatistics(depId));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- public static void main(String[] args) {
|
|
|
|
|
- int timeType = 0;
|
|
|
|
|
- boolean a=(timeType==5);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 客户营销时段统计表
|
|
* 客户营销时段统计表
|
|
|
* @param depId
|
|
* @param depId
|
|
@@ -200,12 +197,11 @@ public class ReportApiController extends BaseApiController {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "日期类型参数参数错误", "日期类型参数"));
|
|
res.getError().add(buildError(ErrorConstants.PARAM_EMPTY_ERROR, "日期类型参数参数错误", "日期类型参数"));
|
|
|
return res;
|
|
return res;
|
|
|
}
|
|
}
|
|
|
- return res;
|
|
|
|
|
- /*if (Integer.valueOf(type)==0) {
|
|
|
|
|
|
|
+ if (Integer.valueOf(type)==0) {
|
|
|
return res.data(reportService.countSometimeMarketingStatistics(depId,timeType,startTime,endTime));
|
|
return res.data(reportService.countSometimeMarketingStatistics(depId,timeType,startTime,endTime));
|
|
|
}else {
|
|
}else {
|
|
|
return res.data(reportService.countSometimeMarketingDepStatistics(depId,timeType,startTime,endTime));
|
|
return res.data(reportService.countSometimeMarketingDepStatistics(depId,timeType,startTime,endTime));
|
|
|
- }*/
|
|
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|