IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[order_133_modify_after]') AND type = 'P')
DROP PROCEDURE [dbo].[order_133_modify_after]
GO

-- 生成时间:2017-11-22 17:46:53 by ebs-core  
CREATE  procedure order_133_modify_after(
     @cmpid int,
     @branchid int,
     @userdpid int,
     @useruid int,
     @userotid int,
     @jbid bigint,
     @ordid bigint 
  ) 
as  
begin  
set nocount on  
declare @nonedate datetime 
set @nonedate = CONVERT(datetime,'1910-1-1')
declare @ord2group2 nvarchar(50) 
set @ord2group2 = '' 
declare @sys_recid bigint 
set @sys_recid = 0 
  
 --- 以下是预处理事件中的临时表
 --- #old 与 #new 在主体中已经生成
 
 ---- 以下是开发人员写的 after modify order 事件 --------------
 
 ---- 以上是开发人员写的 after modify order 事件 --------------
 
 
--- 清除临时表 

set nocount off 
end