소스 검색

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 = "判断表格名称是否存在失败"