|
@@ -668,7 +668,7 @@ WHERE
|
|
|
ORDER BY
|
|
|
sort ASC,
|
|
|
chart_classify_id ASC`
|
|
|
- err = global.DbMap[utils.DbNameIndex].Raw(sql, parentId, parentId, isSelected).Find(&items).Error
|
|
|
+ err = global.DbMap[utils.DbNameIndex].Raw(sql, parentId, isSelected, parentId).Find(&items).Error
|
|
|
return
|
|
|
}
|
|
|
|
|
@@ -715,7 +715,7 @@ WHERE
|
|
|
ORDER BY
|
|
|
sort ASC,
|
|
|
chart_classify_id ASC`
|
|
|
- err = global.DbMap[utils.DbNameIndex].Raw(sql, parentId, parentId, adminId, isSelected).Find(&items).Error
|
|
|
+ err = global.DbMap[utils.DbNameIndex].Raw(sql, parentId, isSelected, parentId, adminId).Find(&items).Error
|
|
|
return
|
|
|
}
|
|
|
|