判定储位不存在或已停用

master
cez 2022-02-16 12:39:08 +08:00
parent 7d4f172479
commit 1720a5f050
1 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ public class WmInQmIController extends BaseController {
System.out.println(wmInQmIEntity.getBinId() + "444444");
if (!wmUtil.checkbin(wmInQmIEntity.getBinId())) {
throw new RuntimeException("储位不存在");
throw new RuntimeException("储位不存在或已停用");
}
System.out.println(wmInQmIEntity.getBinId() + "555555");
@ -465,7 +465,7 @@ public class WmInQmIController extends BaseController {
if (StringUtil.isNotEmpty(wmInQmI.getBinId())) {
if (!wmUtil.checkbin(wmInQmI.getBinId())) {
j.setSuccess(false);
message = wmInQmI.getBinId() + "储位不存在";
message = wmInQmI.getBinId() + "储位不存在或已停用";
return j;
}
}