com.cory.dao.SqlDao Maven / Gradle / Ivy
package com.cory.dao;
import com.cory.db.annotations.Dao;
import com.cory.db.annotations.Sql;
import com.cory.db.enums.CustomSqlType;
import com.cory.model.SqlModel;
import java.util.List;
import java.util.Map;
/**
* generated by CodeGenerator on 2017/5/10.
*/
@Dao(model = SqlModel.class)
public interface SqlDao extends BaseDao {
@Sql(type = CustomSqlType.DDL)
void customDDLSql(String sql);
@Sql(type = CustomSqlType.EXECUTE)
int customExecuteSql(String sql);
@Sql(type = CustomSqlType.QUERY)
List