|
@@ -154,7 +154,6 @@ func (this *CalendarController) Accept() {
|
|
|
this.OkDetailed(nil, "保存成功")
|
|
|
}
|
|
|
|
|
|
-
|
|
|
// @Title 拒绝路演活动接口
|
|
|
// @Description 拒绝路演活动接口
|
|
|
// @Param request body roadshow.RefuseReq true "type json string"
|
|
@@ -280,16 +279,8 @@ func (this *CalendarController) CalendarDetail() {
|
|
|
for _, v := range permissionList {
|
|
|
permissionArr = append(permissionArr, v.PermissionName)
|
|
|
}
|
|
|
- readMap, err := services.GetFiccCountUserViewHistoryByCompanyIds(strconv.Itoa(companyId))
|
|
|
- if err != nil {
|
|
|
- this.FailWithMessage("获取阅读次数失败", "获取阅读次数失败!GetRsCalendarResearcherById:"+err.Error())
|
|
|
- return
|
|
|
- }
|
|
|
|
|
|
- readNum, ok := readMap[companyId]
|
|
|
- if !ok {
|
|
|
- readNum = 0
|
|
|
- }
|
|
|
+ readNum := companyProductItem.ViewTotal
|
|
|
companyDetailView.CompanyId = companyProductItem.CompanyId
|
|
|
companyDetailView.CompanyName = companyProductItem.CompanyName
|
|
|
companyDetailView.Status = companyProductItem.Status
|