修改数据

This commit is contained in:
YY
2025-07-03 17:50:35 +08:00
parent 626aaf308a
commit 54ca158afa

View File

@ -6,6 +6,11 @@ import com.chinaunicom.zyhy.ebtp.supplier.coscoEvaluate.entity.CoscoEvaluateLeve
public class LevelResponse {
// 私有构造函数,防止实例化
private LevelResponse() {
throw new UnsupportedOperationException("This is a utility class and cannot be instantiated");
}
public static BaseResponse<String> getStringByTaskLevel(CoscoEvaluateLevel coscoEvaluateLevel) {
if (coscoEvaluateLevel.getLevelName() == null) {
return BaseResponse.fail(ErrorMessageConstant.LEVEL_NAME_CANNOT_BE_EMPTY);