| | |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | 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()) ; |
| | | } |