|
|
@ -12,7 +12,6 @@ import ( |
|
|
|
"LAPP_ACURA_MOM_BACKEND/grmi" |
|
|
|
baseMeta "LAPP_ACURA_MOM_BACKEND/meta/base" |
|
|
|
meta "LAPP_ACURA_MOM_BACKEND/meta/qm" |
|
|
|
common "LAPP_ACURA_MOM_BACKEND/models/base" |
|
|
|
model "LAPP_ACURA_MOM_BACKEND/models/qm" |
|
|
|
"fmt" |
|
|
|
"github.com/go-xorm/xorm" |
|
|
@ -621,9 +620,6 @@ func (impl *ViewServiceImplement) ViewsOfArticle(user *global.User, orderId stri |
|
|
|
return nil, grmi.NewBusinessError("序列订单查询错误!") |
|
|
|
} |
|
|
|
|
|
|
|
if statusInfo.Status != common.WO_STATUS_FINISHED { |
|
|
|
return nil, grmi.NewBusinessError("该工单前序未完成!") |
|
|
|
} |
|
|
|
// 获取Article
|
|
|
|
articleDAO := dalOfBase.NewArticleDAO(session, user.PlantNr, user.UserId) |
|
|
|
articleLi, err := articleDAO.Select([]grmi.Predicate{baseMeta.Article_ArtId.NewPredicate(grmi.Equal, artId)}, nil) |
|
|
|