zhubaomin
2025-04-14 d2263e86d837ef331d77fd39dccd79f100041e76
获取轮灌组时,项目ID不为必须条件
1个文件已修改
6 ■■■■ 已修改文件
pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigation/IrrigationCtrl.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pipIrr-platform/pipIrr-web/pipIrr-web-wechat/src/main/java/com/dy/pipIrrWechat/irrigation/IrrigationCtrl.java
@@ -47,9 +47,9 @@
    @GetMapping(path = "/getSimpleGroups")
    public BaseResponse<QueryResultVo<List<VoGroupSimple>>> getSimpleGroups(QoGroup qo) {
        if(qo.getProjectId() == null) {
            return BaseResponseUtils.buildErrorMsg("请选择项目");
        }
        //if(qo.getProjectId() == null) {
        //    return BaseResponseUtils.buildErrorMsg("请选择项目");
        //}
        try {
            QueryResultVo<List<VoGroupSimple>> res = irrigationSv.getSimpleGroups(qo);