添加人工指导价
This commit is contained in:
+2
@@ -17,4 +17,6 @@ public interface AverageStatisticsService {
|
||||
AverageStatistics findSecendAverageStatictics(String city,String region,String name,String category);
|
||||
|
||||
Map<String, Object> findFirstAverageStatictics(String city,String region,String name,String category, Date sDate);
|
||||
|
||||
AverageStatistics save(AverageStatistics averageStatistics);
|
||||
}
|
||||
|
||||
+8
-2
@@ -198,8 +198,14 @@ public class AverageStatisticsServiceImpl implements AverageStatisticsService {
|
||||
}
|
||||
return dataMap;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public AverageStatistics save(AverageStatistics averageStatistics) {
|
||||
averageStatisticsDao.save(averageStatistics);
|
||||
return averageStatistics;
|
||||
}
|
||||
|
||||
|
||||
private boolean isValid(Integer value) {
|
||||
if (value != null && value > 1000) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user