sqlite的api,便于内部使用
liuxiaolong
2020-03-02 0ce10d63b42524d3e4e4b9a2ea35901048a33eb1
add name filter
1个文件已修改
3 ■■■■ 已修改文件
fileAnalysis.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fileAnalysis.go
@@ -98,12 +98,13 @@
    return files, err
}
func (api FileAnalysisApi) FindByStackId(stackId string, typ int, page int, size int) (list []protomsg.FileAnalysis,err error) {
func (api FileAnalysisApi) FindByStackId(stackId string, typ int,name string, page int, size int) (list []protomsg.FileAnalysis,err error) {
    url := api.getBasicUrl() + DATA_URL_PREFIX + "/fileAnalysis/findByStackId"
    client := NewClient()
    paramBody := map[string]string {
        "stackId": stackId,
        "type": strconv.Itoa(typ),
        "name": name,
        "page": strconv.Itoa(page),
        "size": strconv.Itoa(size),
    }