|
@@ -52,10 +52,10 @@ public class PollutantAcceptController extends CommonController {
|
|
|
if (datesBetween.size() > 30) {
|
|
|
return ReturnMsg.warn("开始时间和结束时间的最大间隔为三十天");
|
|
|
}
|
|
|
- if (StringUtils.isBlank(pollutantBoatWaterReq.getBoatName()) && StringUtils.isBlank(
|
|
|
- pollutantBoatWaterReq.getMmsi())) {
|
|
|
- throw new EnumException("船名/MMSI 请至少输入一个查询参数");
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
List<PollutantAcceptVo> pollutantAcceptVoList = boatWaterPollutantAcceptFService.selectBoatWaterList(
|
|
|
pollutantBoatWaterReq, datesBetween);
|
|
|
ResultRes resultRes = ResultRes.encapsulationResult(pollutantBoatWaterReq.getPageIndex(),
|