package com.testor.module.contractor.ledger.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.testor.module.contractor.ledger.model.domain.TContractorLedger;
import com.testor.module.contractor.ledger.model.dto.TContractorLedgerParam;
import com.tongtech.tfw.backend.common.models.supers.SuperDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 承包商台账Mapper接口
 *
 * @author testor-framework
 * @date 2024-11-19 10:01:42
 */
public interface TContractorLedgerDao extends SuperDao<TContractorLedger>
{
    Page<TContractorLedger> pageList(Page<TContractorLedger> resultPage,
                                     @Param("param") TContractorLedgerParam param);


    List<String> findContractorLedgerNames(@Param("param") TContractorLedgerParam param);

    String orgIdDistinct(@Param("orgId")String orgId);

}
