package com.moral.api.service.impl; 
 | 
  
 | 
import com.moral.api.entity.AlarmInfo; 
 | 
import com.moral.api.mapper.AlarmInfoMapper; 
 | 
import com.moral.api.service.AlarmInfoService; 
 | 
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; 
 | 
import org.springframework.beans.factory.annotation.Autowired; 
 | 
import org.springframework.stereotype.Service; 
 | 
  
 | 
/** 
 | 
 * <p> 
 | 
 *  服务实现类 
 | 
 * </p> 
 | 
 * 
 | 
 * @author moral 
 | 
 * @since 2021-11-12 
 | 
 */ 
 | 
@Service 
 | 
public class AlarmInfoServiceImpl extends ServiceImpl<AlarmInfoMapper, AlarmInfo> implements AlarmInfoService { 
 | 
  
 | 
    @Autowired 
 | 
    private AlarmInfoMapper alarmInfoMapper; 
 | 
  
 | 
    @Override 
 | 
    public void createTable(String timeUnits) { 
 | 
        alarmInfoMapper.createTable(timeUnits); 
 | 
    } 
 | 
} 
 |