This commit is contained in:
“wanyongkang”
2021-09-02 15:12:51 +08:00
parent f79a49e342
commit 657128f444
5 changed files with 7 additions and 4 deletions

View File

@@ -358,6 +358,9 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
if (request.OrderType == OrderType.AgainBuys)
{
if (request.PackageId >1029 && request.PackageId <1034) {
return new ApiResult<ProductOrderEntity>(ResultCode.C_INVALID_ERROR, "不允许续费此套餐");
}
int count = request.Account.Split(",").Length;
order.AccountCount = count;
order.OrderAmount = price * request.ConnectCount * count;