liusheng
3 天以前 8e6526ff74830cb003f419c0a86cb614e384c9a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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);
 
 
}