package com.yeejoin.amos.boot.module.jg.biz.controller;

import com.yeejoin.amos.boot.biz.common.controller.BaseController;
import com.yeejoin.amos.boot.module.jg.api.entity.JgResumeInfoEq;
import com.yeejoin.amos.boot.module.jg.biz.service.impl.JgResumeInfoEqServiceImpl;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.typroject.tyboot.core.foundation.enumeration.UserType;
import org.typroject.tyboot.core.restful.doc.TycloudOperation;
import java.util.List;

/**
 * 监管履历信息关系表-气瓶用
 * @author LiuLin
 * @date 2026-01-29
 */
@RestController
@Api(tags = "监管履历信息关系表Api")
@RequestMapping(value = "/jg-resume-info-eq")
public class JgResumeInfoEqController extends BaseController {

    @Autowired
	JgResumeInfoEqServiceImpl jgResumeInfoEqServiceImpl;

	/**
	 * 新增监管履历信息关系表
	 *
	 * @return
	 */
	@TycloudOperation(ApiLevel = UserType.AGENCY)
	@PostMapping(value = "/saveBatchResumeEq")
	@ApiOperation(httpMethod = "POST", value = "批量新增", notes = "批量新增")
	public void saveBatchResumeEq(@RequestBody List<JgResumeInfoEq> jgResumeInfoEqList) {
		jgResumeInfoEqServiceImpl.saveBatchResumeEq(jgResumeInfoEqList);
	}
}
