pipIrr-platform/pipIrr-web/pipIrr-web-model/src/main/java/com/dy/pipIrrModel/param/ParamCtrl.java
@@ -72,9 +72,9 @@ }) @GetMapping(path = "all") @SsoAop() public BaseResponse<QueryResultVo<List<VoParam>>> all(Long cropsId){ public BaseResponse<List<VoParam>> all(Long cropsId){ try { QueryResultVo<List<VoParam>> res = this.sv.selectAll(cropsId) ; List<VoParam> res = this.sv.selectAll(cropsId) ; return BaseResponseUtils.buildSuccess(res); } catch (Exception e) { log.error("查询计算参数异常", e); pipIrr-platform/pipIrr-web/pipIrr-web-model/src/main/java/com/dy/pipIrrModel/param/ParamSv.java
@@ -39,10 +39,8 @@ * @return 包含实体集合的结果对象 */ @SuppressWarnings("unchecked") public QueryResultVo<List<VoParam>> selectAll(Long cropsId){ QueryResultVo<List<VoParam>> rsVo = new QueryResultVo<>() ; rsVo.obj = this.mdParamDao.selectAll(cropsId) ; return rsVo ; public List<VoParam> selectAll(Long cropsId){ return this.mdParamDao.selectAll(cropsId) ; } /** * 添加实体