调整字典的value属性为string 不再限制为int

This commit is contained in:
piexlMax
2024-03-18 21:23:53 +08:00
parent 8ea827412a
commit 18365689e6
4 changed files with 34 additions and 38 deletions
@@ -68,7 +68,7 @@ func (dictionaryDetailService *DictionaryDetailService) GetSysDictionaryDetailIn
if info.Label != "" {
db = db.Where("label LIKE ?", "%"+info.Label+"%")
}
if info.Value != 0 {
if info.Value != "" {
db = db.Where("value = ?", info.Value)
}
if info.Status != nil {