From 8badb57ea2c82557850ad5b39281c3e8714eb119 Mon Sep 17 00:00:00 2001
From: liuyan <liuyan@prec-tech.com>
Date: 星期四, 24 十一月 2022 10:08:31 +0800
Subject: [PATCH] 科室信息漏传SPO问题
---
force-app/main/default/classes/ApplicationForCAHandler.cls | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/force-app/main/default/classes/ApplicationForCAHandler.cls b/force-app/main/default/classes/ApplicationForCAHandler.cls
index 3fbcd36..50fed32 100644
--- a/force-app/main/default/classes/ApplicationForCAHandler.cls
+++ b/force-app/main/default/classes/ApplicationForCAHandler.cls
@@ -37,7 +37,7 @@
Map<String, String> app_cam_binds = new Map<String, String>();
for (Application_for_Conference_Adjudication__c app : this.newList) {
Application_for_Conference_Adjudication__c old_app = this.oldMap.get(app.Id);
- if (String.isNotBlank(old_app.Num__c) && !old_app.Num__c.equals(app.Num__c)) {
+ if (String.isNotBlank(old_app.Num__c) && !old_app.Num__c.equals(app.Num__c) && app.MeetingType__c != '璧炲姪浼�') {
app_cam_binds.put(old_app.Id, old_app.Num__c);
}
}
@@ -59,7 +59,8 @@
for (Application_for_Conference_Adjudication__c app : this.newList) {
if (app.ProcessState__c == '椹冲洖' ||
app.ProcessState__c == '缁堟鐢宠' ||
- app.ProcessState__c == '鍙栨秷') {
+ app.ProcessState__c == '鍙栨秷' ||
+ app.ProcessState__c == '鍒犻櫎') {
approved_nos.add(app.Id);
}
}
@@ -153,7 +154,7 @@
private Campaign update_info_from_app(Campaign cam, Application_for_Conference_Adjudication__c app) {
cam.StartDate = app.StartDate__c;
cam.EndDate = app.EndDate__c;
- cam.Budget_Type__c = app.BudgetType__c;
+ cam.Implementation_Purpose__c = app.BudgetType__c;
cam.OfficeCategory__c = app.OfficeCategory__c;
cam.Meeting_Type__c = app.MeetingType__c;
--
Gitblit v1.9.1