|
@@ -47,8 +47,8 @@ public class PollutantAcceptController extends CommonController {
|
|
|
List<String> datesBetween = PollutantBoatWaterReq.getDatesBetween(
|
|
|
pollutantBoatWaterReq.getStartTime(),
|
|
|
pollutantBoatWaterReq.getEndTime());
|
|
|
- if (datesBetween.size() > 7) {
|
|
|
- return ReturnMsg.warn("开始时间和结束时间的最大间隔为七天");
|
|
|
+ if (datesBetween.size() > 30) {
|
|
|
+ return ReturnMsg.warn("开始时间和结束时间的最大间隔为三十天");
|
|
|
}
|
|
|
List<PollutantAcceptVo> pollutantAcceptVoList = boatWaterPollutantAcceptFService.selectBoatWaterList(
|
|
|
pollutantBoatWaterReq, datesBetween);
|