优化
@ -12,4 +12,6 @@ import lombok.Data;
*/
@Data
public class ProductGroupInformationVo extends ProductGroupInformationEntity {
private String typeDesc;
}
@ -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,