浏览代码

Merge branch 'feature/eta_1.9.8' into debug

hsun 8 月之前
父节点
当前提交
9f6b81b5ce
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      controllers/data_manage/excel/custom_analysis.go

+ 3 - 0
controllers/data_manage/excel/custom_analysis.go

@@ -179,6 +179,9 @@ func (c *CustomAnalysisController) Add() {
 		condition += " AND excel_name=? "
 		pars = append(pars, req.ExcelName)
 
+		condition += " AND sys_user_id = ? "
+		pars = append(pars, sysUser.AdminId)
+
 		count, err := excelModel.GetExcelInfoCountByCondition(condition, pars)
 		if err != nil {
 			br.Msg = "判断表格名称是否存在失败"