Add event log and statistic log
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
package top.fatweb.api.service.system
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService
|
||||
import top.fatweb.api.entity.system.EventLog
|
||||
|
||||
interface IEventLogService : IService<EventLog>
|
||||
@@ -0,0 +1,6 @@
|
||||
package top.fatweb.api.service.system
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService
|
||||
import top.fatweb.api.entity.system.StatisticLog
|
||||
|
||||
interface IStatisticLogService : IService<StatisticLog>
|
||||
@@ -0,0 +1,12 @@
|
||||
package top.fatweb.api.service.system.impl
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
|
||||
import org.springframework.stereotype.Service
|
||||
import top.fatweb.api.entity.system.EventLog
|
||||
import top.fatweb.api.mapper.system.EventLogMapper
|
||||
import top.fatweb.api.service.system.IEventLogService
|
||||
|
||||
@DS("sqlite")
|
||||
@Service
|
||||
class EventLogServiceImpl : ServiceImpl<EventLogMapper, EventLog>(), IEventLogService
|
||||
@@ -0,0 +1,12 @@
|
||||
package top.fatweb.api.service.system.impl
|
||||
|
||||
import com.baomidou.dynamic.datasource.annotation.DS
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
|
||||
import org.springframework.stereotype.Service
|
||||
import top.fatweb.api.entity.system.StatisticLog
|
||||
import top.fatweb.api.mapper.system.StatisticLogMapper
|
||||
import top.fatweb.api.service.system.IStatisticLogService
|
||||
|
||||
@DS("sqlite")
|
||||
@Service
|
||||
class StatisticLogServiceImpl : ServiceImpl<StatisticLogMapper, StatisticLog>(), IStatisticLogService
|
||||
Reference in New Issue
Block a user