Commit 5c240733 by 龙于生

修改新增人事表格

parent 0dd69d94
...@@ -2145,7 +2145,10 @@ public class YgglController { ...@@ -2145,7 +2145,10 @@ public class YgglController {
@ApiOperation(value = "人事--新增人事表格文件", httpMethod = "POST", notes = "接口发布说明") @ApiOperation(value = "人事--新增人事表格文件", httpMethod = "POST", notes = "接口发布说明")
public Result<Object> addPersonnelForm(@CurrentUser UserBean userBean,@RequestBody PersonnelFormDto personnelFormDto) { public Result<Object> addPersonnelForm(@CurrentUser UserBean userBean,@RequestBody PersonnelFormDto personnelFormDto) {
try { try {
YgglPersonnelForm.builder().fileName(personnelFormDto.getFileName()).fileUrl(personnelFormDto.getFileUrl()).type(personnelFormDto.getType()).build().insert(); YgglPersonnelForm.builder().fileName(personnelFormDto.getFileName())
.fileUrl(personnelFormDto.getFileUrl())
.orgCode(userBean.getOrgCode())
.type(personnelFormDto.getType()).build().insert();
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
return ResultUtil.error(); return ResultUtil.error();
......
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