zhangzhengmei
2023-08-05 d77b6353ca9b59a6398df3eae9912f9fd766946d
force-app/main/default/classes/TransferApplyWebService.cls
@@ -12,10 +12,12 @@
                 , RecordType.DeveloperName //20201202 ljh add
                 , BeiPinWindow__c //20201202 ljh add
                 , Add_Reason__c // 20210429 1831 you
                 ,RecordtypeId
             FROM TransferApply__c
            WHERE Id = :taId
              FOR UPDATE
        ];
        if (taList.isEmpty()) {
            return '调拨单不存在。';
        }
@@ -27,8 +29,8 @@
        if(!errorList.isEmpty()) {
            return String.join(errorList, '\n');
        }
        system.debug('zzm  :'+ta.Status__c +',RecordtypeId:' +ta.RecordtypeId);
        if(ta.Status__c == '草案中') {
            ta.Status__c = '填写完毕';
        }
        else {
@@ -172,6 +174,7 @@
            WHERE Id = :taId
              FOR UPDATE
        ];
        if (taList.isEmpty()) {
            return '调拨单不存在。';
        }