|
1
2
|
package com.huaheng.api.U8.controller;
|
|
3
|
import com.huaheng.api.U8.Service.UserAPIService;
|
|
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import com.huaheng.api.U8.domain.ICSPersonModel;
import com.huaheng.framework.aspectj.lang.annotation.Log;
import com.huaheng.framework.aspectj.lang.constant.BusinessType;
import com.huaheng.framework.web.controller.BaseController;
import com.huaheng.framework.web.domain.AjaxResult;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api/user")
@Api(tags = {"user"}, description = "人员档案接口")
public class ICSPersonApi extends BaseController{
@Autowired
|
|
19
|
private UserAPIService icsPersonApiService;
|
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
/**
* 同步人员档案
*/
// @RequiresPermissions("api:ICSInventory")
@Log(title = "人员档案添加", action = BusinessType.INSERT)
@PostMapping("/ICSPersonApi")
@ResponseBody
public AjaxResult ICSPerson(@RequestBody ICSPersonModel icsPerson)
{
AjaxResult ajaxResult = icsPersonApiService.ICSPerson(icsPerson);
return ajaxResult;
}
}
|