소스 검색

no message

zhangchuanxing 4 달 전
부모
커밋
e42d56650d
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      controllers/cygx/industrial_subject.go
  2. 1 0
      models/cygx/industrial_subject.go

+ 2 - 0
controllers/cygx/industrial_subject.go

@@ -675,9 +675,11 @@ func (this *IndustrialSubjectController) IndustrialAndSubjectSearch() {
 		item := new(cygx.CygxIndustrialSubjectListRep)
 		item.IndustryName = v.IndustryName
 		item.IndustrialManagementId = v.IndustrialManagementId
+		item.ShowName = v.IndustryName
 		listResp = append(listResp, item)
 	}
 	for _, v := range listSubject {
+		v.ShowName = v.SubjectName
 		listResp = append(listResp, v)
 	}
 	resp := new(cygx.CygxIndustrialSubjectList)

+ 1 - 0
models/cygx/industrial_subject.go

@@ -230,6 +230,7 @@ type CygxIndustrialSubjectListRep struct {
 	IndustrialManagementId int    `description:"产业id"`
 	SubjectName            string `description:"标的名称"`
 	IndustryName           string `description:"分析师名称"`
+	ShowName               string `description:"产业与标的展示名称"`
 }
 
 type CygxIndustrialSubjectList struct {