src/main/java/com/zy/asrs/mapper/DeviceDataLogMapper.java
@@ -4,7 +4,9 @@ import com.baomidou.mybatisplus.mapper.BaseMapper; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Mapper @Repository @@ -13,4 +15,6 @@ @Delete("delete from wcs_device_data_log where create_time < FROM_UNIXTIME(UNIX_TIMESTAMP() - (24 * 60 * 60))") int clearLog(); int insertBatch(@Param("list") List<DeviceDataLog> list); }