소스 검색

update

master
shenjiachi 1 개월 전
부모
커밋
4a9dbc3e06
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      app/svc/im/svc_send_message.go

+ 3
- 3
app/svc/im/svc_send_message.go 파일 보기

@@ -212,7 +212,7 @@ func DealUserMessage(recordID int, req *md.BatchSendUserMessageReq) {
var customerServiceWithUsers []model.CustomerServiceWithUser
err = db.DbIm.Table("user").
Join("INNER", "customer_service", "customer_service.id = user.customer_id").
In("phone", phoneIds).
In("phone_number", phoneIds).
Where("customer_service.state = 1").
Find(&customerServiceWithUsers)
if err != nil {
@@ -260,7 +260,7 @@ func DealUserMessage(recordID int, req *md.BatchSendUserMessageReq) {
var customerServiceWithUsers []model.CustomerServiceWithUser
err = db.DbIm.Table("user").
Join("INNER", "customer_service", "customer_service.id = user.customer_id").
In("phone", tempPhoneList).
In("phone_number", tempPhoneList).
Where("customer_service.state = 1").
Find(&customerServiceWithUsers)
if err != nil {
@@ -323,7 +323,7 @@ func DealUserMessage(recordID int, req *md.BatchSendUserMessageReq) {
var customerServiceWithUsers []model.CustomerServiceWithUser
err = db.DbIm.Table("user").
Join("INNER", "customer_service", "customer_service.id = user.customer_id").
In("phone", phoneIds).
In("phone_number", phoneIds).
Where("customer_service.state = 1").
Find(&customerServiceWithUsers)
for _, customerServiceWithUser := range customerServiceWithUsers {


불러오는 중...
취소
저장