|
|
@ -448,9 +448,10 @@ namespace BBWYB.Server.Business |
|
|
|
{ |
|
|
|
Id = idGenerator.NewLong(), |
|
|
|
CreateTime = DateTime.Now, |
|
|
|
GroupName = $"{firstScheme.ProductId}-{dbPurchaseSchemeGroupIndex.Index}", |
|
|
|
GroupName = $"{firstScheme.ProductId}-{dbPurchaseSchemeGroupIndex.Index}{(uInfo.isBargainTeam ? $"-{uInfo.department.DepartmentName}" : string.Empty)}", |
|
|
|
ProductId = firstScheme.ProductId, |
|
|
|
ShopId = firstScheme.ShopId |
|
|
|
ShopId = firstScheme.ShopId, |
|
|
|
BelongBargainTeamId = uInfo.department.Id |
|
|
|
}; |
|
|
|
insertPurchaseSchemeGroupsList.Add(insertSchemeGroup); |
|
|
|
newPurchaseGroupId = insertSchemeGroup.Id; |
|
|
|