Browse Source

解析calloff文件使用倒叙

pull/127/head
zhangxin 3 years ago
parent
commit
fc87a2c8d1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      services/pln/implments/HondaCalloff.service.impl.go

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

@ -805,6 +805,7 @@ func (impl *HondaCalloffServiceImplement) AnalysisData(entity *model.HondaCallof
_ = session.Commit()
return err
}
count := len(detailLi)
for index, detail := range detailLi {
packTemplate, exist := packTemplateMap[detail.ProductFamilyId]
if !exist {
@ -859,7 +860,7 @@ func (impl *HondaCalloffServiceImplement) AnalysisData(entity *model.HondaCallof
}
shipOrderItem := modelJit.ShipOrderItemLst{
ShipOrderId: shipOrderId,
Pos: index + 1,
Pos: count - index,
PackTypeId: packTemplate.PackTypeId,
PackTemplateId: detail.ProductFamilyId,
Status: modelJit.SHIP_STATUS_PLANNED,


Loading…
Cancel
Save