|
@@ -1,9 +1,6 @@
|
|
|
package services
|
|
|
|
|
|
import (
|
|
|
- "baliance.com/gooxml/document"
|
|
|
- "baliance.com/gooxml/measurement"
|
|
|
- "baliance.com/gooxml/schema/soo/wml"
|
|
|
"bufio"
|
|
|
"errors"
|
|
|
"eta_gn/eta_api/models"
|
|
@@ -11,11 +8,15 @@ import (
|
|
|
"eta_gn/eta_api/services/alarm_msg"
|
|
|
"eta_gn/eta_api/utils"
|
|
|
"fmt"
|
|
|
- "github.com/jung-kurt/gofpdf"
|
|
|
"os"
|
|
|
"strconv"
|
|
|
"sync"
|
|
|
"time"
|
|
|
+
|
|
|
+ "baliance.com/gooxml/document"
|
|
|
+ "baliance.com/gooxml/measurement"
|
|
|
+ "baliance.com/gooxml/schema/soo/wml"
|
|
|
+ "github.com/jung-kurt/gofpdf"
|
|
|
)
|
|
|
|
|
|
const (
|
|
@@ -834,7 +835,7 @@ func MoveSpeechTagMenu(req speech_recognition.SpeechRecognitionTagMenuMoveReq) (
|
|
|
err = fmt.Errorf("获取父级目录下的同名目录失败, Err: %s", e.Error())
|
|
|
return
|
|
|
}
|
|
|
- if exists != nil {
|
|
|
+ if exists != nil && exists.SpeechRecognitionTagMenuId > 0 {
|
|
|
errMsg = "移动失败,目录名称已存在"
|
|
|
return
|
|
|
}
|