wangwei vor 6 Jahren
Ursprung
Commit
444e52b1c9

+ 4 - 4
examcloud-core-basic-service/src/main/java/cn/com/qmth/examcloud/core/basic/service/impl/SpecialtyServiceImpl.java

@@ -119,20 +119,20 @@ public class SpecialtyServiceImpl implements SpecialtyService {
 
 			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;
 			}
 			specialty.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;
 			}