| | |
| | | /** |
| | | * @description : |
| | | * @author : ChangeMeIn@UserSettingsUnder.SFDoc |
| | | * @group : |
| | | * @last modified on : 07-19-2023 |
| | | * @last modified by : ChangeMeIn@UserSettingsUnder.SFDoc |
| | | **/ |
| | | global without sharing class AssetWebService { |
| | | |
| | | private static Set<String> assStatus = new Set<String>{'不明','废弃','未使用', '廃棄'}; |
| | | @AuraEnabled |
| | | public static string methodName(){ |
| | | try { |
| | | |
| | | } catch (Exception e) { |
| | | throw new AuraHandledException(e.getMessage()); |
| | | } |
| | | } |
| | | WebService static String createLostReport(String assetId) { |
| | | return createLostReportCheck(assetId, true); |
| | | } |