| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.basic.pojo.CustomerFollowUpFile; |
| | | import com.ruoyi.common.vo.SimpleFileVo; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Null; |
| | | import java.util.List; |
| | | import java.util.function.BiConsumer; |
| | | import java.util.function.Function; |
| | | |
| | | /** |
| | | * <br> |
| | |
| | | * @since 2026/03/04 14:52 |
| | | */ |
| | | public interface CustomerFollowUpFileService extends IService<CustomerFollowUpFile> { |
| | | |
| | | /** |
| | | * 根据 xx,xxx,xx批量查询并且出插入SimpleFileVo进入 |
| | | * @param list |
| | | * @param getAttachmentIds |
| | | * @param setAttachmentList |
| | | * @param <T> |
| | | */ |
| | | <T> void fillAttachment( |
| | | @Null List<T> list, |
| | | @NotNull Function<T, String> getAttachmentIds, |
| | | @NotNull BiConsumer<T, List<SimpleFileVo>> setAttachmentList |
| | | ); |
| | | |
| | | } |