diff --git a/APIServer.exe b/APIServer.exe index 72f5e67..b6deb7e 100644 Binary files a/APIServer.exe and b/APIServer.exe differ diff --git a/ews/ews.go b/ews/ews.go index dbaf69f..1982eb4 100644 --- a/ews/ews.go +++ b/ews/ews.go @@ -417,7 +417,7 @@ func (e *EWS) GetUutInfo(cfg cnf.Cfg, logger *log.Logger, host string, addr stri //Get Location Information loc, locTime := "", "" if last != "" { - qry := dbo.QueryRow(fmt.Sprintf(`SELECT CONCAT_WS('-',line,col,row,num) AS loc, update_time FROM locinfo WHERE mac='%s'`, ul.MAC)) + qry := dbo.QueryRow(fmt.Sprintf(`SELECT CONCAT_WS(' ', line, CONCAT_WS('-',col,row,num)) AS loc, update_time FROM locinfo WHERE mac='%s'`, ul.MAC)) qry.Scan(&loc, &locTime) }