feiyu02
2025-03-21 e5bdf2e02090357cbd580d54e6cd2406dd541760
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)
}