|
@@ -1467,7 +1467,12 @@ public class ExamController extends ControllerSupport {
|
|
|
|
|
|
// 备注
|
|
|
if(line.length == columnCount && line[2] != null){
|
|
|
- entity.setRemark(line[2]);
|
|
|
+ String remark = line[2];
|
|
|
+ if(StringUtils.length(remark) > 30){
|
|
|
+ msg.append(" 备注长度不能超过30个字");
|
|
|
+ hasError = true;
|
|
|
+ }
|
|
|
+ entity.setRemark(remark);
|
|
|
}
|
|
|
|
|
|
Date date = new Date();
|