[improvement][headless]Remove unnecessary model name checks.
Some checks are pending
supersonic CentOS CI / build (21) (push) Waiting to run
supersonic mac CI / build (21) (push) Waiting to run
supersonic ubuntu CI / build (21) (push) Waiting to run
supersonic windows CI / build (21) (push) Waiting to run

This commit is contained in:
jerryjzhang
2025-01-15 20:14:35 +08:00
parent 2b28aeea6f
commit 8900fde4a3
2 changed files with 3 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ public class QueryColumn {
public QueryColumn(String nameEn, String type) {
this.type = type;
this.nameEn = nameEn;
this.name = nameEn;
}
public QueryColumn(String name, String type, String nameEn) {

View File

@@ -125,7 +125,7 @@ public class ModelServiceImpl implements ModelService {
@Override
@Transactional
public ModelResp createModel(ModelReq modelReq, User user) throws Exception {
checkParams(modelReq);
// checkParams(modelReq);
ModelDO modelDO = ModelConverter.convert(modelReq, user);
modelRepository.createModel(modelDO);
batchCreateDimension(modelDO, user);
@@ -150,7 +150,7 @@ public class ModelServiceImpl implements ModelService {
@Override
@Transactional
public ModelResp updateModel(ModelReq modelReq, User user) throws Exception {
checkParams(modelReq);
// checkParams(modelReq);
checkRelations(modelReq);
ModelDO modelDO = modelRepository.getModelById(modelReq.getId());
ModelConverter.convert(modelDO, modelReq, user);