数据库列表查询测试数据问题修复

This commit is contained in:
wule committed 2026-09-07 18:01:46 +08:00
1 parent fadda22178
commit de9cd4ae65
2 files changed
+17 -16

No files matched your search

@@ -1087,7 +1087,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"", "",
"修改时间", "修改时间",
"入库时间"}); "入库时间"});
this.cmbTime.Location = new System.Drawing.Point(402, 80); this.cmbTime.Location = new System.Drawing.Point(402, 82);
this.cmbTime.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbTime.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbTime.Name = "cmbTime"; this.cmbTime.Name = "cmbTime";
this.cmbTime.Size = new System.Drawing.Size(56, 25); this.cmbTime.Size = new System.Drawing.Size(56, 25);
@@ -1101,7 +1101,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"", "",
"是", "是",
"否"}); "否"});
this.cmbHasFission.Location = new System.Drawing.Point(800, 43); this.cmbHasFission.Location = new System.Drawing.Point(800, 45);
this.cmbHasFission.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbHasFission.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbHasFission.Name = "cmbHasFission"; this.cmbHasFission.Name = "cmbHasFission";
this.cmbHasFission.Size = new System.Drawing.Size(51, 25); this.cmbHasFission.Size = new System.Drawing.Size(51, 25);
@@ -1136,7 +1136,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"", "",
"是", "是",
"否"}); "否"});
this.cmbPddRelation.Location = new System.Drawing.Point(687, 6); this.cmbPddRelation.Location = new System.Drawing.Point(687, 8);
this.cmbPddRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbPddRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbPddRelation.Name = "cmbPddRelation"; this.cmbPddRelation.Name = "cmbPddRelation";
this.cmbPddRelation.Size = new System.Drawing.Size(51, 25); this.cmbPddRelation.Size = new System.Drawing.Size(51, 25);
@@ -1181,7 +1181,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
// //
this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbCat2.FormattingEnabled = true; this.cmbCat2.FormattingEnabled = true;
this.cmbCat2.Location = new System.Drawing.Point(252, 80); this.cmbCat2.Location = new System.Drawing.Point(252, 82);
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat2.Name = "cmbCat2"; this.cmbCat2.Name = "cmbCat2";
this.cmbCat2.Size = new System.Drawing.Size(51, 25); this.cmbCat2.Size = new System.Drawing.Size(51, 25);
@@ -1267,7 +1267,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"机会商品", "机会商品",
"以图搜品", "以图搜品",
"多多外部数据"}); "多多外部数据"});
this.cmbSourceType.Location = new System.Drawing.Point(252, 43); this.cmbSourceType.Location = new System.Drawing.Point(252, 45);
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbSourceType.Name = "cmbSourceType"; this.cmbSourceType.Name = "cmbSourceType";
this.cmbSourceType.Size = new System.Drawing.Size(51, 25); this.cmbSourceType.Size = new System.Drawing.Size(51, 25);
@@ -1313,7 +1313,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"", "",
"是", "是",
"否"}); "否"});
this.cmbWxCat.Location = new System.Drawing.Point(574, 6); this.cmbWxCat.Location = new System.Drawing.Point(574, 8);
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbWxCat.Name = "cmbWxCat"; this.cmbWxCat.Name = "cmbWxCat";
this.cmbWxCat.Size = new System.Drawing.Size(51, 25); this.cmbWxCat.Size = new System.Drawing.Size(51, 25);
@@ -1335,7 +1335,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.cmbSort.Items.AddRange(new object[] { this.cmbSort.Items.AddRange(new object[] {
"入库时间", "入库时间",
"曝光量"}); "曝光量"});
this.cmbSort.Location = new System.Drawing.Point(348, 43); this.cmbSort.Location = new System.Drawing.Point(348, 45);
this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbSort.Name = "cmbSort"; this.cmbSort.Name = "cmbSort";
this.cmbSort.Size = new System.Drawing.Size(51, 25); this.cmbSort.Size = new System.Drawing.Size(51, 25);
@@ -1399,7 +1399,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
// //
this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbGroupFilter.FormattingEnabled = true; this.cmbGroupFilter.FormattingEnabled = true;
this.cmbGroupFilter.Location = new System.Drawing.Point(156, 43); this.cmbGroupFilter.Location = new System.Drawing.Point(156, 45);
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbGroupFilter.Name = "cmbGroupFilter"; this.cmbGroupFilter.Name = "cmbGroupFilter";
this.cmbGroupFilter.Size = new System.Drawing.Size(51, 25); this.cmbGroupFilter.Size = new System.Drawing.Size(51, 25);
@@ -1414,7 +1414,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"是", "是",
"否", "否",
"导出未拉回"}); "导出未拉回"});
this.cmbExportToOutServer.Location = new System.Drawing.Point(574, 43); this.cmbExportToOutServer.Location = new System.Drawing.Point(574, 45);
this.cmbExportToOutServer.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbExportToOutServer.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbExportToOutServer.Name = "cmbExportToOutServer"; this.cmbExportToOutServer.Name = "cmbExportToOutServer";
this.cmbExportToOutServer.Size = new System.Drawing.Size(51, 25); this.cmbExportToOutServer.Size = new System.Drawing.Size(51, 25);
@@ -1450,7 +1450,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"安全商品", "安全商品",
"违规商品", "违规商品",
"未校验"}); "未校验"});
this.cmbWxSafe.Location = new System.Drawing.Point(461, 43); this.cmbWxSafe.Location = new System.Drawing.Point(461, 45);
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbWxSafe.Name = "cmbWxSafe"; this.cmbWxSafe.Name = "cmbWxSafe";
this.cmbWxSafe.Size = new System.Drawing.Size(51, 25); this.cmbWxSafe.Size = new System.Drawing.Size(51, 25);
@@ -1492,7 +1492,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
// //
this.cmbCat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.cmbCat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbCat1.FormattingEnabled = true; this.cmbCat1.FormattingEnabled = true;
this.cmbCat1.Location = new System.Drawing.Point(156, 80); this.cmbCat1.Location = new System.Drawing.Point(156, 82);
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat1.Name = "cmbCat1"; this.cmbCat1.Name = "cmbCat1";
this.cmbCat1.Size = new System.Drawing.Size(51, 25); this.cmbCat1.Size = new System.Drawing.Size(51, 25);
@@ -1514,7 +1514,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
// //
this.cmbCat3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.cmbCat3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbCat3.FormattingEnabled = true; this.cmbCat3.FormattingEnabled = true;
this.cmbCat3.Location = new System.Drawing.Point(348, 80); this.cmbCat3.Location = new System.Drawing.Point(348, 82);
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat3.Name = "cmbCat3"; this.cmbCat3.Name = "cmbCat3";
this.cmbCat3.Size = new System.Drawing.Size(51, 25); this.cmbCat3.Size = new System.Drawing.Size(51, 25);
@@ -1610,7 +1610,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"", "",
"普通商品", "普通商品",
"爆款数据"}); "爆款数据"});
this.cmbSpProdType.Location = new System.Drawing.Point(800, 6); this.cmbSpProdType.Location = new System.Drawing.Point(800, 8);
this.cmbSpProdType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3); this.cmbSpProdType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbSpProdType.Name = "cmbSpProdType"; this.cmbSpProdType.Name = "cmbSpProdType";
this.cmbSpProdType.Size = new System.Drawing.Size(51, 25); this.cmbSpProdType.Size = new System.Drawing.Size(51, 25);
@@ -2227,6 +2227,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.ucSplitPage1.CurrentPage = 1; this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right; this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
this.ucSplitPage1.IsShowPageSize = true; this.ucSplitPage1.IsShowPageSize = true;
this.ucSplitPage1.IsShowTotalCount = false;
this.ucSplitPage1.Location = new System.Drawing.Point(985, 0); this.ucSplitPage1.Location = new System.Drawing.Point(985, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0); this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1"; this.ucSplitPage1.Name = "ucSplitPage1";
@@ -179,8 +179,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
int pageSize = 100; int pageSize = 100;
decimal seconds; decimal seconds;
Invoke(new Action(() => { pageSize = this.ucSplitPage1.PageSize; })); Invoke(new Action(() => { pageSize = this.ucSplitPage1.PageSize; }));
//var list = GetProductList(out pageCount, out seconds, page, pageSize); var list = GetProductList(out pageCount, out seconds, page, pageSize);
var list = GetHotProductList(out pageCount, out seconds, page, pageSize); //var list = GetHotProductList(out pageCount, out seconds, page, pageSize);
lstTemuDbProduct.AddRange(list); lstTemuDbProduct.AddRange(list);
this.ucSplitPage1.TotalPage = pageCount; this.ucSplitPage1.TotalPage = pageCount;
@@ -354,7 +354,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
var url = BaseClass.BuildWXObjString("product/get_hot_product_list"); var url = BaseClass.BuildWXObjString("product/get_hot_product_list");
if (!txtSPU.Text.Trim().IsNullOrEmpty()) if (!txtSPU.Text.Trim().IsNullOrEmpty())
url = BaseClass.BuildWXObjString("product/get_hot_product_list_detail"); url = BaseClass.BuildWXObjString("product/get_hot_product_detail_list");
var data = ""; var data = "";
Invoke(new Action(() => Invoke(new Action(() =>