Salesforce 代码锁定记录
需要在“流程自动设置“中 选择在Apex 中启用记录锁定和解锁复选框global class LockAndUnlock { //订单锁定 WebService static void lock(Id OrderId){ List<MicroPowderOrder__c> orderList = [Select Id from MicroPowderOrder_...