14 lines
529 B
Java
14 lines
529 B
Java
package com.baiyue.lastleg.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baiyue.lastleg.entity.LastlegEventOutbox;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
@Mapper
|
|
public interface LastlegEventOutboxMapper extends BaseMapper<LastlegEventOutbox> {
|
|
@Select("SELECT * FROM ll_event_outbox WHERE event_key=#{eventKey} LIMIT 1")
|
|
LastlegEventOutbox findByEventKey(@Param("eventKey") String eventKey);
|
|
}
|