package com.tofly.xrtygis.custom.service.impl;

import com.tofly.xrtygis.custom.mapper.GetMaxIdMapper;
import com.tofly.xrtygis.custom.service.GetMaxIdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author FlashWJL
 * @date 2021/3/29 16:09
 */
@Service
public class GetMaxIdServiceImpl implements GetMaxIdService {
    @Autowired
    private GetMaxIdMapper mapper;
    @Override
    public Long getMaxId(String tableName) {
        return mapper.getMaxId(tableName);
    }
}
