Prechádzať zdrojové kódy

第一个人的线上状态算法漏洞。

Chenshilong 9 rokov pred
rodič
commit
79ebc8afe2

+ 2 - 2
Dprs/CSL/Measure_Cloud.dof

@@ -115,7 +115,7 @@ AutoIncBuild=1
 MajorVer=3
 MinorVer=1
 Release=3
-Build=1084
+Build=1085
 Debug=0
 PreRelease=0
 Special=0
@@ -126,7 +126,7 @@ CodePage=936
 [Version Info Keys]
 CompanyName=珠海纵横创新软件有限公司
 FileDescription=纵横结算决算计量一体化云版
-FileVersion=3.1.3.1084
+FileVersion=3.1.3.1085
 InternalName=
 LegalCopyright=
 LegalTrademarks=

BIN
Dprs/CSL/Measure_Cloud.res


+ 2 - 1
Frames/ProjectManagerFme.pas

@@ -1774,8 +1774,9 @@ begin
       vCS := TCheckStatus(StrToInt(AAr[i, 5]) - 1);
       if vCS = csChecking then
       begin
-        if AAr[i - 1, 7] = '1' then   // 前一个人
+        if (i > 0) and (AAr[i - 1, 7] = '1') then   // 前一个人且不是第一个人
           AEnd := i;
+
         Break;
       end
       else if vCS = csNotPass then