renjiaojiao преди 3 години
родител
ревизия
8a34efa71d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/customerService/customService.go

+ 2 - 2
src/customerService/customService.go

@@ -224,9 +224,9 @@ func CustomSendMsgService(param *customMsg, sendStatus int, loginUserName string
 }
 
 func MyCustomerService(state, updateTimeStart, updateTimeEnd, companyName, phone, adminPhone string, offSet, pageSize int) (count int64, data *[]map[string]interface{}) {
-	sql := "SELECT * FROM message_send_log where owner = '" + adminPhone + "' "
+	sql := "SELECT * FROM customer where owner = '" + adminPhone + "' "
 	str := ""
-	sqlc := "SELECT COUNt(id) FROM message_send_log where owner = '" + adminPhone + "' "
+	sqlc := "SELECT COUNt(id) FROM customer where owner = '" + adminPhone + "' "
 
 	if state != "" {
 		str += " and status999 = " + state