Merge branch 'feature' of https://gitee.com/liuyingfang/cashier-admin into feature

This commit is contained in:
liuyingfang
2024-03-05 16:13:28 +08:00

View File

@@ -36,10 +36,6 @@ import java.util.stream.Collectors;
**/
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface TbProductGroupMapper extends BaseMapper<TbProductGroupDto, TbProductGroup> {
@Mapping(target = "productIds", source = "productIds")
TbProductGroupDto toDto(TbProductGroup entity);
// 自定义的字符串到整数列表的转换方法
default List<Integer> map(String value) {
if (value == null || value.isEmpty()) {