|
@@ -351,20 +351,20 @@ public class OrgServiceImpl implements OrgService {
|
|
|
|
|
|
String name = trimAndNullIfBlank(line[0]);
|
|
|
if (StringUtils.isBlank(name)) {
|
|
|
- msg.append(" 课程名称不能为空");
|
|
|
+ msg.append(" 学习中心名称不能为空");
|
|
|
hasError = true;
|
|
|
} else if (name.length() > 30) {
|
|
|
- msg.append(" 课程名称不能超过30个字符");
|
|
|
+ msg.append(" 学习中心名称不能超过30个字符");
|
|
|
hasError = true;
|
|
|
}
|
|
|
org.setName(name);
|
|
|
|
|
|
String code = trimAndNullIfBlank(line[1]);
|
|
|
if (StringUtils.isBlank(code)) {
|
|
|
- msg.append(" 课程代码不能为空");
|
|
|
+ msg.append(" 学习中心代码不能为空");
|
|
|
hasError = true;
|
|
|
} else if (code.length() > 30) {
|
|
|
- msg.append(" 课程代码不能超过30个字符");
|
|
|
+ msg.append(" 学习中心代码不能超过30个字符");
|
|
|
hasError = true;
|
|
|
}
|
|
|
org.setCode(code);
|
|
@@ -381,10 +381,10 @@ public class OrgServiceImpl implements OrgService {
|
|
|
|
|
|
String telephone = trimAndNullIfBlank(line[3]);
|
|
|
if (StringUtils.isBlank(telephone)) {
|
|
|
- msg.append(" 联系人不能为空");
|
|
|
+ msg.append(" 联系电话不能为空");
|
|
|
hasError = true;
|
|
|
} else if (telephone.length() > 30) {
|
|
|
- msg.append(" 联系人不能超过30个字符");
|
|
|
+ msg.append(" 联系电话不能超过30个字符");
|
|
|
hasError = true;
|
|
|
}
|
|
|
org.setTelephone(telephone);
|