From 26d8fb9c05313fec99b022cd7c0e7adae4a83428 Mon Sep 17 00:00:00 2001
From: liuyingfang <1357764963@qq.com>
Date: Tue, 27 Feb 2024 17:02:18 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=95=86=E5=93=81=E6=9B=B4?=
=?UTF-8?q?=E6=94=B9bug=EF=BC=8C=E4=BB=A5=E5=8F=8A=E6=A1=8C=E7=A0=81?=
=?UTF-8?q?=E5=8C=BA=E5=9F=9Fbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
eladmin-system/pom.xml | 15 ++++++++++++++-
.../productInfo/product/domain/TbProductVo.java | 3 ++-
.../service/impl/TbProductServiceImpl.java | 1 +
.../service/dto/TbShopAreaQueryCriteria.java | 2 ++
.../rest/TbMerchantThirdApplyController.java | 2 +-
.../service/dto/TbMerchantThirdApplyDto.java | 2 +-
.../impl/TbMerchantThirdApplyServiceImpl.java | 9 ++++-----
.../table/rest/TbShopTableController.java | 3 ---
.../src/main/resources/config/application.yml | 3 ++-
9 files changed, 27 insertions(+), 13 deletions(-)
diff --git a/eladmin-system/pom.xml b/eladmin-system/pom.xml
index e6cb4ab1..cdd5e3dd 100644
--- a/eladmin-system/pom.xml
+++ b/eladmin-system/pom.xml
@@ -99,7 +99,20 @@
3.3.2
-
+
+
+ dev
+
+ dev
+
+
+
+ pro
+
+ pro
+
+
+
diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/productInfo/product/domain/TbProductVo.java b/eladmin-system/src/main/java/me/zhengjie/modules/productInfo/product/domain/TbProductVo.java
index 42389a79..1c36cea6 100644
--- a/eladmin-system/src/main/java/me/zhengjie/modules/productInfo/product/domain/TbProductVo.java
+++ b/eladmin-system/src/main/java/me/zhengjie/modules/productInfo/product/domain/TbProductVo.java
@@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSONArray;
import lombok.Data;
import me.zhengjie.modules.productInfo.productSku.domain.TbProductSku;
+import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
@@ -43,7 +44,7 @@ public class TbProductVo {
private String coverImg;
-
+ @NotNull(message ="缺少商品类信息")
private Integer categoryId;
diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/productInfo/product/service/impl/TbProductServiceImpl.java b/eladmin-system/src/main/java/me/zhengjie/modules/productInfo/product/service/impl/TbProductServiceImpl.java
index 11581f87..bbf022f7 100644
--- a/eladmin-system/src/main/java/me/zhengjie/modules/productInfo/product/service/impl/TbProductServiceImpl.java
+++ b/eladmin-system/src/main/java/me/zhengjie/modules/productInfo/product/service/impl/TbProductServiceImpl.java
@@ -284,6 +284,7 @@ public class TbProductServiceImpl implements TbProductService {
product.setIsFreeFreight(1);
product.setStatus(1);
product.setUpdatedAt(Instant.now().toEpochMilli());
+ product.setCategoryId(resources.getCategoryId().toString());
if (!resources.getGroupSnap().isEmpty()){
ListUtil.JSONArrayChangeString(resources.getGroupSnap());
diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/shopInfo/shopArea/service/dto/TbShopAreaQueryCriteria.java b/eladmin-system/src/main/java/me/zhengjie/modules/shopInfo/shopArea/service/dto/TbShopAreaQueryCriteria.java
index 10acbaa2..5ffcaf39 100644
--- a/eladmin-system/src/main/java/me/zhengjie/modules/shopInfo/shopArea/service/dto/TbShopAreaQueryCriteria.java
+++ b/eladmin-system/src/main/java/me/zhengjie/modules/shopInfo/shopArea/service/dto/TbShopAreaQueryCriteria.java
@@ -26,4 +26,6 @@ import me.zhengjie.annotation.Query;
**/
@Data
public class TbShopAreaQueryCriteria{
+ @Query
+ private String shopId;
}
\ No newline at end of file
diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/shopInfo/shopThirdApply/rest/TbMerchantThirdApplyController.java b/eladmin-system/src/main/java/me/zhengjie/modules/shopInfo/shopThirdApply/rest/TbMerchantThirdApplyController.java
index 457daab5..50bec276 100644
--- a/eladmin-system/src/main/java/me/zhengjie/modules/shopInfo/shopThirdApply/rest/TbMerchantThirdApplyController.java
+++ b/eladmin-system/src/main/java/me/zhengjie/modules/shopInfo/shopThirdApply/rest/TbMerchantThirdApplyController.java
@@ -55,7 +55,7 @@ public class TbMerchantThirdApplyController {
@GetMapping
@Log("查询/shop/thirdApply")
@ApiOperation("查询/shop/thirdApply")
- @PreAuthorize("@el.check('tbMerchantThirdApply:list')")
+
public ResponseEntity