mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 02:48:34 +08:00
@@ -61,7 +61,7 @@ func (m *deviceGroupModelImpl) FindListPage(page, pageSize int, data entity.Devi
|
|||||||
db = db.Where("name like ?", "%"+data.Name+"%")
|
db = db.Where("name like ?", "%"+data.Name+"%")
|
||||||
}
|
}
|
||||||
if data.Path != "" {
|
if data.Path != "" {
|
||||||
db = db.Where("path like %?%", "%"+data.Path+"%")
|
db = db.Where("path like ?", "%"+data.Path+"%")
|
||||||
}
|
}
|
||||||
if data.Status != "" {
|
if data.Status != "" {
|
||||||
db = db.Where("status = ?", data.Status)
|
db = db.Where("status = ?", data.Status)
|
||||||
|
|||||||
Reference in New Issue
Block a user