package com.zcloud.basic.info.service.sync;

import com.alibaba.cola.dto.PageResponse;
import com.zcloud.basic.info.api.sync.SyncServiceI;
import com.zcloud.basic.info.command.query.sync.SyncQueryExe;
import com.zcloud.basic.info.dto.clientobject.sync.SyncUserCO;
import com.zcloud.basic.info.dto.sync.SyncDepartmentQryPageCmd;
import com.zcloud.basic.info.dto.sync.SyncUserQryCmd;
import com.zcloud.basic.info.dto.sync.SyncUserQryPageCmd;
import com.zcloud.basic.info.utils.SyncPageResponse;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * web-app
 *
 * @Author zhangyue
 * @Date 2025-11-04 14:07:37
 */
@Service
@AllArgsConstructor
public class SyncServiceImpl implements SyncServiceI {
    private final SyncQueryExe syncQueryExe;

    @Override
    public SyncPageResponse listPageSyncUser(SyncUserQryPageCmd cmd) {
        return syncQueryExe.listPageSyncUser(cmd);
    }

    @Override
    public SyncPageResponse listPageSyncDepartment(SyncDepartmentQryPageCmd cmd) {
        return syncQueryExe.listPageSyncDepartment(cmd);
    }

}

