瀏覽代碼

修改表名

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