package com.dy.pmsGlobal.daoOth; 
 | 
  
 | 
import com.dy.pmsGlobal.pojoOth.OthStatisticDevice; 
 | 
import org.apache.ibatis.annotations.Mapper; 
 | 
import org.apache.ibatis.annotations.Param; 
 | 
  
 | 
@Mapper 
 | 
public interface OthStatisticDeviceMapper { 
 | 
    int deleteByPrimaryKey(Long id); 
 | 
  
 | 
    int insert(OthStatisticDevice record); 
 | 
  
 | 
    int insertSelective(OthStatisticDevice record); 
 | 
  
 | 
    OthStatisticDevice selectByPrimaryKey(Long id); 
 | 
  
 | 
    int updateByPrimaryKeySelective(OthStatisticDevice record); 
 | 
  
 | 
    int updateByPrimaryKey(OthStatisticDevice record); 
 | 
  
 | 
    /** 
 | 
     * 查询最大日期+1,为空则查询设备最新状态表的最小日期,都为空返回当前日期 
 | 
     * 
 | 
     * @return 
 | 
     */ 
 | 
    String selectMaxDate(); 
 | 
  
 | 
    void insertBatch(@Param("maxDate") String maxDate); 
 | 
} 
 |