用户int64转string
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
package dao
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"gorm.io/gorm"
|
||||
"hospital-admin-api/api/model"
|
||||
"hospital-admin-api/api/requests"
|
||||
@@ -89,7 +88,6 @@ func (r *AdminUserDao) GetAdminUserPageSearch(getUserPage requests.GetUserPage,
|
||||
})
|
||||
|
||||
if getUserPage.PostName != "" {
|
||||
fmt.Println(1111)
|
||||
subQuery := global.Db.Model(&model.AdminPost{}).
|
||||
Select("post_id").
|
||||
Where("post_name LIKE ?", "%"+getUserPage.PostName+"%")
|
||||
|
||||
Reference in New Issue
Block a user