All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.mybatisplus.injector.methods.Replace Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.mybatisplus.injector.methods;

import org.zodiac.mybatisplus.injector.MyBatisPlusMethod;

/**
 * 插入一条数据(选择字段插入)
 * 

* 表示插入替换数据,需求表中有PrimaryKey,或者unique索引,如果数据库已经存在数据,则用新数据替换,如果没有数据效果则和insert into一样; *

* */ public class Replace extends AbstractInsertMethod { private static final long serialVersionUID = -9011094143456061196L; public Replace() { super(MyBatisPlusMethod.REPLACE_ONE); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy