13693261870
2022-10-20 93b9a4bd47bfec774894928392d52a61fca07c38
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package {mapperNS};
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import {entityNS}.{entityName};
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
/**
 * {bak}
 * @author WWW
 */
@Mapper
@Repository
public interface {mapperName} extends BaseMapper<{entityName}> {
    /**
     * 查询一条
     *
     * @param {id}
     * @return
     */
    @Select("{selectSql}")
    {entityName} selectOne(@Param("{id}") Integer {id});
}