自动化立体仓库 - WCS系统
#
Junjie
2024-03-16 429bc159b230ed31092aed3b8c4893c20e52f5c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.zy.asrs.mapper;
 
import com.zy.asrs.entity.DeviceDataLog;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
 
@Mapper
@Repository
public interface DeviceDataLogMapper extends BaseMapper<DeviceDataLog> {
 
    @Delete("delete from wcs_device_data_log where create_time < DATEADD(HOUR, -24, GETDATE())")
    int clearLog();
 
}