Browse Source

回库程序

BigLawn 3 months ago
parent
commit
e3ab113261

+ 5 - 5
yudao-module-museum/yudao-module-museum-biz/src/main/java/cn/iocoder/yudao/module/museum/controller/admin/museumflow/MuseumFlowController.java

@@ -95,17 +95,17 @@ public class MuseumFlowController {
             MuseumFlowDO result = museumFlowService.selectMuseumFlowById(reqVO.getOutBoundId());
             MuseumFlowInfoVO form = BeanUtils.toBean(result, MuseumFlowInfoVO.class);
             if (form != null) {
-                int State = form.getState();
-                if (State == 2) {
+//                int State = form.getState();
+//                if (State == 2) {
                     for (String number : form.getNumber()) {
                         reqVO.setSampleId(number);
                         museumInfoDO.addAll(museumInfoService.getMuseumInfoPageList(reqVO));
                     }
                     form.setMuseumInfoList(museumInfoDO);
                     return CommonResult.success(form);
-                } else {
-                    return CommonResult.error(2, reqVO.getOutBoundId() + museumFlowService.isMuseumFlowStateForm(State));
-                }
+//                } else {
+//                    return CommonResult.error(2, reqVO.getOutBoundId() + museumFlowService.isMuseumFlowStateForm(State));
+//                }
             } else {
                 //TODO 错误信息要写得官方一点,比如说用户是不知道id是什么的
                 return CommonResult.error(2, "您选择的表单不存在");