riku
2025-08-25 2de612e9b260df2e76d4dd620ca739aa3b6e8c57
src/main/kotlin/com/flightfeather/uav/domain/mapper/SourceTraceMsgMapper.kt
@@ -3,6 +3,14 @@
import com.flightfeather.uav.domain.MyMapper
import com.flightfeather.uav.domain.entity.SourceTraceMsg
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Select
@Mapper
interface SourceTraceMsgMapper : MyMapper<SourceTraceMsg?>
interface SourceTraceMsgMapper : MyMapper<SourceTraceMsg?> {
    /**
     * 重置自增id
     */
    @Select("alter table source_trace_msg auto_increment = #{param1}")
    fun resetAutoIncrement(id: Int)
}