视图:
CREATE VIEW [dbo].[View_BioSendAppInfo] AS SELECT SendId, BillNo, Subject, DepartMentID, Departname=dbo.FN_GetDepartMentByID(DepartMentID), AppUserId, AppUserName=dbo.getUserNameByUserID(AppUserId), RealUserID, RealUser=dbo.getUserNameByUserID(RealUserID), OurCom, ReceiveComID, ReceiveComName=dbo.getCustomerByID(ReceiveComID), BillUserID, BillUser=dbo.getUserNameByUserID(BillUserID), Stockuserid, Stockuser=dbo.getUserNameByUserID(Stockuserid), isOutStockCheck, receiveAddress, Receiver, telephone, mobile, sendType, sendDate, receiveDate, postWay, postUnit, postPhone, postRemak, isSend, QualityUserid, isQualityCheck, clientArea, addBatchDate, addBathUserid, addBathUserNamae=dbo.getUserNameByUserID(addBathUserid), submitTime, DeleteSate FROM BioSendAppInfo
时间: 2024-10-11 04:21:03