2026-08-20 15:20:05 +08:00
|
|
|
package com.baiyue.lastleg.mapper;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
|
import com.baiyue.lastleg.entity.LastlegEventOutbox;
|
|
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
2026-08-24 17:48:08 +08:00
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.apache.ibatis.annotations.Select;
|
2026-08-20 15:20:05 +08:00
|
|
|
|
|
|
|
|
@Mapper
|
|
|
|
|
public interface LastlegEventOutboxMapper extends BaseMapper<LastlegEventOutbox> {
|
2026-08-24 17:48:08 +08:00
|
|
|
@Select("SELECT * FROM ll_event_outbox WHERE event_key=#{eventKey} LIMIT 1")
|
|
|
|
|
LastlegEventOutbox findByEventKey(@Param("eventKey") String eventKey);
|
2026-08-20 15:20:05 +08:00
|
|
|
}
|