2013-07-29 100 views
0
(nvl(SELECT sum(wbs.days * 8 + wbs.hours) 
FROM com.vtradex.er.server.model.er.ProjectWbs wbs 
WHERE wbs.project.id=erp.id 
AND wbs.user.id= 248),0) 

回答

0

創建存儲過程將執行此查詢並通過@Formula註釋將其映射到某個屬性會更容易。