Browse Source

修改表名

renjiaojiao 3 years ago
parent
commit
8a34efa71d
1 changed files with 2 additions and 2 deletions
  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