feiyu02
2025-02-07 e133600480d5f688a8375db7708fe531b4726f4a
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.GridCell
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Select
 
@Mapper
interface GridCellMapper : MyMapper<GridCell?> {
 
    /**
     * 重置自增id
     */
    @Select("alter table grid_cell auto_increment = #{param1}")
    fun resetAutoIncrement(id: Int)
}