Browse Source

2025-12-19

优化
master
fengyuan_yang 3 months ago
parent
commit
3163e4a454
  1. 2
      src/main/java/com/spring/modules/part/vo/ProductGroupInformationVo.java
  2. 6
      src/main/resources/mapper/part/ProductGroupInformationMapper.xml

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

6
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,

Loading…
Cancel
Save