瀏覽代碼

no message

zhangchuanxing 5 月之前
父節點
當前提交
6174c8f775
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      controllers/report_selection.go

+ 2 - 2
controllers/report_selection.go

@@ -250,9 +250,9 @@ func (this *ReportSelectionController) ClickHistory() {
 		br.ErrMsg = "文章不存在,文章ID错误"
 		br.ErrMsg = "文章不存在,文章ID错误"
 		return
 		return
 	}
 	}
-	if req.IndustrialSubjectId <= 0 {
+	if req.IndustrialSubjectId+req.IndustrialManagementId <= 0 {
 		br.Msg = "标的ID不存在"
 		br.Msg = "标的ID不存在"
-		br.ErrMsg = "标的ID不存在,标的ID错误"
+		br.ErrMsg = "产业或标的ID不存在"
 		return
 		return
 	}
 	}
 	item := models.CygxReportSelectionSubjectHistory{
 	item := models.CygxReportSelectionSubjectHistory{