All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.develop.service.impl.DefaultCodeServiceImpl Maven / Gradle / Ivy

package org.zodiac.develop.service.impl;

import org.zodiac.develop.mapper.CodeEntityMapper;
import org.zodiac.develop.model.entity.CodeEntity;
import org.zodiac.develop.service.CodeService;
import org.zodiac.mybatisplus.base.BaseEnhancedServiceImpl;
import org.zodiac.mybatisplus.constants.MyBatisPlusConstants;

public class DefaultCodeServiceImpl, E extends CodeEntity> extends BaseEnhancedServiceImpl
    implements CodeService {

    @Override
    public boolean submit(E code) {
        code.setIsDeleted(MyBatisPlusConstants.DB_NOT_DELETED);
        return saveOrUpdate(code);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy