package com.mortals.xhx.module.staff.service.impl;
import com.mortals.xhx.module.staff.model.StaffEntity;
import com.mortals.xhx.module.staff.service.StaffService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.mortals.framework.service.impl.AbstractCRUDServiceImpl;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.xhx.module.staff.dao.StaffRegularDao;
import com.mortals.xhx.module.staff.model.StaffRegularEntity;
import com.mortals.xhx.module.staff.service.StaffRegularService;

import java.util.List;

/**
* StaffRegularService
* 员工转正信息 service实现
*
* @author zxfei
* @date 2023-04-07
*/
@Service("staffRegularService")
public class StaffRegularServiceImpl extends AbstractCRUDServiceImpl<StaffRegularDao, StaffRegularEntity, Long> implements StaffRegularService {
    @Autowired
    private StaffService staffService;

    private void test(){
        StaffEntity cache = staffService.getCache("1");

        List<StaffEntity> cacheList = staffService.getCacheList();

        StaffEntity work001 = staffService.getExtCache("work001");


    }

}