liurunyu
2025-08-20 6ee52a5f212a52b4a0d41bff3cddc519ddb66997
pipIrr-platform/pipIrr-web/pipIrr-web-model/src/main/java/com/dy/pipIrrModel/vapor/VaporCtrl.java
@@ -19,6 +19,7 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.List;
/**
@@ -85,7 +86,11 @@
            if(qo.timeStart == null || qo.timeStart.trim().equals("")){
                qo.timeStart = DateTime.lastXDay_yyyy_MM_dd(qo.timeStop, 10);
            }
            return BaseResponseUtils.buildSuccess(sv.oneCropsSomeEt0(qo));
            List<MdEt0> list = sv.oneCropsSomeEt0(qo) ;
            if(list == null){
                list = new ArrayList<>() ;
            }
            return BaseResponseUtils.buildSuccess(list);
        } catch (Exception e) {
            return BaseResponseUtils.buildException(e.getMessage()) ;
        }