pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigation/IrrigationCtrl.java
@@ -36,10 +36,9 @@ * @return */ @GetMapping(path = "/getSimpleProjects") public BaseResponse<QueryResultVo<List<VoProjectSimple>>> getSimpleProjects(QoProject qo) { public BaseResponse<List<VoProjectSimple>> getSimpleProjects(QoProject qo) { try { QueryResultVo<List<VoProjectSimple>> res = irrigationSv.getSimpleProjects(qo); return BaseResponseUtils.buildSuccess(res); return BaseResponseUtils.buildSuccess(irrigationSv.getSimpleProjects(qo)); } catch (Exception e) { log.error("获取项目记录异常", e); return BaseResponseUtils.buildException(e.getMessage()); pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigation/IrrigationSv.java
@@ -36,15 +36,9 @@ * @param queryVo * @return */ public QueryResultVo<List<VoProjectSimple>> getSimpleProjects(QoProject queryVo) { public List<VoProjectSimple> getSimpleProjects(QoProject queryVo) { Map<String, Object> params = (Map<String, Object>) PojoUtils.generalize(queryVo); Long itemTotal = irProjectMapper.getSimpleProjectsCount(params); QueryResultVo<List<VoProjectSimple>> rsVo = new QueryResultVo<>(); rsVo.calculateAndSet(itemTotal, params); rsVo.obj = irProjectMapper.getSimpleProjects(params); return rsVo; return irProjectMapper.getSimpleProjects(params); } /**