From 552f32c93251191103a633ca292c06a445e2551f Mon Sep 17 00:00:00 2001
From: 李金换 <lijinhuan@prec-tech.com>
Date: 星期二, 15 三月 2022 18:25:31 +0800
Subject: [PATCH] OBPM备品相关修改 & 【委托】【phase5上线课题131】-增加明细的时长字段“提交申请到备品出库时长”
---
force-app/main/default/classes/ChoiceAssetController.cls | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/ChoiceAssetController.cls b/force-app/main/default/classes/ChoiceAssetController.cls
index c599064..d9cc627 100644
--- a/force-app/main/default/classes/ChoiceAssetController.cls
+++ b/force-app/main/default/classes/ChoiceAssetController.cls
@@ -126,6 +126,10 @@
if (info.check) {
ast = info.ast;
quantity += 1;
+ if (info.ast.Ji_Zhong_Guan_Li_Ku_Cun__c <= 0){
+ ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '璁惧闆嗕腑绠$悊搴撳瓨涓嶈冻'));
+ return null;
+ }
}
}
if (quantity == 0) {
--
Gitblit v1.9.1