You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
313 B
18 lines
313 B
package main
|
|
|
|
import (
|
|
"dsBaseRpc/Utils/CommonUtil"
|
|
"dsBaseRpc/Utils/SqlKit"
|
|
"fmt"
|
|
)
|
|
|
|
func main(){
|
|
var ClassId="1"
|
|
list := SqlKit.QueryByIds([]string{ClassId}, "t_base_class")
|
|
list2:=make([]map[string]interface{},0)
|
|
fmt.Println(list)
|
|
fmt.Println(list2)
|
|
|
|
fmt.Println(CommonUtil.SerializeToString(list))
|
|
}
|