com.gitee.sunchenbin.mybatis.actable.dao.common.BaseMysqlCRUDMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-enhance-actable Show documentation
Show all versions of mybatis-enhance-actable Show documentation
A.CTable is a Maven project based on Spring and Mybatis, which enhances the function of Mybatis
package com.gitee.sunchenbin.mybatis.actable.dao.common;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;
import com.gitee.sunchenbin.mybatis.actable.command.SaveOrUpdateDataCommand;
/**
* 已经废弃请勿使用有bug
* @author sunchenbin
*
*/
@Transactional
@Deprecated
public interface BaseMysqlCRUDMapper {
/**
* 保存
* @param saveOrUpdateDataCommand id+表结构的map
*/
public void save(SaveOrUpdateDataCommand saveOrUpdateDataCommand);
/**
* 更新
* @param saveOrUpdateDataCommand id+表结构的map
*/
public void update(SaveOrUpdateDataCommand saveOrUpdateDataCommand);
/**
* 删除
* @param tableMap 表结构的map
*/
public void delete(@Param("tableMap") Map