sinake
2025-09-29 07e3dfe61e3bbe7bc02e45e96247d4d922dca380
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
31
32
33
34
35
36
37
38
39
40
package com.smartor.mapper;
 
import org.apache.ibatis.annotations.*;
 
import java.util.List;
import java.util.Map;
 
@Mapper
public interface UtilsMapper {
 
    /**
     * 查询sql
     * @param sql
     * @return
     */
    @Select({"${sql}"})
    List<Map<String, Object>> getList(@Param("sql") String sql);
 
    /**
     * 更新sql
     * @param sql
     */
    @Insert({"${sql}"})
    Integer insertSql(@Param("sql") String sql);
 
    /**
     * 更新sql
     * @param sql
     */
    @Update({"${sql}"})
    Integer updateSql(@Param("sql") String sql);
 
    /**
     * 查询返回strign sql
     * @param sql
     * @return
     */
    @Select({"${sql}"})
    String getSqlString(@Param("sql") String sql);
}