| | |
| | | |
| | | import com.fgkj.dto.Dev_param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.apache.ibatis.annotations.Update; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | public interface Dev_paramMapper{ |
| | |
| | | public boolean add(Object obj) ; |
| | | |
| | | //修改设备参数(单个) |
| | | public boolean update(Object obj); |
| | | @Update("update db_param.tb_dev_param set alm_high_coe=#{alm_high_coe},alm_low_coe=#{alm_low_coe},alm_high_level=#{alm_high_level},alm_low_level=#{alm_low_level}" + |
| | | ",alm_high_en=#{alm_high_en},alm_low_en=#{alm_low_en} where dev_id=#{dev_id} and alm_id=#{alm_id}") |
| | | public int update(Dev_param obj); |
| | | |
| | | public boolean del(Object obj) ; |
| | | |