From dfa78f9d053d251666832026e327f46428eee45f Mon Sep 17 00:00:00 2001 From: shanji <18996038927@163.com> Date: Tue, 10 Jan 2023 19:05:01 +0800 Subject: [PATCH] 10001 --- .../EvaluationAssistantBusiness.cs | 2 +- BBWY.Server.Business/PlatformSDK/JDBusiness.cs | 3 ++- PJZS/MainWindow.xaml | 2 +- PJZS/PJZS.csproj | 2 ++ PJZS/pjzslogo.ico | Bin 0 -> 9662 bytes 5 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 PJZS/pjzslogo.ico diff --git a/BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs b/BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs index 76b381d3..bf244c7a 100644 --- a/BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs +++ b/BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs @@ -299,7 +299,7 @@ namespace BBWY.Server.Business if (dbPromotionTask.GiftTemplateId != null && dbPromotionTask.GiftTemplateId != 0) { - giftTemplateSkuList = fsql.Select(dbPromotionTask.GiftTemplateId).ToList(gs => new GiftTemplateSkuRequest() + giftTemplateSkuList = fsql.Select().Where(gs=>gs.GiftTemplateId == dbPromotionTask.GiftTemplateId).ToList(gs => new GiftTemplateSkuRequest() { Logo = gs.Logo, Price = gs.Price, diff --git a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs index c6671396..a570c6a4 100644 --- a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs +++ b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs @@ -794,7 +794,8 @@ namespace BBWY.Server.Business searchProductSkuRequest.Sku = request.MainProductSku; searchProductSkuRequest.CheckStep = "主商品"; mainProductSkuList = GetProductSkuList(searchProductSkuRequest); - + if (mainProductSkuList == null && mainProductSkuList.Any(s => s.ProductId != request.MainProductSpu)) + throw new BusinessException("主商品SKU归属有误"); //stepText = "添加主商品SKU"; //AddJDPromotionSku(jdClient, request.AppToken, promotionId, skuList, false); } diff --git a/PJZS/MainWindow.xaml b/PJZS/MainWindow.xaml index 7a8f5524..c4763bd4 100644 --- a/PJZS/MainWindow.xaml +++ b/PJZS/MainWindow.xaml @@ -27,7 +27,7 @@ - + diff --git a/PJZS/PJZS.csproj b/PJZS/PJZS.csproj index 6d4bc0e8..e41618b4 100644 --- a/PJZS/PJZS.csproj +++ b/PJZS/PJZS.csproj @@ -4,6 +4,7 @@ WinExe netcoreapp3.1 true + pjzslogo.ico @@ -71,6 +72,7 @@ PreserveNewest + diff --git a/PJZS/pjzslogo.ico b/PJZS/pjzslogo.ico new file mode 100644 index 0000000000000000000000000000000000000000..a9e9739826f909da002ea69b98f09ec2fae632fd GIT binary patch literal 9662 zcmeHKYiv_x7(Q)BN1eba6BukjmCLv}s{#%~LSrO^AA}O4k$}+14-tvZL?wWcPHx5x zSd_RL4Qp#4WSd*J1+o~}&Sb!bLd!M7R(D`?FgilTA40P2_`Ij*8z;?_0y$er`ZiCW z@A7`{`+S%4otEQt_*ktRzAfCrDI7PNtt^&VgPpfft`!*vzytHX4T>nxDI@F2!g$j>6+g|Iq;w&m)hJ zIc~}kuPYetPg}fgpKq+H!?SR8Z$a}PG^X4W-ZcPo5Rk(`@6vd6{-58{#qU;{h7Joc zpK?#vN)6{=LF`tFU*_p_vYd=xwXLXS!pPiA*h=IxB4X>Yvre$E0?bmaIZhoo|sH&EqUwnl{xhKD2GPoM_dQR zE-E;XGwGS^Iy3*2|MZEjzu5Xc3?Dswx!qt$X{U1(ywDS%_!^l7aYeuZ1jddXzvp4} z_BSRob3(KHTwUy;eb&m9jHsHHm!?JB%nQzEp)M4U^?q-gST0k z_{_xo57%O`*hRlv!t8BY#tVXlU40F0AGliZPf*`Q0%B@={U^?T4xg+SPhv%jxMONI%VUFwKJG zB0$UozKo3Ye$Pv+{uiFl{uTaCV6e>r0U`l+%-@?fyj2RVt+9Gz>&F{h^c#-GC4$k~ zTL2qC&qRdoMm5Ha9@*$C+wn`^Jg)e5!cPEfKq4BQ?F9;GeoF!I`)@b6{uC?MpiCwL z7T|F)niIYM1V99efXC5jUuZ5#ORhk21(GZ9*sOpg8-94-m#@Hs{G3tl<+jN6Zf=3h zcNC6r6Xm+VjgZ;NrOM1jxtrq*R0r#b?_#CY-0j34`)EG`a$GO^CxRu5!gxc-b@<8L zsBi~|gz&?^h^534PUk1S<239c?iNy0iF>&$g>z+=_&j->W%tKQc1LqCb>N>{ufDpA`Som literal 0 HcmV?d00001