From 9b197b7fac92278fb591ea8f4942c7d5687cb5ce Mon Sep 17 00:00:00 2001
From: 李金换 <lijinhuan@prec-tech.com>
Date: 星期一, 28 三月 2022 18:01:22 +0800
Subject: [PATCH] LJPH-C8FB4P【委托】配合PBI设备覆盖率的数据准备0328
---
force-app/main/default/classes/StatusPageController.cls | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/classes/StatusPageController.cls b/force-app/main/default/classes/StatusPageController.cls
index 7508e54..8cf62b4 100644
--- a/force-app/main/default/classes/StatusPageController.cls
+++ b/force-app/main/default/classes/StatusPageController.cls
@@ -2,9 +2,6 @@
public StatusPageController() {
Inquiryform = new Inquiry_form__c();
}
- public String status{get;set;}
- public String search{get;set;}
- public String reason{get;set;}
public Inquiry_form__c Inquiryform{get; set;}
public void init(){
@@ -37,7 +34,14 @@
if (String.isBlank(Inquiryform.Follow_Content__c) && String.isBlank(Inquiryform.Follow_Content_Other__c)) {
ApexPages.addmessage(new ApexPages.message(ApexPages.severity.ERROR, '璺熻繘鍐呭涓嶈兘涓虹┖'));
}
-
+ if (String.isBlank(Inquiryform.Follow_Content__c)) {
+ ApexPages.addmessage(new ApexPages.message(ApexPages.severity.ERROR, '璺熻繘鍐呭涓嶈兘涓虹┖'));
+ }
+ if ('鍏朵粬'.equals(Inquiryform.Follow_Content__c) && String.isBlank(Inquiryform.Follow_Content_Other__c)) {
+ ApexPages.addmessage(new ApexPages.message(ApexPages.severity.ERROR, '璺熻繘鍐呭锛堝叾浠栵級涓嶈兘涓虹┖'));
+ }
+ // Date nowDT = Date.now();
+ Inquiryform.Follow_Date__c = Date.toDay();
Inquiryform.Status__c = '03.宸茶窡杩�';
update Inquiryform;
}
--
Gitblit v1.9.1