From 0db1a968796dd2b84c128a3d2905752f6aa2c0a1 Mon Sep 17 00:00:00 2001 From: qiaohui <924337501@qq.com> Date: Wed, 23 Oct 2024 00:09:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E6=89=93=E5=8D=B0=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E5=A2=9E=E5=88=A0=E6=94=B9=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shopprint/controller/ShopPrintController.java | 4 ++-- .../cc/hiver/core/shopprint/entity/ShopPrint.java | 2 +- .../cc/hiver/core/shopprint/vo/ShopPrintQueryVo.java | 12 +++++++++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/hiver-core/src/main/java/cc/hiver/core/shopprint/controller/ShopPrintController.java b/hiver-core/src/main/java/cc/hiver/core/shopprint/controller/ShopPrintController.java index 1fd9a724..17895fd8 100644 --- a/hiver-core/src/main/java/cc/hiver/core/shopprint/controller/ShopPrintController.java +++ b/hiver-core/src/main/java/cc/hiver/core/shopprint/controller/ShopPrintController.java @@ -98,8 +98,8 @@ public class ShopPrintController { */ @RequestMapping(value = "/getList", method = RequestMethod.POST) @ApiOperation(value = "查询打印内容") - public Result> getLogisticsRoutePageList(@RequestBody(required = false) ShopPrintQueryVo logisticsRouteQueryVo) { - final List result = shopPrintService.getShopPrintList(logisticsRouteQueryVo); + public Result> getLogisticsRoutePageList(@RequestBody(required = false) ShopPrintQueryVo shopPrintQueryVo) { + final List result = shopPrintService.getShopPrintList(shopPrintQueryVo); return new ResultUtil>().setData(result); } } diff --git a/hiver-core/src/main/java/cc/hiver/core/shopprint/entity/ShopPrint.java b/hiver-core/src/main/java/cc/hiver/core/shopprint/entity/ShopPrint.java index 5383e59c..ea14fa74 100644 --- a/hiver-core/src/main/java/cc/hiver/core/shopprint/entity/ShopPrint.java +++ b/hiver-core/src/main/java/cc/hiver/core/shopprint/entity/ShopPrint.java @@ -22,7 +22,7 @@ import javax.persistence.Table; @DynamicInsert @DynamicUpdate @Table(name = "t_shop_print") -@TableName("t_department") +@TableName("t_shop_print") @ApiModel(value = "部门") public class ShopPrint extends HiverBaseEntity { diff --git a/hiver-core/src/main/java/cc/hiver/core/shopprint/vo/ShopPrintQueryVo.java b/hiver-core/src/main/java/cc/hiver/core/shopprint/vo/ShopPrintQueryVo.java index e13d139b..6005e7f9 100644 --- a/hiver-core/src/main/java/cc/hiver/core/shopprint/vo/ShopPrintQueryVo.java +++ b/hiver-core/src/main/java/cc/hiver/core/shopprint/vo/ShopPrintQueryVo.java @@ -1,10 +1,20 @@ package cc.hiver.core.shopprint.vo; +import cc.hiver.core.base.HiverBasePageQuery; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; + /** * @ClassName:ShopPrintQueryVo * @Author: qiaohui * @Date: 2024/10/22 21:59 * @Description: 必须描述类做什么事情, 实现什么功能 */ -public class ShopPrintQueryVo { +@EqualsAndHashCode(callSuper = true) +@Data +public class ShopPrintQueryVo extends HiverBasePageQuery { + + @ApiModelProperty(value = "店铺ID") + private String shopId; }