Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
498 views
in Technique[技术] by (71.8m points)

Mybatis plus 的BaseMapper接口实现代码在哪?

从c#转战java,幸好有mybatis plus,不然我基本无法摆脱.net里面ef,菜鸡翻看mybatis plus的源代码。
搞不懂BaseMapper接口的相关实现代码在哪?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
package com.baomidou.mybatisplus.core.enums;

/**
 * MybatisPlus 支持 SQL 方法
 *
 * @author hubin
 * @since 2016-01-23
 */
public enum SqlMethod {
    /**
     * 插入
     */
    INSERT_ONE("insert", "插入一条数据(选择字段插入)", "<script>
INSERT INTO %s %s VALUES %s
</script>"),

最近也在研究这个。建议先把官方文档搞一遍。https://mp.baomidou.com/guide/

framework


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...