BUGFIX:sketchNum bugfix;

This commit is contained in:
shahaibo
2024-04-23 16:18:25 +08:00
parent c8f4d82bf5
commit e7d4e98ad0

View File

@@ -307,7 +307,7 @@ public class PythonService {
sketchNumbers[2] = 8 - sketchNumbers[0] - sketchNumbers[1];
}
if (sketchNumbers[2] > 0 && sketchNumbers[1] > 0) {
Long l = RandomsUtil.randomSysFile(0l, 1l);
Long l = RandomsUtil.randomSysFile(0l, 2l);
if (l == 0l) {
return CurrentDesignPictureTypeEnum.NO_PIN;
}else {