Commit 9e9e559954e79367581844e8370669e96903cf65

Authored by ljq
1 parent cf5ab197

初始创建线路从1开始

src/main/java/com/bsth/service/ddexam/impl/DdexamServiceImpl.java
@@ -476,6 +476,11 @@ public class DdexamServiceImpl implements DdexamService { @@ -476,6 +476,11 @@ public class DdexamServiceImpl implements DdexamService {
476 if(litst.size() != 6){ 476 if(litst.size() != 6){
477 return false; 477 return false;
478 } 478 }
  479 + //让线路从1开始 部分功能0会异常
  480 + if(linebumber == 0){
  481 + linebumber = 1;
  482 + }
  483 +
479 String lineCodeStr = ""; 484 String lineCodeStr = "";
480 for(int j = 0 ; j < litst.size() ; j++){ //6个 <6 485 for(int j = 0 ; j < litst.size() ; j++){ //6个 <6
481 LineSt linest = litst.get(j).getLine(); //旧line 486 LineSt linest = litst.get(j).getLine(); //旧line