新增了医生随访包配置

This commit is contained in:
2024-06-05 13:51:32 +08:00
parent 6c65e3cb3d
commit eab9e413f7
14 changed files with 878 additions and 11 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ type DoctorInquiryConfigDto struct {
IsEnable int `json:"is_enable"` // 是否启用(0:否 1:是)
LastEnableMethod int `json:"last_enable_method"` // 最后开启方式(1:自己 2:后台)
WorkNumDay int `json:"work_num_day"` // 每日接诊数量
InquiryPrice float64 `json:"inquiry_price"` // 接诊价格(专家问诊-公益问诊)
InquiryPrice *float64 `json:"inquiry_price"` // 接诊价格(专家问诊-公益问诊)
CreatedAt model.LocalTime `json:"created_at"` // 创建时间
UpdatedAt model.LocalTime `json:"updated_at"` // 修改时间
DoctorName string `json:"doctor_name"` // 医生姓名
@@ -36,7 +36,7 @@ func GetDoctorInquiryConfigDto(m *model.DoctorInquiryConfig) *DoctorInquiryConfi
IsEnable: m.IsEnable,
LastEnableMethod: m.LastEnableMethod,
WorkNumDay: m.WorkNumDay,
InquiryPrice: *m.InquiryPrice,
InquiryPrice: m.InquiryPrice,
CreatedAt: m.CreatedAt,
UpdatedAt: m.UpdatedAt,
}
@@ -56,7 +56,7 @@ func GetDoctorInquiryConfigListDto(m []*model.DoctorInquiryConfig) []*DoctorInqu
IsEnable: v.IsEnable,
LastEnableMethod: v.LastEnableMethod,
WorkNumDay: v.WorkNumDay,
InquiryPrice: *v.InquiryPrice,
InquiryPrice: v.InquiryPrice,
CreatedAt: v.CreatedAt,
UpdatedAt: v.UpdatedAt,
}