package com.kxs.store.biz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kxs.store.biz.constant.enums.WarehouseLimitTypeEnum;
import com.kxs.store.biz.mapper.KxsWarehouseLimitLogMapper;
import com.kxs.store.api.model.KxsWarehouseLimitLog;
import com.kxs.store.biz.service.KxsWarehouseLimitLogService;
import org.springframework.stereotype.Service;

import java.util.Objects;

/**
 * 客小爽仓库额度变动记录(KxsWarehouseLimitLog)表服务实现类
 *
 * @author 系统
 * @since 2024-04-16 14:50:16
 */
@Service("kxsWarehouseLimitLogService")
public class KxsWarehouseLimitLogServiceImpl extends ServiceImpl<KxsWarehouseLimitLogMapper, KxsWarehouseLimitLog> implements KxsWarehouseLimitLogService {


    @Override
    public boolean support(Integer type) {

        return Objects.equals(WarehouseLimitTypeEnum.FC.getType(), type);
    }
}

