修改在线状态

This commit is contained in:
2023-12-01 09:13:19 +08:00
parent 174ab61402
commit be043f4a41
3 changed files with 1 additions and 5 deletions
-3
View File
@@ -81,7 +81,6 @@ type UserDoctorData struct {
PraiseRate float64 // 好评率(百分制。订单平均评价中超过4-5分的订单总数 / 总订单数 * 5)
AvgResponseTime float64 // 平均响应时间(分钟制)
NumberOfFans string // 被关注数量
IsOnline string // 是否在线(0:不在线 1:在线)
IsPlatformDeepCooperation string // 是否平台深度合作医生(0:否 1:是)
IsEnterpriseDeepCooperation string // 是否企业深度合作医生(0:否 1:是)
IsSysDiagnoCooperation string // 是否先思达合作医生(0:否 1:是)
@@ -594,7 +593,6 @@ func (r *ExportService) UserDoctor(userDoctors []*model.UserDoctor) (string, err
{Value: "好评率(百分制)", CellType: "string", NumberFmt: "", ColWidth: 18},
{Value: "平均响应时间(分钟制)", CellType: "string", NumberFmt: "", ColWidth: 25},
{Value: "被关注数量", CellType: "string", NumberFmt: "", ColWidth: 18},
{Value: "在线", CellType: "string", NumberFmt: "", ColWidth: 18},
{Value: "平台深度合作医生", CellType: "string", NumberFmt: "", ColWidth: 18},
{Value: "企业深度合作医生", CellType: "string", NumberFmt: "", ColWidth: 18},
{Value: "先思达合作医生", CellType: "string", NumberFmt: "", ColWidth: 18},
@@ -645,7 +643,6 @@ func (r *ExportService) UserDoctor(userDoctors []*model.UserDoctor) (string, err
PraiseRate: v.PraiseRate,
AvgResponseTime: v.AvgResponseTime,
NumberOfFans: fmt.Sprintf("%d", v.NumberOfFans),
IsOnline: utils.IsOnlineToString(v.IsOnline),
IsPlatformDeepCooperation: utils.IsPlatformDeepCooperationToString(v.IsPlatformDeepCooperation),
IsEnterpriseDeepCooperation: utils.IsEnterpriseDeepCooperationToString(v.IsEnterpriseDeepCooperation),
IsSysDiagnoCooperation: utils.IsSysDiagnoCooperationToString(v.IsSysDiagnoCooperation),