|
|
@ -1015,9 +1015,9 @@ func (impl *CustOrderServiceImplement) SelectPic1(user *global.User, dayModel *b |
|
|
|
if err != nil { |
|
|
|
return result, grmi.NewBusinessError("查询派生下总成数据失败, 错误:" + err.Error()) |
|
|
|
} |
|
|
|
if len(productLi) == 0 { |
|
|
|
return result, grmi.NewBusinessError("派生下未关联需要生产的座椅总成, 派生ID:" + custOrder.ProductFamilyId) |
|
|
|
} |
|
|
|
//if len(productLi) == 0 {
|
|
|
|
// return result, grmi.NewBusinessError("派生下未关联需要生产的座椅总成, 派生ID:" + custOrder.ProductFamilyId)
|
|
|
|
//}
|
|
|
|
productFamilyRelateMap[custOrder.ProductFamilyId] = make(map[string]interface{}, len(productLi)) |
|
|
|
for _, product := range productLi { |
|
|
|
productFamilyRelateMap[custOrder.ProductFamilyId][product.ProductId] = nil |
|
|
|