package com.whyc.service;
|
|
import com.whyc.mapper.EnvironmentThresholdMapper;
|
import com.whyc.pojo.db_fire_robot.EnvironmentThreshold;
|
import org.springframework.stereotype.Service;
|
|
import javax.annotation.Resource;
|
|
@Service
|
public class EnvironmentThresholdService {
|
|
@Resource
|
private EnvironmentThresholdMapper mapper;
|
|
public void add(EnvironmentThreshold threshold) {
|
mapper.insert(threshold);
|
}
|
}
|