Fancy
2025-01-07 28f6317f7189d5c4a7e64f57dd6c7fc2011f8632
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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);
}