yangys
2025-11-21 e8ed1a91c77ab62a924f12acd55777f227bacd7e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.qianwen.smartman.modules.system.convert;
 
import java.util.List;
import org.mapstruct.Builder;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;
import com.qianwen.smartman.modules.system.entity.Post;
import com.qianwen.smartman.modules.system.excel.PostExcel;
import com.qianwen.smartman.modules.system.excel.PostImport;
import com.qianwen.smartman.modules.system.vo.PostDetailVO;
 
@Mapper(builder = @Builder(disableBuilder = true))
 
public interface PostConvert {
    public static final PostConvert INSTANCE = (PostConvert) Mappers.getMapper(PostConvert.class);
 
    @Mappings({})
    List<PostExcel> convert(List<PostDetailVO> postDetailVOList);
 
    @Mappings({})
    List<Post> convertExcelToEntity(List<PostImport> postImportExcelList);
}