liusheng
8 天以前 7eb4c98f4d96bebf28685d801e7b978d6c3d251e
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);
 
 
}