Commit 60a8580e authored by hongguangwu's avatar hongguangwu

MVP1.6.6-预入职相关

parent 029d989e
...@@ -4,8 +4,6 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers; ...@@ -4,8 +4,6 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAttaInfo; import com.yifu.cloud.plus.v1.yifu.archives.entity.TAttaInfo;
import com.yifu.cloud.plus.v1.yifu.archives.service.FileUploadService; import com.yifu.cloud.plus.v1.yifu.archives.service.FileUploadService;
import com.yifu.cloud.plus.v1.yifu.archives.service.TAttaInfoService; import com.yifu.cloud.plus.v1.yifu.archives.service.TAttaInfoService;
import com.yifu.cloud.plus.v1.yifu.archives.service.impl.FileUploadServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.utils.QrCodeUtil;
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.OSSUtil; import com.yifu.cloud.plus.v1.yifu.common.core.util.OSSUtil;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R; import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
...@@ -68,8 +66,8 @@ public class FileUploadController { ...@@ -68,8 +66,8 @@ public class FileUploadController {
} }
/** /**
* @Author fxj * @Author hgw
* @Description * @Description 改编自ossUploadFile接口,改变了回传信息——专为预入职微信端使用——忽略了token,其余人慎用
* @Date 13:49 2022/6/17 * @Date 13:49 2022/6/17
* @Param * @Param
* @return * @return
......
...@@ -172,7 +172,7 @@ public class TPreEmpMainController { ...@@ -172,7 +172,7 @@ public class TPreEmpMainController {
@Operation(summary = "草稿预入职", description = "草稿预入职:hasPermission('archives_tpreempmain_add')") @Operation(summary = "草稿预入职", description = "草稿预入职:hasPermission('archives_tpreempmain_add')")
@SysLog("草稿预入职") @SysLog("草稿预入职")
@PostMapping("/saveDraftPreEmpMain") @PostMapping("/saveDraftPreEmpMain")
@PreAuthorize("@pms.hasPermission('archives_tpreempmain_add')") //@PreAuthorize("@pms.hasPermission('archives_tpreempmain_add')")
public R<String> saveDraftPreEmpMain(@RequestBody PreEmpMainDetailVo vo) { public R<String> saveDraftPreEmpMain(@RequestBody PreEmpMainDetailVo vo) {
return tPreEmpMainService.saveDraftPreEmpMain(vo); return tPreEmpMainService.saveDraftPreEmpMain(vo);
} }
...@@ -185,7 +185,7 @@ public class TPreEmpMainController { ...@@ -185,7 +185,7 @@ public class TPreEmpMainController {
@Operation(summary = "保存预入职", description = "保存预入职:hasPermission('archives_tpreempmain_add')") @Operation(summary = "保存预入职", description = "保存预入职:hasPermission('archives_tpreempmain_add')")
@SysLog("保存预入职") @SysLog("保存预入职")
@PostMapping("/savePreEmpMain") @PostMapping("/savePreEmpMain")
@PreAuthorize("@pms.hasPermission('archives_tpreempmain_add')") //@PreAuthorize("@pms.hasPermission('archives_tpreempmain_add')")
public R<String> savePreEmpMain(@RequestBody PreEmpMainDetailVo vo) { public R<String> savePreEmpMain(@RequestBody PreEmpMainDetailVo vo) {
return tPreEmpMainService.savePreEmpMain(vo); return tPreEmpMainService.savePreEmpMain(vo);
} }
......
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