fux
zhangqian
2023-08-11 60ab2173aeecbd36a17a6335299f66c12b5c1717
fux
1个文件已修改
2 ■■■ 已修改文件
model/serviceFollowup.go 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
model/serviceFollowup.go
@@ -74,7 +74,7 @@
    case constvar.ServiceFollowupKeywordContactName:
        db = db.Joins("Contact").Where("Contact.name like ?", fmt.Sprintf("%%%s%%", slf.Keyword))
    case constvar.ServiceFollowupKeywordCustomerServiceNo:
        db = db.Joins("ServiceOrder").Where("ServiceOrder.ServiceNumber like ?", fmt.Sprintf("%%%s%%", slf.Keyword))
        db = db.Joins("ServiceOrder").Where("ServiceOrder.service_number like ?", fmt.Sprintf("%%%s%%", slf.Keyword))
    case constvar.ServiceFollowupKeywordVisitor:
        db = db.Joins("left join user on user.id = service_followup.member_id").Where("user.username like ?", fmt.Sprintf("%%%s%%", slf.Keyword))
    case constvar.ServiceFollowupKeywordSatisfactionDegree: