From eac460c8e074f7f25243e615c85bb44b3b56a16c Mon Sep 17 00:00:00 2001 From: liux <963924687@qq.com> Date: Fri, 11 Jul 2025 15:33:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E8=B4=A7=E5=8D=95=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/ims/vo/RefundGoodsDetailPageVO.java | 24 +++++++++++++++++++ .../mapper/ims/RefundGoodsMapper.xml | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/vo/RefundGoodsDetailPageVO.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/vo/RefundGoodsDetailPageVO.java index 41b8c10..89b2846 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/vo/RefundGoodsDetailPageVO.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/ims/vo/RefundGoodsDetailPageVO.java @@ -42,6 +42,11 @@ public class RefundGoodsDetailPageVO { private String refundReason; @ApiModelProperty("图片") private String imgUrl; + @ApiModelProperty("已入库数量") + private String purNum; + + @ApiModelProperty("货品规格") + private String seze; public Long getRefundDetailId() { return refundDetailId; @@ -111,6 +116,25 @@ public class RefundGoodsDetailPageVO { return imgUrl; } + + public String getSeze() { + return seze; + } + + public RefundGoodsDetailPageVO setSeze(String seze) { + this.seze = seze; + return this; + } + + public String getPurNum() { + return purNum; + } + + public RefundGoodsDetailPageVO setPurNum(String purNum) { + this.purNum = purNum; + return this; + } + public RefundGoodsDetailPageVO setRefundDetailId(final Long refundDetailId) { this.refundDetailId = refundDetailId; return this; diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/RefundGoodsMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/RefundGoodsMapper.xml index b384d09..7d4e728 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/RefundGoodsMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/RefundGoodsMapper.xml @@ -227,7 +227,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" a.refund_num, a.total_price, a.refund_reason, - b.img_url + b.img_url, + e.pur_num FROM ims_refund_goods_detail a LEFT JOIN cook_material b ON b.material_id = a.material_id