|
|
@ -159,10 +159,6 @@ func (impl *ShipOrderServiceImplement) InsertOne(user *models.Usertab, entity *m |
|
|
|
if row[6] == "" { |
|
|
|
continue |
|
|
|
} |
|
|
|
if i, err := strconv.ParseInt(row[0], 10, 64); err == nil { |
|
|
|
entity.EndSequence = int(i) |
|
|
|
} |
|
|
|
|
|
|
|
planQty := 0 |
|
|
|
orderQty := 0 |
|
|
|
if i, err := strconv.ParseInt(row[7], 10, 64); err == nil { |
|
|
@ -183,6 +179,13 @@ func (impl *ShipOrderServiceImplement) InsertOne(user *models.Usertab, entity *m |
|
|
|
PartName: row[2], |
|
|
|
ShortShipToggle: false, |
|
|
|
} |
|
|
|
if i, err := strconv.ParseInt(row[0], 10, 64); err == nil { |
|
|
|
entity.EndSequence = int(i) |
|
|
|
info.Pos = int(i) |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//判断是否是零件
|
|
|
|
if orderQty == 0 && planQty > 0 { |
|
|
|
articleId = append(articleId, info.ItemId) |
|
|
|