From 70347afc3d0a6fedaa6dbc607092a75522819c18 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Mon, 9 Jan 2023 10:09:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/controller/thrsys/ThrProductsAddDiController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-admin/src/main/java/com/glxp/sale/admin/controller/thrsys/ThrProductsAddDiController.java b/api-admin/src/main/java/com/glxp/sale/admin/controller/thrsys/ThrProductsAddDiController.java index 81782ac..7a32cc4 100644 --- a/api-admin/src/main/java/com/glxp/sale/admin/controller/thrsys/ThrProductsAddDiController.java +++ b/api-admin/src/main/java/com/glxp/sale/admin/controller/thrsys/ThrProductsAddDiController.java @@ -248,7 +248,7 @@ public class ThrProductsAddDiController { } ThrProductsAddDiEntity thrProductsAddDiEntity = thrProductsAddDiService.filterThrProductsGetId(Integer.valueOf(deleteRequest.getId())); if (thrProductsAddDiEntity != null) { - if (thrProductsAddDiEntity.getStatus() != 1) { + if (thrProductsAddDiEntity.getStatus() == 2) { return ResultVOUtils.error(877, "审批状态发生改变请刷新页面重新操作!"); } }