修改bug

zhairh^2
wangwei 3 years ago
parent 4e6fbdd15d
commit 70347afc3d

@ -248,7 +248,7 @@ public class ThrProductsAddDiController {
} }
ThrProductsAddDiEntity thrProductsAddDiEntity = thrProductsAddDiService.filterThrProductsGetId(Integer.valueOf(deleteRequest.getId())); ThrProductsAddDiEntity thrProductsAddDiEntity = thrProductsAddDiService.filterThrProductsGetId(Integer.valueOf(deleteRequest.getId()));
if (thrProductsAddDiEntity != null) { if (thrProductsAddDiEntity != null) {
if (thrProductsAddDiEntity.getStatus() != 1) { if (thrProductsAddDiEntity.getStatus() == 2) {
return ResultVOUtils.error(877, "审批状态发生改变请刷新页面重新操作!"); return ResultVOUtils.error(877, "审批状态发生改变请刷新页面重新操作!");
} }
} }

Loading…
Cancel
Save