|
@@ -2224,9 +2224,9 @@ func AddChartInfo(req data_manage.AddChartInfoReq, sysUserId int, sysUserRealNam
|
|
|
|
|
|
switch lang {
|
|
|
case utils.EnLangVersion:
|
|
|
- condition += " AND chart_name_en = ? AND source = ? AND sys_suer_id = ? "
|
|
|
+ condition += " AND chart_name_en = ? AND source = ? AND sys_user_id = ? "
|
|
|
default:
|
|
|
- condition += " AND chart_name = ? AND source = ? AND sys_suer_id = ? "
|
|
|
+ condition += " AND chart_name = ? AND source = ? AND sys_user_id = ? "
|
|
|
}
|
|
|
pars = append(pars, req.ChartName, utils.CHART_SOURCE_DEFAULT, sysUserId)
|
|
|
|
|
@@ -2661,9 +2661,9 @@ func EditChartInfo(req data_manage.EditChartInfoReq, sysUser *system.Admin, lang
|
|
|
|
|
|
switch lang {
|
|
|
case utils.EnLangVersion:
|
|
|
- condition += " AND chart_name_en = ? AND source = ? AND sys_suer_id = ? "
|
|
|
+ condition += " AND chart_name_en = ? AND source = ? AND sys_user_id = ? "
|
|
|
default:
|
|
|
- condition += " AND chart_name = ? AND source = ? AND sys_suer_id = ? "
|
|
|
+ condition += " AND chart_name = ? AND source = ? AND sys_user_id = ? "
|
|
|
}
|
|
|
pars = append(pars, req.ChartName, utils.CHART_SOURCE_DEFAULT, sysUser.AdminId)
|
|
|
|