Commit 88d241eb authored by 李博今's avatar 李博今

修改教室的数据库存储

parent 460f091b
...@@ -155,14 +155,14 @@ public class BRoomsServiceImpl implements BRoomsService { ...@@ -155,14 +155,14 @@ public class BRoomsServiceImpl implements BRoomsService {
result += "表中第 " + index + " 行,编号 " + value[1] + " 在表中重复 \n"; result += "表中第 " + index + " 行,编号 " + value[1] + " 在表中重复 \n";
continue; continue;
} }
// if(value[1].length() > 50){ if(value[1].length() > 50){
// result += "表中第 " + index + " 行,编号 " + value[1] + " 太长 \n"; result += "表中第 " + index + " 行,编号 " + value[1] + " 太长 \n";
// continue; continue;
// } }
// if(value[3].length() > 50){ if(value[3].length() > 50){
// result += "表中第 " + index + " 行,编号 " + value[3] + " 太长 \n"; result += "表中第 " + index + " 行,编号 " + value[3] + " 太长 \n";
// continue; continue;
// } }
//Int最大值为2147483648,所以不能超过9位数 //Int最大值为2147483648,所以不能超过9位数
if(value[5].length() >= 9){ if(value[5].length() >= 9){
result += "表中第 " + index + " 行,编号 " + value[1] + " 的数据座位数不合法 \n"; result += "表中第 " + index + " 行,编号 " + value[1] + " 的数据座位数不合法 \n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment