Commit 418160a3 authored by hongguangwu's avatar hongguangwu

MVP1.6.6-预入职相关_新校验

parent 6f07edb8
...@@ -43,9 +43,9 @@ public class TCompleteMonitorController { ...@@ -43,9 +43,9 @@ public class TCompleteMonitorController {
* @author hgw * @author hgw
* @date 2024-6-24 16:01:47 * @date 2024-6-24 16:01:47
**/ **/
@Operation(summary = "导出档案完整度监控管理-全量", description = "导出档案完整度监控管理-全量 权限:archives_monitor-export-all") @Operation(description = "导出档案完整度监控管理-全量 权限:archives_monitor-export-all")
@PostMapping("/exportAll") @PostMapping("/exportAll")
@PreAuthorize("@pms.hasPermission('archives_monitor-export-all')") @PreAuthorize("@pms.hasPermission('archves_tcompletemonitor_export_all')")
public void exportAll(HttpServletResponse response, @RequestBody TCompleteMonitorSearchVo searchVo) { public void exportAll(HttpServletResponse response, @RequestBody TCompleteMonitorSearchVo searchVo) {
YifuUser user = SecurityUtils.getUser(); YifuUser user = SecurityUtils.getUser();
menuUtil.setAuthSql(user, searchVo); menuUtil.setAuthSql(user, searchVo);
......
...@@ -302,10 +302,6 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE ...@@ -302,10 +302,6 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
} }
} }
tPreEmpContactInfo.setPreMainId(id); tPreEmpContactInfo.setPreMainId(id);
if (employee != null) {
tPreEmpContactInfo.setEmpName(employee.getEmpName());
}
tPreEmpContactInfo.setEmpIdcard(empIdCard);
tPreEmpContactInfo.setCreateBy(user.getId()); tPreEmpContactInfo.setCreateBy(user.getId());
tPreEmpContactInfo.setCreateName(user.getNickname()); tPreEmpContactInfo.setCreateName(user.getNickname());
tPreEmpContactInfo.setCreateTime(LocalDateTime.now()); tPreEmpContactInfo.setCreateTime(LocalDateTime.now());
......
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