package com.yeejoin.amos.boot.module.common.api.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.common.api.dto.LinkageUnitDto;
import com.yeejoin.amos.boot.module.common.api.dto.LinkageUnitZhDto;
import com.yeejoin.amos.boot.module.common.api.dto.RequestData;
import org.typroject.tyboot.core.rdbms.annotation.Condition;
import org.typroject.tyboot.core.rdbms.annotation.Operator;

import java.util.List;

/**
* 联动单位接口类
*
* @author system_generator
* @date 2021-07-16
*/
public interface ILinkageUnitService {


    List<LinkageUnitZhDto> listLinkageUnitZhDto(Integer pageNum, Integer pageSize, RequestData par);

    Integer listLinkageUnitZhDtoCount(RequestData par);

    LinkageUnitDto queryOne(Long sequenceNbr);

    public Page<LinkageUnitDto> queryForLinkageUnitPage(Page<LinkageUnitDto> page,
                                                        @Condition(Operator.eq) Boolean isDelete,
                                                        @Condition(Operator.like) String unitName,
                                                        @Condition(Operator.eq) String linkageUnitType);

}
