金桥投屏

This commit is contained in:
“wanyongkang”
2024-02-22 17:26:33 +08:00
parent 22cc5d9c87
commit 6a0d042bda
34 changed files with 5338 additions and 22 deletions

View File

@@ -635,12 +635,12 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
{
var accountEntitys = new List<ProductAccountEntity>();
var account_type = (int)order.OrderType;
var end_time = DateTime.Now.AddDays(order.DayCount);
if (order.PackageName == "测试卡" || order.PackageName == "测试卡(高级)" || order.PackageName == "测试卡(普通)") {
end_time = DateTime.Now.AddHours(order.DayCount);
userEntity.ProductAccountCount = 1;
order.OrderType = (int)order.OrderType;
order.OrderType = 200;
account_type = 200;
}
@@ -649,7 +649,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
var accountEntity = new ProductAccountEntity()
{
Account = account,
AccountType = (int)order.OrderType,
AccountType = account_type,
ConnectCount = order.ConnectCount,
StartTime = DateTime.Now,
EndTime = end_time,