#
luxiaotao1123
2024-04-03 b67f13b04339ac0cd1a10b07d58e9c30c53b97a2
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/rcs/mapper/DeviceDataLogMapper.java
@@ -2,6 +2,7 @@
import com.zy.asrs.wcs.rcs.entity.DeviceDataLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
@@ -9,4 +10,7 @@
@Repository
public interface DeviceDataLogMapper extends BaseMapper<DeviceDataLog> {
    @Delete("delete from rcs_device_data_log where create_time < DATEADD(HOUR, -24, GETDATE())")
    int clearLog();
}