diff --git a/dsSupport/MyModel/DataAccess/DataaccessService/DataaccessService.go b/dsSupport/MyModel/DataAccess/DataaccessService/DataaccessService.go index 208a2ecb..3c27e44e 100644 --- a/dsSupport/MyModel/DataAccess/DataaccessService/DataaccessService.go +++ b/dsSupport/MyModel/DataAccess/DataaccessService/DataaccessService.go @@ -62,8 +62,6 @@ func GetDataaccessResults(swag MySwagger.DataaccessSwag) (bool, string, int, []m } if swag.EnableFlag != 0 { conditions = append(conditions, "enable_flag="+"'"+strconv.Itoa(swag.EnableFlag)+"'") - } else { - conditions = append(conditions, "enable_flag='1'") } if swag.Page != 0 { query.Page = swag.Page diff --git a/dsSupport/MyModel/DataError/DataerrorService/DataerrorService.go b/dsSupport/MyModel/DataError/DataerrorService/DataerrorService.go index d0ed0cc5..962125a7 100644 --- a/dsSupport/MyModel/DataError/DataerrorService/DataerrorService.go +++ b/dsSupport/MyModel/DataError/DataerrorService/DataerrorService.go @@ -32,8 +32,6 @@ func GetDataerrorResults(swag MySwagger.DataerrorSwag) (bool, string, int, []map } if swag.EnableFlag != 0 { conditions = append(conditions, "enable_flag="+"'"+strconv.Itoa(swag.EnableFlag)+"'") - } else { - conditions = append(conditions, "enable_flag='1'") } if swag.Page != 0 { query.Page = swag.Page diff --git a/dsSupport/MyModel/DataSource/DatasourceService/DatasourceService.go b/dsSupport/MyModel/DataSource/DatasourceService/DatasourceService.go index 93b3c690..cab853b7 100644 --- a/dsSupport/MyModel/DataSource/DatasourceService/DatasourceService.go +++ b/dsSupport/MyModel/DataSource/DatasourceService/DatasourceService.go @@ -66,8 +66,6 @@ func GetDatasourceResults(swag MySwagger.DatasourceSwag) (bool, string, int, []m } if swag.EnableFlag != 0 { conditions = append(conditions, "enable_flag="+"'"+strconv.Itoa(swag.EnableFlag)+"'") - } else { - conditions = append(conditions, "enable_flag='1'") } if swag.Page != 0 { //page = swag.Page diff --git a/dsSupport/MyModel/JYT2012/Jyt2012Service/Jyt2012Service.go b/dsSupport/MyModel/JYT2012/Jyt2012Service/Jyt2012Service.go index ecfd2935..3582569a 100644 --- a/dsSupport/MyModel/JYT2012/Jyt2012Service/Jyt2012Service.go +++ b/dsSupport/MyModel/JYT2012/Jyt2012Service/Jyt2012Service.go @@ -45,8 +45,6 @@ func GetJyt2012Results(swag MySwagger.Jyt2012Swag) (bool, string, int, []map[str } if swag.EnableFlag != 0 { conditions = append(conditions, "enable_flag="+"'"+strconv.Itoa(swag.EnableFlag)+"'") - } else { - conditions = append(conditions, "enable_flag='1'") } if swag.Page != 0 { query.Page = swag.Page diff --git a/dsSupport/MyModel/MetaData/MetadataService/MetadataService.go b/dsSupport/MyModel/MetaData/MetadataService/MetadataService.go index a1c78288..3ba7ad70 100644 --- a/dsSupport/MyModel/MetaData/MetadataService/MetadataService.go +++ b/dsSupport/MyModel/MetaData/MetadataService/MetadataService.go @@ -61,8 +61,6 @@ func GetMetadataResults(swag MySwagger.MetadataSwag) (bool, string, int, []map[s } if swag.EnableFlag != 0 { conditions = append(conditions, "enable_flag="+"'"+strconv.Itoa(swag.EnableFlag)+"'") - } else { - conditions = append(conditions, "enable_flag='1'") } if swag.Page != 0 { query.Page = swag.Page diff --git a/dsSupport/MyModel/OrgTree/OrgtreeService/OrgtreeService.go b/dsSupport/MyModel/OrgTree/OrgtreeService/OrgtreeService.go index 4b423721..c5de4b47 100644 --- a/dsSupport/MyModel/OrgTree/OrgtreeService/OrgtreeService.go +++ b/dsSupport/MyModel/OrgTree/OrgtreeService/OrgtreeService.go @@ -52,8 +52,6 @@ func GetOrgtreeResults(swag MySwagger.OrgtreeSwag) (bool, string, int, []map[str } if swag.EnableFlag != 0 { conditions = append(conditions, "enable_flag="+"'"+strconv.Itoa(swag.EnableFlag)+"'") - } else { - conditions = append(conditions, "enable_flag='1'") } if swag.Page != 0 { query.Page = swag.Page