Commit ae534fd1 authored by hongguangwu's avatar hongguangwu

合同权限

parent 6b36c8e2
...@@ -20,25 +20,17 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller; ...@@ -20,25 +20,17 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractInfo; import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractInfo;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeInfo;
import com.yifu.cloud.plus.v1.yifu.archives.service.TEmployeeContractInfoService; import com.yifu.cloud.plus.v1.yifu.archives.service.TEmployeeContractInfoService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.ErrorMessageVO;
import com.yifu.cloud.plus.v1.yifu.archives.vo.ErrorVO; import com.yifu.cloud.plus.v1.yifu.archives.vo.ErrorVO;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants; import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.Common; import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage; import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R; import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser;
import com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprUpmsProperties;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog; import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows; import lombok.SneakyThrows;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.http.HttpHeaders;
import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile; import org.springframework.web.multipart.MultipartFile;
...@@ -63,6 +55,7 @@ public class TEmployeeContractInfoController { ...@@ -63,6 +55,7 @@ public class TEmployeeContractInfoController {
/** /**
* 申请、归档分页查询 * 申请、归档分页查询
*
* @param page 分页对象 * @param page 分页对象
* @param tEmployeeContractInfo 员工合同 * @param tEmployeeContractInfo 员工合同
* @return * @return
...@@ -191,6 +184,7 @@ public class TEmployeeContractInfoController { ...@@ -191,6 +184,7 @@ public class TEmployeeContractInfoController {
/** /**
* 审核员工合同 * 审核员工合同
* 审核通过后,变为在用,项目内其他的合同不再用 * 审核通过后,变为在用,项目内其他的合同不再用
*
* @param tEmployeeContractInfo 员工合同 * @param tEmployeeContractInfo 员工合同
* @return R * @return R
*/ */
...@@ -211,6 +205,7 @@ public class TEmployeeContractInfoController { ...@@ -211,6 +205,7 @@ public class TEmployeeContractInfoController {
/** /**
* 审核员工合同 * 审核员工合同
* 审核通过后,变为在用,项目内其他的合同不再用 * 审核通过后,变为在用,项目内其他的合同不再用
*
* @param tEmployeeContractInfo 员工合同 * @param tEmployeeContractInfo 员工合同
* @return R * @return R
*/ */
...@@ -224,6 +219,7 @@ public class TEmployeeContractInfoController { ...@@ -224,6 +219,7 @@ public class TEmployeeContractInfoController {
/** /**
* 批量申请-合同 * 批量申请-合同
*
* @param file * @param file
* @return * @return
* @Author hgw * @Author hgw
...@@ -240,6 +236,7 @@ public class TEmployeeContractInfoController { ...@@ -240,6 +236,7 @@ public class TEmployeeContractInfoController {
/** /**
* 批量更新-合同 * 批量更新-合同
*
* @param file * @param file
* @return * @return
* @Author hgw * @Author hgw
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment