package com.zcloud.basic.info.command.convertor;

import com.zcloud.basic.info.domain.model.CorpFormE;
import com.zcloud.basic.info.dto.CorpInfoXgfItemCmd;
import com.zcloud.basic.info.dto.clientobject.CorpFormCO;
import com.zcloud.basic.info.dto.clientobject.CorpInfoXgfItemCO;
import com.zcloud.basic.info.persistence.dataobject.CorpFormDO;
import org.mapstruct.Mapper;

import java.util.List;


/**
 * web-app
 *
 * @Author zhaokai
 * @Date 2025-10-29 16:02:26
 */
@Mapper(componentModel = "spring")
public interface CorpFormCoConvertor {
    /**
     * @param corpFormDOs
     * @return
     */
    List<CorpFormCO> converDOsToCOs(List<CorpFormDO> corpFormDOs);

    List<CorpInfoXgfItemCO> converDOsToItemCOs(List<CorpFormDO> selectFromList);

    List<CorpFormE> converItemToData(List<CorpInfoXgfItemCmd> selectfromList);

    List<CorpFormDO> convertToData(List<CorpFormE> filteredList);

}

