|
|
@@ -288,16 +288,6 @@ public class SalesReportServiceImpl extends BaseMybatisDao<DailySalesReportMappe
|
|
|
return count;
|
|
|
}
|
|
|
|
|
|
- public String calculateAVG(String a, String b) {
|
|
|
- if (StringUtils.isNumeric(a)&&StringUtils.isNumeric(b)) {
|
|
|
- if ((float)Integer.valueOf(a)==0||(float)Integer.valueOf(b)==0)return "0";
|
|
|
- float f=(float)Integer.valueOf(a)/(float)Integer.valueOf(b);
|
|
|
- return String.valueOf(f);
|
|
|
- }else {
|
|
|
- return"0";
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
public List<SomeTimeMarketingBo> sometimeMarketingStatistics(String depId, Integer timeType, String startTime, String endTime) {
|
|
|
List<SomeTimeMarketingBo> list = null;
|
|
|
ReportDate rd = new ReportDate(new Date());
|