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; }