Browse Source

:bug: fix

lag 6 months ago
parent
commit
7f473d7c1b

+ 4 - 4
ghjg-item-datashare-server/src/main/java/com/shanghaichengdi/ghjgitem/controller/PollutantAcceptController.java

@@ -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 请至少输入一个查询参数");
-    }
+//    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(),