Browse Source

去掉测试代码

pull/107/head
zhangxin 3 years ago
parent
commit
9199cf87eb
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      services/pln/implments/HondaCalloff.service.impl.go

+ 0
- 4
services/pln/implments/HondaCalloff.service.impl.go View File

@ -18,7 +18,6 @@ import (
model "LAPP_ACURA_MOM_BACKEND/models/pln"
"LAPP_ACURA_MOM_BACKEND/utils"
"bufio"
"fmt"
"golang.org/x/text/encoding/simplifiedchinese"
"golang.org/x/text/transform"
"io"
@ -665,7 +664,6 @@ func (impl *HondaCalloffServiceImplement) AnalysisData(entity *model.HondaCallof
_ = session.Commit()
return err
}
fmt.Println("projectId:", projectId)
snrDao := baseDal.NewSnrDAO(txSession, plantNr, userId)
shipOrderDao := dalJit.NewShipOrderDAO(txSession, plantNr, userId)
shipOrderStatusDao := dalJit.NewShipOrderStatusDAO(txSession, plantNr, userId)
@ -707,14 +705,12 @@ func (impl *HondaCalloffServiceImplement) AnalysisData(entity *model.HondaCallof
err = grmi.NewBusinessError("系统解析异常,查询车型项目数据不存在, 车型项目ID:" + projectId + ";")
_ = txSession.Rollback()
innerErr := errDao.InsertOne(&errData)
fmt.Println("innerErr1:", innerErr)
if innerErr != nil {
_ = session.Rollback()
return err
}
entity.Parsed = model.CALL_OFF_PARS_FAILED
innerErr = dao.UpdateOne(entity)
fmt.Println("innerErr2:", innerErr)
if innerErr != nil {
_ = session.Rollback()
return err


Loading…
Cancel
Save