瀏覽代碼

1、修复垫层物料尾部数字错误问题

MY 15 小時之前
父節點
當前提交
534753122d
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      JLHHJSvr/Helper/InterfaceHelper.cs

+ 3 - 4
JLHHJSvr/Helper/InterfaceHelper.cs

@@ -773,17 +773,16 @@ namespace JLHHJSvr.Helper
                 {
                     if (mx.formulakind == 999)
                     {
-                        this.ProcessChuangWangPz(mx, interfaceList, mx.chastr, countDict[key]);
+                        this.ProcessChuangWangPz(mx, interfaceList, mx.chastr, ++countDict[key]);
                     }
                     else if (mx.mtrlid > 0 && mx.formulakind == 1201)
                     {
-                        this.ProcessDingbuLianMianPz(mx, interfaceList, mx.chastr, countDict[key]);
+                        this.ProcessDingbuLianMianPz(mx, interfaceList, mx.chastr, ++countDict[key]);
                     }
                     else if (mx.mtrlid > 0 && new int[] { 32, 12, 13, 14, 29 }.Contains(mx.formulakind.Value))
                     {
-                        this.ProcessWangMianBLPz(mx, interfaceList, mx.chastr, kindDict[mx.formulakind.Value], countDict[key]);
+                        this.ProcessWangMianBLPz(mx, interfaceList, mx.chastr, kindDict[mx.formulakind.Value], ++countDict[key]);
                     }
-                    countDict[key]++;
                 }
             }