From 6e5ed249adab4fc39610181813aa1b5e7b59bb8c Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Mon, 2 Dec 2024 15:48:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E5=AE=A2=E4=B8=8B=E5=8D=95=20?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E5=9B=9E=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/cn/ysk/cashier/vo/TbProductNewVo.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/eladmin-system/src/main/java/cn/ysk/cashier/vo/TbProductNewVo.java b/eladmin-system/src/main/java/cn/ysk/cashier/vo/TbProductNewVo.java index a83ae2fe..851d2ae9 100644 --- a/eladmin-system/src/main/java/cn/ysk/cashier/vo/TbProductNewVo.java +++ b/eladmin-system/src/main/java/cn/ysk/cashier/vo/TbProductNewVo.java @@ -57,18 +57,19 @@ public class TbProductNewVo { switch (this.type) { case "normal": this.typeEnum = "普通商品"; + break; case "weigh": this.typeEnum = "称重商品"; - break; + return; case "coupon": this.typeEnum = "优惠券"; - break; + return; case "package": this.typeEnum = "套餐商品"; - break; + return; default: this.typeEnum = typeEnum; - break; + return; } switch (typeEnum) { case "normal":