Commit c8b3d3b9 authored by honghuiliu's avatar honghuiliu 💬

bug修复

parent 2b69db9e
...@@ -61,7 +61,7 @@ func (qshPartolService *QshPartolService) GetQshPartolInfoList(info adminReq.Qsh ...@@ -61,7 +61,7 @@ func (qshPartolService *QshPartolService) GetQshPartolInfoList(info adminReq.Qsh
db = db.Where("type = ?", info.Type) db = db.Where("type = ?", info.Type)
} }
if info.ToiletId != 0 { if info.ToiletId != 0 {
db = db.Where("toilet_id = ?", info.Toilet) db = db.Where("toilet_id = ?", info.ToiletId)
} }
err = db.Count(&total).Error err = db.Count(&total).Error
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment