mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 10:12:59 +00:00
删除字典bug修复
This commit is contained in:
@@ -239,7 +239,7 @@ func DeleteDictByIds(ids []int) error {
|
||||
//删除字典下的数据
|
||||
for _, v := range discs {
|
||||
sys_dict_data.Model.Delete("dict_type=?", v.DictType)
|
||||
Model.Delete(v.DictId)
|
||||
Model.Delete("dict_id", v.DictId)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user