| | |
| | | package com.yeshi.fanli.service.impl.monitor;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.springframework.scheduling.annotation.Async;
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.monitor.ClientAPIMonitorMapper;
|
| | | import com.yeshi.fanli.entity.monitor.ClientAPIMonitor;
|
| | | import com.yeshi.fanli.service.inter.monitor.MonitorService;
|
| | |
|
| | | @Service
|
| | | public class MonitorServiceImpl implements MonitorService {
|
| | |
|
| | | @Resource
|
| | | private ClientAPIMonitorMapper clientAPIMonitorMapper;
|
| | |
|
| | | @Async
|
| | | @Override
|
| | | public void addClientAPIMonitor(ClientAPIMonitor monitor) {
|
| | | clientAPIMonitorMapper.insertSelective(monitor);
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.impl.monitor; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.yeshi.fanli.dao.mybatis.monitor.ClientAPIMonitorMapper; |
| | | import com.yeshi.fanli.entity.monitor.ClientAPIMonitor; |
| | | import com.yeshi.fanli.service.inter.monitor.MonitorService; |
| | | |
| | | @Service |
| | | public class MonitorServiceImpl implements MonitorService { |
| | | |
| | | @Resource |
| | | private ClientAPIMonitorMapper clientAPIMonitorMapper; |
| | | |
| | | @Async |
| | | @Override |
| | | public void addClientAPIMonitor(ClientAPIMonitor monitor) { |
| | | clientAPIMonitorMapper.insertSelective(monitor); |
| | | } |
| | | |
| | | } |