You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
573 B
Java
25 lines
573 B
Java
package com.glxp.api.dao.system;
|
|
|
|
import com.glxp.api.entity.system.DbVersionEntity;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Update;
|
|
|
|
@Mapper
|
|
public interface DbVersionDao {
|
|
|
|
int selectVersion(@Param("version") String version);
|
|
|
|
//查询版本表是否存在
|
|
int selectTableExist(@Param("tableName") String tableName);
|
|
|
|
//新增版本
|
|
int insertVersion(DbVersionEntity entity);
|
|
|
|
//执行sql
|
|
@Update("${sql}")
|
|
void updateSql(@Param("sql") String sql);
|
|
|
|
|
|
}
|