1上货逻辑改造修改sku件数和包装尺寸重量 2统计计算利润和填写商品进货价相关功能

This commit is contained in:
wule committed 2025-09-04 20:05:02 +08:00
1 parent cc539ce604
commit 511affaeb5
28 files changed
+3283 -482

No files matched your search

@@ -202,6 +202,11 @@ namespace AllBase.Model.Param.TemuProductManage
public ProductSkuNetContentReq productSkuNetContentReq { get; set; }
}
public class ProductSkuMultiPackReq2 : ProductSkuMultiPackReq
{
public int? individuallyPacked { get; set; }
}
public class ProductSkuAccessoriesReq
{
/// <summary>
@@ -58,6 +58,10 @@ namespace AllBase.Model.Result
public int? priceReviewStatus { get; set; } // 状态3=作废
public string skuPreviewImage { get; set; }
public long? skuId { get; set; }
public int? len { get; set; }
public int? width { get; set; }
public int? height { get; set; }
public int? weight { get; set; }
public int? supplierPriceValue { get; set; }
public string supplierPrice { get; set; }
public List<TemuProductPropertyInfo> productPropertyList { get; set; }
@@ -9,6 +9,8 @@ namespace AllBase.Model.Result
public class TemuDBProductPurchasePriceInfo
{
public int id { get; set; }
public string shop_id { get; set; }
public string shop_name { get; set; }
public string spu_id { get; set; }
public string skc_id { get; set; }
public string cat_id { get; set; }
@@ -16,6 +18,7 @@ namespace AllBase.Model.Result
public string ext_code { get; set; }
public string product_name { get; set; }
public string main_img { get; set; }
public int discount { get; set; } = 100;
public string price_text { get; set; }
public string sku_purchase_price_json { get; set; }
public List<TemuDBSkuPurchasePriceInfo> dbSkuPurchasePriceList { get; set; }
@@ -26,9 +29,10 @@ namespace AllBase.Model.Result
public class TemuDBSkuPurchasePriceInfo
{
public int? productSkuId { get; set; }
public long? productSkuId { get; set; }
public string className { get; set; }
public List<TemuProductSkuSpec> productSkuSpecList { get; set; }
public int? PriceValue { get; set; }
public int? PurchasePriceValue { get; set; }
public int? priceValue { get; set; }
public int? purchasePriceValue { get; set; }
}
}
+18 -1
View File
@@ -37,7 +37,7 @@ namespace AllBase.Model.Result
public List<TemuOuterPackageImage> outerPackageImages { get; set; }
public List<object> goodsModelList { get; set; }
public List<TemuProductProperty> productPropertyList { get; set; }
public List<object> productSpecPropertyVOS { get; set; }
public List<TemuProductSpecPropertyVO> productSpecPropertyVOS { get; set; }
public TemuProductWhExtAttr productWhExtAttr { get; set; }
public TemuProductLocalExtAttr productLocalExtAttr { get; set; }
public TemuProductSaleExtAttr productSaleExtAttr { get; set; }
@@ -111,6 +111,23 @@ namespace AllBase.Model.Result
public string numberInputValue { get; set; }
}
public class TemuProductSpecPropertyVO
{
public long? templatePid { get; set; }
public int? pid { get; set; }
public int? refPid { get; set; }
public string propName { get; set; }
public int? vid { get; set; }
public string propValue { get; set; }
public string valueUnit { get; set; }
public string valueExtendInfo { get; set; }
public string numberInputValue { get; set; }
public int? parentSpecId { get; set; }
public int? specId { get; set; }
public int? valueGroupId { get; set; }
public string valueGroupName { get; set; }
}
public class TemuProductWhExtAttr
{
public string outerGoodsUrl { get; set; }
+43
View File
@@ -92,6 +92,14 @@ namespace AllBase.Model.Result
/// </summary>
public SkuQuantityInfo skuQuantityTotalInfo { get; set; }
/// <summary>
/// skc货号
/// </summary>
public string skcExtCode { get; set; }
/// <summary>
/// 加入站点时长 单位天
/// </summary>
public int? onSalesDurationOffline { get; set; }
/// <summary>
/// 备货仓组Id列表
/// </summary>
public List<long> warehouseGroupIdList { get; set; }
@@ -114,6 +122,15 @@ namespace AllBase.Model.Result
/// 获取评价分错误
/// </summary>
public string getAfsScoreError { get; set; } = "";
public decimal? discount { get; set; } = 100;
/// <summary>
/// KJD库中是否有进货价数据
/// </summary>
//public bool hasDbPurchasePrice { get; set; } = false;
/// <summary>
/// KJD库中进货价数据
/// </summary>
public TemuDBProductPurchasePriceInfo purchasePriceInfo { get; set; } = null;
}
/// <summary>
@@ -156,6 +173,10 @@ namespace AllBase.Model.Result
/// </summary>
public int? lastThirtyDaysSaleVolume { get; set; }
/// <summary>
/// 累计销量
/// </summary>
public int? totalSaleVolume { get; set; }
/// <summary>
/// 申报价格 CNY 分
/// </summary>
public int? supplierPrice { get; set; }
@@ -176,6 +197,8 @@ namespace AllBase.Model.Result
public InventoryNumInfo inventoryNumInfo { get; set; }
///////////////////////////////////////////////////////////
/// 以下为本地新增用于本地显示的属性
/// <summary>
/// 拟备货数量,=0不备货
/// </summary>
@@ -185,6 +208,26 @@ namespace AllBase.Model.Result
/// 进货价,保存于KJD库
/// </summary>
public int purchasePrice { get; set; } = 0;
/// <summary>
/// 总货值
/// </summary>
public int goodsValue { get; set; }
/// <summary>
/// 总进价(成本)
/// </summary>
public int goodsCost { get; set; }
/// <summary>
/// 今日利润(通过KJD库获取进货价计算获得)
/// </summary>
public decimal? todayProfit { get; set; } = null;
/// <summary>
/// 近7日利润(通过KJD库获取进货价计算获得)
/// </summary>
public decimal? sevenDaysProfit { get; set; } = null;
/// <summary>
/// 近30日利润(通过KJD库获取进货价计算获得)
/// </summary>
public decimal? thirtyDaysProfit { get; set; } = null;
}
/// <summary>