package jnpf.personnels.controller.web.roster;

import jnpf.base.ActionResult;
import jnpf.model.personnels.vo.roster.FtbThousandFacePersonVO;
import jnpf.personnels.service.FtbThousandFacePersonService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 千人千面人事管理模块
 *
 * @author wangchunxiang
 * @date 2025/06/13
 */
@RestController
@RequestMapping("/web/thousand-face-person")
public class FtbThousandFacePersonController {

    @Resource
    private FtbThousandFacePersonService ftbThousandFacePersonService;


    /**
     * 获取千人千面人事数据
     */
    @GetMapping("/personnel-data")
    public ActionResult<FtbThousandFacePersonVO> getPersonnelData() {
        FtbThousandFacePersonVO ftbThousandFacePersonVO = ftbThousandFacePersonService.getPersonnelData();
        return ActionResult.success(ftbThousandFacePersonVO);
    }


}
