|
@@ -14,7 +14,7 @@ type SqlService struct {
|
|
|
|
|
|
func (l SqlService) SqlManage(in *types.SqlManageReq) *[]map[string]interface{} {
|
|
func (l SqlService) SqlManage(in *types.SqlManageReq) *[]map[string]interface{} {
|
|
sqlData := MC.BaseMysql.FindOne("sql_manage", map[string]interface{}{
|
|
sqlData := MC.BaseMysql.FindOne("sql_manage", map[string]interface{}{
|
|
- "id": in.Id,
|
|
|
|
|
|
+ "id": common.Int64All(in.Id),
|
|
}, "", "")
|
|
}, "", "")
|
|
if sqlData == nil || len(*sqlData) == 0 {
|
|
if sqlData == nil || len(*sqlData) == 0 {
|
|
return &[]map[string]interface{}{}
|
|
return &[]map[string]interface{}{}
|