Riku
2025-06-11 d3b43d50df28c4fe27c104dcd146d35b2bad4d20
src/main/kotlin/com/flightfeather/uav/domain/mapper/GridGroupMapper.kt
@@ -3,6 +3,14 @@
import com.flightfeather.uav.domain.MyMapper
import com.flightfeather.uav.domain.entity.GridGroup
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Select
@Mapper
interface GridGroupMapper : MyMapper<GridGroup?>
interface GridGroupMapper : MyMapper<GridGroup?> {
    /**
     * 重置自增id
     */
    @Select("alter table grid_group auto_increment = #{param1}")
    fun resetAutoIncrement(id: Int)
}