19626
2023-10-31 fd9df05c48c09b4d7f39a3b401882bda226dedea
force-app/main/default/classes/lexPCLLostReportLwcController.cls
@@ -377,7 +377,7 @@
         }
         
      } catch (Exception e) {
         return e.getDmlMessage(0);
         return e.getMessage();
      }
   }
   // 数据录入
@@ -610,7 +610,7 @@
         return objs;
      }catch(exception e) {
         Database.rollback(sp);
         objs.put('error',e.getDmlMessage(0));
         objs.put('error',e.getMessage());
         return objs;
      }
   }
@@ -740,7 +740,7 @@
         , ProductCategory__c 
         from Product2 where Id =:lostProduct];
      } catch (Exception e) {
         return e.getDmlMessage(0);
         return e.getMessage();
      }
      return JSON.serialize(prd);
   }
@@ -764,7 +764,7 @@
         Approval.ProcessResult result = Approval.process(req);
         return null; 
      } catch (Exception e) {
         return e.getDmlMessage(0);
         return e.getMessage();
      }
        
    }
@@ -776,7 +776,7 @@
           ApprovalHistoryUtil.reassignStep(workItemList, newActorId);
         return null;
      } catch (Exception e) {
         return e.getDmlMessage(0);
         return e.getMessage();
      }
        
    }