package jnpf.personnels.fallback;

import jnpf.base.ActionResult;
import jnpf.model.personnels.vo.rewardspunishments.FtbPersonnelsRewardsPunishmentApprovalVO;
import jnpf.personnels.FtbPersonnelsRewardsPunishmentsRemoteApi;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class FtbPersonnelsRewardsPunishmentsRemoteFallBackApi implements FtbPersonnelsRewardsPunishmentsRemoteApi {

    @Override
    public ActionResult<List<FtbPersonnelsRewardsPunishmentApprovalVO>> listApproval(Integer type) {
        return ActionResult.fail("OA审批获取奖惩规则降级处理");
    }

}
