码迷,mamicode.com
首页 > 其他好文 > 详细

返回文檔處理中的附件image

时间:2014-08-20 15:52:22      阅读:131      评论:0      收藏:0      [点我收藏+]

标签:ar   amp   new   ef   on   sp   type   c   

display image dispMainPic()
{
docuRef docuRef;
docuType docuType;
image ret;
;
select firstonly docuRef
where docuRef.RefCompanyId == this.dataAreaId &&
docuRef.RefTableId == this.TableId &&
docuRef.RefRecId == this.RecId
join docuType where docuRef.TypeId==docuType.TypeId && docuType.TypeGroup==DocuTypeGroup::Image;

if(docuRef.ValueRecId) {
ret=new image();
ret.setData(DocuValue::find(docuRef.ValueRecId).File);
}
return ret;
}

返回文檔處理中的附件image,布布扣,bubuko.com

返回文檔處理中的附件image

标签:ar   amp   new   ef   on   sp   type   c   

原文地址:http://www.cnblogs.com/AllenFeng/p/3924460.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!