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