Browse Source

修复空指针的bug

pull/216/head
zhangxin 2 years ago
parent
commit
f67a3067f1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      services/pln/implments/CustOrderLogic.service.impl.go

+ 1
- 1
services/pln/implments/CustOrderLogic.service.impl.go View File

@ -1009,7 +1009,7 @@ func (impl *CustOrderServiceImplement) RepairReleaseFailedTask(user *global.User
return grmi.NewBusinessError("查询客户订单数据失败, 错误:" + err.Error()) return grmi.NewBusinessError("查询客户订单数据失败, 错误:" + err.Error())
} }
if len(statusLi) == 0 { if len(statusLi) == 0 {
return grmi.NewBusinessError("不存在派工失败的客户订单, 错误:" + err.Error())
return grmi.NewBusinessError("不存在派工失败的客户订单")
} }
channel, exist := common.ReleaseTaskChannel[user.PlantNr] channel, exist := common.ReleaseTaskChannel[user.PlantNr]
if !exist { if !exist {


Loading…
Cancel
Save