package com.smartor.mapper; 
 | 
  
 | 
import com.smartor.domain.PatArchive; 
 | 
import com.smartor.domain.PatArchiveOthreInfo; 
 | 
import com.smartor.domain.PatArchiveReq; 
 | 
import org.apache.ibatis.annotations.Mapper; 
 | 
import org.apache.ibatis.annotations.Param; 
 | 
  
 | 
import java.util.List; 
 | 
  
 | 
/** 
 | 
 * 患者档案Mapper接口 
 | 
 * 
 | 
 * @author smartor 
 | 
 * @date 2023-03-04 
 | 
 */ 
 | 
@Mapper 
 | 
public interface ShardingMapper { 
 | 
    long getTableCount(@Param("tableName") String tableName); 
 | 
  
 | 
    Long getMaxId(@Param("tableName") String tableName); 
 | 
  
 | 
    void renameTable(@Param("oldName") String oldName, @Param("newName") String newName); 
 | 
  
 | 
    void createLikeTable(@Param("newTableName") String newTableName, @Param("templateTableName") String templateTableName); 
 | 
  
 | 
    void setAutoIncrement(@Param("tableName") String tableName, @Param("value") long value); 
 | 
  
 | 
  
 | 
} 
 |