IF EXISTS (SELECT 1 FROM sys.objects WHERE object_id = OBJECT_ID('[dbo].[userfunc_621_zj]') AND type = 'P')
DROP PROCEDURE [dbo].[userfunc_621_zj]
GO
CREATE PROCEDURE userfunc_621_zj(@cmpid int,   @branchid int,  @userdpid int,  @useruid int,   @userotid int,  @usersecurity int,@ctgid int,@ctgid2 int,@objid bigint,@param1 bigint)
as
begin



update order_243 set ord_zjgwtrsj = getdate() where ord_id =@param1


end