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":