feiyu02
2025-05-08 9a9a27f185bc0cf9dc0001cfc6839e6d13dbccd9
src/main/kotlin/com/flightfeather/uav/domain/mapper/GridDataMapper.kt
@@ -3,6 +3,14 @@
import com.flightfeather.uav.domain.MyMapper
import com.flightfeather.uav.domain.entity.GridData
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Select
@Mapper
interface GridDataMapper : MyMapper<GridData?>
interface GridDataMapper : MyMapper<GridData?> {
    /**
     * 重置自增id
     */
    @Select("alter table grid_data auto_increment = #{param1}")
    fun resetAutoIncrement(id: Int)
}