Exemplo n.º 1
0
 /// <summary>
 /// 工程生產數據查詢
 /// </summary>
 /// <param name="searchCondition">查詢條件</param>
 /// <returns></returns>
 public override List<ProjectProductionDataInfo_Query> SearchProjectProductionDatas(ProjectProductionDataInfo_Query_Search searchCondition)
 {
     try
     {
         List<ProjectProductionDataInfo_Query> lst = null;
         ProjectProductionDataQueryBLL bll = new ProjectProductionDataQueryBLL();
         lst = bll.SearchProjectProductionDatas(searchCondition);
         return lst;
     }
     catch (Exception ex)
     {
         this.OnException(mc_strClassName, "SearchProjectProductionDatas", ex.Message);
         throw;
     }
 }
 /// <summary>
 /// 查詢歷史班次的班次內工程生產數據信息
 /// </summary>
 /// <param name="searchCondition">查詢條件</param>
 /// <returns></returns>
 public override List<ShiftProjectProductionDataInfo_Query> SearchHistoryShiftProjectProductionDatas(ShiftProjectProductionDataInfo_Query_Search searchCondition)
 {
     try
     {
         //System.Threading.Thread.Sleep(1000*10);
         ProjectProductionDataQueryBLL bll = new ProjectProductionDataQueryBLL();
         return bll.SearchHistoryShiftProjectProductionDatas(searchCondition, this.ShiftTypeInfos);
     }
     catch(Exception ex)
     {
         this.OnException(mc_strClassName, "SearchHistoryShiftProjectProductionDatas", ex.Message);
         throw;
     }
 }