feiyu02
2025-08-14 dac47617b37ccfb834cd73ce0ee725e1101de214
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.flightfeather.uav.domain.mapper
 
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?> {
 
    /**
     * 重置自增id
     */
    @Select("alter table grid_data auto_increment = #{param1}")
    fun resetAutoIncrement(id: Int)
}