feiyu02
2025-02-07 e133600480d5f688a8375db7708fe531b4726f4a
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)
}