From 3163e4a4546afeabb23dffc29fac2d02b6997d66 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Fri, 19 Dec 2025 13:49:49 +0800 Subject: [PATCH] =?UTF-8?q?2025-12-19=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../spring/modules/part/vo/ProductGroupInformationVo.java | 2 ++ .../resources/mapper/part/ProductGroupInformationMapper.xml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/src/main/java/com/spring/modules/part/vo/ProductGroupInformationVo.java b/src/main/java/com/spring/modules/part/vo/ProductGroupInformationVo.java index 64a5145e..1fe7562a 100644 --- a/src/main/java/com/spring/modules/part/vo/ProductGroupInformationVo.java +++ b/src/main/java/com/spring/modules/part/vo/ProductGroupInformationVo.java @@ -12,4 +12,6 @@ import lombok.Data; */ @Data public class ProductGroupInformationVo extends ProductGroupInformationEntity { + + private String typeDesc; } diff --git a/src/main/resources/mapper/part/ProductGroupInformationMapper.xml b/src/main/resources/mapper/part/ProductGroupInformationMapper.xml index 7e75630f..a556f6db 100644 --- a/src/main/resources/mapper/part/ProductGroupInformationMapper.xml +++ b/src/main/resources/mapper/part/ProductGroupInformationMapper.xml @@ -10,6 +10,12 @@ product_group_name, active, type, + (CASE WHEN type = '1' THEN '商品组1' + WHEN type = '2' THEN '商品组2' + WHEN type = '3' THEN '会计组' + when type = '4' THEN '计划人' + ELSE '' + END) as typeDesc, create_by, create_date, update_by,