| | |
| | | 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; |
| | | |
| | | /** |
| | |
| | | @Service |
| | | public class AlarmInfoServiceImpl extends ServiceImpl<AlarmInfoMapper, AlarmInfo> implements AlarmInfoService { |
| | | |
| | | @Autowired |
| | | private AlarmInfoMapper alarmInfoMapper; |
| | | |
| | | @Override |
| | | public void createTable(String timeUnits) { |
| | | alarmInfoMapper.createTable(timeUnits); |
| | | } |
| | | } |