湖北昊騰科技
標(biāo)題:
中途退學(xué)業(yè)務(wù)流程業(yè)務(wù)編輯器增加退學(xué)學(xué)員名稱(chēng)摘要代碼
[打印本頁(yè)]
作者:
haotengtech
時(shí)間:
2016-5-4 09:04
標(biāo)題:
中途退學(xué)業(yè)務(wù)流程業(yè)務(wù)編輯器增加退學(xué)學(xué)員名稱(chēng)摘要代碼
declare @RecordCount int
declare @ExamDate datetime
declare @mark varchar(50)
set @mark='[ '
select top 3 @mark=@mark+rtrim(doc_view.姓名)+' ' from doc_view where 單號(hào)=@docnum
set @mark=@mark+']等'
select top 1 @RecordCount=人數(shù),@ExamDate=創(chuàng)建日期 from doc_ywmark where doc_ywmark.單號(hào)=@docnum
set @mark=@mark+'['+rtrim(cast(@recordCount as char(20)))+']人中途退學(xué)了'
if @cmdtype=1
begin
update doc_ywmark set 狀態(tài)=1,摘要=case when isnull(摘要,'1')='1' or 摘要='' then @mark else 摘要 end where doc_ywmark.單號(hào)=@docnum
end
else
begin
update doc_ywmark set 狀態(tài)=0 where doc_ywmark.單號(hào)<a href="mailto:=@docnum">=@docnum
復(fù)制代碼
歡迎光臨 湖北昊騰科技 (http://www.adanaendustriyelmutfak.com/)
Powered by Discuz! X3.3
91久久高清国语自产拍,国产精品宅男宅女a,色婷婷综合久久久久中文一区二区,在线免费看av网站入口