private void bwLoadData_DoWork(object sender, DoWorkEventArgs e)
 {
     outsoleReleaseMaterialAllList = OutsoleReleaseMaterialController.Select(reportId, null);
     orderAllList           = OrdersController.SelectByOutsoleReleaseMaterial(reportId);
     outsoleMaterialAllList = OutsoleMaterialController.SelectByOutsoleReleaseMaterial(reportId);
     sizeRunAllList         = SizeRunController.SelectByOutsoleReleaseMaterial(reportId);
 }
예제 #2
0
 private void bwLoadData_DoWork(object sender, DoWorkEventArgs e)
 {
     if (releaseTo == ERelease.ReleaseToOutsole)
     {
         outsoleReleaseMaterialAllList = OutsoleReleaseMaterialController.Select(reportId, null);
         orderAllList           = OrdersController.SelectByOutsoleReleaseMaterial(reportId);
         outsoleMaterialAllList = OutsoleMaterialController.SelectByOutsoleReleaseMaterial(reportId);
         sizeRunAllList         = SizeRunController.SelectByOutsoleReleaseMaterial(reportId);
     }
     else
     {
         outsoleReleaseMaterialAllList = OutsoleReleaseWHInspectionController.Select(reportId, null);
         orderAllList           = OrdersController.SelectByOutsoleReleaseMaterialToWHInspection(reportId);
         outsoleMaterialAllList = OutsoleMaterialController.SelectByOutsoleReleaseMaterialToWHInspection(reportId);
         sizeRunAllList         = SizeRunController.SelectByOutsoleReleaseMaterialToWHInspection(reportId);
     }
 }