فهرست منبع

提交补货模型问题

Murphy 2 سال پیش
والد
کامیت
04a7c0e5c0

+ 8 - 0
MicroServices/Business/Business.Application/ReplenishmentManagement/ReplenishmentAppService.cs

@@ -2126,6 +2126,14 @@ namespace Business.Replenishment
             var molist=_mysql_mes_morder.GetListAsync(a => itemNumbers.Contains(a.product_code) && a.factory_id == input.factory_id  && !a.IsDeleted).Result;
             var proccupylist=_mysql_srm_pr_main_occupy.GetListAsync(a=> molist.Select(p=>p.morder_no).ToList().Contains(a.morder_mo) && a.factory_id == input.factory_id  && !a.IsDeleted).Result;
 
+            //TODO:完善占用逻辑
+            //srm_pr_main pr = new srm_pr_main();
+            //pr.state = 1;
+            //srm_po_main po = new srm_po_main();
+            ////po.state.GetValueOrDefault() != 3;
+            //srm_po_occupy srm_Po_Occupy = new srm_po_occupy();
+            ////srm_Po_Occupy.polist_id = pr.Id;po.id;
+
             itemNumbers.ForEach(a =>
             {
                 EOPDto eOPDto=new EOPDto();