Example #1
0
 /**
  * 更新采购在途
  *
  * @param b
  */
 private void modfiyCountOnWay(Context context, InstoAddTask data, boolean isPri) {
   for (InstorageItem det : data.getDetailList()) {
     GUID store = data.getEntity().getStoreId();
     if (isPri) {
       store = InstoConstant.PROVIDERSOTRE;
       return;
     }
     InventoryOnWayTask task = new InventoryOnWayTask(store, det.getGoodsId());
     task.setOnWayCount(det.getCount());
     context.handle(task);
   }
 }