Linq in

  OrderNum = (from s in g
                                     from f in dt.JXDW_ITIL_WORK_ORDER
                                     where s.CALL_ID == f.CALL_ID && (new string[] { "待回访", "回访中", "关闭" }).Contains(f.ORDER_STATUS)
                                     select f).Count(),

 

posted @ 2013-04-19 13:46  louiskoo  阅读(135)  评论(0编辑  收藏  举报