|
@@ -190,6 +190,8 @@ public class BasicCourseServiceImpl extends ServiceImpl<BasicCourseMapper, Basic
|
|
|
case "code":
|
|
|
columnName = "基础课程编号";
|
|
|
break;
|
|
|
+ default:
|
|
|
+ break;
|
|
|
}
|
|
|
String content = SystemConstant.strNotNull(columnName) ? columnName : tooLongColumn;
|
|
|
throw ExceptionResultEnum.SQL_ERROR.exception("[" + content + "]超过长度限制");
|
|
@@ -428,6 +430,8 @@ public class BasicCourseServiceImpl extends ServiceImpl<BasicCourseMapper, Basic
|
|
|
case "code":
|
|
|
columnName = "基础课程编号";
|
|
|
break;
|
|
|
+ default:
|
|
|
+ break;
|
|
|
}
|
|
|
String content = SystemConstant.strNotNull(columnName) ? columnName : tooLongColumn;
|
|
|
throw ExceptionResultEnum.SQL_ERROR.exception("[" + content + "]超过长度限制");
|