[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

@@ -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);