From ed4d596e341f580d08926e21e6dc3b7ecef2c78f Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期二, 22 八月 2023 11:07:37 +0800
Subject: [PATCH] 1
---
APSM/装配智能排程/Sc_ICMOAutoSortBill.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git "a/APSM/\350\243\205\351\205\215\346\231\272\350\203\275\346\216\222\347\250\213/Sc_ICMOAutoSortBill.cs" "b/APSM/\350\243\205\351\205\215\346\231\272\350\203\275\346\216\222\347\250\213/Sc_ICMOAutoSortBill.cs"
index 18e8fa9..ffc531e 100644
--- "a/APSM/\350\243\205\351\205\215\346\231\272\350\203\275\346\216\222\347\250\213/Sc_ICMOAutoSortBill.cs"
+++ "b/APSM/\350\243\205\351\205\215\346\231\272\350\203\275\346\216\222\347\250\213/Sc_ICMOAutoSortBill.cs"
@@ -692,7 +692,7 @@
//判断资源剩余工时,是否大于 生产周期
if (DBUtility.ClsPub.isSingle(ds.Tables[0].Rows[j]["剩余工时"]) > sLeftProdTimes)
{
- if (iLeftQty > 0)
+ if (iLeftQty > 0) // 生产订单剩余数量
{
//在本资源上生产
//获取该生产资源的剩余工时进行排程。
@@ -705,7 +705,7 @@
dsSub = Sc_ICMOSortBillFun.GetWorkSourceTimeBySource(oCn, lSourceID);
if (dsSub == null || dsSub.Tables[0].Rows.Count == 0)
{
- continue;
+ continue;//如果没有剩余则 执行下一个生产订单
}
if (dsSub != null )//不加班排程
{
--
Gitblit v1.9.1